10 Commits

Author SHA1 Message Date
Robert Paciorek
82e83722da fix client stay in room and add Room.Send
- fix client stay in room:
  - replace Client.JoinRoom and Client.LeaveRoom by Client.SetRoom
  - do not call Client.LeaveRoom / Client.SetRoom(null) for SheduleDisconnect cases
    (only quietly remove client from room and the rest do in disconnect realisation)
- add Room.Send for send message to all clients in room
  - replace Room.Client sending loops by calls Room.Send
2024-03-24 21:29:57 +00:00
Robert Paciorek
445d032a74 bugfix in JoinRoom 2024-03-16 20:11:33 +00:00
Robert Paciorek
83e56f745d fix possible race condition in JoinRoom 2024-03-09 19:05:03 +00:00
Robert Paciorek
6a34677ab2 keep some PlayerData while changing room
this is needed when several players are joined in a short time to fix race condition
(to fix missing players in race lobby room)
2024-03-09 17:05:56 +00:00
Robert Paciorek
bfbd9adb82 RespondJoinRoom in AddClient as atomic operation
to avoid missed player in rooms due to joining race condition
2024-03-01 02:34:43 +00:00
Robert Paciorek
9b896f6326 add Client.JoinRoom() 2024-02-28 12:09:53 +00:00
Spirtix
30cbc54eca more fixes 2023-09-09 23:28:19 +02:00
Spirtix
d162ce80aa packet buffering and fixes 2023-09-09 16:12:53 +02:00
Spirtix
3b93594c8b GenericMessage handler and various fixes 2023-09-05 19:02:38 +02:00
Spirtix
af5007e3b7 initial code release 2023-09-02 22:52:48 +02:00