- Joined
- Jan 16, 2008
- Messages
- 156
If this trigger doesn't leak, is there anything other than trigger leaks that could cause a delay that effects about half the games of my map played, where a delay starts and gets worse and worse as it goes on (sometimes leading to a 20 second order delay, even though there is no b-net typing delay)
-
Alliance Item Point Divider
-
Events
- Time - Every 20.00 seconds of game time
- Conditions
-
Actions
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Not equal to Is playing
-
Then - Actions
- Set AllianceGoldDivider1 = (((Player((Integer A))) Current gold) / (Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) is an ally of (Player((Integer A)))) Equal to True)))))
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked player) slot status) Equal to Is playing
- ((Picked player) is an ally of (Player((Integer A)))) Equal to True
-
Then - Actions
- Player - Add AllianceGoldDivider1 to (Picked player) Current gold
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Player - Set (Player((Integer A))) Current gold to 0
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 6 to 9, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Player((Integer A))) slot status) Not equal to Is playing
-
Then - Actions
- Set AllianceGoldDivider2 = (((Player((Integer A))) Current gold) / (Number of players in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) is an ally of (Player((Integer A)))) Equal to True)))))
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked player) slot status) Equal to Is playing
- ((Picked player) is an ally of (Player((Integer A)))) Equal to True
-
Then - Actions
- Player - Add AllianceGoldDivider2 to (Picked player) Current gold
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Player - Set (Player((Integer A))) Current gold to 0
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 4, do (Actions)
-
Events