stored turns are messed

Started by Shadow, April 18, 2009, 04:00:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shadow

Turns   198 (max 550)
Turns Stored   145 (max 150)

This is 100% positively the wrong number - I haven't used turns in hours and I left my account at 0 - I should have lost waaaay more than 5 stored turns. To have 200 turns in my account, 100 of those should be stored, and I should only have 50 stored turns left.
<=holbs-.. ..-holbs=> <=holbs-..

CobyCopper

Windhound and I were looking at the code for turns at the beginning of the round. General consensus is it needs to be fixed; neither of us are good at PHP (I'm not even a programmer--I'm working out code by logic) but there seems to be arguments that are factored in multiple times, and even broken arguments which would probably lead to issues like this, where stored turns are added to active turns but never removed from stored turns.