• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Leak Fixer(Help Wanted)

Status
Not open for further replies.
Level 19
Joined
Jul 2, 2011
Messages
2,162
Help!

Second Of all,

Hello!

Thank you for opening this thread and for reading this far.

Now.

I have a map that I have been working on for a few years now.

And it's going Great!

I have a problem though

I've read through the trigs repetitively but can't seem to get rid of a lag/leak some where.

Therefore we have a mission!

If you choose to accept it...

Wait, that's from mission impossible.

Hmm.

I believe the problem lies in the 'Pick every unit in 'playable map areas''

I don't really understand how to create a leak fix for that.

But... I tried,

Now for your mission.

Read through all the trigs and find fix and solve all my problems for me =)

Thanks for Helping and I'll be sure to credit you in my game.

I actually want to kill you in the game, sounds weird but it's the ultimate show of respect in my mind..

Of course this is going to be a game feature and in a pleasing 'You rock' way

Thanks again =)

Here's the link to the latest version, unprotected

______________
http://www.hiveworkshop.com/forums/pastebin.php?id=cbnyeh
______________

 
Last edited:
Level 25
Joined
May 11, 2007
Messages
4,651
Help!
Second Of all,
Hello!
Thank you for opening this thread and for reading this far.
Now.
I have a map that I have been working on for a few years now.
And it's going Great!
I have a problem though
I've read through the trigs repetitively but can't seem to get rid of a lag/leak some where.
Therefore we have a mission!
If you choose to accept it...
Wait, that's from mission impossible.
Hmm.

I believe the problem lies in the 'Pick every unit in 'playable map areas''
I don't really understand how to create a leak fix for that.

but... I tried,
Now for your mission.

Read through all the trigs and find fix and solve all my problems for me =)

Thanks for Helping and I'll be sure to credit you in my game.
I actually want to kill you in the game, sounds weird but it's the ultimate show of respect in my mind..

Of course this is going to be a game feature and in a pleasing 'You rock' way
Thanks again =)

Here's the link to the latest version, unprotected
http://www.hiveworkshop.com/forums/pastebin.php?id=cbnyeh
There, fixed it for you.
 
Level 4
Joined
Jul 9, 2007
Messages
50
dude your post is horrible to read....

For UnitGroup leaks do the following:
Set TempGroup = Units in region.../Units owned by player.../...
Pick every unit in TempGroup and do actions
actions...
custom script: Call DestroyGroup(udg_TempGroup)

For PlayerGroups (ive seen there are some leaks in your map as well) do:
Set TempForce = All players matching this and that
Pick every player in TempForce and do actions
actions...
customScript: Call DestroyForce(udg_TempForce)

Note: Dont do this when picking "every player in all players" as this function does not create a player group
 
Level 19
Joined
Jul 2, 2011
Messages
2,162
This Thread Is Closed!

And since I don't know how to do that I'm just going to say

CLOSED


:goblin_boom::goblin_cry::ogre_rage::vw_wtf:

O and thanks for the help... unfortunately there still seems to be a leak some where but where????

O well
 
Status
Not open for further replies.
Top