• 🏆 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!

[Trigger] Mysterious Crashing

Status
Not open for further replies.
Level 9
Joined
Mar 27, 2009
Messages
309
Good (depending on your timezone) Hive!

Im pleased to announce that SectorS is nearing completion and that internal beta testing has begun!

Through testing we have run into a major snag.

I am running a complex resource management system using many arrays (non-jazz) which i beleive may be causing a memory leak, and I wouldnt be surprised if there is a memory leak somewhere.

After playing the map for about an hour it crashes. It is not the normal crash where you receive a report on why <acronym title="Warcraft 3"><acronym title="Warcraft 3">wc3</acronym></acronym> crashed, yet the game just closes with no error report or error ding whatsoever.

I am wondering if there are any memory leak checkers available on this site, if i remember correctly there is a few out there right?

I am also optimizing and locking the map using a map protector, could this be affecting it?

You've come through for me many times already Hive, dont let me down! :thumbs_up:

I found a leak checker but,

I get an error message reading
"Component "Comctl32.OCX or one of its dependencies not correctly registered: a file is missing or invalid"
 
Last edited:
Level 9
Joined
Mar 27, 2009
Messages
309
Script

*********************************************************
Here is 1/8 of my main trigger that is the upkeep trigger which is run every 10 seconds. Most of it is just calculations. Only the handle for player red is shown, but 7 more are programmed to handle each player, also a screen purge is at the end (not shown in this script) which sends a lot of empty game messages to clear your screen (so taking screen shots is possible)

I am now wondering if selecting a player group to do functions every 10 seconds could cause leaks, and if there is a maximum number of space bar points that can be set. Every player receives a spacebar point at the middle of the map every 10 seconds, perhaps it has a limit?

*********************************************************

  • Payouts and Manufacturing
    • Events
      • Time - IncomeTimer expires
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Worksound Equal to 0
        • Then - Actions
          • Set Worksound = 1
          • Sound - Play ConstructionLoop2 <gen>
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Worksound Equal to 1
            • Then - Actions
              • Set Worksound = 0
              • Sound - Play ConstructionLoop1 <gen>
            • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameStatus[6] Equal to 4
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Kingsectorspayout Not equal to 5
            • Then - Actions
              • Set Kingsectorspayout = (Kingsectorspayout + 1)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Kingsectorspayout Equal to 5
            • Then - Actions
              • Game - Display to (All players) the text: |c00BF0000S|r|c00B7...
              • Set Kingsectorspayout = 0
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Owner of Kingsectors[1]) Equal to Player 1 (Red)
                • Then - Actions
                  • Set ResourcesRed[8] = (ResourcesRed[8] + 1)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Owner of Kingsectors[1]) Equal to Player 2 (Blue)
                    • Then - Actions
                      • Set ResourcesBlue[8] = (ResourcesBlue[8] + 1)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Owner of Kingsectors[1]) Equal to Player 3 (Teal)
                        • Then - Actions
                          • Set ResourcesTeal[8] = (ResourcesTeal[8] + 1)
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Owner of Kingsectors[1]) Equal to Player 4 (Purple)
                            • Then - Actions
                              • Set ResourcesPurple[8] = (ResourcesPurple[8] + 1)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Owner of Kingsectors[1]) Equal to Player 5 (Yellow)
                                • Then - Actions
                                  • Set ResourcesYellow[8] = (ResourcesYellow[8] + 1)
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Owner of Kingsectors[1]) Equal to Player 6 (Orange)
                                    • Then - Actions
                                      • Set ResourcesOrange[8] = (ResourcesOrange[8] + 1)
                                    • Else - Actions
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • (Owner of Kingsectors[1]) Equal to Player 7 (Green)
                                        • Then - Actions
                                          • Set ResourcesGreen[8] = (ResourcesGreen[8] + 1)
                                        • Else - Actions
                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            • If - Conditions
                                              • (Owner of Kingsectors[1]) Equal to Player 8 (Pink)
                                            • Then - Actions
                                              • Set ResourcesPink[8] = (ResourcesPink[8] + 1)
                                            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Owner of Kingsectors[2]) Equal to Player 1 (Red)
                • Then - Actions
                  • Set ResourcesRed[8] = (ResourcesRed[8] + 1)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Owner of Kingsectors[2]) Equal to Player 2 (Blue)
                    • Then - Actions
                      • Set ResourcesBlue[8] = (ResourcesBlue[8] + 1)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Owner of Kingsectors[2]) Equal to Player 3 (Teal)
                        • Then - Actions
                          • Set ResourcesTeal[8] = (ResourcesTeal[8] + 1)
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Owner of Kingsectors[2]) Equal to Player 4 (Purple)
                            • Then - Actions
                              • Set ResourcesPurple[8] = (ResourcesPurple[8] + 1)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Owner of Kingsectors[2]) Equal to Player 5 (Yellow)
                                • Then - Actions
                                  • Set ResourcesYellow[8] = (ResourcesYellow[8] + 1)
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Owner of Kingsectors[2]) Equal to Player 6 (Orange)
                                    • Then - Actions
                                      • Set ResourcesOrange[8] = (ResourcesOrange[8] + 1)
                                    • Else - Actions
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • (Owner of Kingsectors[2]) Equal to Player 7 (Green)
                                        • Then - Actions
                                          • Set ResourcesGreen[8] = (ResourcesGreen[8] + 1)
                                        • Else - Actions
                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            • If - Conditions
                                              • (Owner of Kingsectors[2]) Equal to Player 8 (Pink)
                                            • Then - Actions
                                              • Set ResourcesPink[8] = (ResourcesPink[8] + 1)
                                            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Owner of Kingsectors[3]) Equal to Player 1 (Red)
                • Then - Actions
                  • Set ResourcesRed[8] = (ResourcesRed[8] + 1)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Owner of Kingsectors[3]) Equal to Player 2 (Blue)
                    • Then - Actions
                      • Set ResourcesBlue[8] = (ResourcesBlue[8] + 1)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Owner of Kingsectors[3]) Equal to Player 3 (Teal)
                        • Then - Actions
                          • Set ResourcesTeal[8] = (ResourcesTeal[8] + 1)
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Owner of Kingsectors[3]) Equal to Player 4 (Purple)
                            • Then - Actions
                              • Set ResourcesPurple[8] = (ResourcesPurple[8] + 1)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Owner of Kingsectors[3]) Equal to Player 5 (Yellow)
                                • Then - Actions
                                  • Set ResourcesYellow[8] = (ResourcesYellow[8] + 1)
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Owner of Kingsectors[3]) Equal to Player 6 (Orange)
                                    • Then - Actions
                                      • Set ResourcesOrange[8] = (ResourcesOrange[8] + 1)
                                    • Else - Actions
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • (Owner of Kingsectors[3]) Equal to Player 7 (Green)
                                        • Then - Actions
                                          • Set ResourcesGreen[8] = (ResourcesGreen[8] + 1)
                                        • Else - Actions
                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            • If - Conditions
                                              • (Owner of Kingsectors[3]) Equal to Player 8 (Pink)
                                            • Then - Actions
                                              • Set ResourcesPink[8] = (ResourcesPink[8] + 1)
                                            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Owner of Kingsectors[4]) Equal to Player 1 (Red)
                • Then - Actions
                  • Set ResourcesRed[8] = (ResourcesRed[8] + 1)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Owner of Kingsectors[4]) Equal to Player 2 (Blue)
                    • Then - Actions
                      • Set ResourcesBlue[8] = (ResourcesBlue[8] + 1)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Owner of Kingsectors[4]) Equal to Player 3 (Teal)
                        • Then - Actions
                          • Set ResourcesTeal[8] = (ResourcesTeal[8] + 1)
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Owner of Kingsectors[4]) Equal to Player 4 (Purple)
                            • Then - Actions
                              • Set ResourcesPurple[8] = (ResourcesPurple[8] + 1)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Owner of Kingsectors[4]) Equal to Player 5 (Yellow)
                                • Then - Actions
                                  • Set ResourcesYellow[8] = (ResourcesYellow[8] + 1)
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Owner of Kingsectors[4]) Equal to Player 6 (Orange)
                                    • Then - Actions
                                      • Set ResourcesOrange[8] = (ResourcesOrange[8] + 1)
                                    • Else - Actions
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • (Owner of Kingsectors[4]) Equal to Player 7 (Green)
                                        • Then - Actions
                                          • Set ResourcesGreen[8] = (ResourcesGreen[8] + 1)
                                        • Else - Actions
                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            • If - Conditions
                                              • (Owner of Kingsectors[4]) Equal to Player 8 (Pink)
                                            • Then - Actions
                                              • Set ResourcesPink[8] = (ResourcesPink[8] + 1)
                                            • Else - Actions
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameStatus[6] Equal to 1
        • Then - Actions
          • Set ResourcesRed[8] = (Player 1 (Red) Food used)
          • Set ResourcesBlue[8] = (Player 2 (Blue) Food used)
          • Set ResourcesTeal[8] = (Player 3 (Teal) Food used)
          • Set ResourcesPurple[8] = (Player 4 (Purple) Food used)
          • Set ResourcesYellow[8] = (Player 5 (Yellow) Food used)
          • Set ResourcesOrange[8] = (Player 6 (Orange) Food used)
          • Set ResourcesGreen[8] = (Player 7 (Green) Food used)
          • Set ResourcesPink[8] = (Player 8 (Pink) Food used)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameStatus[6] Equal to 7
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • GameStatus[2] Less than 40
            • Then - Actions
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • GameStatus[2] Less than 50
                • Then - Actions
                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • GameStatus[2] Less than 60
                    • Then - Actions
                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • GameStatus[2] Less than 70
                        • Then - Actions
                          • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                          • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                          • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                          • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                          • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                          • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • GameStatus[2] Less than 90
                            • Then - Actions
                              • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                              • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                              • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                              • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                              • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                              • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                              • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
                              • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • GameStatus[2] Less than 100
                                • Then - Actions
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
                                  • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
                                  • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • GameStatus[2] Less than 120
                                    • Then - Actions
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
                                      • Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
                                      • Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
                                    • Else - Actions
        • Else - Actions
      • Set GameStatus[2] = (GameStatus[2] + 1)
      • Set Tipnumber = (Random integer number between 1 and 28)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameStatus[6] Equal to 1
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • GameStatus[8] Equal to 1
            • Then - Actions
              • Multiboard - Change the title of (Last created multiboard) to (SectorS - Sector rush - Win @ 25% - Round + (String(GameStatus[2])))
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • GameStatus[8] Equal to 2
                • Then - Actions
                  • Multiboard - Change the title of (Last created multiboard) to (SectorS - Sector rush - Win @ 50% - Round + (String(GameStatus[2])))
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • GameStatus[8] Equal to 3
                    • Then - Actions
                      • Multiboard - Change the title of (Last created multiboard) to (SectorS - Sector rush - Win @ 75% - Round + (String(GameStatus[2])))
                    • Else - Actions
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • GameStatus[6] Equal to 2
            • Then - Actions
              • Multiboard - Change the title of (Last created multiboard) to (SectorS - Space race - Round + (String(GameStatus[2])))
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • GameStatus[6] Equal to 3
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • GameStatus[8] Equal to 1
                    • Then - Actions
                      • Multiboard - Change the title of (Last created multiboard) to (SectorS - Resource race - Win @ 25 - Round + (String(GameStatus[2])))
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • GameStatus[8] Equal to 2
                        • Then - Actions
                          • Multiboard - Change the title of (Last created multiboard) to (SectorS - Resource race - Win @ 50 - Round + (String(GameStatus[2])))
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • GameStatus[8] Equal to 3
                            • Then - Actions
                              • Multiboard - Change the title of (Last created multiboard) to (SectorS - Resource race - Win @ 75 - Round + (String(GameStatus[2])))
                            • Else - Actions
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • GameStatus[6] Equal to 4
                    • Then - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • GameStatus[8] Equal to 1
                        • Then - Actions
                          • Multiboard - Change the title of (Last created multiboard) to (SectorS - King of the Sector - Win @ 10 - Round + (String(GameStatus[2])))
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • GameStatus[8] Equal to 2
                            • Then - Actions
                              • Multiboard - Change the title of (Last created multiboard) to (SectorS - King of the Sector - Win @ 15 - Round + (String(GameStatus[2])))
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • GameStatus[8] Equal to 3
                                • Then - Actions
                                  • Multiboard - Change the title of (Last created multiboard) to (SectorS - King of the Sector - Win @ 25 - Round + (String(GameStatus[2])))
                                • Else - Actions
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • GameStatus[6] Equal to 5
                        • Then - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • GameStatus[8] Equal to 1
                            • Then - Actions
                              • Multiboard - Change the title of (Last created multiboard) to (SectorS - CTF - Win @ 3 - Round + (String(GameStatus[2])))
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • GameStatus[8] Equal to 2
                                • Then - Actions
                                  • Multiboard - Change the title of (Last created multiboard) to (SectorS - CTF - Win @ 5 - Round + (String(GameStatus[2])))
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • GameStatus[8] Equal to 3
                                    • Then - Actions
                                      • Multiboard - Change the title of (Last created multiboard) to (SectorS - CTF - Win @ 10 - Round + (String(GameStatus[2])))
                                    • Else - Actions
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • GameStatus[6] Equal to 6
                            • Then - Actions
                              • Multiboard - Change the title of (Last created multiboard) to (SectorS - Last One Standing - Round + (String(GameStatus[2])))
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • GameStatus[6] Equal to 7
                                • Then - Actions
                                  • Multiboard - Change the title of (Last created multiboard) to (SectorS - Nuclear Holocaust - Round + (String(GameStatus[2])))
                                • Else - Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Set a spacebar-point for (Picked player) at (Center of Iron Ore <gen>)
          • Player - Add 10 to (Picked player) Current gold
      • Set ResourcesRed[1] = (ResourcesRed[1] + RawincomeRed[1])
      • Set ResourcesRed[2] = (ResourcesRed[2] + RawincomeRed[2])
      • Set ResourcesRed[3] = (ResourcesRed[3] + RawincomeRed[3])
      • Set ResourcesRed[4] = (ResourcesRed[4] + RawincomeRed[4])
      • Set ResourcesRed[5] = (ResourcesRed[5] + RawincomeRed[5])
      • Set ResourcesRed[6] = (ResourcesRed[6] + RawincomeRed[6])
      • Set ResourcesBlue[1] = (ResourcesBlue[1] + RawincomeBlue[1])
      • Set ResourcesBlue[2] = (ResourcesBlue[2] + RawincomeBlue[2])
      • Set ResourcesBlue[3] = (ResourcesBlue[3] + RawincomeBlue[3])
      • Set ResourcesBlue[4] = (ResourcesBlue[4] + RawincomeBlue[4])
      • Set ResourcesBlue[5] = (ResourcesBlue[5] + RawincomeBlue[5])
      • Set ResourcesBlue[6] = (ResourcesBlue[6] + RawincomeBlue[6])
      • Set ResourcesTeal[1] = (ResourcesTeal[1] + RawincomeTeal[1])
      • Set ResourcesTeal[2] = (ResourcesTeal[2] + RawincomeTeal[2])
      • Set ResourcesTeal[3] = (ResourcesTeal[3] + RawincomeTeal[3])
      • Set ResourcesTeal[4] = (ResourcesTeal[4] + RawincomeTeal[4])
      • Set ResourcesTeal[5] = (ResourcesTeal[5] + RawincomeTeal[5])
      • Set ResourcesTeal[6] = (ResourcesTeal[6] + RawincomeTeal[6])
      • Set ResourcesPurple[1] = (ResourcesPurple[1] + RawincomePurple[1])
      • Set ResourcesPurple[2] = (ResourcesPurple[2] + RawincomePurple[2])
      • Set ResourcesPurple[3] = (ResourcesPurple[3] + RawincomePurple[3])
      • Set ResourcesPurple[4] = (ResourcesPurple[4] + RawincomePurple[4])
      • Set ResourcesPurple[5] = (ResourcesPurple[5] + RawincomePurple[5])
      • Set ResourcesPurple[6] = (ResourcesPurple[6] + RawincomePurple[6])
      • Set ResourcesYellow[1] = (ResourcesYellow[1] + RawincomeYellow[1])
      • Set ResourcesYellow[2] = (ResourcesYellow[2] + RawincomeYellow[2])
      • Set ResourcesYellow[3] = (ResourcesYellow[3] + RawincomeYellow[3])
      • Set ResourcesYellow[4] = (ResourcesYellow[4] + RawincomeYellow[4])
      • Set ResourcesYellow[5] = (ResourcesYellow[5] + RawincomeYellow[5])
      • Set ResourcesYellow[6] = (ResourcesYellow[6] + RawincomeYellow[6])
      • Set ResourcesOrange[1] = (ResourcesOrange[1] + ResourcesOrange[1])
      • Set ResourcesOrange[2] = (ResourcesOrange[2] + ResourcesOrange[2])
      • Set ResourcesOrange[3] = (ResourcesOrange[3] + ResourcesOrange[3])
      • Set ResourcesOrange[4] = (ResourcesOrange[4] + ResourcesOrange[4])
      • Set ResourcesOrange[5] = (ResourcesOrange[5] + ResourcesOrange[5])
      • Set ResourcesOrange[6] = (ResourcesOrange[6] + ResourcesOrange[6])
      • Set ResourcesGreen[1] = (ResourcesGreen[1] + ResourcesGreen[1])
      • Set ResourcesGreen[2] = (ResourcesGreen[2] + ResourcesGreen[2])
      • Set ResourcesGreen[3] = (ResourcesGreen[3] + ResourcesGreen[3])
      • Set ResourcesGreen[4] = (ResourcesGreen[4] + ResourcesGreen[4])
      • Set ResourcesGreen[5] = (ResourcesGreen[5] + ResourcesGreen[5])
      • Set ResourcesGreen[6] = (ResourcesGreen[6] + ResourcesGreen[6])
      • Set ResourcesPink[1] = (ResourcesPink[1] + ResourcesPink[1])
      • Set ResourcesPink[2] = (ResourcesPink[2] + ResourcesPink[2])
      • Set ResourcesPink[3] = (ResourcesPink[3] + ResourcesPink[3])
      • Set ResourcesPink[4] = (ResourcesPink[4] + ResourcesPink[4])
      • Set ResourcesPink[5] = (ResourcesPink[5] + ResourcesPink[5])
      • Set ResourcesPink[6] = (ResourcesPink[6] + ResourcesPink[6])
      • -------- Red Handle --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ResourcesRed[0] Equal to 1
        • Then - Actions
          • -------- Metal Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[1] Greater than 0
                  • ResourcesRed[1] Greater than or equal to ProductionsRed[1]
                  • ResourcesRed[2] Greater than or equal to ProductionsRed[1]
            • Then - Actions
              • Set ResourcesRed[1] = (ResourcesRed[1] - ProductionsRed[1])
              • Set ResourcesRed[2] = (ResourcesRed[2] - ProductionsRed[1])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[1] x MetalTech[1]))) + Additional Metal Produced.)
              • Player - Add (MetalTech[1] x ProductionsRed[1]) to Player 1 (Red) Current gold
            • Else - Actions
          • -------- Plating Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[2] Greater than 0
                  • ResourcesRed[1] Greater than or equal to ProductionsRed[2]
                  • ResourcesRed[2] Greater than or equal to ProductionsRed[2]
            • Then - Actions
              • Set ResourcesRed[1] = (ResourcesRed[1] - ProductionsRed[2])
              • Set ResourcesRed[2] = (ResourcesRed[2] - ProductionsRed[2])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[2] x 10))) + Gold worth of Plating sold.)
              • Player - Add (10 x ProductionsRed[2]) to Player 1 (Red) Current lumber
            • Else - Actions
          • -------- Furniture Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[3] Greater than 0
                  • ResourcesRed[3] Greater than or equal to ProductionsRed[3]
            • Then - Actions
              • Set ResourcesRed[3] = (ResourcesRed[3] - ProductionsRed[3])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[3] x 10))) + Gold worth of Furniture sold.)
              • Player - Add (10 x ProductionsRed[3]) to Player 1 (Red) Current lumber
            • Else - Actions
          • -------- Sculptures Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[4] Greater than 0
                  • ResourcesRed[4] Greater than or equal to ProductionsRed[4]
            • Then - Actions
              • Set ResourcesRed[4] = (ResourcesRed[4] - ProductionsRed[4])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[4] x 10))) + Gold worth of Sculptures sold.)
              • Player - Add (10 x ProductionsRed[4]) to Player 1 (Red) Current lumber
            • Else - Actions
          • -------- Plastic Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[5] Greater than 0
                  • ResourcesRed[5] Greater than or equal to ProductionsRed[5]
            • Then - Actions
              • Set ResourcesRed[5] = (ResourcesRed[5] - ProductionsRed[5])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[5] x 10))) + Gold worth of Plastic sold.)
              • Player - Add (10 x ProductionsRed[5]) to Player 1 (Red) Current lumber
            • Else - Actions
          • -------- Tools Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[6] Greater than 0
                  • ResourcesRed[1] Greater than or equal to ProductionsRed[6]
                  • ResourcesRed[2] Greater than or equal to ProductionsRed[6]
                  • ResourcesRed[3] Greater than or equal to ProductionsRed[6]
            • Then - Actions
              • Set ResourcesRed[1] = (ResourcesRed[1] - ProductionsRed[6])
              • Set ResourcesRed[2] = (ResourcesRed[2] - ProductionsRed[6])
              • Set ResourcesRed[3] = (ResourcesRed[3] - ProductionsRed[6])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[6] x 30))) + Gold worth of Tools sold.)
              • Player - Add (30 x ProductionsRed[6]) to Player 1 (Red) Current lumber
            • Else - Actions
          • -------- Components Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[7] Greater than 0
                  • ResourcesRed[3] Greater than or equal to ProductionsRed[7]
                  • ResourcesRed[4] Greater than or equal to ProductionsRed[7]
            • Then - Actions
              • Set ResourcesRed[3] = (ResourcesRed[3] - ProductionsRed[7])
              • Set ResourcesRed[4] = (ResourcesRed[4] - ProductionsRed[7])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[7] x 30))) + Gold worth of Components sold.)
              • Player - Add (30 x ProductionsRed[7]) to Player 1 (Red) Current lumber
            • Else - Actions
          • -------- Vehicles Production --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • And - All (Conditions) are true
                • Conditions
                  • ProductionsRed[8] Greater than 0
                  • ResourcesRed[1] Greater than or equal to ProductionsRed[8]
                  • ResourcesRed[2] Greater than or equal to ProductionsRed[8]
                  • ResourcesRed[3] Greater than or equal to ProductionsRed[8]
                  • ResourcesRed[4] Greater than or equal to ProductionsRed[8]
                  • ResourcesRed[5] Greater than or equal to ProductionsRed[8]
            • Then - Actions
              • Set ResourcesRed[1] = (ResourcesRed[1] - ProductionsRed[8])
              • Set ResourcesRed[2] = (ResourcesRed[2] - ProductionsRed[8])
              • Set ResourcesRed[3] = (ResourcesRed[3] - ProductionsRed[8])
              • Set ResourcesRed[4] = (ResourcesRed[4] - ProductionsRed[8])
              • Set ResourcesRed[5] = (ResourcesRed[5] - ProductionsRed[8])
              • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[8] x 60))) + Gold worth of Vehicles sold.)
              • Player - Add (60 x ProductionsRed[8]) to Player 1 (Red) Current lumber
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (RawincomeRed[1] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8])))) Less than 0
            • Then - Actions
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ((String(ResourcesRed[1])) + (<Empty String> + (String((RawincomeRed[1] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8]))))))))
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 2 to (100.00%, 50.00%, 50.00%) with 0.00% transparency
            • Else - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 2 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ((String(ResourcesRed[1])) + (+ + (String((RawincomeRed[1] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8]))))))))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (RawincomeRed[2] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8])))) Less than 0
            • Then - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 3 to (100.00%, 50.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to ((String(ResourcesRed[2])) + (<Empty String> + (String((RawincomeRed[2] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8]))))))))
            • Else - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 3 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to ((String(ResourcesRed[2])) + (+ + (String((RawincomeRed[2] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8]))))))))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (RawincomeRed[3] - (ProductionsRed[3] + (ProductionsRed[6] + (ProductionsRed[7] + ProductionsRed[8])))) Less than 0
            • Then - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 4 to (100.00%, 50.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to ((String(ResourcesRed[3])) + (<Empty String> + (String((RawincomeRed[3] - (ProductionsRed[3] + (ProductionsRed[6] + (ProductionsRed[7] + ProductionsRed[8]))))))))
            • Else - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 4 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to ((String(ResourcesRed[3])) + (+ + (String((RawincomeRed[3] - (ProductionsRed[3] + (ProductionsRed[6] + (ProductionsRed[7] + ProductionsRed[8]))))))))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (RawincomeRed[4] - (ProductionsRed[4] + (ProductionsRed[7] + ProductionsRed[8]))) Less than 0
            • Then - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 5 to (100.00%, 50.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to ((String(ResourcesRed[4])) + (<Empty String> + (String((RawincomeRed[4] - (ProductionsRed[4] + (ProductionsRed[7] + ProductionsRed[8])))))))
            • Else - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 5 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to ((String(ResourcesRed[4])) + (+ + (String((RawincomeRed[4] - (ProductionsRed[4] + (ProductionsRed[7] + ProductionsRed[8])))))))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (RawincomeRed[5] - (ProductionsRed[5] + ProductionsRed[8])) Less than 0
            • Then - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 6 to (100.00%, 50.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to ((String(ResourcesRed[5])) + (<Empty String> + (String((RawincomeRed[5] - (ProductionsRed[5] + ProductionsRed[8]))))))
            • Else - Actions
              • Multiboard - Set the color for (Last created multiboard) item in column 2, row 6 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
              • Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to ((String(ResourcesRed[5])) + (+ + (String((RawincomeRed[5] - (ProductionsRed[5] + ProductionsRed[8]))))))
          • Multiboard - Set the color for (Last created multiboard) item in column 2, row 7 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to ((String(ResourcesRed[6])) + (+ + (String(RawincomeRed[6]))))
        • Else - Actions
 
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
This leaks like hell :eek:
The Leak-check has found 61 leaks.
If this is only 1/8th of the trigger, the trigger has about 480 leaks every time the timer finishes.
Since it's an income-timer, that would give 480 leaks every 5-10 seconds and makes the game unplayable.

You should also really use loops for some actions ("for each integer A").

I thought that, when the amount of leaks begins to increase drastically, leaks can cause crashes.
However I thought this would give an error, instead of closing without saying anything.

I have searched all over the internet and I've only found unsolved problems with instant crashes...
I hope you can do something about it, this system really took a lot of work...

(here's a leak check that works for me: Leak Check 3.1)

edit:
Use hidden-tags for the trigger ([hidden ] Text [/hidden])
 
Level 9
Joined
Oct 17, 2007
Messages
547
You can write another trigger that does the same thing for about 1/10 the length of the one u got now.. try to shorten it using loops and do a search on Leaks to learn more about them.
 
Level 9
Joined
Mar 27, 2009
Messages
309
You can write another trigger that does the same thing for about 1/10 the length of the one u got now.. try to shorten it using loops and do a search on Leaks to learn more about them.

I don't think thats possible, nor do you understand what the trigger does.

Each player handle (only red is shown) has multiple if then elses that control different things from happening, using loops is out of the question.

Only if the player is in the game are these functions run, and the amount of resources each player has decides if they can make these productions possible or not.

  • -------- Red Handle --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • ResourcesRed[0] Equal to 1
    • Then - Actions
    • -------- Metal Production --------
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • And - All (Conditions) are true
    • Conditions
    • ProductionsRed[1] Greater than 0
    • ResourcesRed[1] Greater than or equal to ProductionsRed[1]
    • ResourcesRed[2] Greater than or equal to ProductionsRed[1]
    • Then - Actions
    • Set ResourcesRed[1] = (ResourcesRed[1] - ProductionsRed[1])
    • Set ResourcesRed[2] = (ResourcesRed[2] - ProductionsRed[1])
    • Game - Display to Player Group - Player 1 (Red) the text: ((String((ProductionsRed[1] x MetalTech[1]))) + Additional Metal Produced.)
    • Player - Add (MetalTech[1] x ProductionsRed[1]) to Player 1 (Red) Current gold
    • Else - Actions
However, each of these if then elses dont have do nothing functions for the else functions, Could this be causing a problem?

Also, when the multiboard is refered to, it is refered to Last created multiboard, Could designating the last created multiboard as a variable have any impact on reducing leaks?

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
    • (RawincomeRed[1] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8])))) Less than 0
    • Then - Actions
    • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ((String(ResourcesRed[1])) + (<Empty String> + (String((RawincomeRed[1] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8]))))))))
    • Multiboard - Set the color for (Last created multiboard) item in column 2, row 2 to (100.00%, 50.00%, 50.00%) with 0.00% transparency
    • Else - Actions
    • Multiboard - Set the color for (Last created multiboard) item in column 2, row 2 to (50.00%, 100.00%, 50.00%) with 0.00% transparency
    • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ((String(ResourcesRed[1])) + (+ + (String((RawincomeRed[1] - (ProductionsRed[1] + (ProductionsRed[2] + (ProductionsRed[6] + ProductionsRed[8]))))))))
Apparently, (even though i cant get leak check to work to confirm this), 200,000 leaks are being caused by this trigger every hour.

I am making some obersvations in how the amount of players playing leads to an invisible crash. When playing the map in single player, it doesn't crash after about an hour and a half, yet while playing with a full house, it crashes before the hour mark.

These oberservations are leading to the only feasable conclusions which would currently explain this phenomon, Either a temporary variable (last created multiboard) is being overused and reaches a point of extinction, or reaches a point where it can no longer be used.

Or, the if then elses lack closing statements, which might be causing a build up of non-conclusive statements which, cause leaks and crash?

If we can just figure this out, SectorS will be stable and awsome! :D
 
Level 10
Joined
Oct 2, 2006
Messages
1,317
This kind of crashes happens when you make an "instant inifinitive loop trigger".
like this:
"Events:
A Unit Enters Playable Map Area

Actions:
Unit - Create 1 unit at center of playable map area."

or this:

"Events:
A Unit Is issued targeting a point.

Actions:
Unit - Issue triggering unit a move order to Region X."


Check your triggers if you dont have anything like this.
 
Level 9
Joined
Mar 27, 2009
Messages
309
Yes, I definantly do have those kind of triggers, ill upload some script of them when i get home, im at school right now, (lol)

The source of the crash isnt too clear, and doesnt seem to come from a certain trigger running, but your infinite loop seems a possibility.

(Insert script here in few hours)

Ill be back later...
 
Level 9
Joined
May 27, 2006
Messages
498
Leaaaaaakz
Most of the leaks pointed out, include all the other similar to those
All those random points should be set to a variable temporarily, used in the actions as the variable, and then destroyed.
Like;
  • Actions
    • Set TempPoint = (Random point in bleh <gen>)
    • Unit - Create 1 blah at TempPoint ...
    • Unit - Order unit to Boom at TempPoint...
    • Custom script: call RemoveLocation(udg_TempPoint)
    • Set TempPoint = (Random point in bleh2 <gen>)
    • Unit - Create 1 blah at TempPoint...
    • Unit - Order unit to Boom at TempPoint...
    • Custom script: call RemoveLocation(udg_TempPoint)
And so on. This way you get a leakless trigger doing exactly the same as yours.
Also sounds and player groups leak, so you should destroy them later on as well. Rest of the trigger is leakfree.
I guess you should read a bit; http://www.hiveworkshop.com/forums/triggers-and-scripts-269/things-that-leak-35124/

Regarding infinite loops, they do crash <acronym title="Warcraft 3">wc3</acronym> instantly when they are ran, so they wouldn't wait whole hour to fail. Imo leaks are the most plausible cause of crash.

Oh, and btw, im amazed you wrote that whole monstrous trigger here ; o I would've just made a screenshot and put it together
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Since I am too lazy to fix the leaks in that huge trigger for you, this Copy/Pasted from the leak-check program:

raft_pl said:
Oh, and btw, im amazed you wrote that whole monstrous trigger here ; o I would've just made a screenshot and put it together
Lol, just right click on the trigger, select "Copy as Text" and paste it here.
You don't have to write it completely.


Leaks Found: 61
Definitions Loaded: 13
Lines: 672

(Line: 255) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 256) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 262) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 263) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 264) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 265) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 271) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 272) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 273) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 274) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 275) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 276) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 282) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 283) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 284) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 285) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 286) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 287) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 288) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 289) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 295) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 296) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 297) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 298) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 299) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 300) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 301) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 302) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 303) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 304) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 305) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 306) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 307) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 308) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 309) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 310) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 316) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 317) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 318) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 319) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 320) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Top Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 321) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Top Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 322) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 323) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 324) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 325) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 326) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Right Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 327) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Right Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 328) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 329) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 330) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 331) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 332) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Bottom Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 333) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Bottom Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 334) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 335) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 336) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 337) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 338) (Word: 10) Location Leak
Unit - Create 1 Nuke for Player 12 (Brown) at (Random point in Left Tiling <gen>) facing Default building facing degrees
Unit - Create 1 Nuke for Player 12 (Brown) at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Create 1 Nuke for Player 12 (Brown) at MyLocation facing Default building facing degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 339) (Word: 10) Location Leak
Unit - Order (Last created unit) to Neutral - Kaboom! (Random point in Left Tiling <gen>)
Unit - Order (Last created unit) to Neutral - Kaboom! ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Neutral - Kaboom! MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 456) (Word: 9) Location Leak
Camera - Set a spacebar-point for (Picked player) at (Center of Iron Ore <gen>)
Camera - Set a spacebar-point for (Picked player) at ^Leak
(Suggested Fix) Set MyLocation = (Center of Iron Ore <gen>)
(Suggested Fix) Camera - Set a spacebar-point for (Picked player) at MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)


A huge part of these leaks are Location Leaks, which haven't been removed.
 
Level 9
Joined
Mar 27, 2009
Messages
309
Hmmm, Yes!:cidea: I have many triggers using random placement and terrain changing, which could be causing lots of leaks.

Heres the triggers which use trigger unit, casting unit, and dying unit calls and random spawn points.

  • Beginning Tile Loop
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TileLoopStatus Greater than 0
        • Then - Actions
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
          • Set TileLoopStatus = (TileLoopStatus - 1)
          • Wait 0.10 seconds
          • Trigger - Run (This trigger) (ignoring conditions)
        • Else - Actions
          • Trigger - Turn off (This trigger)
Heres are the mine allowance controls which only allow players to build mines on certain terrain tiles to harvest them

  • Mine Construction
    • Events
      • Unit - A unit Begins construction
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Constructing structure)) Equal to Mine
          • (Unit-type of (Constructing structure)) Equal to Oil well
          • (Unit-type of (Constructing structure)) Equal to Saw mill
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Constructing structure)) Equal to Mine
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
                  • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
            • Then - Actions
              • Unit - Set (Constructing structure) construction progress to 100%
              • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: Oil and Lumber cann...
              • Player - Add 25 to (Owner of (Constructing structure)) Current gold
              • Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
              • Unit - Add Self Destruct to (Constructing structure)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Black Marble
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Brick
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Dirt
                • Then - Actions
                  • Unit - Make (Constructing structure) face (Random real number between 0.00 and 360.00) over 0.00 seconds
                  • Wait 6.00 seconds
                  • Unit - Order (Constructing structure) to Night Elf Mountain Giant - Taunt
                • Else - Actions
                  • Unit - Set (Constructing structure) construction progress to 100%
                  • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: No resources at thi...
                  • Player - Add 25 to (Owner of (Constructing structure)) Current gold
                  • Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
                  • Unit - Add Self Destruct to (Constructing structure)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Constructing structure)) Equal to Oil well
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Black Marble
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Brick
                      • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Dirt
                • Then - Actions
                  • Unit - Set (Constructing structure) construction progress to 100%
                  • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: Oil wells can only ...
                  • Player - Add 25 to (Owner of (Constructing structure)) Current gold
                  • Player - Add 25 to (Owner of (Constructing structure)) Current lumber
                  • Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
                  • Unit - Add Self Destruct to (Constructing structure)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
                    • Then - Actions
                      • Wait 6.00 seconds
                      • Unit - Order (Constructing structure) to Night Elf Mountain Giant - Taunt
                    • Else - Actions
                      • Unit - Set (Constructing structure) construction progress to 100%
                      • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: No resources at thi...
                      • Player - Add 25 to (Owner of (Constructing structure)) Current gold
                      • Player - Add 25 to (Owner of (Constructing structure)) Current lumber
                      • Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
                      • Unit - Add Self Destruct to (Constructing structure)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Unit-type of (Constructing structure)) Equal to Saw mill
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Black Marble
                          • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
                          • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Brick
                          • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Dirt
                          • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
                    • Then - Actions
                      • Unit - Set (Constructing structure) construction progress to 100%
                      • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: Saw mills can only ...
                      • Player - Add 50 to (Owner of (Constructing structure)) Current gold
                      • Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
                      • Unit - Add Self Destruct to (Constructing structure)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • Or - Any (Conditions) are true
                            • Conditions
                              • (Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
                        • Then - Actions
                          • Unit - Make (Constructing structure) face (Random real number between 0.00 and 360.00) over 0.00 seconds
                          • Wait 6.00 seconds
                          • Unit - Order (Constructing structure) to Night Elf Mountain Giant - Taunt
                        • Else - Actions
                          • Unit - Set (Constructing structure) construction progress to 100%
                          • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: No resources at thi...
                          • Player - Add 50 to (Owner of (Constructing structure)) Current gold
                          • Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
                          • Unit - Add Self Destruct to (Constructing structure)
                • Else - Actions
Heres the controls for activating a mine (only for one terrain tile type, however has controls for every player)

  • Mine Starting
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Begin Mining
          • (Ability being cast) Equal to Begin Harvesting
          • (Ability being cast) Equal to Begin Pumping
    • Actions
      • Set GameStatus[13] = (GameStatus[13] + 2)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Terrain type at (Position of (Casting unit))) Equal to Cityscape - Black Marble
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Owner of (Casting unit)) Equal to Player 1 (Red)
            • Then - Actions
              • Unit - Set the custom value of (Casting unit) to 1
              • Animation - Play (Casting unit)'s work animation
              • Set RawincomeRed[1] = (RawincomeRed[1] + 1)
              • Unit - Add Coal to (Casting unit)
              • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
              • Game - Display to Player Group - Player 1 (Red) the text: |c0074FF79Coal prod...
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Owner of (Casting unit)) Equal to Player 2 (Blue)
                • Then - Actions
                  • Unit - Set the custom value of (Casting unit) to 1
                  • Animation - Play (Casting unit)'s work animation
                  • Set RawincomeBlue[1] = (RawincomeBlue[1] + 1)
                  • Unit - Add Coal to (Casting unit)
                  • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                  • Game - Display to Player Group - Player 2 (Blue) the text: |c0074FF79Coal prod...
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Owner of (Casting unit)) Equal to Player 3 (Teal)
                    • Then - Actions
                      • Unit - Set the custom value of (Casting unit) to 1
                      • Animation - Play (Casting unit)'s work animation
                      • Set RawincomeTeal[1] = (RawincomeTeal[1] + 1)
                      • Unit - Add Coal to (Casting unit)
                      • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                      • Game - Display to Player Group - Player 3 (Teal) the text: |c0074FF79Coal prod...
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • (Owner of (Casting unit)) Equal to Player 4 (Purple)
                        • Then - Actions
                          • Unit - Set the custom value of (Casting unit) to 1
                          • Animation - Play (Casting unit)'s work animation
                          • Set RawincomePurple[1] = (RawincomePurple[1] + 1)
                          • Unit - Add Coal to (Casting unit)
                          • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                          • Game - Display to Player Group - Player 4 (Purple) the text: |c0074FF79Coal prod...
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Owner of (Casting unit)) Equal to Player 5 (Yellow)
                            • Then - Actions
                              • Unit - Set the custom value of (Casting unit) to 1
                              • Animation - Play (Casting unit)'s work animation
                              • Set RawincomeYellow[1] = (RawincomeYellow[1] + 1)
                              • Unit - Add Coal to (Casting unit)
                              • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                              • Game - Display to Player Group - Player 5 (Yellow) the text: |c0074FF79Coal prod...
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • (Owner of (Casting unit)) Equal to Player 6 (Orange)
                                • Then - Actions
                                  • Unit - Set the custom value of (Casting unit) to 1
                                  • Animation - Play (Casting unit)'s work animation
                                  • Set RawincomeOrange[1] = (RawincomeOrange[1] + 1)
                                  • Unit - Add Coal to (Casting unit)
                                  • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                                  • Game - Display to Player Group - Player 6 (Orange) the text: |c0074FF79Coal prod...
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • (Owner of (Casting unit)) Equal to Player 7 (Green)
                                    • Then - Actions
                                      • Unit - Set the custom value of (Casting unit) to 1
                                      • Animation - Play (Casting unit)'s work animation
                                      • Set RawincomeGreen[1] = (RawincomeGreen[1] + 1)
                                      • Unit - Add Coal to (Casting unit)
                                      • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                                      • Game - Display to Player Group - Player 7 (Green) the text: |c0074FF79Coal prod...
                                    • Else - Actions
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • (Owner of (Casting unit)) Equal to Player 8 (Pink)
                                        • Then - Actions
                                          • Unit - Set the custom value of (Casting unit) to 1
                                          • Animation - Play (Casting unit)'s work animation
                                          • Set RawincomePink[1] = (RawincomePink[1] + 1)
                                          • Unit - Add Coal to (Casting unit)
                                          • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
                                          • Game - Display to Player Group - Player 8 (Pink) the text: |c0074FF79Coal prod...
                                        • Else - Actions
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
These functions are run very frequently and hold the game together because they are the infastructure for the 6 custom resources in the game.

The first two functions are as they appear in the map, but the last one is just 1/6 of it.

I still cant get the leak checker to work, so if guys could test these it'd give me an idea for what is wrong.

Thanks again!:grin:
 
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
First trigger:
In every action there is a location leak.
When you say "Random Point in (Region)", that function leaks.


Leaks Found: 120

(Line: 5) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 6) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 7) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 8) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 9) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 10) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 11) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 12) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 13) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 14) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 15) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 16) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 17) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 18) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 19) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 20) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 21) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 22) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 23) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 24) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 25) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 26) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 27) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 28) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 29) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 30) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 31) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 32) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 33) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 34) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Top Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Top Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 35) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 36) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 37) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 38) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 39) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 40) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 41) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 42) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 43) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 44) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 45) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 46) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 47) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 48) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 49) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 50) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 51) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 52) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 53) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 54) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 55) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 56) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 57) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 58) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 59) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 60) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 61) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 62) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 63) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 64) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Right Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Right Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 65) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 66) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 67) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 68) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 69) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 70) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 71) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 72) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 73) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 74) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 75) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 76) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 77) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 78) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 79) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 80) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 81) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 82) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 83) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 84) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 85) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 86) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 87) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 88) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 89) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 90) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 91) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 92) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 93) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 94) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Bottom Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Bottom Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 95) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 96) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 97) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 98) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 99) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 100) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 101) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 102) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 103) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Black Marble using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Black Marble using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 104) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 105) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 106) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 107) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 108) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 109) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 110) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 111) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 112) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Round Tiles using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Round Tiles using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 113) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 114) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 115) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 116) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Grass using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Grass using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 117) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 118) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 119) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Brick using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Brick using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 120) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 121) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 122) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Rough Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Rough Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 123) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 124) (Word: 6) Location Leak
Environment - Change terrain type at (Random point in Left Tiling <gen>) to Cityscape - Dirt using variation -1 in an area of size 1 and shape Square
Environment - Change terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Random point in Left Tiling <gen>)
(Suggested Fix) Environment - Change terratype at MyLocation to Cityscape - Dirt using variation -1 an area of size 1 and shape Square
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)


Trigger 2:
Yet again, you didn't remove the location leaks...


Leaks found: 26

(Line: 18) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Grass
(Suggested Fix) (Terrain type at MyLocation Grass
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 19) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 24) (Word: 11) Location Leak
Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
Unit - Create 1 Convec for (Owner of (Constructing structure)) at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure)) facing Default building facing degrees
(Suggested Fix) Unit - Create 1 Convec for (Owner at MyLocation degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 31) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
(Suggested Fix) (Terrain type at MyLocation Tiles
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 32) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Black Marble
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Black Marble
(Suggested Fix) (Terrain type at MyLocation Marble
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 33) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Brick
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Brick
(Suggested Fix) (Terrain type at MyLocation Brick
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 34) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Grass
(Suggested Fix) (Terrain type at MyLocation Grass
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 35) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 36) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 45) (Word: 11) Location Leak
Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
Unit - Create 1 Convec for (Owner of (Constructing structure)) at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure)) facing Default building facing degrees
(Suggested Fix) Unit - Create 1 Convec for (Owner at MyLocation degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 56) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Black Marble
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Black Marble
(Suggested Fix) (Terrain type at MyLocation Marble
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 57) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
(Suggested Fix) (Terrain type at MyLocation Tiles
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 58) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Grass
(Suggested Fix) (Terrain type at MyLocation Grass
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 59) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Brick
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Brick
(Suggested Fix) (Terrain type at MyLocation Brick
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 60) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 66) (Word: 11) Location Leak
Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
Unit - Create 1 Convec for (Owner of (Constructing structure)) at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure)) facing Default building facing degrees
(Suggested Fix) Unit - Create 1 Convec for (Owner at MyLocation degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 73) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 82) (Word: 11) Location Leak
Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
Unit - Create 1 Convec for (Owner of (Constructing structure)) at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure)) facing Default building facing degrees
(Suggested Fix) Unit - Create 1 Convec for (Owner at MyLocation degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 93) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Black Marble
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Black Marble
(Suggested Fix) (Terrain type at MyLocation Marble
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 94) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Round Tiles
(Suggested Fix) (Terrain type at MyLocation Tiles
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 95) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Brick
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Brick
(Suggested Fix) (Terrain type at MyLocation Brick
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 96) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 97) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Rough Dirt
(Suggested Fix) (Terrain type at MyLocation Dirt
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 102) (Word: 11) Location Leak
Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
Unit - Create 1 Convec for (Owner of (Constructing structure)) at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure)) facing Default building facing degrees
(Suggested Fix) Unit - Create 1 Convec for (Owner at MyLocation degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 109) (Word: 3) Location Leak
(Terrain type at (Position of (Constructing structure))) Equal to Cityscape - Grass
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure))) Equal to Cityscape - Grass
(Suggested Fix) (Terrain type at MyLocation Grass
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 118) (Word: 11) Location Leak
Unit - Create 1 Convec for (Owner of (Constructing structure)) at (Position of (Constructing structure)) facing Default building facing degrees
Unit - Create 1 Convec for (Owner of (Constructing structure)) at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Constructing structure)) facing Default building facing degrees
(Suggested Fix) Unit - Create 1 Convec for (Owner at MyLocation degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)


Trigger 3:
There is only 1 leak in this trigger (again, a location leak).


(Line: 13) (Word: 3) Location Leak
(Terrain type at (Position of (Casting unit))) Equal to Cityscape - Black Marble
(Terrain type at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Casting unit))) Equal to Cityscape - Black Marble
(Suggested Fix) (Terrain type at MyLocation Marble
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)


If you didn't get it by now, every time you use a point (center of region, random point in region, player start location, position of unit, ...) you need to remove that point.
This is how you do it:

  • Set TempLoc = "Point"
  • Do action at TempLoc
  • Custom Script call RemoveLocation(udg_TempLoc)
  • "Point" represents one of the examples of a point mentioned above (there are other points too, be sure you remove them all!)
  • "Do Action" can be basically anything... move a unit, create a unit, move camera, center a region, create a weather effect, ...
  • Do not touch the last action, except maybe the "TempLoc" (the variable for the "point", it's case sensitive).

Edit: whohoow, 500th post -.-
 
Level 9
Joined
Mar 27, 2009
Messages
309
Well, its not that I dont get it, just that I am unable to run the Leak checker and still trying to identify if these location leaks are causing a problem.

OBVIOUSLY, they are and I will now try to address this issue.

I have not yet made any leak control enhancements to the map, and will begin to now.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Well, its not that I dont get it, just that I am unable to run the Leak checker and still trying to identify if these location leaks are causing a problem.

OBVIOUSLY, they are and I will now try to address this issue.

I have not yet made any leak control enhancements to the map, and will begin to now.

Well, I've done the leak checks for you... with the same program that wouldn't run at your PC.
if I'm correct, that massive amount of leaks can cause the crash. (480 in the main trigger, 120 in the tileset trigger, another 27 in the other 2 combined triggers).
 
Level 9
Joined
Mar 27, 2009
Messages
309
I have begun the leak removal process (I had a paper and 5 hour project to finish)

So is this all that needs to be done? Do i need more code in the custom script section of the map? I understand that leak remove is needed everywhere a group or point is called for. Just want to make sure before I go through all too many lines of code for it not to work :(

  • Mine Starting
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Ability being cast) Equal to Begin Mining
          • (Ability being cast) Equal to Begin Harvesting
          • (Ability being cast) Equal to Begin Pumping
    • Actions
      • Set GameStatus[13] = (GameStatus[13] + 2)
      • Set TempLoc = (Position of (Casting unit))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Terrain type at Temploc) Equal to Cityscape - Black Marble
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Owner of (Casting unit)) Equal to Player 1 (Red)
            • Then - Actions
              • Unit - Set the custom value of (Casting unit) to 1
              • Animation - Play (Casting unit)'s work animation
              • Set RawincomeRed[1] = (RawincomeRed[1] + 1)
              • Unit - Add Coal to (Casting unit)
              • If ((Ability being cast) Equal to Begin Mining ) then do (Unit - Remove Begin Mining from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Harvesting ) then do (Unit - Remove Begin Harvesting from (Casting unit)) else do (If ((Ability being cast) Equal to Begin Pumping ) then do (Unit - Remove Begin Pumping from (Casting unit)) else do (Do nothing)))
              • Game - Display to Player Group - Player 1 (Red) the text: |c0074FF79Coal prod...
              • Custom script: call RemoveLocation(udg_TempLoc)
Thanks again!

Edit: Seems to be working, this is easier than i thought. Still unsure of how to map will perform. Testing will comence soon.
 
Last edited:
Level 8
Joined
Apr 7, 2008
Messages
176
  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 8, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Owner of Kingssectors[1]) Equal to Player[(Integer A)]
            • Then - Actions
              • Set ResourcesPink[1] = (ResourcesPink[1] + 1)
            • Else - Actions
Here is just an example of your first set of triggers that could be done easier.
Im sure there is a way to do this for all 8 Resource groups, I was just too lazy to think about it. Anyways I hope this helps you understand that a little better. And tell me if this isnt right. (Not the variables, I made those myself theyre just an example).
 
Level 9
Joined
Mar 27, 2009
Messages
309
Could i get these checked?

  • Mine Construction
    • Events
      • Unit - A unit Begins construction
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Constructing structure)) Equal to Mine
          • (Unit-type of (Constructing structure)) Equal to Oil well
          • (Unit-type of (Constructing structure)) Equal to Saw mill
    • Actions
      • Set TempLoc = (Position of (Constructing structure))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Constructing structure)) Equal to Mine
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Or - Any (Conditions) are true
                • Conditions
                  • (Terrain type at TempLoc) Equal to Cityscape - Grass
                  • (Terrain type at TempLoc) Equal to Cityscape - Rough Dirt
            • Then - Actions
              • Unit - Set (Constructing structure) construction progress to 100%
              • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: Oil and Lumber cann...
              • Player - Add 25 to (Owner of (Constructing structure)) Current gold
              • Unit - Create 1 Convec for (Owner of (Constructing structure)) at TempLoc facing Default building facing degrees
              • Unit - Add Self Destruct to (Constructing structure)
              • Custom script: call RemoveLocation(udg_TempLoc)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Terrain type at TempLoc) Equal to Cityscape - Round Tiles
                      • (Terrain type at TempLoc) Equal to Cityscape - Black Marble
                      • (Terrain type at TempLoc) Equal to Cityscape - Brick
                      • (Terrain type at TempLoc) Equal to Cityscape - Grass
                      • (Terrain type at TempLoc) Equal to Cityscape - Rough Dirt
                      • (Terrain type at TempLoc) Equal to Cityscape - Dirt
                • Then - Actions
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Unit - Make (Constructing structure) face (Random real number between 0.00 and 360.00) over 0.00 seconds
                  • Wait 6.00 seconds
                  • Unit - Order (Constructing structure) to Night Elf Mountain Giant - Taunt
                • Else - Actions
                  • Unit - Set (Constructing structure) construction progress to 100%
                  • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: No resources at thi...
                  • Player - Add 25 to (Owner of (Constructing structure)) Current gold
                  • Unit - Create 1 Convec for (Owner of (Constructing structure)) at TempLoc facing Default building facing degrees
                  • Unit - Add Self Destruct to (Constructing structure)
                  • Custom script: call RemoveLocation(udg_TempLoc)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Unit-type of (Constructing structure)) Equal to Oil well
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Terrain type at TempLoc) Equal to Cityscape - Black Marble
                      • (Terrain type at TempLoc) Equal to Cityscape - Round Tiles
                      • (Terrain type at TempLoc) Equal to Cityscape - Grass
                      • (Terrain type at TempLoc) Equal to Cityscape - Brick
                      • (Terrain type at TempLoc) Equal to Cityscape - Dirt
                • Then - Actions
                  • Unit - Set (Constructing structure) construction progress to 100%
                  • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: Oil wells can only ...
                  • Player - Add 25 to (Owner of (Constructing structure)) Current gold
                  • Player - Add 25 to (Owner of (Constructing structure)) Current lumber
                  • Unit - Create 1 Convec for (Owner of (Constructing structure)) at TempLoc facing Default building facing degrees
                  • Unit - Add Self Destruct to (Constructing structure)
                  • Custom script: call RemoveLocation(udg_TempLoc)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Terrain type at TempLoc) Equal to Cityscape - Rough Dirt
                    • Then - Actions
                      • Custom script: call RemoveLocation(udg_TempLoc)
                      • Wait 6.00 seconds
                      • Unit - Order (Constructing structure) to Night Elf Mountain Giant - Taunt
                    • Else - Actions
                      • Unit - Set (Constructing structure) construction progress to 100%
                      • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: No resources at thi...
                      • Player - Add 25 to (Owner of (Constructing structure)) Current gold
                      • Player - Add 25 to (Owner of (Constructing structure)) Current lumber
                      • Unit - Create 1 Convec for (Owner of (Constructing structure)) at TempLoc facing Default building facing degrees
                      • Unit - Add Self Destruct to (Constructing structure)
                      • Custom script: call RemoveLocation(udg_TempLoc)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Unit-type of (Constructing structure)) Equal to Saw mill
                • Then - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • (Terrain type at TempLoc) Equal to Cityscape - Black Marble
                          • (Terrain type at TempLoc) Equal to Cityscape - Round Tiles
                          • (Terrain type at TempLoc) Equal to Cityscape - Brick
                          • (Terrain type at TempLoc) Equal to Cityscape - Dirt
                          • (Terrain type at TempLoc) Equal to Cityscape - Rough Dirt
                    • Then - Actions
                      • Unit - Set (Constructing structure) construction progress to 100%
                      • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: Saw mills can only ...
                      • Player - Add 50 to (Owner of (Constructing structure)) Current gold
                      • Unit - Create 1 Convec for (Owner of (Constructing structure)) at TempLoc facing Default building facing degrees
                      • Unit - Add Self Destruct to (Constructing structure)
                      • Custom script: call RemoveLocation(udg_TempLoc)
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • Or - Any (Conditions) are true
                            • Conditions
                              • (Terrain type at TempLoc) Equal to Cityscape - Grass
                        • Then - Actions
                          • Custom script: call RemoveLocation(udg_TempLoc)
                          • Unit - Make (Constructing structure) face (Random real number between 0.00 and 360.00) over 0.00 seconds
                          • Wait 6.00 seconds
                          • Unit - Order (Constructing structure) to Night Elf Mountain Giant - Taunt
                        • Else - Actions
                          • Unit - Set (Constructing structure) construction progress to 100%
                          • Game - Display to (All players matching ((Owner of (Constructing structure)) Equal to (Matching player))) the text: No resources at thi...
                          • Player - Add 50 to (Owner of (Constructing structure)) Current gold
                          • Unit - Create 1 Convec for (Owner of (Constructing structure)) at TempLoc facing Default building facing degrees
                          • Unit - Add Self Destruct to (Constructing structure)
                          • Custom script: call RemoveLocation(udg_TempLoc)
                • Else - Actions
  • Cinematics
    • Events
    • Conditions
    • Actions
      • Cinematic - Turn cinematic mode On for (All players)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • 1 Equal to 1
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 2 (Blue) as an Ally
          • Player - Make Player 1 (Red) treat Player 3 (Teal) as an Ally
          • Player - Make Player 1 (Red) treat Player 4 (Purple) as an Ally
          • Player - Make Player 1 (Red) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally
          • Player - Make Player 1 (Red) treat Player 7 (Green) as an Ally
          • Player - Make Player 1 (Red) treat Player 8 (Pink) as an Ally
          • Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally
          • Player - Make Player 2 (Blue) treat Player 3 (Teal) as an Ally
          • Player - Make Player 2 (Blue) treat Player 4 (Purple) as an Ally
          • Player - Make Player 2 (Blue) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally
          • Player - Make Player 2 (Blue) treat Player 7 (Green) as an Ally
          • Player - Make Player 2 (Blue) treat Player 8 (Pink) as an Ally
          • Player - Make Player 3 (Teal) treat Player 1 (Red) as an Ally
          • Player - Make Player 3 (Teal) treat Player 2 (Blue) as an Ally
          • Player - Make Player 3 (Teal) treat Player 4 (Purple) as an Ally
          • Player - Make Player 3 (Teal) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 3 (Teal) treat Player 6 (Orange) as an Ally
          • Player - Make Player 3 (Teal) treat Player 7 (Green) as an Ally
          • Player - Make Player 3 (Teal) treat Player 8 (Pink) as an Ally
          • Player - Make Player 4 (Purple) treat Player 1 (Red) as an Ally
          • Player - Make Player 4 (Purple) treat Player 2 (Blue) as an Ally
          • Player - Make Player 4 (Purple) treat Player 3 (Teal) as an Ally
          • Player - Make Player 4 (Purple) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Ally
          • Player - Make Player 4 (Purple) treat Player 7 (Green) as an Ally
          • Player - Make Player 4 (Purple) treat Player 8 (Pink) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 1 (Red) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 2 (Blue) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 3 (Teal) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 4 (Purple) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 7 (Green) as an Ally
          • Player - Make Player 5 (Yellow) treat Player 8 (Pink) as an Ally
          • Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally
          • Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally
          • Player - Make Player 6 (Orange) treat Player 3 (Teal) as an Ally
          • Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Ally
          • Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 6 (Orange) treat Player 7 (Green) as an Ally
          • Player - Make Player 6 (Orange) treat Player 8 (Pink) as an Ally
          • Player - Make Player 7 (Green) treat Player 1 (Red) as an Ally
          • Player - Make Player 7 (Green) treat Player 2 (Blue) as an Ally
          • Player - Make Player 7 (Green) treat Player 3 (Teal) as an Ally
          • Player - Make Player 7 (Green) treat Player 4 (Purple) as an Ally
          • Player - Make Player 7 (Green) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 7 (Green) treat Player 6 (Orange) as an Ally
          • Player - Make Player 7 (Green) treat Player 8 (Pink) as an Ally
          • Player - Make Player 8 (Pink) treat Player 1 (Red) as an Ally
          • Player - Make Player 8 (Pink) treat Player 2 (Blue) as an Ally
          • Player - Make Player 8 (Pink) treat Player 3 (Teal) as an Ally
          • Player - Make Player 8 (Pink) treat Player 4 (Purple) as an Ally
          • Player - Make Player 8 (Pink) treat Player 5 (Yellow) as an Ally
          • Player - Make Player 8 (Pink) treat Player 6 (Orange) as an Ally
          • Player - Make Player 8 (Pink) treat Player 7 (Green) as an Ally
        • Else - Actions
      • Set Tempug = (Units in (Playable map area) owned by Player 1 (Red))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 2 (Blue))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 3 (Teal))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 4 (Purple))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 5 (Yellow))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 6 (Orange))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 7 (Green))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 8 (Pink))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 12 (Brown))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Neutral Hostile)
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Wait 1.00 seconds
      • Set Tempug = (Units in (Playable map area) owned by Player 1 (Red))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 2 (Blue))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 3 (Teal))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 4 (Purple))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 5 (Yellow))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 6 (Orange))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 7 (Green))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 8 (Pink))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Player 12 (Brown))
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • Set Tempug = (Units in (Playable map area) owned by Neutral Hostile)
      • Unit Group - Pick every unit in Tempug and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_Tempug)
      • -------- Sector rush cinematic --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameStatus[6] Equal to 1
        • Then - Actions
          • Sound - Stop Currentmusic After fading
          • Sound - Play SectorSMusic_04 <gen>
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 002 <gen> for (Picked player) over 0.00 seconds
          • Cinematic - Fade in over 1.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • GameStatus[8] Equal to 1
            • Then - Actions
              • Game - Display to (All players) for 20.00 seconds the text: (Target score: + 25%)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • GameStatus[8] Equal to 2
                • Then - Actions
                  • Game - Display to (All players) for 20.00 seconds the text: (Target score: + 50%)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • GameStatus[8] Equal to 3
                    • Then - Actions
                      • Game - Display to (All players) for 20.00 seconds the text: (Target score: + 75%)
                    • Else - Actions
          • Cinematic - Send transmission to (All players) from a Player 1 (Red) Sector named (Name of Player 1 (Red)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesRed[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesRed[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[1] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 1 (Red) at (Center of 00 <gen>) facing 315.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + won the round!) at (Center of 00 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[1] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 1 (Red) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 00 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + lost the round!) at (Center of 00 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[1] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 00 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[1] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 002 Copy <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 2 (Blue) Sector named (Name of Player 2 (Blue)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesBlue[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesBlue[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[2] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 2 (Blue) at (Center of 10 <gen>) facing 270.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 2 (Blue)) + won the round!) at (Center of 10 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[2] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 2 (Blue) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 10 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 2 (Blue)) + lost the round!) at (Center of 10 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[2] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 10 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[2] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 004 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 3 (Teal) Sector named (Name of Player 3 (Teal)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesTeal[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesTeal[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[3] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 3 (Teal) at (Center of 20 <gen>) facing 225.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 3 (Teal)) + won the round!) at (Center of 20 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[3] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 3 (Teal) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 20 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 3 (Teal)) + lost the round!) at (Center of 20 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[3] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 20 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[3] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 005 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 4 (Purple) Sector named (Name of Player 4 (Purple)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesPurple[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesPurple[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[4] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 4 (Purple) at (Center of 21 <gen>) facing 180.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 4 (Purple)) + won the round!) at (Center of 21 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[4] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 4 (Purple) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 21 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 4 (Purple)) + lost the round!) at (Center of 21 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[4] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 21 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[4] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 006 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 5 (Yellow) Sector named (Name of Player 5 (Yellow)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesYellow[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesYellow[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[5] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 5 (Yellow) at (Center of 22 <gen>) facing 135.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 5 (Yellow)) + won the round!) at (Center of 22 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[5] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 5 (Yellow) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 22 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 5 (Yellow)) + lost the round!) at (Center of 22 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[5] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 22 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[5] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 007 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 6 (Orange) Sector named (Name of Player 6 (Orange)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesOrange[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesOrange[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[6] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 6 (Orange) at (Center of 12 <gen>) facing 90.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 6 (Orange)) + won the round!) at (Center of 12 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[6] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 6 (Orange) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 12 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 6 (Orange)) + lost the round!) at (Center of 12 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[6] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 12 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[6] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 008 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 7 (Green) Sector named (Name of Player 7 (Green)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesGreen[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesGreen[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[7] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 7 (Green) at (Center of 02 <gen>) facing 45.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 7 (Green)) + won the round!) at (Center of 02 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[7] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 7 (Green) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 02 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 7 (Green)) + lost the round!) at (Center of 02 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[7] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 02 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[7] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 009 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Cinematic - Send transmission to (All players) from a Player 8 (Pink) Sector named (Name of Player 8 (Pink)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesPink[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ResourcesPink[0] Equal to 1
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • roundwinner[8] Equal to 1
                • Then - Actions
                  • Unit - Create 1 Artillery for Player 8 (Pink) at (Center of 01 <gen>) facing 0.00 degrees
                  • Animation - Change (Last created unit)'s size to (100.00%, 100.00%, 100.00%) of its original size
                  • Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
                  • Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 8 (Pink)) + won the round!) at (Center of 01 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
                  • Set Playername[8] = (Last created floating text)
                • Else - Actions
                  • Set TempLoc = (Random point in Internal cinematic <gen>)
                  • Unit - Create 1 Factory for Player 8 (Pink) at TempLoc facing Default building facing degrees
                  • Custom script: call RemoveLocation(udg_TempLoc)
                  • Animation - Change (Last created unit)'s size to (60.00%, 60.00%, 60.00%) of its original size
                  • Special Effect - Create a special effect at (Center of 01 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
                  • Floating Text - Create floating text that reads ((Name of Player 8 (Pink)) + lost the round!) at (Center of 01 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
                  • Set Playername[8] = (Last created floating text)
            • Else - Actions
              • Floating Text - Create floating text that reads Player not in game at (Center of 01 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
              • Set Playername[8] = (Last created floating text)
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 002 <gen> for (Picked player) over 0.50 seconds
          • Wait 0.50 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 010 <gen> for (Picked player) over 2.00 seconds
          • Unit Group - Pick every unit in (Units in Internal cinematic <gen>) and do (Actions)
            • Loop - Actions
              • Unit - Change ownership of (Picked unit) to Neutral Hostile and Retain color
          • Wait 2.00 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Rotate camera 360.00 degrees around (Center of 11 <gen>) for (Picked player) over 14.00 seconds
          • Wait 10.00 seconds
          • Cinematic - Fade out over 4.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
          • Wait 4.00 seconds
          • Player Group - Pick every player in (All players) and do (Actions)
            • Loop - Actions
              • Camera - Apply Camera 001 <gen> for (Picked player) over 0.00 seconds
          • Unit Group - Pick every unit in (Units in Cinematic area <gen>) and do (Actions)
            • Loop - Actions
              • Unit - Remove (Picked unit) from the game
          • Wait 1.00 seconds
          • Floating Text - Destroy Playername[1]
          • Floating Text - Destroy Playername[2]
          • Floating Text - Destroy Playername[3]
          • Floating Text - Destroy Playername[4]
          • Floating Text - Destroy Playername[5]
          • Floating Text - Destroy Playername[6]
          • Floating Text - Destroy Playername[7]
          • Floating Text - Destroy Playername[8]
          • Cinematic - Turn cinematic mode Off for (All players)
          • Trigger - Run Game Win Check <gen> (checking conditions)
        • Else - Actions
Thanks again.
 
Last edited:
Level 28
Joined
Jan 26, 2007
Messages
4,789
First trigger doesn't leak anymore, you've fixed it, good job.

There are 83 leaks in the second trigger (Special effect, Location, Unit Group).
"All Players" doesn't leak.

(Line: 197) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 1 (Red) Sector named (Name of Player 1 (Red)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesRed[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 1 (Red) Sector named (Name of Player 1 (Red)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesRed[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 1 (Red) Sector named (Name Player 1 (Red)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 206) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 1 (Red) at (Center of 00 <gen>) facing 315.00 degrees
Unit - Create 1 Artillery for Player 1 (Red) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 00 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 1 (Red) at MyLocation facing 315.degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 208) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 209) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 209) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 210) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + won the round!) at (Center of 00 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 00 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 1 (Red)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 217) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 00 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 217) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 00 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 00 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 218) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + lost the round!) at (Center of 00 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 1 (Red)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 00 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 1 (Red)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 221) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 00 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 00 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 228) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 2 (Blue) Sector named (Name of Player 2 (Blue)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesBlue[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 2 (Blue) Sector named (Name of Player 2 (Blue)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesBlue[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 2 (Blue) Sector named (Name Player 2 (Blue)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 237) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 2 (Blue) at (Center of 10 <gen>) facing 270.00 degrees
Unit - Create 1 Artillery for Player 2 (Blue) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 10 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 2 (Blue) at MyLocation facing 270.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 239) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 240) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 240) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 241) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 2 (Blue)) + won the round!) at (Center of 10 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 2 (Blue)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 10 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 2 (Blue)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 248) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 10 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 248) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 10 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 10 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 249) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 2 (Blue)) + lost the round!) at (Center of 10 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 2 (Blue)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 10 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 2 (Blue)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 252) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 10 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 10 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 259) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 3 (Teal) Sector named (Name of Player 3 (Teal)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesTeal[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 3 (Teal) Sector named (Name of Player 3 (Teal)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesTeal[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 3 (Teal) Sector named (Name Player 3 (Teal)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 268) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 3 (Teal) at (Center of 20 <gen>) facing 225.00 degrees
Unit - Create 1 Artillery for Player 3 (Teal) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 20 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 3 (Teal) at MyLocation facing 225.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 270) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 271) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 271) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 272) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 3 (Teal)) + won the round!) at (Center of 20 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 3 (Teal)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 20 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 3 (Teal)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 279) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 20 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 279) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 20 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 20 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 280) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 3 (Teal)) + lost the round!) at (Center of 20 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 3 (Teal)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 20 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 3 (Teal)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 283) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 20 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 20 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 290) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 4 (Purple) Sector named (Name of Player 4 (Purple)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesPurple[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 4 (Purple) Sector named (Name of Player 4 (Purple)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesPurple[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 4 (Purple) Sector named (Name Player 4 (Purple)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 299) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 4 (Purple) at (Center of 21 <gen>) facing 180.00 degrees
Unit - Create 1 Artillery for Player 4 (Purple) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 21 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 4 (Purple) at MyLocation facing 180.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 301) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 302) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 302) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 303) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 4 (Purple)) + won the round!) at (Center of 21 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 4 (Purple)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 21 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 4 (Purple)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 310) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 21 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 310) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 21 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 21 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 311) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 4 (Purple)) + lost the round!) at (Center of 21 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 4 (Purple)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 21 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 4 (Purple)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 314) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 21 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 21 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 321) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 5 (Yellow) Sector named (Name of Player 5 (Yellow)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesYellow[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 5 (Yellow) Sector named (Name of Player 5 (Yellow)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesYellow[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 5 (Yellow) Sector named (Name Player 5 (Yellow)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 330) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 5 (Yellow) at (Center of 22 <gen>) facing 135.00 degrees
Unit - Create 1 Artillery for Player 5 (Yellow) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 22 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 5 (Yellow) at MyLocation facing 135.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 332) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 333) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 333) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 334) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 5 (Yellow)) + won the round!) at (Center of 22 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 5 (Yellow)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 22 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 5 (Yellow)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 341) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 22 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 341) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 22 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 22 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 342) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 5 (Yellow)) + lost the round!) at (Center of 22 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 5 (Yellow)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 22 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 5 (Yellow)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 345) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 22 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 22 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 352) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 6 (Orange) Sector named (Name of Player 6 (Orange)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesOrange[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 6 (Orange) Sector named (Name of Player 6 (Orange)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesOrange[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 6 (Orange) Sector named (Name Player 6 (Orange)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 361) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 6 (Orange) at (Center of 12 <gen>) facing 90.00 degrees
Unit - Create 1 Artillery for Player 6 (Orange) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 12 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 6 (Orange) at MyLocation facing 90.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 363) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 364) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 364) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 365) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 6 (Orange)) + won the round!) at (Center of 12 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 6 (Orange)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 12 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 6 (Orange)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 372) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 12 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 372) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 12 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 12 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 373) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 6 (Orange)) + lost the round!) at (Center of 12 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 6 (Orange)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 12 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 6 (Orange)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 376) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 12 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 12 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 383) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 7 (Green) Sector named (Name of Player 7 (Green)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesGreen[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 7 (Green) Sector named (Name of Player 7 (Green)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesGreen[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 7 (Green) Sector named (Name Player 7 (Green)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 392) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 7 (Green) at (Center of 02 <gen>) facing 45.00 degrees
Unit - Create 1 Artillery for Player 7 (Green) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 02 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 7 (Green) at MyLocation facing 45.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 394) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 395) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 395) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 396) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 7 (Green)) + won the round!) at (Center of 02 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 7 (Green)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 02 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 7 (Green)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 403) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 02 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 403) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 02 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 02 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 404) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 7 (Green)) + lost the round!) at (Center of 02 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 7 (Green)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 02 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 7 (Green)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 407) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 02 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 02 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 414) (Word: 20) Location Leak
Cinematic - Send transmission to (All players) from a Player 8 (Pink) Sector named (Name of Player 8 (Pink)) at (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesPink[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
Cinematic - Send transmission to (All players) from a Player 8 (Pink) Sector named (Name of Player 8 (Pink)) at ^Leak
(Suggested Fix) Set MyLocation = (Center of (Playable map area)): Play No sound and display (Final Score: + ((String((((Real(ResourcesPink[8])) / 96.00) x 100.00))) + %)). Modify duration: Set to 1.00 seconds and Wait
(Suggested Fix) Cinematic - Send transmission (All players) from a Player 8 (Pink) Sector named (Name Player 8 (Pink)) at MyLocation Wait
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 423) (Word: 10) Location Leak
Unit - Create 1 Artillery for Player 8 (Pink) at (Center of 01 <gen>) facing 0.00 degrees
Unit - Create 1 Artillery for Player 8 (Pink) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 01 <gen>)
(Suggested Fix) Unit - Create 1 Artillery for Player 8 (Pink) at MyLocation facing 0.00 degrees
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 425) (Word: 9) Location Leak
Unit - Order (Last created unit) to Move To (Center of 11 <gen>)
Unit - Order (Last created unit) to Move To ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Unit - Order (Last created unit) to Move To MyLocation <gen>)
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 426) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 426) (Word: 8) Location Leak
Special Effect - Create a special effect at (Position of (Last created unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Position of (Last created unit))
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 427) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 8 (Pink)) + won the round!) at (Center of 01 <gen>) with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 8 (Pink)) + won the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 01 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 8 (Pink)) + won the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (10.00%, 100.00%, 10.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 434) (Word: 3) Special Effect Leak
Special Effect - Create a special effect at (Center of 01 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - ^Leak
(Suggested Fix) Special Effect - Destroy (Last created special effect)

(Line: 434) (Word: 8) Location Leak
Special Effect - Create a special effect at (Center of 01 <gen>) using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
Special Effect - Create a special effect at ^Leak
(Suggested Fix) Set MyLocation = (Center of 01 <gen>)
(Suggested Fix) Special Effect - Create a special effect at MyLocation using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 435) (Word: 18) Location Leak
Floating Text - Create floating text that reads ((Name of Player 8 (Pink)) + lost the round!) at (Center of 01 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Create floating text that reads ((Name of Player 8 (Pink)) + lost the round!) at ^Leak
(Suggested Fix) Set MyLocation = (Center of 01 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads ((Name Player 8 (Pink)) + lost the round!) at MyLocation with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 438) (Word: 13) Location Leak
Floating Text - Create floating text that reads Player not in game at (Center of 01 <gen>) with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Create floating text that reads Player not in game at ^Leak
(Suggested Fix) Set MyLocation = (Center of 01 <gen>)
(Suggested Fix) Floating Text - Create floating text that reads Player not in game at MyLocation with Z offset 0.00, using font size 10.00, color (50.00%, 50.00%, 50.00%), and 0.00% transparency
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 448) (Word: 7) Unit Group Leak
Unit Group - Pick every unit in (Units in Internal cinematic <gen>) and do (Actions)
Unit Group - Pick every unit in ^Leak
(Suggested Fix) Set MyUnitGroup = (Units in Internal cinematic <gen>)
(Suggested Fix) Unit Group - Pick every unit MyUnitGroup and do (Actions)
(Suggested Fix) Custom script: call DestroyGroup(udg_MyUnitGroup)

(Line: 454) (Word: 7) Location Leak
Camera - Rotate camera 360.00 degrees around (Center of 11 <gen>) for (Picked player) over 14.00 seconds
Camera - Rotate camera 360.00 degrees around ^Leak
(Suggested Fix) Set MyLocation = (Center of 11 <gen>)
(Suggested Fix) Camera - Rotate camera 360.00 degrees around MyLocation for (Picked player) over 14.00 seconds
(Suggested Fix) Custom script: call RemoveLocation(udg_MyLocation)

(Line: 461) (Word: 7) Unit Group Leak
Unit Group - Pick every unit in (Units in Cinematic area <gen>) and do (Actions)
Unit Group - Pick every unit in ^Leak
(Suggested Fix) Set MyUnitGroup = (Units in Cinematic area <gen>)
(Suggested Fix) Unit Group - Pick every unit MyUnitGroup and do (Actions)
(Suggested Fix) Custom script: call DestroyGroup(udg_MyUnitGroup)
 
Level 9
Joined
Mar 27, 2009
Messages
309
Well, I finished cleaning up the leaks.

Time to test... wait whats this, ACCOUNT CLOSED?

WTF BLIZZARD!!!!!... And there goes all hope for anyone playing SectorS for atleast a month, if ever... They got me as collateral damage in their massive ban movement. Basically, they just pissed off a few hundred thousand to a million Blizzard fans who will now torrent any of their new releases, because they were caught "Cheating"?

Sounds like a plan to me!

Ah we get closer to 2012 every day, funny, thats when i graduate... I guess it's hamachi and warhamachi for now..
 
Status
Not open for further replies.
Top