• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Magtheridon96

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • :/
    The hive needs a new spell moderator to help you.. Since maker has work nao and u are busy too :/
    He won't.

    Why would his brother post personal posts like "Me eating bitches" or something like that?
    I wrote a quick exe for myself to write bootstrap to a certain volume :D Good thing I got it write to the volume, even better that the test bootstrap probably worked, so write was successful, the bad side of things that I cannot run this program on it again, I get errors, windows says I have to format first, fuck that xD However this thing had a bootstrap thingie on it before which I overwrote. Hm.

    EDIT: yes, it seems these formatted craps have some bootstrap on them, but why does it have bootable mark when it has no bootable media on it? D:
    Wow, even reformatting my pendrive failed D:
    R
    Yea, didn't pissed that little guy today, Just leaving him alone.. :)
    R
    That Indonesian guy is really a Pain in the butt.
    Hey mag, If i compare FS_SlashDistance() * FS_SlashDistance(), how can i get the correct speed?? Sorry i am not too skilled on math :D
    ----------
    Last edited by Magtheridon96; Today at 03:03 AM. Reason: Don't use > as an arrow, it can mean "greater than" and thus imply the opposite of what you mean. Use "--->"
    ----------
    Okay :/
    At least tell me before editing my post ;_;
    So I don't get surprised Magtheridon :D
    My ZLibrary (GetWaterDepth, GetTerrainZ, SetUnitZ, ...) have been updated one more time)
    Added one more function and documentation.
    You can check it out if you have a wish)
    haha your hive quiz made the thread so lively, good for you elf boy will be proud >:)
    Hmm, no I remembered that "fail bug", it was fixed in my version as well :) But I'm not always updating my resources (especially since most of them are either written by me or don't get updates because they're old), so it didn't have the start/stop feature, nor the TimerGroups. I only learned about them when I walked around the JASS section and noticed that Missile (or whatever it's called) is at the top. I was kinda considering replacing Projectile with it, but I love the functionality it brings, and it'd be one heck of a work to change all those spells.
    Okay, I think I need your help.

    Today, I was checking out how many 32 tick timers there are running on my map, because I've heard that people with a not-so-good PC have FPS issues. Since it appeared that there are 13 instances of CT32 running, I thought I'd upgrade my version, so that I can manually start/stop them.

    And here's the problem: whenever I start one, and stop it, I can't seem to able to start it again.

    I just tested it with an item that uses it, by adding a debug text. When I bought it, the text was constantly appearing, then I sold it and it stopped. Okay, great, that's what should happen. However, when I bought it again, the text wasn't appearing again. And it's true, not a single one of my systems work after stopping the timer. Buffs remain, Dot's/HoT's don't work, damage texts are not appearing, etcetera. I was trying to fix it, but honestly, these retarded variable "names" are giving me a headache. I know you're on good terms with Nestharus, maybe you've already came across this problem and know how to fix it. Or maybe you've already got used to reading his code. I don't know, I just hope you can help me, because staring at this spaghetti always makes me hungry after 2 minutes. If you cannot, well then... *sigh*, I'll get myself go through the code and find what's wrong.

    Anyways, here's CTL: http://www.hiveworkshop.com/forums/jass-resources-412/snippet-constant-timer-loop-32-a-201381/
    And here's the my code: http://www.hiveworkshop.com/forums/pastebin.php?id=li52cr
    (It's CTL32, so that I JASSHelper would help me find all the modules that use it).
    I made two changes to CTL though:
    Put the start/stop methods into CT32 from CT32End;
    The start/stop methods increase/decrease a global counter.
    But none of these changes should be causing such an issue.

    Thanks in advance!

    [EDIT]
    Hmm, I actually do believe that TGroup32 wouldn't allow the timer to be restarted again.

    [EDIT2]
    Well, nvm, I found the problem. When I have to face a bug I just can't stop till it's fixed, so I went through the code myself.

    So, here's the bug:
    When you call thistype.stop(), it marks the timer instance with the "recycling" flag, but not with "destroying". The periodic then recycles it, but the "recycling" flag is not removed, since it's inside the "destroying" block - so it's reset properly when marked with both flags, but not when you only stop it. I basically took it out of the if block and it seems to work. Although I'm still testing it, I just saved it, but the buffs work already, so I guess it's okay.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top