Annoying bug in song select screen due to server behavior

Information and error posts in regards to testing.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Thumbsy
Posts: 110
Joined: Fri Oct 12, 2012 8:00 am
Location: The Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Annoying bug in song select screen due to server behavior

Postby Thumbsy » Fri Apr 25, 2014 1:41 pm

I originally brought it up on the bug tracker of SM5, but I was then informed that the cause is likely coming from the server of SMO.
You can read what happens exactly here: https://github.com/stepmania/stepmania/issues/100

In short, when you navigate to a song and THEN change your song options, you are switched back to the song that you last played in the same session. The suspect is a recent change in the server's behavior.

I'm using SM5 beta 3, could anyone else (using this version or not) confirm that this is happening to them as well?
Last edited by Thumbsy on Sat Apr 26, 2014 1:58 am, edited 1 time in total.

User avatar
Yocho
Posts: 22
Joined: Sun Feb 16, 2014 5:57 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Annoying bug in song select screen due to server behavio

Postby Yocho » Fri Apr 25, 2014 6:08 pm

Though I currently am using beta two, I can confirm that this is happening to me as well. It can be rather maddening if I'm not thinking about it when I enter the options menu (or press the 'up' arrow by mistake).

If you select a song before entering the options menu, you'll get switched to that song when you leave it; instead of the last song actually played. So if you're using a version affected by this bug I would recommend selecting your next song (or at least the one you've got highlighted at the time) before going into the menu. It saves a lot of time and frustration.

User avatar
Izzy
Moderator
Posts: 531
Joined: Thu Sep 27, 2012 3:03 pm
Location: Leawood, Kansas
Contact:

Re: Annoying bug in song select screen due to server behavio

Postby Izzy » Fri Apr 25, 2014 8:25 pm

I also noticed this and it is definitely an smo issue.

User avatar
Thumbsy
Posts: 110
Joined: Fri Oct 12, 2012 8:00 am
Location: The Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Annoying bug in song select screen due to server behavio

Postby Thumbsy » Sat Apr 26, 2014 2:07 am

Thanks for the tip Yocho, that's going to save me some hassle for the time being!

And thank you for confirming the issue Izzy, hope something can be done :)

Judging from the response I had in SM5's bugtracker, it's likely that pretty much all versions of SM5 are affected by the issue.

houkouonchi
Site Admin
Posts: 156
Joined: Sun Sep 16, 2012 1:12 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Annoying bug in song select screen due to server behavio

Postby houkouonchi » Thu Oct 23, 2014 2:02 pm

This is done on purpose. The reasoning behind this is that due to latency and other things its possible for the server to have done a song change just as you went into the options, this can more easily happen depending on how far away you are from the server.

I did this just to insure the client was always on the correct song and new what to start if someone starts it quickly after they go into their options.

Basically its not a bug but by design.

User avatar
Thumbsy
Posts: 110
Joined: Fri Oct 12, 2012 8:00 am
Location: The Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Annoying bug in song select screen due to server behavio

Postby Thumbsy » Mon Nov 10, 2014 7:34 am

Ah that's good to know! And thanks to Yocho's tip this isn't as much of an issue as I thought it was.
But thanks for confirming the status on this one!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Bug Reports ONLY”

Who is online

Users browsing this forum: No registered users and 10 guests