AP Bug

General Chat, Comments
Post Reply
njfrlng
Posts: 53
Joined: Tue Feb 04, 2014 9:51 pm

AP Bug

Post 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?
KaL
Posts: 344
Joined: Mon Jan 13, 2014 5:44 am

Re: AP Bug

Post by KaL »

Go to phpmyadmin under table user_stat_type where restore_rate and set to 0 for AP
njfrlng
Posts: 53
Joined: Tue Feb 04, 2014 9:51 pm

Re: AP Bug

Post by njfrlng »

wont that stop regular restoring of AP
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: AP Bug

Post 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.
Creator of Dot World Maker
Mad programmer and annoying composer
njfrlng
Posts: 53
Joined: Tue Feb 04, 2014 9:51 pm

Re: AP Bug

Post 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?
User avatar
KyleMassacre
Posts: 573
Joined: Wed Nov 27, 2013 12:42 pm

Re: AP Bug

Post 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
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: AP Bug

Post by a_bertrand »

Ok I will try to check that out.
Creator of Dot World Maker
Mad programmer and annoying composer
User avatar
a_bertrand
Posts: 1536
Joined: Mon Feb 25, 2013 1:46 pm

Re: AP Bug

Post 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.
Creator of Dot World Maker
Mad programmer and annoying composer
Post Reply

Return to “General”