• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Need help checking for leaks.

Status
Not open for further replies.
Level 2
Joined
Jun 9, 2013
Messages
18
Hey all,

I'm getting an error partway through my map and I'm not sure why. I think I could possibly have a leak, but I have no clue how to find them and fix them correctly. There is a sticky, but I was still confused and scared I might mess something up further.

Specifically right now I get the error message after kill 1 or both of the "Troll King" units. So it could be centered around that.

I have attached the map. Let me know if you have any advice to fix the leaks.
 

Attachments

  • Hunter.w3x
    221.7 KB · Views: 50
u have a ton of leaks. check out the tutorial for things that leak.

also check out my tutorial Things a GUIer Should Know.

anything u use twice or more store into a variable and use that.

never use casting unit / dying unit / entering unit
use triggering unit instead.

u need to get rid of the waits they will cause bugs.

for ur item pickup triggers u need to filter what player it is not that the item is in playable map. u should get rid of that condition since an item cant be picked up when its off the map. and if it is spawned off the map it will cause a crash.

Also since this is an rpg u might want to think about using an item drop system. the one in my sig is in vJass but very easy to use for GUIers. and i can help u understand how to use it. u do need to dl JNGP and install it tho.

this should also be in the triggers and scripts forum not in map development
 
Status
Not open for further replies.
Top