edited multiplayer socket events