• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Crash] Does this cause crash?

Status
Not open for further replies.
Something makes my map crash and I fear it could be one particular trigger... One trigger every 1 sec gathers all units on the map in a group and checks if they have specific buff.
Is it possible this to make the map crash? In multiplayer?

Reminder: the units in the map are the maximum - 8080....

Second question: - Is it possible if a unit is ordered to cast spell multiple times (the spell have cooldown) to make the map crash?

Question 3: Is it possible checking if timer remaining time is 0 to crash the map"?
 
Last edited:
Is it possible this to make the map crash?
Could cause a thread crash and maybe if that does not clean up properly it could crash. Try limiting the buff search to a more reasonable number of units like 100 or so.

Second question: - Is it possible if a unit is ordered to cast spell multiple times (the spell have cooldown) to make the map crash?
Should not but one cannot rule out stupid behaviour of object editor spells. Triggers might cause a crash if they do stuff in response to the ability order (you will need to check them).

Question 3: Is it possible checking if timer remaining time is 0 to crash the map"?
Should not crash the map as it is very harmless with well defined behaviour and a simple comparison.

Do note that comparing 0.0 == 0.0 is not the same as (not (0.0 != 0.0)). Real equality in JASS has an error margin applied to it. As such the statement A == B and A > B (or < and !=) can both be true if A and B are reals.
 
well, if u fear one particular trigger is causing crash you can turn off the trigger and test the map again to see how that works :D
and don't forget to remove unit group after actions to prevent leaks.
 
Status
Not open for further replies.
Back
Top