Page 1 of 1
AP Bug
Posted: Fri Feb 14, 2014 1:15 pm
by njfrlng
Just had a tester notice that if you use all your AP, then you log out and log back in, your AP fills back up.
Any idea how to stop this from happening?
Re: AP Bug
Posted: Fri Feb 14, 2014 8:15 pm
by KaL
Go to phpmyadmin under table user_stat_type where restore_rate and set to 0 for AP
Re: AP Bug
Posted: Sun Feb 16, 2014 3:03 am
by njfrlng
wont that stop regular restoring of AP
Re: AP Bug
Posted: Sun Feb 16, 2014 5:19 am
by a_bertrand
Yes it will. AP Should restore over time, so if you log out for long enough it should restore when you come back. If you mean it will be full restored even if I just log out and log in, then there is an issue.
Re: AP Bug
Posted: Sun Feb 16, 2014 7:43 pm
by njfrlng
AP fills back up if you log out and right back in. So it is abuse, how can i prevent people from abusing this?
Re: AP Bug
Posted: Mon Feb 17, 2014 12:23 am
by KyleMassacre
This is infact confirmed Alain. I went to the gym to beef up and used all my AP => logged out => logged in => had full AP
Re: AP Bug
Posted: Mon Feb 17, 2014 5:12 am
by a_bertrand
Ok I will try to check that out.
Re: AP Bug
Posted: Mon Feb 17, 2014 8:18 am
by a_bertrand
Ok issue was in the stats lib file. I uploaded the version 1.1.8 of the engine which can use which fixes this bug. Basically, this is one idiocy of PHP which make NULL values == as 0, maybe the === sign would have been working, yet I used something else to make sure it works.