maniaplanet / manialive

PHP controller for the ManiaPlanet Dedicated Server
GNU Lesser General Public License v3.0
9 stars 4 forks source link

Storage class #33

Closed magnetik closed 10 years ago

magnetik commented 10 years ago

From arjanbol...@gmail.com on June 07, 2011 16:10:33

What steps will reproduce the problem? 1. Every few tracks the storage class with rankings and players best time (on the track) are not updated 2. 3. What is the expected output? What do you see instead? After a trackchange, a players best time at that moment, should be 0. However the class keeps the results from the previous tracks and will only update it after a player has beaten the bestTime. What version of the product are you using? On what operating system? Revision 223 and both Debian and Windows + XAMPP has the error Please provide any additional information below. For my plugin i use the storage class to get the rankings (live rankings) and the players best time on the track at that moment.

using $this->storage->ranking

it works fine for what it should do, however every few tracks, the storage class does not get updated and keeps the information of the previous track.

Original issue: http://code.google.com/p/manialive/issues/detail?id=33

magnetik commented 10 years ago

From melot.philippe on June 07, 2011 07:13:22

I think the bug should have been corrected in the r224 , can you download the last version of the storage class and give me if it's work.

Status: Fixed
Owner: melot.philippe

magnetik commented 10 years ago

From arjanbol...@gmail.com on June 07, 2011 08:40:38

Thanks, the error does indeed seem to be fixed ^^.

magnetik commented 10 years ago

From arjanbol...@gmail.com on June 07, 2011 08:41:15

[Edit] The fix was in r225 by the way, not r224 ^^