• 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.

Leak fixing in my map

Status
Not open for further replies.
Level 15
Joined
Jan 12, 2011
Messages
1,197
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: http://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

  • Through Snow and Ice v.2.2.w3x
    7.8 MB · Views: 42
Level 15
Joined
Sep 6, 2015
Messages
576
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.
 
Level 15
Joined
Jan 12, 2011
Messages
1,197
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: 62
Status
Not open for further replies.
Top