Raised This Month: $ Target: $400
 0% 

Jukebox for Source - Streaming Music System v0.5.5.0 Beta


Post New Thread Reply   
 
Thread Tools Display Modes
rtil
Member
Join Date: Dec 2009
Old 02-11-2010 , 22:51   Re: Jukebox for Source - Streaming Music System
Reply With Quote #341

much better. now, here is where your first problem is - the host needs to be your site negroserver.com, not your actual host.

and since you are accessing a remote database, make sure you go to your cpanel mysql remote host settings and add your server's IP to the list so it has permission to access the db.
rtil is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-12-2010 , 03:28   Re: Jukebox for Source - Streaming Music System
Reply With Quote #342

Heh, quite a lot of activity. NegroCollegeFund, you'll find you will get better help more quickly if you don't open your request with a raging attack on a free product's development group. But, your most recent post is wonderfully detailed and I'm happy to help.

First, the error messages you quote are huge hints. The thing is that I see two different ones ("user rejected" and "server address invalid") which make me wonder how you ever got to the user rejected stage in the first place. I'm guessing you changed a setting at some point.

However, looking at your jukebox.cfg, I see that you have defined the SQL host address as "http://box358.bluehost.com/". The http:// part and the last slash are not needed. Http refers to the protocol used to serve websites, which this is not.

You are also well advised to make sure that the privileged user with access to the Jukebox database has permission to be accessed from your game server's IP address. Since the website also needs access, in practice this means you really need two define two users - one like "webuser@localhost" for the website and another like "[email protected]" for use by the game server.

In your posts it is not clear if you have had success with playing music from the website interface. Are you able to do this? This is an important first step.

It is true that the documentation doesn't include much support for troubleshooting, but this thread has an abundance of it. After the next release, I already plan to update the bundled documentation and the public support manual with additional information learned to be valuable from the activity in this thread.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
NegroCollegeFund
Junior Member
Join Date: Feb 2010
Old 02-12-2010 , 09:44   Re: Jukebox for Source - Streaming Music System
Reply With Quote #343

Thank you for your help.

Error messages might have conflicted with the cfg files as there were many different attempts and I'm not sure if I changed a file after copying that error.

Redefined sql host as "box358.bluehost.com"

I had no idea about this next part. I found some remote sql options and added the game server's ip address. I have one database user, and I allowed access from the gameserver in this remote sql options. I saw no options where i could define user@location. So I have one user named negroser_jukebox, and i allowed remote sql access from gameserver IP. I dont know if that is correct.

Because I failed at "Early Testing," I never made it to uploading tracks. I have since uploaded tracks and when I click a file to play it, a window opens that says waiting for video that does nothing.

At this point I get:
[JB] WARNING - You must populate 'base_url' in cfg/sourcemod/jukebox.cfg with th
e URL to Jukebox's base folder on your web server.
[JB] WARNING - You must populate 'leech_password' in cfg/sourcemod/jukebox.cfg w
ith the anti-leech password specified in settings.php on your web server.

in console, prior to connection to master servers. As shown above, fields have been modified and match.

I can use !jukebox in game, see the files, play them, and what seems to be full functionality. I cannot hear the file, same as how it wouldn't play on the web interface.

Thank you again for exhibiting more patience than I.

Edit: for shits and giggles I tried to listen to music using the web interface with explorer and it worked. With google chrome and firefox 3 it just says waiting for video.

Edit 2: Now it works ingame. All that has changed to my knowledge was time passing. I'm glad it worked but I had several questions still when it wasn't working and I can't explain why it is now. Still getting the warning about the leech password and base url.

Edit 3: It seems that anytime i play sound @ all clients using !jb -force or !jb -all, shortly after the song ends I "partially" lose connection to the server. By partially I mean I can still see new [SM] events taking place (people using rtd), however I cannot see or participate in chat, nor move, and everything basically freezes as if I had lost connection. Unlike a real disconnect, there's no timer in the corner or red text warning. If I disconnect and reconnect, it tells me I'm still on the server. No one else seems to experience this issue. I have about 6 times, 5 times using -force and once using -all. Once i try to reconnect a second time, I successfully connect, and the song I played @all is playing again when i enter the server. !jboff tells me there is no song playing when this occurs.

Edit 4: seems to happen when noclip gets used at the end of a song/ between songs, tested for fail by spamming noclip during play and changing of 2 songs with no disconnect. Can't duplicate failure when desired so I have to assume something else is triggering it.

Just had some soup after spamming noclip and came back to see i'd timed out again. Server is fine, other clients seem fine. This is affecting me specifically

Edit 6 I cant seem to hold connection to the server for more than 10-20 minutes, during 1-2 songs. all other players seem fine, as far as I can tell. I've timed out from the server about 10 times now and i cannot find a pattern other than music playing when it occurs. I continued to hear the players over mic until i pressed disconnect on the menu, but i lose everything else.

Last time it happened I was able to open console, login to rcon, and kick myself, despite losing the ability to move or see what is happening in game. So it retains some form of connection when I drop.

Last edited by NegroCollegeFund; 02-12-2010 at 17:04.
NegroCollegeFund is offline
rtil
Member
Join Date: Dec 2009
Old 02-12-2010 , 11:40   Re: Jukebox for Source - Streaming Music System
Reply With Quote #344

did you try reloading the plugin? maybe it hasn't looked at your recent cfg changes
rtil is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-13-2010 , 01:14   Re: Jukebox for Source - Streaming Music System
Reply With Quote #345

It just sounds like you're lagging out. Playing music uses bandwidth and noclip uses more bandwidth than not noclip because you can often see more stuff. Make sure the MP3s you upload are encoded 128 kbps or something reasonable and not 320 kbps.

Of course, without seeing the effects myself, I am guessing a little. That fact that the issue is unique to you indicates to me that something on your system is being pushed hard, and it's probably your Internet connection.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
NegroCollegeFund
Junior Member
Join Date: Feb 2010
Old 02-13-2010 , 06:18   Re: Jukebox for Source - Streaming Music System
Reply With Quote #346

30 mbps download / 20 mbps upload on fiber optic. servers run off same connection as I but only I experience the lag/disconnect. Servers along with clients do not time out, only me, as far as I can tell right now. I'm pretty sure I did use some outrageously high quality mp3's but only cause I have pretty fair internet speed. Logically I'd love to call it the internet connection and have a good solid reason, however the server is on the same nets and no one else experiences issues on the server. After unloading the plugin. I've been connected about 10 hours flawlessly, and the server is full 30/30 so I assume they aren't having any issues. It seems to specifically affect me only. If it was maxing out my bandwith There should be more degradation. This connection can handle 4 full 30/30 tf2 servers and still download porn @ 1.2 mb/s I'd like to assume there is some other issue I've overlooked causing this. As I type this, there are 54 users connected to 2 of my servers, and bandwidth usage is at about 1.3 mbps down 6 mbps up. When the issues I mentioned above took place, they would have been using similar amounts of bandwidth. I really want to use this plugin it seems far beyond badass, but I cannot play on the server when its loaded and it doesnt seem like anyone else has the same issue. I'd hate to remove the plugin for one whining player, but this time around the one whining player is me.

Edit: Ok I reloaded the plugin after everything being fine for about 13 hours. During the first song, I timed out. Several other players reported connection issues. At this time I was monitoring the server bandwidth (2nd monitor + RDC) and there were no signifigant jumps in upload or download at any time, Nothing ever passed 6 mpbs up or 2 mbps down, and no errors in console. 2 Players that had completely left the server to play elsewhere messaged me over steam inquiring how to stop the music. Several players who were in spec and alt tabbed complained of music while they were doing other things on their pc's. Another awoke to strange music during the night, I guess he is from a different timezone. This is on an idle server so I imagine some circumstances are different from what you may have encountered in testing. Am I doing something wrong or is there something I missed? I appreciate all the help already given despite my initial frustration and look forward to more resolve.

Last edited by NegroCollegeFund; 02-13-2010 at 10:05.
NegroCollegeFund is offline
Unrealomega
Member
Join Date: May 2008
Old 02-13-2010 , 12:26   Re: Jukebox for Source - Streaming Music System
Reply With Quote #347

-snip-

Last edited by Unrealomega; 02-13-2010 at 14:23.
Unrealomega is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 02-13-2010 , 14:03   Re: Jukebox for Source - Streaming Music System
Reply With Quote #348

so sirlamer, is there another way you could make it work? without motd please?
__________________


bouncer is offline
SirLamer
Senior Member
Join Date: Oct 2008
Old 02-14-2010 , 02:31   Re: Jukebox for Source - Streaming Music System
Reply With Quote #349

Quote:
Originally Posted by NegroCollegeFund View Post
30 mbps download / 20 mbps upload on fiber optic. servers run off same connection as I but only I experience the lag/disconnect. Servers along with clients do not time out, only me, as far as I can tell right now. I'm pretty sure I did use some outrageously high quality mp3's but only cause I have pretty fair internet speed. Logically I'd love to call it the internet connection and have a good solid reason, however the server is on the same nets and no one else experiences issues on the server. After unloading the plugin. I've been connected about 10 hours flawlessly, and the server is full 30/30 so I assume they aren't having any issues. It seems to specifically affect me only. If it was maxing out my bandwith There should be more degradation. This connection can handle 4 full 30/30 tf2 servers and still download porn @ 1.2 mb/s I'd like to assume there is some other issue I've overlooked causing this. As I type this, there are 54 users connected to 2 of my servers, and bandwidth usage is at about 1.3 mbps down 6 mbps up. When the issues I mentioned above took place, they would have been using similar amounts of bandwidth. I really want to use this plugin it seems far beyond badass, but I cannot play on the server when its loaded and it doesnt seem like anyone else has the same issue. I'd hate to remove the plugin for one whining player, but this time around the one whining player is me.

Edit: Ok I reloaded the plugin after everything being fine for about 13 hours. During the first song, I timed out. Several other players reported connection issues. At this time I was monitoring the server bandwidth (2nd monitor + RDC) and there were no signifigant jumps in upload or download at any time, Nothing ever passed 6 mpbs up or 2 mbps down, and no errors in console. 2 Players that had completely left the server to play elsewhere messaged me over steam inquiring how to stop the music. Several players who were in spec and alt tabbed complained of music while they were doing other things on their pc's. Another awoke to strange music during the night, I guess he is from a different timezone. This is on an idle server so I imagine some circumstances are different from what you may have encountered in testing. Am I doing something wrong or is there something I missed? I appreciate all the help already given despite my initial frustration and look forward to more resolve.
You are right, a connection like that is very much plenty for Jukebox. However, the fact that the game servers are running on your LAN network is an interesting detail that might be a factor. Is the web server hosting the MP3s also on your LAN server or is it outside of your home network?

It is true that music keeps playing when people disconnect. It is impossible for Jukebox or any plugin to act on a client as it disconnects because the action happens without warning. So, the music keeps playing the MOTD browser which always persists in the background. If they want, they can use Jukebox to stop playback before disconnecting, or just let the song end.

Also, by default, people idling on the server will probably hear music playing sometimes. This will only happen if an admin plays music on the Public Stream using the "-all" command like function. Users can opt out of the Public Stream in their personal Settings via "!jb". Music can in no way spontaneously start playing on an idle server, so either someone made it play or it was another program. However, frankly, letting your computer idle all night while it's connected to a server is very unnecessary and utterly wasteful, and I am not really interested in offering support to alleviate this.

Finally, music does continue to play when you alt-tab. The MOTD browser persists even when the game is minimized and so the MP3s keep playing. Jukebox includes a Mute feature to silence music but maintain stream membership if it is so desired.

Quote:
Originally Posted by bouncer View Post
so sirlamer, is there another way you could make it work? without motd please?
For some background for others, I bouncer and I identified a technical problem when running Jukebox on an Insurgency server. I have later learned that Insurgency does not have a Message of the Day feature, which Jukebox depends on.

No, there is no other way. Jukebox depends on the HTML-capable features of the MOTD browser to stream MP3s. For most mods, the only alternative is to pre-cache all the MP3s to clients as they connect. In Gmod, MP3s can be (and in some cases are) streamed using Lua code, such as in Gmod Tower. You could beg the Insurgency developers to add Message of the Day.
__________________
Visit TEAM CHEESUS, a TF2 community with our own brand of injected shenanigans, for added flavor.

Plugins: Jukebox for Source
SirLamer is offline
captainAngry
Member
Join Date: Feb 2009
Old 02-14-2010 , 23:17   Re: Jukebox for Source - Streaming Music System
Reply With Quote #350

Just wanted to say thanks for the last couple updates. I know I requested some of the features and I appreciate you getting them in.
captainAngry is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode