Zitat Zitat von Frotty Beitrag anzeigen
ich würde einfach mal schätzen, dass es sich nicht um den Trigger handelt, denn alle 1.5 sekunden nen minileak sollte nicht nach 12-20 mins einen crit verursachen.
Ich habe noch einen Trigger gefunden, der den HandleCounter erhöht und scheinbar leakt.

Force Arena Lane
Ereignisse
Zeit - Every 0.50 seconds of game time
Bedingungen
Aktionen
Spiel - Display to (All players) for 0.20 seconds the text: (String(ForceUnitCounterTest))
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(WPArenaGroup is empty) Gleich (==) True
'THEN'-Aktionen
Auslöser - Turn off (This trigger)
Spiel - Display to (All players) the text: Turn Arena Lane Ord...
Skip remaining actions
'ELSE'-Aktionen
Spiel - Display to (All players) the text: Run Loop
Custom script: set bj_wantDestroyGroup = false
Einheitengruppe - Pick every unit in WPArenaGroup and do (Actions)
Schleifen - Aktionen
-------- Set handleID --------
Set WPHandleID = (GetHandleId ( GetEnumUnit() ))
Spiel - Display to (All players) the text: (WPHandleID: + (String(WPHandleID)))
-------- Load Data --------
Set TempPoint = (Position of (Picked unit))
Set WPCounter = (Load (Key WPCounter) of WPHandleID from GeneralHashtable)
Spiel - Display to (All players) the text: (WPCounter: + (String(WPCounter)))
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
((Picked unit) is alive) Gleich (==) True
'THEN'-Aktionen
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
Multiple ConditionsOr - Any (Conditions) are true
Bedingungen
Multiple ConditionsAnd - All (Conditions) are true
Bedingungen
(Distance between TempPoint and ForceTeam1Wp[WPCounter]) Kleiner gleich (<=) 192.00
(Owner of (Picked unit)) Gleich (==) Spieler 11 (Dunkelgrün)
Multiple ConditionsAnd - All (Conditions) are true
Bedingungen
(Distance between TempPoint and ForceTeam2Wp[WPCounter]) Kleiner gleich (<=) 192.00
(Owner of (Picked unit)) Gleich (==) Spieler 12 (Braun)
'THEN'-Aktionen
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
Multiple ConditionsOr - Any (Conditions) are true
Bedingungen
Multiple ConditionsAnd - All (Conditions) are true
Bedingungen
(Owner of (Picked unit)) Gleich (==) Spieler 11 (Dunkelgrün)
(udg_ForceTeam1Wp[udg_WPCounter] == null)
Multiple ConditionsAnd - All (Conditions) are true
Bedingungen
(Owner of (Picked unit)) Gleich (==) Spieler 12 (Braun)
(udg_ForceTeam2Wp[udg_WPCounter] == null)
'THEN'-Aktionen
-------- Unit is ordered to its final destination point --------
Spiel - Display to (All players) the text: Arena: No more Wayp...
Einheitengruppe - Remove (Picked unit) from WPArenaGroup
Hashtabelle - Clear all child hashtables of child WPHandleID in GeneralHashtable
'ELSE'-Aktionen
Set WPCounter = (WPCounter + 1)
Hashtabelle - Save WPCounter as (Key WPCounter) of WPHandleID in GeneralHashtable
Spiel - Display to (All players) the text: (Order Unit to next point: + ((Name of (Picked unit)) + ( WPCounter: + (String(WPCounter)))))
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(Owner of (Picked unit)) Gleich (==) Spieler 11 (Dunkelgrün)
'THEN'-Aktionen
Einheit - Order (Picked unit) to Angreifen/Bewegen nach ForceTeam1Wp[WPCounter]
Video - Ping minimap for (All players) at Force1MidWpL[WPCounter] for 1.50 seconds, using a Einfach ping of color (100.00%, 0.00%, 0.00%)
'ELSE'-Aktionen
Einheit - Order (Picked unit) to Angreifen/Bewegen nach ForceTeam2Wp[WPCounter]
'ELSE'-Aktionen
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(Current order of (Picked unit)) Gleich (==) (Order(<Leerer String>))
'THEN'-Aktionen
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
Multiple ConditionsOr - Any (Conditions) are true
Bedingungen
Multiple ConditionsAnd - All (Conditions) are true
Bedingungen
(Owner of (Picked unit)) Gleich (==) Spieler 11 (Dunkelgrün)
(udg_ForceTeam1Wp[udg_WPCounter] == null)
Multiple ConditionsAnd - All (Conditions) are true
Bedingungen
(Owner of (Picked unit)) Gleich (==) Spieler 12 (Braun)
(udg_ForceTeam2Wp[udg_WPCounter] == null)
'THEN'-Aktionen
-------- Unit is ordered to its final destination point --------
Spiel - Display to (All players) the text: Arena: No more Wayp...
Einheitengruppe - Remove (Picked unit) from WPArenaGroup
Hashtabelle - Clear all child hashtables of child WPHandleID in GeneralHashtable
'ELSE'-Aktionen
Spiel - Display to (All players) the text: (Order Unit: + ((Name of (Picked unit)) + ( WPCounter: + (String(WPCounter)))))
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
'IF'-Bedingungen
(Owner of (Picked unit)) Gleich (==) Spieler 11 (Dunkelgrün)
'THEN'-Aktionen
Einheit - Order (Picked unit) to Angreifen/Bewegen nach ForceTeam1Wp[WPCounter]
Video - Ping minimap for (All players) at Force1MidWpL[WPCounter] for 1.50 seconds, using a Einfach ping of color (100.00%, 0.00%, 0.00%)
'ELSE'-Aktionen
Einheit - Order (Picked unit) to Angreifen/Bewegen nach ForceTeam2Wp[WPCounter]
'ELSE'-Aktionen
'ELSE'-Aktionen
-------- Unit is dead --------
Spiel - Display to (All players) the text: Unit died!
Einheitengruppe - Remove (Picked unit) from WPArenaGroup
Hashtabelle - Clear all child hashtables of child WPHandleID in GeneralHashtable
-------- Clear Leaks --------
Point - Remove TempPoint
Set WPHandleID = 0
Set WPCounter = 0

Zitat Zitat von Frotty Beitrag anzeigen
Du musst die Gruppen noch nullen (set Var) nach dem zerstören, ansonsten alles richtig.
Stimmt, da war was.
Zitat Zitat von Frotty Beitrag anzeigen
Und zum GUI-kopieren bitte den Trigger rechtsklicken, "Als Text kopieren/Copy as text" wählen und dann hier zwischen [GUI] Tags einfügen.
Das GUI Tag liest teile des UMSWE nicht richtig aus und ignoriert auskommentierte Funktionen, von daher habe ich es hier in diesem Beispiel nicht benutzt.