2008-09-01, 04:57 PM
Harrisonized Wrote:The way you interpreted how the server calculated damage is that the client sends the damage dealt (for example, 5,000 damage) and subtracted it from the server (for example, 100,000 HP), and the the server will send back to the client that the monster has 95,000 HP left.
My guess is that the server handles the HP in fractions. The client will take your damage (for example, 5,000 damage) and divide it over the monster's HP (for example, 100,000 HP), which is also in your client. It will then sent to the server that you damaged the monster by 5% of it's HP, showing that the monster has 95,000 HP left in your client.
The way you're putting it, only yourself would see the damage done to the enemy you're attacking. Others see the enemy damages as well, so it has to be server sided.

