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

Have i fixed this tome leak?

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Wazzup, guys! I know that tomes leak by default and that someone created a system that prevents this.
You know this super tiny model of the tome that remains on the ground after it's used? Well, i have created a trigger that activates when an item is acquired and if the item is a tome, it removes it. The tomes acts like normally, adds stats but the tiny model of it is gone. Does that mean that i have cleared the leak, or what does it mean?
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
When you pick a tome, it remains dead with 0 life. If you remove it with 0 life, you still have a leak because the handle isn't cleared. Also, if you remove the tome inmediatly after picking it, you would kill the item animation (and still have the handle leak).

The only thing that's better than Bribe's sytem is the same sytem but in JASS
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
I personally dont think handle stack leak(handle not nulled isnt recyclied) is much of a problem, you can he at least hundred thousand of handles but its my opinion of course
btw nice I didnt know that tomes with 0 life leaks after destroying
 
Status
Not open for further replies.
Top