System Global Timer

BlackRose

Forum User
Reaction score
239
I may test it with a basic spell. See if it works. Add a demo map maybe? NO! WTF< why is it on TheHelper! Now I have 1001 post! Only link me to Clanmapz!

I find it hard to use, I prefer just using some struct data transfer system.
 

wraithseeker

Tired.
Reaction score
122
I made something like this in the past and never got warm welcome, TimerUtils exists my friend so this is useless.

Have you seen how my CustomStun system using a 0.03 period got shunned off by many?

Romek said:
You don't have to submit everything you make
 
Reaction score
341
I made something like this in the past and never got warm welcome, TimerUtils exists my friend so this is useless.

Have you seen how my CustomStun system using a 0.03 period got shunned off by many?

Have you even read this?

It's not a Timer Indexing system. The next version will allow you to index, though.
 

wraithseeker

Tired.
Reaction score
122
You are doing something like this in the periodic function

JASS:
if currentvalue &gt;= whatspecific value then
    // do what?
endif


Which is really bad and Anitarf gyarded my old CustomStun system because I refused to use TU.

What's the point of this? TimedLoop by Vexorian solves this well doesn't it?
 
Reaction score
341
Which is really bad and Anitarf gyarded my old CustomStun system because I refused to use TU.

The reason he gave you would be great.

What's the point of this? TimedLoop by Vexorian solves this well doesn't it?

Never heard of it. I'm to tired to look at it right now too, i'm putting the final touches on this and going to bed.
 

Jesus4Lyf

Good Idea™
Reaction score
397
Damnit, why the hell? :(

GT stands for GTrigger. Get your own two letter initial.

Surely you know that submitting timer systems and claiming that they're fast without any sort of evidence = major roasting. So here's the roasting, I'll keep it short.

KT2 is FAR faster than this. And if you need timer pausing, vTimer, made by Azlier and myself is far faster than this!! (And graveyarded. Which is fine.)

You say...
In most cases where you need to control a lot of data, using multiple timers can be a major cause of lag. In practice, your generally told to make things in one timer.
...yet you go and write a system that is slower than firing single timers (TU, either flavour).

What evidence do you have at all that suggests this is vaguely fast?

Edit:
>Have you seen how my CustomStun system using a 0.03 period got shunned off by many?
Dead on, and that was INLINED. This strips and reconstructs a trigger every time a periodic event fires, and in the mean time maintains an unnecessary O(n) complexity loop every 0.01 seconds. =/

+Graveyard vote. >_<
 
Reaction score
341
Surely you know that submitting timer systems and claiming that they're fast without any sort of evidence = major roasting. So here's the roasting, I'll keep it short

Tell me where I stated this is fast...

I said it's faster to use one timer when controlling lots of data.

At least thats what people always tell me whenever I use dynamic timers.

KT2 is FAR faster than this.

Its not an indexing system.

...yet you go and write a system that is slower than firing single timers (TU, either flavour).
What evidence do you have at all that suggests this is vaguely fast?

I don't, just based on what people tell me.

Holy shit, I probably should have posted this in JASS Help for feedback, maybe then I wouldn't get a war on speed.

GT stands for GTrigger. Get your own two letter initial.

Sorry that I don't know every initial for every system in wc3.
 

Kenny

Back for now.
Reaction score
202
So let me get this straight...

Your using a periodic timer, with an INTERVAL of 0.01 seconds, to replicate what dynamic timers do?

This all seems a little weird to me.

For example (kind of based off your example).

Say i want to show a debug message after 2.00 seconds:
JASS:
local gtimer t = StartTimer(2.00,true,function Message)


Now there will be 200 iterations of the timer before the Message function is run?

If thats how it works, it just seems stupid. Plus lots of people dont want to have 0.01 second timers running in their maps, and changing it to 0.02 makes this pointless.

If you were to use a normal timer it would fire once, and thats it. Exactly what is needed.

Imagine having 20 things that need a 15.00 second timer, starts to add up.
 
Reaction score
341
Well, turns out I get even get indexing to work with this correctly.

And since people are going to complain about other Indexing Systems (which this is not), I don't want to hear it.

Anyways, can be moved to Jass Help or graveyard, whichever.

Just note I won't be paying attention to this thread anymore.
 

Romek

Super Moderator
Reaction score
964
GY'ed.

And please refrain from deleting everything in the first post when you realise that your crap is crapper. Thanks.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top