Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wondering about the data.
#2
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.
Reply


Messages In This Thread
Wondering about the data. - by Russt - 2008-09-01, 04:27 PM
Wondering about the data. - by Harrisonized - 2008-09-01, 04:44 PM
Wondering about the data. - by Stereo - 2008-09-01, 04:47 PM
Wondering about the data. - by Russt - 2008-09-01, 04:56 PM
Wondering about the data. - by whybanme - 2008-09-01, 04:57 PM
Wondering about the data. - by Fiel - 2008-09-01, 04:59 PM
Wondering about the data. - by Nikkey - 2008-09-01, 06:30 PM
Wondering about the data. - by Russt - 2008-09-01, 06:36 PM
Wondering about the data. - by Takebacker - 2008-09-01, 07:11 PM
Wondering about the data. - by randompeep - 2008-09-01, 07:14 PM
Wondering about the data. - by Harrisonized - 2008-09-01, 07:35 PM
Wondering about the data. - by bored4ever86 - 2008-09-02, 04:03 AM
Wondering about the data. - by 0mgP1r4tes - 2008-09-02, 04:33 AM
Wondering about the data. - by bored4ever86 - 2008-09-02, 04:42 AM
Wondering about the data. - by Alloy - 2008-09-02, 06:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)