Closed earthiverse closed 5 days ago
Marked as draft, as it looks like I'm getting a new game_response socket event now?
edit: is this a development server thing?
edit 2: I think you get this response when you're operating the character on the socket. The first screenshot in this PR is from /comm.
The extra game_response is used to resolve the attack promise. It doesn't show on /comm, it only shows on the character's socket.
It is unrelated to this commit.
Merging this one?
Currently, the ETA for every 'action' sent to the client is 400. This fixes to return the actual ETA.
We also round down to the nearest ms to make the number nicer. The attacks might land at most 1ms earlier than before, but that's insignificant in my opinion.