[Help] HitPoints (5530)

10/01/2013 22:41 littlechris95#1
Hello guys, I wish someone could help me or explain why it appears in the status of the player the correct amount of hitpoints, but the hitpoints bar does not appear the correct value, an example below:

[Only registered and activated users can see links. Click Here To Register...]
10/01/2013 23:25 pkedyuh#2
I assume the hp is may be coming from chi or some other form. This is probably due to it not being completely coded, in other words it is adding it to the listing of the hp but needs to be added to the actual hp.

Being a person who doesn't code C# or conquer servers, don't ask me to explain any further, just pointing out the obvious. Your best bet will be to find the code of some other item (gourd, perhaps), and attempt to trace its path in adding the hp completely, then you can resolve the issue by simply comparing and adding what is left out (all very hypothetical, this is how it would be in lets say java coding :D).
10/02/2013 09:32 shadowman123#3
client.Entity.HitPoints = client.Entity.MaxHitpoints; by that you will have the Hp = 26k but you should know when to use this codes
10/02/2013 09:37 Spirited#4
It's actually the other way around. That window that shows the character's statistics is from packet id 1040 (the server). The client is actually showing what it thinks is correct (which it definitely is). Your server isn't doing something correctly (big surprise) in that it's adding extra HP somewhere. Your job now is to read through the source and find where.