bugs

Forum > Bugs > NC Removal Slight Bug
Reply To Thread (login)
shoyuken [175]
2014-01-11 11:16:00
[10 years, 317 days ago]

So with the new nc removal, there's a slight bug. (Maybe intended?) http://bots4.net/clans/profile/2964/Winissssm I clanned 37 whores and after 1 hour I have a total of 740 energy.

On the clan page, it reflects this

201             DHW11Naama [21]         37      0.00    740     400     (x1.00)

top 20 members x1 multiplier which works fine, but on the clan page itself

Energy month:
    400 (x0.54)

the actual multiplier number is using 400/740 instead of the what I would assume would be the correct 400/400 for the top 20 members.

You can also see this on any of the top clans, where their clan page multiplier and the clanlist multipliers are different


 
Ender [1]
Administrator
2014-01-12 13:45:35
[10 years, 316 days ago]

Thanks for the thorough bug report, this is fixed now. This is exactly the kind of subtle bug that was likely to slip through the cracks with the big NC removal update.

Details: Three energy stats are stored per bot - total energy, monthly energy, and generated energy (energy ratio is a function of the last two). There was the coding equivalent of a typo in the clan profile page logic:

Count the monthly and total energy for the top 20 bots (and the generated energy for all)

But it should have been:

Count the monthly and generated energy for the top 20 bots (and the total energy for all)

The effect was that monthly energy was correct, but energy ratio and total energy were incorrect.


 
Nosferatu [203]
2014-01-12 16:37:20
[10 years, 316 days ago]

Nice bug find and squash you two.


 
Leader2 [69]
2014-01-12 17:33:28
[10 years, 316 days ago]

:) nice find shoy and nice fix ender :)


 
Forum > Bugs > NC Removal Slight Bug
Reply To Thread (login)