Had to change ClientHandler fields vote and hasVoted to arrays and had to make sure, the position of the Passenger is always sent along in protocol ($position$msg)

This commit is contained in:
Seraina
2022-04-09 16:11:30 +02:00
parent 46f75d3292
commit 45597eee3c
15 changed files with 92 additions and 55 deletions

View File

@@ -7,7 +7,7 @@ Implemented:
* PINGB Pingback from client to server.
* NAMEC$name Change name to whatever is specified
* STGAM start the Game
* CVOTE$position Client has voted for position
* CVOTE$position$vote Client at position has voted for position
Future / planned:
* CRTGM Create a new game
@@ -24,8 +24,8 @@ Server Commands:
Implemented:
* SPING Ping from server to client
* PINGB Pingback from client to server.
* GVOTR Ghosts: Please vote now
* HVOTR Humans: Please vote now
* GVOTR$position$msg Ghosts: Please vote now
* HVOTR$position$msg Humans: Please vote now
Future / planned:
* MSGRS "Message received": Paramaters: a string detailing to the client that and what the server received as command.