fix multiplayer movement and connection dropping, periodically save player status to db