So what can I do to make it process faster?
- - - Updated - - -
And why doesn’t it happen on Delphi or c files
Does happen on Delphi, these are Delphi files, C files are a completely different code, and as you would expect different code is obviously going to react different in game. Problem is, this:
- Client sends package (Message) to Server.
- Client / Player X Began process of pushing player Y
- Server checks that request and processes it if allowed
- Server sends package (Message) to client to begin process.
- Client Moves player X forward X amount of spaces
- Client Updates players Y coordinations to server to verify
- Server Updates positions and allows player to be struck.
Remember this is all been sent via Internet, so there is delays. Regardless if it’s 2ms or 10 ms,
There is a difference regardless and if multiple actions are been processed it’s harder for the server/exe to keep up.
Also doesn’t help with older language (Delphi). Hopefully that explains it a bit more clearer?