[Fixed] You can start the song even when a client lacks it.
-
- 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
[Fixed] You can start the song even when a client lacks it.
Guessing its probably due to latency of a client reporting back it doesn't have the song? I ran into this with Angelo in the server and started (causing my client to hang) even though someone in the room lacked it.
I was trying to be an ass cause the guy kept starting songs without warning and I was going to do the same. Of course I was ~3ms from the server and I am guessing he was a lot farther so i selected/started it quicker than his client could report back he was missing (guessing).
I was trying to be an ass cause the guy kept starting songs without warning and I was going to do the same. Of course I was ~3ms from the server and I am guessing he was a lot farther so i selected/started it quicker than his client could report back he was missing (guessing).
Re: You can start the song even when a client lacks it.
I fixed this in my latest git commit just 15 minutes ago.
(Move to graveyard please?
)
(Move to graveyard please?

- Angelo
developer
developer
Re: You can start the song even when a client lacks it.
I'm gong to create a developer usergroup and give you local mod powers for the bugreport section. I'll move this though.
Edit: You should have moderator permissions for bug report forum now.
Edit: You should have moderator permissions for bug report forum now.
- Cube
- Site Admin
- Posts: 354
- Joined: Mon Sep 24, 2012 10:18 am [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: You can start the song even when a client lacks it.
Compiled and now running. Thanks Angelo!
-
- 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: You can start the song even when a client lacks it.
Unlocked and moved back to bug reports. 

-
- 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: You can start the song even when a client lacks it.
Also when a new client joins after a song is selected it aparrantly will let you start a song even if they don't have it causing the same client hang. Just ran into this.
Re: You can start the song even when a client lacks it.
Eh, sorry. I didn't get much time to test it yet. I still don't have my own internet here, so I can't locally debug with people connecting to my PC.
I'll check it out.
I'll check it out.
- Angelo
developer
developer
Re: You can start the song even when a client lacks it.
Fixed, see Git repo.
(I can't seem to be able to move this thread to the graveyard, though?)
(I can't seem to be able to move this thread to the graveyard, though?)
- Angelo
developer
developer
Re: You can start the song even when a client lacks it.
I'll look into it. The forum permissions for non global mods were set up very strangely.
Thank you for the fix.
Thank you for the fix.
-
- 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: You can start the song even when a client lacks it.
This appears to not be 100% fixed. It did work sometimes if I wasn't really spammy with it but when I spammed the hell out of it on multiple songs it eventually played and my client hung.
- foxfire667
- Moderator
- Posts: 557
- Joined: Sat Sep 29, 2012 5:09 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: You can start the song even when a client lacks it.
That's weird, it shouldn't be doing that. I've been testing on localhost, so ofcourse there will be no lag from the server to client.
Select the song once, wait for it to say that the client doesn't have it and start spamming then. If that's the case, I know another fix.
Select the song once, wait for it to say that the client doesn't have it and start spamming then. If that's the case, I know another fix.
- Angelo
developer
developer
-
- 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
Who is online
Users browsing this forum: No registered users and 6 guests