2 Answers
- Newest
- Most votes
- Most comments
0
Hi, Can you provide more details on which script you are referring to?
answered 3 years ago
0
The one found here: https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-script.html
onPlayerDisconnect can be called without onPlayerAccepted being called, which means activePlayers can be negative and the script never ends.
secondly another bug exists in onPlayerDisconnect where the disconnect messages are sent to the disconnected player instead of all the still connected players.
answered 3 years ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 19 days ago
- AWS OFFICIALUpdated 3 years ago