RaiJin
Last Activity:
Apr 15, 2012
Joined:
Feb 10, 2009
Messages:
626
Trophy Points:
0
Positive ratings received:
40
Neutral ratings received:
0
Negative ratings received:
0

Post Ratings

Received: Given:
Like 40 50
Dislike 0 0
Agree 0 0
Disagree 0 0
Funny 0 0
Winner 0 0
Informative 0 0
Friendly 0 0
Useful 0 0
Optimistic 0 0
Creative 0 0
Old 0 0
Bad Spelling 0 0
Dumb 0 0

Share This Page

RaiJin

New Member

RaiJin was last seen:
Apr 15, 2012
    1. Bloodcount
    2. LurkerAspect
      LurkerAspect
      BTW, nice DamageEvent system. I'm using it in my Ghost Hunters map (the one you get to star in as a critter :P) I'll +rep you when I finish +repping all the others on that thread
    3. LurkerAspect
      LurkerAspect
      Hey I keep bumping into you, wanna be friends?
    4. TriggerHappy
      TriggerHappy
      You can download patch 1.24 if you logon to battle.net with your realm set at Westfall.

      I don't know when it will be released globally.
    5. Jesus4Lyf
      Jesus4Lyf
      I don't like to spam it in public, but since I think we're on good terms...

      TimerUtils is a horrible system to use for that spell. You understand T32, right? ... (Then again, I suppose that isn't approved yet.)

      Also, actions belong in with conditions, as a general rule. ;)
    6. BlackRose
    7. Jesus4Lyf
      Jesus4Lyf
      As said, you could see if there's something in RtC you can use. Aside from that, I know the way I do it is 1.21 or whatever it is I'm using. You still have to write a test that will accurately measure things, even if you get that working... =/ lol
    8. Jesus4Lyf
      Jesus4Lyf
      I believe you need to reinstall WC3, find the 1.21b patch online, and apply it.

      It uses the stopwatch native plugged into 1.21b with dll injection. You could contact MindWorX on wc3c about what to use in 1.23. Gosh, I don't even have 1.23b.

      I believe RtC has some stuff that might be usable for benchmarking.
    9. Jesus4Lyf
      Jesus4Lyf
      Heh, you should ask questions about the T32 thing in the T32 thread, I'll be happy to answer them where people can all contribute and learn together...

      In regards to benchmarking, you need a 1.21b installation. Heh.
      And if you get it up, you'll get probably much higher figures than mine, but the percentages should be around the same. ^_^ (I have a slow computer for benching.)
    10. Jesus4Lyf
      Jesus4Lyf
      O.O

      Don't listen to anyone else on that thread so far except kenny! and Azlier... Don't listen to Nestharus, Tom Jones and kingking.

      I'm pretty sure I'm the only one who answered your question. Fast without H2I. o.O lol (Oh, kenny! did a good T32 thing though.)
    11. Jesus4Lyf
      Jesus4Lyf
      Don't worry, KT_GetData() is one of the most confusing pieces of code you'll ever read.

      Especially because it works completely differently depending on which half of the system your code happens to be running on.

      If you want to attach data to a trigger, use TriggerExecCount directly if the code will be run on initialisation, or precache some exec counts and use it as an array index if it will be done at runtime. The idea is you don't want to do the exec counts during the game, because it could cause lag for high instances (complicated, isn't it?).

      If you want to attach to a timer, use T32 or KT2. (T32 for 0.03125 periods.)

      >the way you code just inspires me lol xD
      Thanks! XD I like to do a few tricks to keep my stuff from breaking on the next patch and it also happens to make it really efficient. =]
    12. Jesus4Lyf
      Jesus4Lyf
      Bit late! My last response was from before your "wait, nevermind". XD

      [JASS]function GetThisData takes nothing returns integer
      return GetTriggerExecCount(GetTriggeringTrigger())
      endfunction[/JASS]
      My last post should help explain how I did it for low periods, for fast periods I injected the exec count into the flow of KT's GetData list thing. I made a single node that links to itself, and before your function fires, it sets the node's value to the exec count of the trigger. It's just an interface thing. So it could be a bit faster, but for periods above 0.3 seconds, the speed thing doesn't matter (as long as it's still fairly fast).
    13. Jesus4Lyf
      Jesus4Lyf
      I did something nasty. There's an "And" boolexpr operator in wc3, and I found a use for it: creating a nice interface in KT2. What is actually attached to the trigger is not your function as a boolexpr, it's And(Condition(yourFunc),Condition(ifYourFuncReturnsTrue)) and ifReturnsTrue returns false. The And "operator native" (if you will) uses short circuit evaluation - meaning if the first returns false, it knows the end result is false, so it doesnt run the ifReturnsTrue. Since that ifReturnsTrue function returns false, it will all return false either way. In the ifYourFuncReturnsTrue function, I perform the removal actions. Thus the pleasant KT2 experience of "return true", "return false".

      For higher periods, I attach each instance to its own trigger, but for lower periods I attach everything for one period on one trigger... And the GetData function ticks over to the next data (hence why it must be called exactly once in the code). (Btw, And(a,b) boolexprs need to be destroyed.)
    14. Jesus4Lyf
      Jesus4Lyf
      Try reading this instead.

      You use condition functions that return false and then the number of times the actions have been executed (exec count) is the struct. Typecast it back, and before hand, execute the actions that many times. You can also precache a unique execution count, use it as an array index (like in DTS there) and store the struct in the array. :)

      KT2 also does something funky for low periods which is much harder to understand. It maintains a parallel linked list to a bunch of conditions on single triggers. It's attached by converting the period into a unique number. Funny things. :P
    15. BlackRose
    16. RaiJin
    17. BlackRose
      BlackRose
      Hello! Got MSN?
    18. CaptDeath
      CaptDeath
      you have ~4:30
    19. CaptDeath
      CaptDeath
      i made it public again but only until you reply to this posting i will close it or 10 mins which ever comes first
  • Loading...
  • Loading...