- Joined
- Jan 30, 2020
- Messages
- 743
According to Causes of desync there are unconfirmed rumors of "Checking player slot in a trigger on Map Initialization Event" causing desync.
I have a trigger kind of like this one that I suspect could be a cause for desync.
Otherwise I'd have to look into delaying initialization of my map indexer (GUI Unit Event (now with a state-of-the-art Lua version)) to solve my issue... And of course I'm unsure of the actual root cause...
I have a trigger kind of like this one that I suspect could be a cause for desync.
-
OnInit
-
Events
- Map initialization
- Conditions
-
Actions
-
Player Group - Pick every player in (All players controlled by a User player) 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
-
Then - Actions
- Player Group - Add (Picked player) to human_players
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Player Group - Pick every player in (All players controlled by a User player) and do (Actions)
-
Events
Otherwise I'd have to look into delaying initialization of my map indexer (GUI Unit Event (now with a state-of-the-art Lua version)) to solve my issue... And of course I'm unsure of the actual root cause...