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!
After spending half a day thinking that my code is causing a leak in the game (Although all leakage issues had been dealt in the trigger), I decided to try something else. I removed the triggers and cast the spell on its own and saw to my amazement that the ability itself is causing the leak...
C0Memory leaks
For a quick lookup on most important actions, read Things That Leak.
Introduction
Object Leaks
Reference Leaks
Miscellaneous
Conclusion
C1Introduction
If your computer's memory keeps occupied with stuff you already lost access to, it's called memory leak. It slows down the...
The trigger is for a spell summoning elementals full details can be seen here(Servants of the Sea)
Servants of the Sea
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Servants of the Sea
Actions
Set...
Testing the map is very important. First you must fix all leaks (No leaks , good game). The second rule is: The Path... The pach must be placed correctly.
The third testing rule is: The Coding of Colors. The collor code is very important.You can't write color code like this:
OR
And...
This script are correct for leak or not (im not very good with custom scripts)
Computer
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 1 (Red) controller) Equal to Computer
Actions
Set StartLoc[1] = (Player 1 (Red) start location)...
Is this still a leak because its a point offset of a point?
Set point2 = (((Position of Player_Unit[(Player number of (Picked player))]) offset by 65.00 towards (Facing of Player_Unit[(Player number of (Picked player))]) degrees) offset by (-17.00, -17.00))
Custom script: call RemoveLocation...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.