Search results

  1. T

    Fatal Error!

    So I'm making a spell, it compiles and runs but it crashes WC and I get a fatal error! I'm no pro so I don't understand why! Here is the code: struct divide unit bHole endstruct function Divide_By_0_Conditions takes nothing returns boolean return GetSpellAbilityId() == 'A01T'...
  2. T

    My structs arnt MUI?

    Hell all, so I have this spell and im using structs in order to pass variables into a timer. my problem is if the spell is cast more than once it stops the previous one in order to do then next one! So aperantly my struct variables are being overwritten causing it to stop! I'm wondering if I...
  3. T

    Timer Handles

    Thanks everyone, I went off and read up on structs and I ended up using CSData. It all works perfectly and my spell is just how I imagined it! Thanks again!
  4. T

    Timer Handles

    Sorry I'm new, what do you mean 'Use struct'?
  5. T

    Timer Handles

    I'm currently trying to make a spell in which I'm using a timer to perform a periodic event. So, I need a system that will allow me to use handles... I've been doing some research and there is a lot of stuff out there I don't understand so I was hoping someone here could introduce me to a...
  6. T

    Strange Bug

    I tried ZugZug's debug in pretty much everyplace I could think of, at no point was caster or target null. I also agree with Rainther, I should probably change that to a timer. In the mean time any other ideas?
  7. T

    Strange Bug

    1 == 1 will always be true so when it reaches that point the loop will end, I suppose i could have just put true but i wasnt really thinking and just put what would have worked. That point will only be reached once a target is put to sleep, so it is not the cause of this bug.
  8. T

    Strange Bug

    So I have this spell which a projectile bounces between players and puts them to sleep when hit, Every once and a while when they bounce a player will not be put to sleep, after many bug tests I have come to the conclusion that the dummy caster is not being created! So I added a loop to make...
  9. T

    Why won't my Globals Work?

    K so I figured out a way to do it without globals, in my mind it should work. Only problems is 2 of the functions call eachother and I dont know how to do that as I cannot put both functions in front of eachother. Sorry for my newbyness :) function HauntJASS_Conditions takes nothing returns...
  10. T

    Why won't my Globals Work?

    Basically what the spell is doing, is, if you take out everything to do with everlasting_horrors, it send out a projectile, when it hits the target it puts it to sleep, the unit takes damage per second, then after a length of time determined by ability level it will wake up and another...
  11. T

    Why won't my Globals Work?

    OK so now it's not working anymore, it worked twice maybe then stopped. now if I disable the trigger that declares them (and the functions that use them) it works, but if I enable that trigger (still keeping the functions that use them disables) it wont run. I'll link Code: set to run on Map...
  12. T

    Why won't my Globals Work?

    Exide was right, declaring them at initilization worked, thanks!
  13. T

    Why won't my Globals Work?

    So I have this code for a spell, and I need to use Global Variables in order to make it work (at least thats the only way I can think of) Anyway, maybe I'm initializing them wrong and I don't realize it but this is how the tutorials told me to do it.... If someone could figure out why they...
  14. T

    Efficiancy/Leak Check

    Thanks ill make those chages. Also I thought I was using vJASS, i have newgen set to compile it in vJASS...? To be fair though I dont know the difference between JASS and vJASS very well, if at all... :P EDIT: I didn't mean to use return, changed that to an exitwhen with the condition in the...
  15. T

    Efficiancy/Leak Check

    hey so I'm new to JASS and this is my first spell. It works perfectly just wanted to check if there was a more efficient way or if there are any leaks in it. EDIT: by more efficient im refering to the loop and the fact that it cycles through it every .01 seconds until the condition is met What...
  16. T

    Quick Question

    Thanks!
  17. T

    Quick Question

    How do I get the raw data for a spell, unit etc...? example: 'A005' im using newgen
  18. T

    A Few Questions

    Cool, thanks a million!
  19. T

    A Few Questions

    Perfect sounds goood! Although I did go and try NewGen and that thing is a disaster (for me at least) lots of errors and its causing w3 to crash and all that good stuff, and the forum is such maham It will take me ages to find a fix :O. Sounds like the recent patch really messed a lot of stuff...
  20. T

    A Few Questions

    Hey, so I'm a big newb to JASS and I had a few questions before I get on my way. What sort of helper programs do people use and what are the best? (JASS Craft etc..) And what sort of benefits would one have over the other? Whats the difference between vJASS and regular JASS? And how would...
Top