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?
AP Bug
Re: AP Bug
Go to phpmyadmin under table user_stat_type where restore_rate and set to 0 for AP
Re: AP Bug
wont that stop regular restoring of AP
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: AP Bug
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
Mad programmer and annoying composer
Re: AP Bug
AP fills back up if you log out and right back in. So it is abuse, how can i prevent people from abusing this?
- KyleMassacre
- Posts: 573
- Joined: Wed Nov 27, 2013 12:42 pm
Re: AP Bug
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
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: AP Bug
Ok I will try to check that out.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: AP Bug
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
Mad programmer and annoying composer