2 - numeric values are incorect in PVP
The numeric values of health of the current target seems to be incorect in PVP.
Maybe check the WORLD_OBJ_COMBAT_EVENT and verify damagesource, type and value.
This seems to happen only if more than one player is doing damage to a target.
| User | When | Change |
|---|---|---|
| Hezghul | Sun, 21 Sep 2008 21:53:58 | Changed description: The numeric values of health of the current target seems to be incorect in PVP.
Maybe check the WORLD_OBJ_COMBAT_EVENT and verify damagesource, type and value.
+ This seems to happen only if more than one player is doing damage to a target. |
| Hezghul | Sun, 21 Sep 2008 21:17:55 | Create |
- 1 comment
- 1 comment
- #1
Hezghul Sun, 21 Sep 2008 22:19:17i watched the debug log a long time without doing damage to a target but had players around me doing so. ok, WORLD_OBJ_COMBAT_EVENT sees, that damage is done _if_ i am in range of the player that does that damage. this means, i am in range to get health percent of target but no in range of damaging player. WORLD_OBJ_COMBAT_EVENT then passes some strange values -> objectid is as it should be, damagevalue is 0 (zero damage done...) and damagetype is 8
so this seems to not get fixed until the api does provide proper data or i figure out some workaround (still trying to avoid stuff like sync channels... i mean, come on it's a mobhealth addon)