Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
- Loading branch information
Showing
with
625 additions
and 144 deletions.
- +23 −0 doc/lua_api.txt
- +33 −24 src/client.cpp
- +13 −8 src/client.h
- +37 −9 src/clientiface.cpp
- +164 −2 src/clientiface.h
- +16 −2 src/clientserver.h
- +2 −2 src/connection.cpp
- +1 −1 src/connection.h
- +5 −0 src/exceptions.h
- +2 −2 src/game.cpp
- +3 −3 src/hud.cpp
- +131 −1 src/script/lua_api/l_server.cpp
- +3 −0 src/script/lua_api/l_server.h
- +187 −90 src/server.cpp
- +5 −0 src/server.h
Oops, something went wrong.