Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Handle Count
Handle Count
08-23-2008, 07:24 PM
#1
Joker
What else contributes to the number excluding local vars? globals?
08-23-2008, 07:37 PM
#2
Vexorian
local vars and globals don't really contribute to the number...
08-23-2008, 07:50 PM
#3
Joker
Then what does?
08-23-2008, 07:59 PM
#4
Rising_Dusk
Handle creation, obviously.
08-23-2008, 08:01 PM
#5
Joker
How do you get the number lower? Mine starts out with ~3000 then jumps ~200 everytime something happens.
08-23-2008, 08:02 PM
#6
Rising_Dusk
Well a buttload of handles are created in blizzard.j, so you can't get rid of those. To get it to jump less, create fewer handles.
08-23-2008, 08:06 PM
#7
Joker
If a unit dies, does the handle count stay the same?
08-23-2008, 09:48 PM
#8
Captain Griffen
Depends. Did you null locals properly? If you null locals properly, then the handle count will be the number of handles in the game (which includes leaks).
08-24-2008, 01:45 PM
#9
Leopard
My map has about 8k handles and they keep increasing..though im sure my spells are fine ??
My map includes a lot of systems: CSS, ABC, ABCT, Knockback system, PUI,...
08-24-2008, 01:58 PM
#10
Captain Griffen
Most likely leaks. Either handle leaks (not destroying properly) or handle index leaks (not nulling properly).