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

[Trigger] Trigger to show leaks ?

Status
Not open for further replies.
Level 4
Joined
Mar 24, 2008
Messages
87
Hi everyone !

I just tested my project on local with my bro.
My computer has no lag while his one have about 1 image per 5 seconds :p
I must admit he got a really old one, but as he can play on some other maps i wonder if my map has leaks.

I remember that someone posted a trigger which shows in-game if your map has leak or not, but i can't find it anymore...

Help please :)
 
Level 4
Joined
Mar 24, 2008
Messages
87
Hmm, sorry but i don't get it.

You mean a trigger which tells players an ID number every second in-game ?
(IDs are a mistery for me :p)
 
well handle ids are given to every object in game so as things get added whether it be by leaks or by units / destructables / items the number goes up. all the trigger tells u is wat that number is at. if it keeps increasing then u have a leak. You can check this by having ur wc3 running the game and looking at your task manage on ur pc and see if the amount of memory it takes keeps going up. if it does u have leaks. either way u will have to look through ur triggers to make sure they dont have leaks. So i just suggest to skip thos steps if u think u have leaks.
 
Level 4
Joined
Mar 24, 2008
Messages
87
Yep i always keep an eye on this post when i try to fix leaks :)

But when there are many triggers, it's hard to keep focusing on leaks !

Anyway, found already 2 triggers leaking :p
 
Status
Not open for further replies.
Top