Cleanup client init states by bumping protocol version
authorsapier <Sapier at GMX dot net>
Thu, 13 Feb 2014 19:17:42 +0000 (20:17 +0100)
committersapier <Sapier at GMX dot net>
Tue, 8 Apr 2014 19:12:20 +0000 (21:12 +0200)
commit142e2d3b74ad886eed83b0fc9d6cfea100dae10a
tree869bd3599c590e062bc838013b83088280734a81
parent556bdc260a6938ddab8db22e2ebc4033ec3757eb
Cleanup client init states by bumping protocol version
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready
Handle clients with protocol version < 23 (almost) same way as before
Make client tell server about it's version
Add client state to not send bogus player position updates prior init complete
Add access to statistics information (peer connction time,rtt,version)
Fix clients standing stalled in world while preloading item visuals (new clients only)
Add get_player_information to read client specific information from lua
15 files changed:
doc/lua_api.txt
src/client.cpp
src/client.h
src/clientiface.cpp
src/clientiface.h
src/clientserver.h
src/connection.cpp
src/connection.h
src/exceptions.h
src/game.cpp
src/hud.cpp
src/script/lua_api/l_server.cpp
src/script/lua_api/l_server.h
src/server.cpp
src/server.h