Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

hp and calcualtion fix

Newbie Spellweaver
Joined
Mar 2, 2014
Messages
97
Reaction score
4
any one know where to start the fixes for calcualtion and hp bug.?
 
Last of the OsRose Devs
Loyal Member
Joined
Oct 15, 2006
Messages
2,154
Reaction score
101
start by removing the ability for the client to recalculate everything after the server has already calculated it.

Oh wait... I already did that in my released source.

The problem is that in the standard configuration the server calculates all the stuff like combat damage, healing and then sends a packet with all the HP and MP.
The client accepts this packet and applies it all immediately to the internal memory and to the display but then it goes on to recalculate everything again based on what it thinks it should be. Then it overwrites the values that the server sent and displays its own values instead.
The two are almost always out of sync in some way so the result is an HP and MP bar that jumps up and down. Sometimes even killing you while you still have some HP. Take away the client's ability to do this and suddenly you get a rock steady and predictable HP and MP display. If you leave it the way it is then you can never really fix this glitch
 
Upvote 0
Back
Top