PDA

View Full Version : Armoury: rounding error bug



DN_DeadKitten
22nd November 2011, 02:50 AM
Consistency error: Gold mismatch after buying: 532297 vs. 532296.7812500000

Popped up when I tried to buy one of each midrange weapon, happened again and again. Got around it by doing one at a time.

DN_DeadKitten
22nd November 2011, 02:24 PM
Also, the dreaded Deadlocking error pops up randomly when buying weapons.


Database error: Error ### Deadlock found when trying to get lock; try restarting transaction ### on line 4480 of /home/ruins/age10/inc.user.php -- UPDATE low_priority stats SET sa = [censored].2,da = [censored],sp = [censored],se = [censored],tbg = [censored].8 WHERE userid = [censored]

Trying different amounts of weapons until it goes through gets around it.