Large drops in HP with no red damage message
Posted: 10 Apr 2008, 12:36
Sometimes while fighting, HP will drop by a large amount, but there's no corresponding red damage message to show why.
I chased this one down - the root problem is that when the server determines that a "critical" hit has occurred, the message is sent to the client with a type of 0x0a, rather than the type of 0 for a normal hit. The current eAthena client does not interpret this type, and so no red damage message is generated.
(From what I can tell, a "critical" hit is always for the max damage that the creature can deliver, hence the large drop)
The question is: fix it in the client (adding one line to "src/net/beinghandler.cpp"), or in the eAthena server (changing three lines in "src/map/battle.c")? A change to the client is simpler, but until everyone updates to the new version the issue won't really be resolved.
I chased this one down - the root problem is that when the server determines that a "critical" hit has occurred, the message is sent to the client with a type of 0x0a, rather than the type of 0 for a normal hit. The current eAthena client does not interpret this type, and so no red damage message is generated.
(From what I can tell, a "critical" hit is always for the max damage that the creature can deliver, hence the large drop)
The question is: fix it in the client (adding one line to "src/net/beinghandler.cpp"), or in the eAthena server (changing three lines in "src/map/battle.c")? A change to the client is simpler, but until everyone updates to the new version the issue won't really be resolved.