Leak Check v2

Status
Not open for further replies.
U

Unregistered

Guest
Leak Check - Report

Report Message
Code:
C:\Documents and Settings\Administrator\Bureaublad\Leak Check v2\Leak Check v2\triggers.txt
------------------
(Line:1)      Split Income Gold and Property
(Line:2)          Events
(Line:3)              Player - Player 1 (Red) leaves the game
(Line:4)              Player - Player 2 (Blue) leaves the game
(Line:5)              Player - Player 3 (Teal) leaves the game
(Line:6)              Player - Player 4 (Purple) leaves the game
(Line:7)              Player - Player 5 (Yellow) leaves the game
(Line:8)              Player - Player 6 (Orange) leaves the game
(Line:9)              Player - Player 7 (Green) leaves the game
(Line:10)            Player - Player 8 (Pink) leaves the game
(Line:11)        Conditions
(Line:12)        Actions
(Line:13)            For each (Integer A) from 1 to 8, do (Actions)
(Line:14)                Loop - Actions
(Line:15)                    If (((Player((Integer A))) controller) Not equal to User) then do (Game - Defeat (Player((Integer A))) with the message: Defeat!) else do (Do nothing)
(Line:16)            Player Group - Remove all players from Forces[1]
(Line:17)            Player Group - Remove all players from Forces[2]
(Line:18)            If ((Player 1 (Red) slot status) Equal to Is playing) then do (Player Group - Add Player 1 (Red) to Forces[1]) else do (Do nothing)
(Line:19)            If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Player Group - Add Player 2 (Blue) to Forces[1]) else do (Do nothing)
(Line:20)            If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Player Group - Add Player 3 (Teal) to Forces[1]) else do (Do nothing)
(Line:21)            If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Player Group - Add Player 4 (Purple) to Forces[1]) else do (Do nothing)
(Line:22)            If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Player Group - Add Player 5 (Yellow) to Forces[2]) else do (Do nothing)
(Line:23)            If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Player Group - Add Player 6 (Orange) to Forces[2]) else do (Do nothing)
(Line:24)            If ((Player 7 (Green) slot status) Equal to Is playing) then do (Player Group - Add Player 7 (Green) to Forces[2]) else do (Do nothing)
(Line:25)            If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Player Group - Add Player 8 (Pink) to Forces[2]) else do (Do nothing)
(Line:26)            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:27)                If - Conditions
(Line:28)                    (Player 1 (Red) slot status) Not equal to Is playing
(Line:29)                Then - Actions
(Line:30)                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:31)                        If - Conditions
(Line:32)                            (Player 2 (Blue) slot status) Not equal to Is playing
(Line:33)                        Then - Actions
(Line:34)                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:35)                                If - Conditions
(Line:36)                                    (Player 3 (Teal) slot status) Not equal to Is playing
(Line:37)                                Then - Actions
(Line:38)                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:39)                                        If - Conditions
(Line:40)                                            (Player 4 (Purple) slot status) Not equal to Is playing
(Line:41)                                        Then - Actions
(Line:42)                                            For each (Integer A) from 1 to 4, do (Actions)
(Line:43)                                                Loop - Actions
(Line:44)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:45)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Town Hall (attackers)))
(Line:46)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:47)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Town Hall (no attackers)))
(Line:48)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:49)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Keep))
(Line:50)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:51)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Castle))
(Line:52)                                        Else - Actions
(Line:53)                                Else - Actions
(Line:54)                        Else - Actions
(Line:55)                Else - Actions
(Line:56)            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:57)                If - Conditions
(Line:58)                    (Player 5 (Yellow) slot status) Not equal to Is playing
(Line:59)                Then - Actions
(Line:60)                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:61)                        If - Conditions
(Line:62)                            (Player 6 (Orange) slot status) Not equal to Is playing
(Line:63)                        Then - Actions
(Line:64)                            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:65)                                If - Conditions
(Line:66)                                    (Player 7 (Green) slot status) Not equal to Is playing
(Line:67)                                Then - Actions
(Line:68)                                    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:69)                                        If - Conditions
(Line:70)                                            (Player 8 (Pink) slot status) Not equal to Is playing
(Line:71)                                        Then - Actions
(Line:72)                                            For each (Integer A) from 5 to 8, do (Actions)
(Line:73)                                                Loop - Actions
(Line:74)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:75)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Town Hall (attackers)))
(Line:76)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:77)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Town Hall (no attackers)))
(Line:78)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:79)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Keep))
(Line:80)                                                    Custom script:   set bj_wantDestroyGroup = true
(Line:81)                                                    Unit - Explode (Random unit from (Units owned by (Player((Integer A))) of type Castle))
(Line:82)                                        Else - Actions
(Line:83)                                Else - Actions
(Line:84)                        Else - Actions
(Line:85)                Else - Actions
(Line:86)            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:87)                If - Conditions
(Line:88)                Then - Actions
(Line:89)                Else - Actions
(Line:90)            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
(Line:91)                If - Conditions
(Line:92)                    (Player 1 (Red) slot status) Not equal to Is playing
(Line:93)                    Player_Income_Gold[1] Not equal to 0
(Line:94)                    (Player 1 (Red) Current gold) Not equal to 0
(Line:95)                    (Number of living Upgrade Center units owned by Player 1 (Red)) Equal to 1
(Line:96)                Then - Actions
(Line:97)                    Set X = 0
(Line:98)                    Set Player_Income_Gold[1] = (Player_Income_Gold[1] + (Player_Income_Lumber[1] x 100000))
(Line:99)                    Player - Add (((Player(1)) Current lumber) x 100000) to Player 1 (Red) Current gold
------------------

------------------
Total lines: 322

Location Leak Detection ON
Unit Group Leak Detection ON
Special Effect Leak Detection ON
Variable Removal Detection ON

(Line: 18 ) (Word: 13 )  Player Group Leak
If ((Player 1 (Red) slot status) Equal to Is playing) then do (Player Group - Add Player 1 (Red) to Forces[1]) else do (Do nothing)  
If ((Player 1 (Red) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 19 ) (Word: 13 )  Player Group Leak
If ((Player 2 (Blue) slot status) Equal to Is playing) then do (Player Group - Add Player 2 (Blue) to Forces[1]) else do (Do nothing)  
If ((Player 2 (Blue) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 20 ) (Word: 13 )  Player Group Leak
If ((Player 3 (Teal) slot status) Equal to Is playing) then do (Player Group - Add Player 3 (Teal) to Forces[1]) else do (Do nothing)  
If ((Player 3 (Teal) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 21 ) (Word: 13 )  Player Group Leak
If ((Player 4 (Purple) slot status) Equal to Is playing) then do (Player Group - Add Player 4 (Purple) to Forces[1]) else do (Do nothing)  
If ((Player 4 (Purple) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 22 ) (Word: 13 )  Player Group Leak
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Player Group - Add Player 5 (Yellow) to Forces[2]) else do (Do nothing)  
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 23 ) (Word: 13 )  Player Group Leak
If ((Player 6 (Orange) slot status) Equal to Is playing) then do (Player Group - Add Player 6 (Orange) to Forces[2]) else do (Do nothing)  
If ((Player 6 (Orange) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 24 ) (Word: 13 )  Player Group Leak
If ((Player 7 (Green) slot status) Equal to Is playing) then do (Player Group - Add Player 7 (Green) to Forces[2]) else do (Do nothing)  
If ((Player 7 (Green) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

(Line: 25 ) (Word: 13 )  Player Group Leak
If ((Player 8 (Pink) slot status) Equal to Is playing) then do (Player Group - Add Player 8 (Pink) to Forces[2]) else do (Do nothing)  
If ((Player 8 (Pink) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)


Completed
Total amount of leaks: 8
Leak Rating: Bad
------------------

2 questions,
1. How to fix the leaks
2. Why display the first 99 lines, its better to not show the trigger @ all, if its bigger then 100 lines.
 

SFilip

Gone but not forgotten
Reaction score
634
Unregistered said:
1. How to fix the leaks
well look for the like that begin with (Suggested fix)...or read some tutorial, there are plenty out there.
 
U

Unregistered

Guest
Code:
(Line: 22 ) (Word: 13 )  Player Group Leak
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Player Group - Add Player 5 (Yellow) to Forces[2]) else do (Do nothing)  
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do ^Leak
(Suggested fix) Set MyPlayerGroup = (Player group(Player - Add
(Suggested fix) Custom script: DestroyForce(udg_MyPlayerGroup)

Doesnt really look complete...
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
Code:
If ((Player 5 (Yellow) slot status) Equal to Is playing) then do (Player Group - Add Player 5 (Yellow) to Forces[2]) else do (Do nothing)
And that isn't a leak anyway, it seems as there still is some bugs here ^^
Your code is leaks free as far as I can tell.
 
U

Unregistered

Guest
This is Effane. Forum account issues right now.

(Suggested fix) Set L = (Center of RT4 <gen>)
(Suggested fix) Custom Script: call RemoveLocation(udg_L)

L is just a variable like any other variable, the LeakCheck just made it up since I imagine it doesnt exist.

Suggestions for the new variables.

tempPoint1
tempPoint2
tempInterger
tempUnitGroup
tempDestructible
tempSpecialEffect1
tempSpecialEffect2

You get the hint. What he means by make sure you clear it before overwriting is you need to destroy the reference variable attached to this temp variable after you use it the last time. This way the reference variable (which is the heart of the leak problem) will not be lost in the triggers.

I guess we need a really good description of what a leak is so you know whats going on.

A leak is when a temporary variable is created for a situation and then is not removed. Lots of things use temp variables, like Positions, Regions, Special Effects, UnitGroups. Warcraft makes lots of temporary variables, and doesnt give them names that are readily available. This leaves those variables floating about without a name, no way to track them, and WC3 will not destroy them till the map closes (It has no way to tell which variables are 'old' and which ones arent).

I cant make a good codeblock right now, having issues with my logon. But lets take a Center of Region for example.

When you call for the center of a region, the game makes a temporary variable for that point (It has to do some math to make that point and then stores the result). Now that creates an unknown and unnamed variable. Which you cant track. But if you set a known variable to Center of Region, you now can track this unknown variable and destroy it before ending the trigger or reloading the variable with something new.

Thats what this code does, it sets that unknown to a known variable.
(Suggested fix) Set L = (Center of RT4 <gen>)

The destroy or remove command doesnt actually remove your named variable that you created, it actually kills the referenced unknown variable, so thats how you can keep reusing the same variable over and over.

This is the destroy command for the region variable.
(Suggested fix) Custom Script: call RemoveLocation(udg_L)


There are lots of commands for destroying and removing variables, each one for a specific type of variable. The leakcheck will show you the way, or you can learn on your own with a tutorial in the tutorial section about leaks.
 

SFilip

Gone but not forgotten
Reaction score
634
> Lots of things use temp variables, like Positions, Regions, Special Effects, UnitGroups.
actually everything needs a temporary variable. afaik the game needs to store 1+1 in the memory in order to get that the result is 2. however integers like this one are usually overwritten by something of the same type later.
points and unit groups (and many others in warcraft) are however combinations of more than one integer (string) and they do not get overwritten unless you destroy them manually.
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Thats why locals kick ass when it comes to simple coding ^^

WEU enables you to use JASS with GUI which makes it easier to be a beginniner in JASS plus in a way it protects your map but it lags tons.
 

Prometheus

Everything is mutable; nothing is sacred
Reaction score
590
Leak Check - Report

Report Message
Code:
C:\Documents and Settings\r\Desktop\bla.txt
------------------
(Line:1)      Untitled Trigger 001
(Line:2)          Events
(Line:3)              Time - Elapsed game time is 0.20 seconds
(Line:4)          Conditions
(Line:5)          Actions
(Line:6)              Set Casting_Unit = Caster 0026 <gen>
(Line:7)              Set Point_Cast = (Position of Casting_Unit)
(Line:8)              Camera - Pan camera for Player 1 (Red) to Point_Cast over 0.10 seconds
(Line:9)              Selection - Select Casting_Unit for Player 1 (Red)
(Line:10)            Wait 0.10 seconds
(Line:11)            Unit - Create 1 Wisp for (Owner of Casting_Unit) at (Point_Cast offset by 100.00 towards 0.00 degrees) facing Default building facing degrees
(Line:12)            Set Circle_Unit = (Last created unit)
(Line:13)            Trigger - Turn on Untitled Trigger 002 <gen>
(Line:14)    
(Line:15)    
(Line:16)    Untitled Trigger 002
(Line:17)        Events
(Line:18)            Time - Every 0.01 seconds of game time
(Line:19)        Conditions
(Line:20)        Actions
(Line:21)            Unit - Move Circle_Unit instantly to (Point_Cast offset by 100.00 towards (Real(Circle_Count)) degrees)
(Line:22)            Set Circle_Count = (Circle_Count + 1)
------------------

------------------
Total lines: 22

Location Leak Detection ON
Unit Group Leak Detection ON
Special Effect Leak Detection ON
Variable Removal Detection ON

Location variable has not been removed: 
[B]Group variable has not been removed: Circle_Unit[/B]

Completed
Total amount of leaks: 0
Leak Rating: Excellent
------------------

I'm not useing a group variable...
 
D

Duddude

Guest
This is confusing

well i download the program today and im haveing a prob.
Code:
Spawn Monsters West
    Events
    Conditions
    Actions
        Set L = (Center of West Spawning <gen>)
        Unit - Create 1 EnemyType[pointer] for Player 12 (Brown) at L facing (Position of (Triggering unit))
        Custom script:   RemoveLocation(udg_L)

Thats the code and heres what is says

Code:
Total lines: 8

Location Leak Detection ON
Unit Group Leak Detection ON
Special Effect Leak Detection ON
Variable Removal Detection ON

(Line: 6 ) (Word: 13 )  Position Leak
Unit - Create 1 EnemyType[pointer] for Player 12 (Brown) at L facing (Position of (Triggering unit))  
Unit - Create 1 EnemyType[pointer] for Player 12 (Brown) at L facing ^Leak
(Suggested fix) Set L = (Position of (Triggering unit)) 
(Suggested fix) Unit - Create 1 EnemyType[pointer] for Player 12 (Brown) at L facing L  
(Suggested fix) Custom Script: call RemoveLocation(udg_L) 

Location variable has not been removed:

Now i see that it wants me to remove L and over write it to be sumthing else but where would i remove it?

Since i cant remove b4 the actual spawn code i would have to make 2 variables? can sum1 post the fixed version of this code? thx so much
 

SFilip

Gone but not forgotten
Reaction score
634
yes you would need another variable...called L2 for example. just assign them both before the action and remove them both afterwards.
 
W

Wyvernoid

Guest
Hello^^
Im_on_56k: Please see this
Unregistered said:
Code:
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 

Completed
Total amount of leaks: 0
Leak Rating: Excellent
------------------
What Location variables?
I have that problem too. 'Think you must got something wrong, 'cause there're no not-removed Location variables at all ;-)
 

MrApples

Ultra Cool Member
Reaction score
78
What does Variable has not been removed mean?

I got like a hundred of those messages for a nonname location variable.
 

Tonks

New Member
Reaction score
160
Edited: I have a question, Should i create tons, tons, tons of variable up or shold i use only 1 variable and let them overwrite it?

First option, it'll increase the map size which i hate to see that.
Second option, if i use only 1 variable and let them overwrite like constantly or almost rapidly overwriting , will it increase the lag online?

I dont know what option is best.. so this is the problem i need help with

2nd Edited: im thinking option 2 is best for me, because option 1 will takes up memory space and plus map size incresment..

Have you tried using Variable Arrays? ;)
 
X

X-rjs23

Guest
Error founded--

When i try to save my trigger with notpad then i click "Check". The error poped up (theres a picture i uploaded) and i tho this software got corrupted for some reason. So i tried again with same trigger. Still an error there. When i tried to resave with my other trigger, it works. I guess its a improper array coding there.

Im reporting this as a bug so u can fix it.

Heres my trigger that caused an error.

Code:
Call
    Events
        Unit - A unit Begins casting an ability
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Call- Building-Smither 
            Then - Actions
                Unit - Order Building smither 0005 <gen> to Follow (Casting unit)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Call- Accessories Shopkeeper 
            Then - Actions
                Unit - Order Accessories Shopkeeper 0019 <gen> to Follow (Casting unit)
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Ability being cast) Equal to Call- Historic Elder 
            Then - Actions
                Unit - Order Historic Elder 0020 <gen> to Follow (Casting unit)
            Else - Actions

Im sure this trigger has some leaks but i could be wrong...
 

Attachments

  • error.jpg
    error.jpg
    32.8 KB · Views: 288
A

_Azuri3l_

Guest
Leak Check - Report

Total lines: 26

Location Leak Detection ON
Unit Group Leak Detection ON
Special Effect Leak Detection ON
Variable Removal Detection ON

(Line: 10 ) (Word: 5 ) Unit Group Leak
(Number of units in (Units in Hero Check Region 1 <gen>)) is equal to Players_in_game
(Number of units in ^Leak

(Suggested fix) Custom Script: set bj_wantDestroyGroup = true
(Suggested fix) (Number of units in (Units in Hero Check Region 1 <gen>)) is equal to Players_in_game

This are condytions and they are memory leaks? lol...

BTW: What mean array ? xD
 

SFilip

Gone but not forgotten
Reaction score
634
> This are condytions and they are memory leaks? lol...
so? conditions are technically the same thing as actions...
and they leak the same way actions do. you need to set (Units in Hero Check Region 1 <gen>) to a variable, use it and then destroy the group.
 

kungfuturte0

New Member
Reaction score
2
this may sound stupid but how do u work this program??? i have loaded it and how dou load up ur triggers because i cant load up my map and ive read the readme but snt get it thanks and srry :banghead:
 
P

phatal

Guest
Leak Check - Report

What's with all the "Location variable has not been removed:" at the end??
Code:
------------------
(Line:1)      PositionCams
(Line:2)          Events
(Line:3)              Time - Elapsed game time is 2.00 seconds
(Line:4)          Conditions
(Line:5)          Actions
(Line:6)              Set L = (Center of startcam1 <gen>)
(Line:7)              Camera - Pan camera for Player 1 (Red) to L over 0.25 seconds
(Line:8)              Custom script:   call RemoveLocation(udg_L)
(Line:9)              Set L = (Center of startcam2 <gen>)
(Line:10)            Camera - Pan camera for Player 2 (Blue) to L over 0.25 seconds
(Line:11)            Custom script:   call RemoveLocation(udg_L)
(Line:12)            Set L = (Center of startcam3 <gen>)
(Line:13)            Camera - Pan camera for Player 3 (Teal) to L over 0.25 seconds
(Line:14)            Custom script:   call RemoveLocation(udg_L)
(Line:15)            Set L = (Center of startcam4 <gen>)
(Line:16)            Camera - Pan camera for Player 4 (Purple) to L over 0.25 seconds
(Line:17)            Custom script:   call RemoveLocation(udg_L)
(Line:18)            Set L = (Center of startcam5 <gen>)
(Line:19)            Camera - Pan camera for Player 5 (Yellow) to L over 0.25 seconds
(Line:20)            Custom script:   call RemoveLocation(udg_L)
(Line:21)            Set L = (Center of startcam6 <gen>)
(Line:22)            Camera - Pan camera for Player 6 (Orange) to L over 0.25 seconds
(Line:23)            Custom script:   call RemoveLocation(udg_L)
(Line:24)            Set L = (Center of startcam7 <gen>)
(Line:25)            Camera - Pan camera for Player 7 (Green) to L over 0.25 seconds
(Line:26)            Custom script:   call RemoveLocation(udg_L)
(Line:27)            Set L = (Center of startcam8 <gen>)
(Line:28)            Camera - Pan camera for Player 8 (Pink) to L over 0.25 seconds
(Line:29)            Custom script:   call RemoveLocation(udg_L)
(Line:30)            Player Group - Pick every player in (All players) and do (Actions)
(Line:31)                Loop - Actions
(Line:32)                    Custom script:   set bj_wantDestroyGroup = true
(Line:33)                    Selection - Select (Units of type Units Selection 1) for (Picked player)
(Line:34)            Game - Display to (All players) for 6.00 seconds the text: |c00FF0000This is o...
(Line:35)            Wait 6.00 seconds
(Line:36)            Game - Display to (All players) for 10.00 seconds the text: |c00FF0000You can c...
(Line:37)            Wait 10.00 seconds
(Line:38)            Game - Display to (All players) for 10.00 seconds the text: |c00FF0000You will ...
(Line:39)            Wait 10.00 seconds
(Line:40)            Set L = (Center of spawn3[(Player number of (Picked player))])
(Line:41)            Player Group - Pick every player in (All players) and do (Actions)
(Line:42)                Loop - Actions
(Line:43)                    Camera - Pan camera for (Picked player) to L over 0.25 seconds
(Line:44)                    Custom script:   set bj_wantDestroyGroup = true
(Line:45)                    Selection - Select (Units of type Upgrade Center) for (Picked player)
(Line:46)            Custom script:   call RemoveLocation(udg_L)
(Line:47)            Game - Display to (All players) for 10.00 seconds the text: |c00FF0000This is y...
------------------

------------------
Total lines: 47

Location Leak Detection ON
Unit Group Leak Detection ON
Special Effect Leak Detection ON
Variable Removal Detection ON

Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 
Location variable has not been removed: 

Completed
Total amount of leaks: 0
Leak Rating: Excellent
------------------
 

SFilip

Gone but not forgotten
Reaction score
634
this is like...tenth time people ask that? as a matter of fact its in this very topic.
its a bug. ignore it, turn off Variable Removal Detection and you're ok.
 
Status
Not open for further replies.
General chit-chat
Help Users

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top