Fast Upgrades
May 17 2008, 11:45 am
By: Razor  

May 19 2008, 5:45 pm Heimdal Post #21



Quote from Daedalus
Now that's fun: a method to detect your OS. To bad it crashes you when you have the wrong one though :P.
$10 says there's a EUD condition that will do that easier and without crashing.

For those curious, build times are stored in 15ths of a second, and it's stored in a 2-byte unsigned integer. SCMDraft and StarForge let you type in the value in 15ths of a second directly, so typing in 0 is what you want. Staredit and its variants (SCXE, etc) make you type in the number of seconds, and then multiply that number by 15 when you save the value. If the number you type in multiplied by 15 is greater than 65535 (the max value of an unsigned int), it wraps around.

4370 * 15 = 65550; 65550 - 65536 = 14, which is less than 15, so it shows up as 0.



None.

May 20 2008, 12:42 am O)FaRTy1billion[MM] Post #22

👻 👾 👽 💪

I just remember it as one more than 65535/15 (which happens to be 4369, the largest possible value without cutting off.)



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 20 2008, 5:17 am Vi3t-X Post #23



Lets just answer his question:

Time: 0 or anything that will "equal" zero.
Cost: Whatever you want.
UF: This will be added to the Cost + any previous ups.
Basically

Total Cost = c + (n x Q)
Substitute "Q" for the amount of ups researched//teched.



None.

May 20 2008, 5:23 pm Heimdal Post #24



Quote from Vi3t-X
Lets just answer his question:

Time: 0 or anything that will "equal" zero.
Cost: Whatever you want.
UF: This will be added to the Cost + any previous ups.
Basically

Total Cost = c + (n x Q)
Substitute "Q" for the amount of ups researched//teched.
That's not a good answer, because entering 4370 in SF or SCMDraft will not give you 0 build time, and you can't enter 0 in SE or its derivatives. The question's been answered, I think...or the OP hasn't come back with more questions.



None.

May 21 2008, 10:57 pm Razor Post #25



lol it seems fast upgrades even when set to zero do not behave as you would expect on single player which i was testing the map on. once i played it on bnet, it worked fine. strange though how single player can mess a map up :S



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: jun3hong, DarkenedFantasies