• 🏆 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] According to LeakTester these trigger leak.

Status
Not open for further replies.
Level 7
Joined
Aug 5, 2010
Messages
147
Their are 9 of these triggers. Blue, Teal, Yellow, Purple, Orange, Green, Pink and Gray.

Here is the list that leaktester gives. Are these leaks due to having 9 triggers that are functionally the same? [9 leaks per trigger, 9 triggers] or is it just a false positive?

Type: trigger
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
CreateTrigger [Blizzard.j:5310]

Type: trigger
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
CreateTrigger [Blizzard.j:5316]

Type: triggeraction
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
TriggerAddAction [Blizzard.j:5318]

Type: trigger
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
CreateTrigger [Blizzard.j:5321]

Type: triggeraction
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
TriggerAddAction [Blizzard.j:5323]

Type: trigger
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
CreateTrigger [Blizzard.j:5326]

Type: triggeraction
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
TriggerAddAction [Blizzard.j:5328]

Type: trigger
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
CreateTrigger [Blizzard.j:5331]

Type: triggeraction
Trig_Kick_Blue_Actions [war3map.j:7098]
CustomDefeatBJ [war3map.j:7094]
CustomDefeatDialogBJ [Blizzard.j:5359]
TriggerAddAction [Blizzard.j:5333]
  • Kick Blue
    • Events
      • Player - Player 1 (Red) types a chat message containing -kick blue as An exact match
    • Conditions
    • Actions
      • Sound - Play HeroLichPissed8 <gen>
      • Game - Defeat Player 2 (Blue) with the message: Kicked!
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 2 (Blue)) and do (Unit - Kill (Picked unit))
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to (MultiBoard_Colours[2] + (-Kicked- + ((Name of (Picked player)) + |r)))
  • Kick Teal
    • Events
      • Player - Player 1 (Red) types a chat message containing -kick teal as An exact match
    • Conditions
    • Actions
      • Sound - Play HeroLichPissed8 <gen>
      • Game - Defeat Player 3 (Teal) with the message: Kicked
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 3 (Teal)) and do (Unit - Kill (Picked unit))
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (MultiBoard_Colours[3] + (-Kicked- + ((Name of (Picked player)) + |r)))
The triggers follow the above layout, with somethings changing for the player that is being kicked, the trigger for gray has 2 events since gray can be spelled gray or grey
 
Level 25
Joined
Sep 26, 2009
Messages
2,378
I do not see anything that should be leaking. Maybe the sound leaks, not sure.

Also, this line:
  • Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (MultiBoard_Colours[3] + (-Kicked- + ((Name of (Picked player)) + |r)))
won't work properly, because there is no (Picked player).
 
Status
Not open for further replies.
Top