1. Post #201

    July 2011
    580 Posts
    I have a feature request, can you add a better nomination system?
    Like, people can vote a song that someone nominated by pressing 1 or 2 on their num pad and it will vote, and it would take 70% to play it?
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Dumb Dumb x 5Friendly Friendly x 1 (list)

  2. Post #202

    July 2011
    580 Posts
    I believe that this would be a good feature, where you vote instead of nominating (MUCH SIMPLER)
    Reply With Quote Edit / Delete Reply Mac United States Show Events Dumb Dumb x 2 (list)

  3. Post #203
    Gold Member
    Fleamonji's Avatar
    April 2010
    627 Posts
    I believe that this would be a good feature, where you vote instead of nominating (MUCH SIMPLER)
    vote == nominate
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 4 (list)

  4. Post #204
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Literally the ONLY difference is that your version has a timer and annoying pops up on people's screen. I'm NOT doing it. Drop it already.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Winner Winner x 4Lua King Lua King x 1 (list)

  5. Post #205
    DocDoomsday's Avatar
    May 2009
    1,003 Posts
    I'm at a complete loss, Whenever I load the site it redirects me to www.mysite.comml/login.php. When I manually type in www.mysite.com/login.php it works but after I try to login it adds the ml at the end of .com again..

  6. Post #206
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    What's your domain and path to the installation, and what kind of server are you using?

    It sounds like the KERNEL_BASE_URL variable is getting set incorrectly. To confirm this, view the source of any page, and check what the value of the <base> tag is near the top of the document. If it is www.mysite.comml/ then that is the problem.

    In order to fix the problem, I need to know what server software you're running, and what your domain and path to the installation is.

  7. Post #207
    MadkillerMax's Avatar
    May 2011
    262 Posts
    ... this will make me very sad ;'(

    Fatal Error: Call to undefined function sqlite_open() in /var/www/gmodmp3/lib/modules/dbc_engines/sqlite.php on line 17

  8. Post #208
    Gold Member
    Fleamonji's Avatar
    April 2010
    627 Posts
    your PHP installation doesn't have SQLite extensions
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 1 (list)

  9. Post #209
    MadkillerMax's Avatar
    May 2011
    262 Posts
    Yeah, im stupid, i started watching the video, tried to use the wolfdj before finishing it and notices, im stupid, sothank you, but i have it fixed :)
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Optimistic Optimistic x 1 (list)

  10. Post #210

    April 2011
    14 Posts
    Got a problem when processing uploaded songs:

    PHP Warning in /path/wolfdj/verification.php on line 29:
    readdir() expects parameter 1 to be resource, boolean given
    Stack trace:
    #0 /path/wolfdj/verification.php(29): readdir(boolean)

    Result is
    Song Processing
    No files awaiting processing...

    There should be 208.

  11. Post #211
    Gold Member
    Fleamonji's Avatar
    April 2010
    627 Posts
    I'm not sure of the latest version's setup, but if there are any configurations for file paths, make sure they are correct

  12. Post #212
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Make sure your webserver has read and write access to the music and tmp folders. The "boolean" it refers to means that it failed to open the directory, which is almost always a permissions issue.

  13. Post #213
    Gold Member

    June 2009
    342 Posts
    Sometimes, when the server has been running for a while, an "invisible" song is playing, and never ends. (Queue is saved over map changes).
    The only way to stop this is by force skipping the song. I wish I could be more helpful, but it's seemingly random when this happens.
    Reply With Quote Edit / Delete Reply Windows 7 United Kingdom Show Events Friendly Friendly x 1 (list)

  14. Post #214
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you print out the contents of the server-side song queue the next time you catch it? A PrintTable on the var should do it.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Friendly Friendly x 1 (list)

  15. Post #215
    Gold Member

    June 2009
    342 Posts
    Will do. :)

  16. Post #216
    cyw960517's Avatar
    May 2011
    281 Posts
    It will be nice if there is the favorites song list.... I am sorry but it's really hard to find songs as there are loads of songs..

  17. Post #217
    Gold Member
    Fleamonji's Avatar
    April 2010
    627 Posts
    It will be nice if there is the favorites song list.... I am sorry but it's really hard to find songs as there are loads of songs..
    search
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 1Informative Informative x 1 (list)

  18. Post #218
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    It will be nice if there is the favorites song list.... I am sorry but it's really hard to find songs as there are loads of songs..
    That's why there is a search feature.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Informative Informative x 1 (list)

  19. Post #219
    cyw960517's Avatar
    May 2011
    281 Posts
    That's why there is a search feature.
    Sorry I didn't know that there is a search feature... i have should watch carefully,.

  20. Post #220
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Sorry I didn't know that there is a search feature... i have should watch carefully,.
    It's called QuickSearch, in the upper left corner in the menu. Kind of hard to miss really. =/

  21. Post #221

    July 2011
    580 Posts
    Can you add an encryption feature where it generates stream IDs and verifies the user instead of allowing unrestricted access to /media/music

  22. Post #222
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you add an encryption feature where it generates stream IDs and verifies the user instead of allowing unrestricted access to /media/music
    Short of having it password protected, it's stupidly easy to spoof any authentication request. There'd be no point. It would also be dumb to have it password protected, since the password would have to be in the lua file.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 1 (list)

  23. Post #223

    July 2011
    580 Posts
    Like make ids for the songs, look in the cache files of sass, they have high encryption
    Reply With Quote Edit / Delete Reply Mac United States Show Events Dumb Dumb x 2 (list)

  24. Post #224
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Like make ids for the songs, look in the cache files of sass, they have high encryption
    Step 1. Look in the dua cache for the location of songlist.php and song.php
    Step 2. Open the songlist and look for the song you want
    Step 3. Open song.php with the ID of the song you want that you obtained from the songlist page
    Step 4. Open a network tool and check where the song is being downloaded from
    Step 5. Save the song to disk


    There is literally no way to prevent this. I could make it more complex, and do things like checking user-agents and referrers, but there is no way to completely block anyone out. If you can access it in-game, you can access it out of game. There are two main reasons behind this. The first is that by design, anyone should be able to access a song if they are accessing it via the in-game menu. The second is that the in-game menu is open source, and therefore the method used to access the song is plainly visible. The combination of the two means that it can never be secured.

    If it can't be completely secured, then I'm not even going to bother to put any more security on it than there already is. If you feel like doing it, by all means try. Then let me know and I'll show you I can still get in.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Winner Winner x 1 (list)

  25. Post #225

    July 2011
    580 Posts
    Sass has this
    function Jukebox:RefreshMusic(OnRefresh)
    	self.Music = {}
    	self.Refreshing = true
    	http.Get("http://sassilization.com/jukebox/?p=List", "", function(Content)
    		self.Refreshing = false
    		for k,v in pairs(string.Explode("\n", Content)) do
    			local Explode = string.Explode("\t", v)
    			if(Explode and table.Count(Explode) >= 3) then
    				local ID = string.Trim(Explode[1])
    				local Name = string.Trim(Explode[2])
    				local Time = string.Trim(Explode[3])
    				local Genre = string.Trim(Explode[4] or "Ti9B")
    				if(ID != "" and Name != "" and Time != "" and Genre != "") then
    					Jukebox:AddMusic(ID, Name, Time, Genre)
    for the ids. and this for generating the ids
    function PANEL:GenerateURL(SongID, Last)
    	return "http://sassilization.com/jukebox/?p=Client&steamid="..Jukebox.SteamID.."&uid="..tostring(STGamemodes.Forums.ID)..tostring(Jukebox.UID).."&s="..tostring(SongID).."&djmode="..tostring(Jukebox.DJMode and STGamemodes.Forums.ID or 0).."&"..Last

    I know this is lua... just demonstrating how they do theirs

    Edited:

    And BTW... They use wolfdj too.. just all rebranded
    Reply With Quote Edit / Delete Reply Mac United States Show Events Dumb Dumb x 1 (list)

  26. Post #226
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    So look up the values of the arguments being passed, and then load up the URL. I guarantee you can get in. At worst you might have to spoof your user-agent.

    I'm not putting it in vanilla WolfDJ. If you want to implement it, then go for it.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Winner Winner x 1 (list)

  27. Post #227

    July 2011
    580 Posts
    Can you help me gain access to that please?
    I have been trying to do it with http://www.facepunch.com/threads/1130665/
    Reply With Quote Edit / Delete Reply Mac United States Show Events Dumb Dumb x 1 (list)

  28. Post #228
    Gold Member
    Fleamonji's Avatar
    April 2010
    627 Posts
    Can you help me gain access to that please?
    I have been trying to do it with http://www.facepunch.com/threads/1130665/
    Wolf made an open-source project for you to modify yourself, not for him to modify for you personally or add it to WolfDJ because 1 user would benefit.
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Agree Agree x 2 (list)

  29. Post #229
    Gold Member

    June 2009
    342 Posts
    Can you print out the contents of the server-side song queue the next time you catch it? A PrintTable on the var should do it.
    Happened again.

    04:02:35 lua_run PrintTable(WolfDJ.ServerQueue)
    04:02:36 > PrintTable(WolfDJ.ServerQueue)...
    1<TAB>=<TAB>

    Also got an error on init.lua, line 221 at startup. "attempt to perform arithmetic on local 'Min' (a nil value).

    My queue.txt current looks like:

  30. Post #230
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Interesting. Well the reason for the errors is that there is a blank entry in the song queue. As in, it thinks there is a song to play, but the entry doesn't contain any of the data. I can't think of why that would be though. Could you link me over to your songlist.php file?

    Has anyone else experienced this issue?

  31. Post #231

    July 2011
    580 Posts
    Can you make an option so that jwplayer will stop all other songs when you preview another in the admin menu?

  32. Post #232
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you make an option so that jwplayer will stop all other songs when you preview another in the admin menu?
    Because it's too much effort to hit Stop when you're done?

  33. Post #233
    Gold Member

    June 2009
    342 Posts
    Interesting. Well the reason for the errors is that there is a blank entry in the song queue. As in, it thinks there is a song to play, but the entry doesn't contain any of the data. I can't think of why that would be though. Could you link me over to your songlist.php file?

    Has anyone else experienced this issue?
    http://sammyservers.com/wolfdj4/songlist.php

    This only seems to happen after the server has been running for multiple days.

  34. Post #234
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Songlist looks okay. I'll put some checks in the code to prevent it I guess.

  35. Post #235
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    Can you help me gain access to that please?
    I have been trying to do it with http://www.facepunch.com/threads/1130665/
    As a closing statement to our previous discussion about Sass, here's the code that would grab a song.
    Code:
    <?php
    $headers = array( 
    	'GMOD_CONTENT' => "GMOD_CONTENT: hl2,cstrike,dod,ep2,tf,episodic,hl2mp,portal,lostcoast,hl1mp,left4dead2,left4dead,diprip,zps,pvkii,dystopia,ageofchivalry\r\n",
    	'GMOD_VERSION' => "126\r\n",
    	'MAP' => "MAP: xc_water_light_blue\r\n",
    	'Host' => 'sassilization.com',
    );
    
    
    $ch = curl_init( 'http://www.sassilization.com/jukebox/music/STEAM_0_0_13473110/Technodrome%20-%20Pokemon%20Theme.mp3' );
    curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true );
    curl_setopt( $ch, CURLOPT_REFERER, 'http://www.sassilization.com/jukebox/themes/Default/images/jukebox.swf' );
    curl_setopt( $ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; Valve Source Client/0; ) AppleWebKit/534.1 (KHTML, like Gecko) Chrome/6.0.444.0 Safari/534.1' );
    curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers );
    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
    $result = curl_exec( $ch );
    curl_close( $ch );
    
    //header("Content-type: audio/mpeg");
    echo $result;
    ?>
    However, they have it set up so that it will 404 if the game-server hasn't authorized it.
    Although it wouldn't be too difficult to implement into WolfDJ, it probably won't get done, but I will think about it.

  36. Post #236

    June 2011
    23 Posts
    i have it set up but it looks like the css is not working... any solutions
    www.radio.bobwho.net

  37. Post #237
    Gold Member
    Fleamonji's Avatar
    April 2010
    627 Posts

  38. Post #238

    June 2011
    23 Posts
    theres nothing int he compressed folder, only uncompressed... how do i get it to compress (don't do much web work)

    Edited:

    the .htaccess prevented opening but it will only download now

    Edited:

    works now
    Thanks for that, it got me to fix it
    Reply With Quote Edit / Delete Reply Windows 8 United States Show Events Friendly Friendly x 1 (list)

  39. Post #239

    July 2011
    580 Posts
    I bet you can't hack mine, please try, but dont steal, http://music.theminiserver.com/media/music

    And people, i think the reason you cant play crap, you changed the /media/music and it is not accessible

    Remember i said Think not know
    Reply With Quote Edit / Delete Reply Mac United States Show Events Dumb Dumb x 2 (list)

  40. Post #240
    Terminal Shell Founder
    mr.wolf's Avatar
    July 2010
    820 Posts
    I bet you can't hack mine, please try, but dont steal, http://music.theminiserver.com/media/music

    And people, i think the reason you cant play crap, you changed the /media/music and it is not accessible

    Remember i said Think not know
    Here's the download link for the first song on the list, Needed Change by 12th Planet featuring Skrillex. The song is 3:12 and is apparently the leaked version.

    Took me more time to write this post than it did to grab the link.

    http://music.theminiserver.com/media.../75.mp3?r=6714
    Reply With Quote Edit / Delete Reply Windows 7 United States Show Events Zing Zing x 3Funny Funny x 1 (list)