Cyberkilla

Admin

Total Posts: 5,984
Online Status: Offline
Sun Feb 8 18:39:02 EST 2009

The problem has been noticed on three separate occasions. Each time, the raid power displayed on the raiding page was not the raiding power calculated during the actual raid.

What happens?
The player ID of certain players was cast from a string to an integer incorrectly(casting to 0) leading to the attack/hp power enumerated being added from more than one player, to the first account in the array with the faulty ID.

Essentially, if two players with rather short (in terms of digits) IDs were in a raid, the Attack and HP would occasionally be added to the wrong array element, making the total guild power on the raiding profiles inflated, compared to the actual sum.

As far as I can tell, the actual raiding page is not affected, only the page that displays the progress of the forming raid.

I have fixed the problem and can no longer replicate it. The page was old. It needed a bit of a clean-up anyway. Nobody noticed any problems so no harm was done.

A couple of times I've noticed Walkin Dead with almost twice the HP he should have, but only when I'm not yet in the raid and someone else with a low ID - but not as low as his, so he is first in array - has joined(their HP is added to his on the display).

Weird.


Invisible War ][
Edited 1 time(s). Last edited by Cyberkilla @ Sun Feb 8 18:40:30 EST 2009