I keep getting an error like whenever I first put "MYWEBSITE.co.cc/wolf-dj/" it adds the letters ml and the end of the cc in the co.cc. I dont know what is making this happen but It happens everytime I try. Can I get some help?
[QUOTE=Senor_Penguin;35631572]DL link broken, can anyone mirror this?[/QUOTE]
[QUOTE=Banana Lord.;35004144]Here ya go bud [url]http://dl.dropbox.com/u/5648925/wolfdj4.zip[/url][/QUOTE]
Appears to crash your game when you play a song :/ They all appear fine tho.
When you press F7 then play a song or enable radio or w/e the message comes up in chat then HL2 crash's.
[QUOTE=Mrkrabz;35839376]Appears to crash your game when you play a song :/ They all appear fine tho.
When you press F7 then play a song or enable radio or w/e the message comes up in chat then HL2 crash's.[/QUOTE]
I'm not experiencing this, could you post your config and do you have Flash player installed?
[QUOTE=Juze;35847997]I'm not experiencing this, could you post your config and do you have Flash player installed?[/QUOTE]
I'm using someone else's webplayer until I get the webcode setup. Also yes I have Flashplayer the other guy who tried it also crashed.
[code]
/*--------------------------------------------------
Wolf DJ
A multi-purpose radio addon for Garry's Mod
Configuration File
--------------------------------------------------*/
// Locations of the song list and mp3 player
WolfDJ.RepositoryURL = 'http://sammyservers.com/wolfdj4/songlist.php'
WolfDJ.PlayerURL = 'http://sammyservers.com/wolfdj4/song.php'
// Bind options
WolfDJ.BindKey = 'F7' // Display purposes
WolfDJ.BindKeyNum = KEY_F7 // Gmod key enumeration
// Delimiter. You probably shouldn't change this
WolfDJ.Delimiter = '|'
// Should we save the server queue in between map changes?
WolfDJ.SaveState = true
// Nomination options
WolfDJ.Enable_Nominations = true
WolfDJ.Nominations_Needed = 2
WolfDJ.Multiple_Nominations = true // If enabled, players can nominate more than one song at once.
// If disabled, their previous nomination will be removed if they try to nominate another song
/**
* Does the player have permission to add songs to the server queue?
*/
function WolfDJ:CanAddSongs( pl )
// By default, only admins and superadmins can add songs to the server queue
if ( pl:IsAdmin() ) then return true end
// You can specify custom settings here
-- if ( pl:IsUserGroup( 'Donor' ) ) then return true end
-- if ( pl:GetPData( 'DJ', '') == 'Yes' ) then return true end
// Always default to false
return false
end
/**
* Does the player have permission to nominate songs?
*/
function WolfDJ:CanNominate( pl )
// By default, everyone can nominate songs
if ( pl:IsValid() ) then return true end
// You can specify custom settings here
-- if ( pl:IsUserGroup( 'Donor' ) ) then return true end
-- if ( pl:GetPData( 'DJ-Nominate', '') == 'Yes' ) then return true end
// Always default to false
return false
end[/code]
I'm using this now. It's installed correctly. It's coming up and all, but it freezes and crashes Gmod when you add a song to the queue. What's the problem?
I still don't have this issue like you two have, please post your Flash player versions here...
[QUOTE=Juze;35875263]I still don't have this issue like you two have, please post your Flash player versions here...[/QUOTE]
Ok, but I don't get it. A old version of flash shouldn't crash the game...
[QUOTE=Axton;35875967]Ok, but I don't get it. A old version of flash shouldn't crash the game...[/QUOTE]
says who? are you a flash developer or something?
[QUOTE=Banana Lord.;35876996]says who? are you a flash developer or something?[/QUOTE]
Well, No. This still happens after the latest update of flash.. :/
[QUOTE=Axton;35882836]Well, No. This still happens after the latest update of flash.. :/[/QUOTE]
Which could exactly be your cause, of course.
Hm, weird, it seems after updating Flash, I seem to be getting similar issues to yours. Could you try and upgrade/downgrade your Flash player? Can you play any songs from the web panel?
[QUOTE=Juze;35897279]Hm, weird, it seems after updating Flash, I seem to be getting similar issues to yours. Could you try and upgrade/downgrade your Flash player? Can you play any songs from the web panel?[/QUOTE]
Uhr, are there lower versions released? Chrome doesn't seem to want to "downgrade".
But what could be causing the issue in the new update?
[QUOTE=Mrkrabz;35915217]Uhr, are there lower versions released? Chrome doesn't seem to want to "downgrade".
But what could be causing the issue in the new update?[/QUOTE]
The latest Flash update basically removed all other Flash versions. You can also notice this if you try to browse the Steam store. Grab the "other versions" download from Adobe site and it should be fine.
What version should i be downgrading too?
I mean literally everyone who plays our server crash's and we have had to remove this mod because of that. So downgrading may temporarily fix the problem, yet it's not a solution. I cant expect players to downgrade flash just so they don't crash.
I have no clue what's wrong with your setup then, I've had this running on my server (which peaked at like 35 players last night) for 5-6 months. Have you tried a fresh copy of WolfDJ?
[QUOTE=Banana Lord.;35924446]I have no clue what's wrong with your setup then, I've had this running on my server (which peaked at like 35 players last night) for 5-6 months. Have you tried a fresh copy of WolfDJ?[/QUOTE]
Yes. It works for only a handful of people apparently (With older flash versions). Ill try a fresh copy later today once my Dedicated server has finally setup.
Thinking about it, it doesn't work on a fresh copy because I started a SRCDS server from my PC and tested it, still crash's.
Sorry for the bump, but after installing wolfdj4 onto my dedi, and also fiddling around with PHP forever to get it to work (installed 5.2.0) Songs show up in the woldDJ menu and you can add and select then and play them without crashing. However I cannot hear them ingame. I have checked multiple things including:
Volume in WolfDJ menu
I have flash as it works fine on another server
Game sound is also fine.
Not really sure what's wrong, I can preview the songs just fine on the wolfdj webpanel.
@Mrkrabz: You should have just updated Flash player and kept your PHP etc. Nobody told you to downgrade, but rather update their Flash. Everything that has to do with downgrading is always more difficult and has more security risks.
Anyway, I'm running to this same issue again. After moving from Apache to nginx, I'm getting a blank page from WolfDJ on every browser. Before that, I got a login screen without CSS and JS. Every other complex webpage on nginx works just fine, and the folders are chrooted to nginx:nginx with proper permissions from original post.
Looking at error logs, it seems to have permamently cached to another URL, so now it's without CSS and JS. Source code has this:
[CODE] <link rel="stylesheet" type="text/css" href="css/compress.php/login+primary"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
<script type="text/javascript" src="js/compress.php/primary"></script>[/CODE]
Followed by error logs:
[CODE]2012/05/22 02:50:18 [error] 25940#0: *334 open() "/var/www/html/wolfdj4-new/css/compress.php/login+primary" failed (20: Not a directory), client: -snip-, server: _, request: "GET /wolfdj4-new/css/compress.php/login+primary HTTP/1.1", host: "-snip-", referrer: "-snip-/wolfdj4-new/login.php"
2012/05/22 02:50:19 [error] 25940#0: *334 open() "/var/www/html/wolfdj4-new/js/compress.php/primary" failed (20: Not a directory), client: -snip-, server: _, request: "GET /wolfdj4-new/js/compress.php/primary HTTP/1.1", host: "-snip-", referrer: "http://-snip-/wolfdj4-new/login.php"
[/CODE]
[B]EDIT:[/B] Falled back to Apache again, and I have to go through the hell to get it working on it as well now. PHP errors with permissions, which are just fine as they were before. This is why I don't like deprecated code. :/
Does anyone have a fresh download of WolfDJ 4.0? Seems as tho the previous one has gone dead.
thx.
[QUOTE=Banana Lord.;35004144]Here ya go bud [url]http://dl.dropbox.com/u/5648925/wolfdj4.zip[/url][/QUOTE]
.
Thx man.
Has anyone succeeded running this on nginx yet? I'm still having issues, primarily "domain.net/wolfdj4/" redirecting to "domain.netlfdj4/login.php" and CSS styling missing.
[url]http://94.23.120.235/wolfdj4/[/url]
[url]http://94.23.120.235/wolfdj4/login.php[/url]
PHP Version 5.3.3 (CGI/FastCGI)
[code]Installed Packages
php-cli.x86_64 5.3.3-3.el6_2.8 @updates
lighttpd-fastcgi.x86_64 1.4.28-3.el6 @epel
nginx.x86_64 1.2.0-1.el6.ngx @nginx[/code]
yeah I have mine running on NGINX now actually, set it up this morning
did you set up some funky rewrite rules or something in the config? as for the CSS styling, read the first post (right above the video), you need to CHMod a few folders
[QUOTE=Banana Lord.;36099227]yeah I have mine running on NGINX now actually, set it up this morning
did you set up some funky rewrite rules or something in the config? as for the CSS styling, read the first post (right above the video), you need to CHMod a few folders[/QUOTE]
You've advised me to chmod them earlier too, they should be just correct. Because of the compress.php/primary stuff, it doesn't seem to work.
There's no really any rewrite rules more than this:
[code]server {
listen 80;
server_name _;
#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;
location / {
root /var/www/nginx;
index index.html index.htm index.php;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
#error_page 500 502 503 504 /50x.html;
#location = /50x.html {
# root /usr/share/nginx/html;
#}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1:8080;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root nginx;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
#fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
#fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /var/www/nginx$fastcgi_script_name;
include fastcgi_params;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}[/code]
[B]EDIT:[/B] Fixed the redirects, but CSS is still missing?
I keep having the same bloody problem:
I type in goldenera.net76.net/wolfdj2
When I enter my user and pass, it redirects me to:
[url]http://goldenera.net76.netml/wolfdj2/login.php[/url]
It then says it cant find this link, obviously because it's chucked a ml in there!
Any ideas?
[QUOTE=nick_9_8;36104229]I keep having the same bloody problem:
I type in goldenera.net76.net/wolfdj2
When I enter my user and pass, it redirects me to:
[url]http://goldenera.net76.netml/wolfdj2/login.php[/url]
It then says it cant find this link, obviously because it's chucked a ml in there!
Any ideas?[/QUOTE]
If you're using nginx, use this config:
[code]server {
listen 80;
server_name _;
#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;
location / {
root /var/www/nginx;
index index.html index.htm index.php;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
#error_page 500 502 503 504 /50x.html;
#location = /50x.html {
# root /usr/share/nginx/html;
#}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1:8080;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /var/www/nginx;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
}
[/code]
Change the locations to what you need.
I'm still having issues with CSS though. Everything else works. Same problem even if all the files would be chmodded to 777.
What's a good place to host PHP?
Sorry, you need to Log In to post a reply to this thread.