So, I do MMO, I progressed a lot, 6 months programmed this thing. The problem is that I tested my game offline, today I have a brilliant idea to port my server and make it online, I knew that it would be a little slower, but it's awful! too much lag !!! the game is unplayable. Im running my packages so ...
The player wants to move up, the client sends movePacket to the server, the server receives it, moves the player to the server and sends a new position to all clients ... Each time a monster moves, the server sends a new position to all clients ...
I thought I switched to sending packets, but I only test it with the movement of the player ... it looks like it has a significant delay to receive the packet and send it to the client .... Im I doing all this wrong?
source share