05.01.2011, 09:31
Quote:
I have a question:
If a player has 200 armour. he gets shot, and looses 10 armour -> Package gets sent he gets shot again, and looses 10 armour -> Package gets sent The server receives the packages in a wrong order, and is told that the player's armour changes from 100 to 80 and to 90 Now the quesrion is: If the player now doesn't loose or get armour for the next 1 minute. will the server then think one minute long that the player's armour is 90? or will the client (player) also send new updates while his doesn't change? |
BTW I learned more from this
Now I'm going to improve my code
(Adding functions for double checking)