Staredit Network > Forums > General StarCraft > Topic: hyper triggers
hyper triggers
Aug 13 2012, 12:58 am
By: iCCup.xboi209  

Aug 13 2012, 12:58 am iCCup.xboi209 Post #1



How did someone find its existence?



None.

Aug 13 2012, 1:03 am lil-Inferno Post #2

Just here for the pie

I'm guessing a combination of technical knowledge and a bit of luck.




Aug 13 2012, 4:21 am Roy Post #3

An artist's depiction of an Extended Unit Death

I would have discovered them on my own if someone else hadn't. I'm fairly confident any mapping enthusiast would have discovered them independently.

It's all about observations.

What happens when you preserve a trigger? Well, the trigger runs, then after about a 2-second delay, it repeats. Pretty basic stuff. But after a while, when you're adding more triggers to your map, you'll notice the delay on your preserve triggers become inconsistent; sometimes they're fast, and sometimes they're slow. Is it changing because you have more triggers? Making a bunch of Create/Kill Unit triggers doesn't seem to affect it, so that can't be the answer. What trigger(s) did you add that caused this? You can start deleting triggers until the inconsistency goes away, and then look at the trigger(s) you deleted to see what they contained that might influence the delay. Well, the "Wait" action looks mighty suspicious right now.

If you notice that your preserved triggers run faster when you have a trigger with waits executing, it should get you to ask questions about why that is. If you decrease the amount of time on the waits for that trigger, the other triggers also speed up. So, what if we have a trigger that just spams Wait 0? Well, all the other triggers run insanely fast! But there's a problem here: they only do it for a short while, and then there's the regular long delay. Well, how many times to they run quickly before the delay? In the case of one hyper trigger, you could count it out to be up to 63 times, or the number of waits you used. Naturally, if you want the effect to last longer, you would just copy that trigger. But how many waits do you need?

From here, assuming you don't already know a lot on trigger execution, you could copy the trigger once and see how much more time it provides you. I would have probably expected it to only double, since we're doubling the waits, but what actually happens is quite different: we have the first trigger run 63 times and the second trigger executes one of its waits, but then the first trigger starts over again. From this, we can assert that the amount of time given to us is multiplicative. Well, copying the trigger four times would give us 15752961 trigger cycles before a long pause. Assuming about 12 cycles per second, this would give us a little more than 364 hours (about 15 days) before all those triggers would cycle through and we'd get our long delay again.

That's how I would have discovered them, at least; I imagine the actual discovery was through a similar process.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: Roup649, Dem0n, Roy, jun3hong