Have the server send the player list to the client (#5924)
authorred-001 <red-001@outlook.ie>
Thu, 8 Jun 2017 13:30:09 +0000 (14:30 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Thu, 8 Jun 2017 13:30:09 +0000 (15:30 +0200)
commit4221c1b4412f2bf889bd603a26424003f5367f6a
tree622775e473bf073ed704afded90b050b51d63266
parent5bd33a158688f5fb950613278eefb95b0594a765
Have the server send the player list to the client (#5924)

* Have the server send the player list to the client

Currently the client generates the player list based on the Client active object list, the issue with this is that we can't be sure all player active objects will be sent to the client, so this could result in players showing up when someone run `/status` but auto complete not working with their nick and CSM not being aware of the player
src/client.h
src/content_cao.cpp
src/network/clientopcodes.cpp
src/network/clientpackethandler.cpp
src/network/networkprotocol.h
src/network/serveropcodes.cpp
src/network/serverpackethandler.cpp
src/server.cpp