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.
[09:25 pm]
ihjel -- "Use Display Text Message or the in-game Leaderboard to output the live values of critical Death Counters." that would be so convenient wouldn't it.
[06:59 pm]
Symmetry -- I just pasted what google ai told me to try to form a feedback loop
[01:24 pm]
NudeRaider -- UndeadStar
UndeadStar shouted: https://staredit.net/topic/18961/ <= wow, if there wasn't a capital letter on almost every word in the title, and a link in the signature, I may not have guesses it's an AI bot. I don't know much about map editing, but the content may even be relevant enough to be kept.
Yeah, I've noticed it, but it raised a couple of relevant questions and kept the ad to the signature so if someone were to engage with the topic it could be a net positive which is why I kept it. We're not necessarily anti-bot, just anti-spam. Thanks to Symmetry who realized my hope. :)
[08:09 am]
Zycorax -- Greed
[2026-11-11. : 3:25 am]
Symmetry -- why do the oligarchs want our mapping strategies???
[2026-11-11. : 3:24 am]
Symmetry -- the question is why though
[2026-11-11. : 1:10 am]
Butch -- made me feel really sad and stupid and fat
[2026-11-11. : 1:10 am]
Butch -- I got duped by one and replied and then realized after
[2026-11-10. : 11:26 pm]
Sie_Sayoka -- the turings have tested
[2026-11-10. : 3:07 pm]
UndeadStar -- https://staredit.net/topic/18961/ <= wow, if there wasn't a capital letter on almost every word in the title, and a link in the signature, I may not have guesses it's an AI bot. I don't know much about map editing, but the content may even be relevant enough to be kept.
Please log in to shout.


Members Online: SpencerWalker330, LeonidasKarydis118, FabianEder975