Leak fixing in my map

Status
Not open for further replies.
Level 15
Joined
Jan 12, 2011
Messages
1,196
Hi guys,

I have been using the JASS Checker, and with it, I have found several leaks in my map. Unfortunately, I do not know how to solve them.

I attach the link: https://www.hiveworkshop.com/pastebin/dba1faac0176f35b170f2e41c9e83e567935/ and also the map.

For example, I don't know what Filterfunc is, or how to fix the location leak in the Tri-Arrow spell, because it has only unit group variables.

I appreciate your help.
 

Attachments

At tri arrow you have Position of Triggering Unit that should be stored into a variable and cleared.
In pure voodoo you have Position of Picked Unit that should be stored into a variable and cleared too.
At laser impulse you stored the Target point of ability being cast and cleared it, but you didn't put the variable at its place.
At Melee Initialization those are default melee triggers so you can't remove those leaks, although they exist.
 
Thanks. :) I could do almost all of them, but when I used the same method for the Tri-arrow spell, I have got this (look at the pic) Why? I set the Loc variable into Point, too. Maybe is it because of the order of the triggers?
 

Attachments

  • Errprr.png
    Errprr.png
    361.8 KB · Views: 86
Status
Not open for further replies.
Back
Top