SRCDS Steam group


DoD:s client download issues.
#1
Question 
Greetings.

Im running a DoD:s server on a:

Intel Atom 1.6 GHz
4 GB DDR2 800 MHz
Bandwidth 30/30 Mbit
OS: MS Server 2008 32-bit
(the server is on my local network)

Its been two days since the server came up and its running without any major flaws. Until i startet installing plugins. Im having major issues with the plugin : sm_dod_joinserver.smx sourcemode, which is suppose to run a piece of random music (picks a number randomly 1-10) when a client connects to the server.

(link to the plugin)
http://forums.alliedmods.net/showthread.php?p=830401

The plugin is loaded, testet it with the "sm plugins load sm_dod_joinserver" command, reply: already loaded.
The main problem is im getting a error from the client console that says:

Failed to load sound "joinserver\intro4.mp3", file probably missing from disk/repository"

The original .sp file looks like this (the whole file can be found at the link above)

new String:js_add_sounds_name[][] = {
"sound/joinserver/intro1.mp3",
"sound/joinserver/intro2.mp3",
"sound/joinserver/intro3.mp3",
"sound/joinserver/intro4.mp3",
"sound/joinserver/intro5.mp3",
"sound/joinserver/intro6.mp3",
"sound/joinserver/intro7.mp3",
"sound/joinserver/intro8.mp3",
"sound/joinserver/intro9.mp3",
"sound/joinserver/intro10.mp3"
}

new String:js_pre_sounds_name[][] = {
"joinserver/intro1.mp3",
"joinserver/intro2.mp3",
"joinserver/intro3.mp3",
"joinserver/intro4.mp3",
"joinserver/intro5.mp3",
"joinserver/intro6.mp3",
"joinserver/intro7.mp3",
"joinserver/intro8.mp3",
"joinserver/intro9.mp3",
"joinserver/intro10.mp3"
}

This is the one im using now, i have edited to match my own music:

};

new String:js_add_sounds_name[][] = {
"sound/joinserver/pulpfiction.mp3",
"sound/joinserver/wipeout.mp3",
"sound/joinserver/watchtower.mp3",
"sound/joinserver/surfinbird.mp3",
"sound/joinserver/letsgetready.mp3",
"sound/joinserver/mozart.mp3",
"sound/joinserver/nationarmy.mp3",
"sound/joinserver/mysharona.mp3",
"sound/joinserver/highwaytohell.mp3",
"sound/joinserver/eyeoftiger.mp3"
}

new String:js_pre_sounds_name[][] = {
"joinserver/pulpfiction.mp3",
"joinserver/wipeout.mp3",
"joinserver/watchtower.mp3",
"joinserver/surfinbird.mp3",
"joinserver/letsgetready.mp3",
"joinserver/mozart.mp3",
"joinserver/nationarmy.mp3",
"joinserver/mysharona.mp3",
"joinserver/highwaytohell.mp3",
"joinserver/eyeoftiger.mp3"

(the sound files is located in : C:\srcds\orangebox\dod\sound\joinserver)

I dont think its the plugin thats cocking it all up. The funny thing is, even after i have made the changes and configued the .sp file and restarted the server, when the client connects it still shows that it is trying to download the : "sound/joinserver/intro(?).mp3" even tho the changes have been made in the .sp file. But nevertheless, its not working, the client is not reciveing the files from the server even tho its showing the download process. And its not only the joinserver plugin that im haveing problems with. I have a callmedic.smx which runs on the server, the commands itself ingame works, but people can't get the bandage.mp3 so theres no sound when they bandage. So all in all no one can download anything from my server.

Just to be sure that its not another plugin that is causing the problem i took the liberty to post a picture of the loaded plugins:

[Image: capturelq.png]

and the server.cfg:

sv_pure 0
sv_allowdownload 0
mp_allowspectators 1
mp_chattime 0
sv_voiceenable 1
sv_rcon_minfailuretime 1
sv_maxrate 25000
decalfrequency 60
sv_logbans 0
sv_logecho 0
sv_logsdir /srcds/orangebox/Server logs
mp_flashlight 0
sv_turbophysics 1
sv_stopspeed 50
sv_friction 8
sv_password "test"
sv_cheats 1
sv_lan 0
sv_region 3
log "on"
sv_logfile 1
sv_autobalance 0
sv_log_onefile 1
mp_allowrandomclass 1
mp_allowspectators 0
mp_autocrosshair 1
mp_autokick 0
mp_cancelwarmup 1
mp_decals 200
mp_defaultteam 0
mp_falldamage 20
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 1
mp_forcerespawn 1
mp_fraglimit 0
mp_friendlyfire 1
mp_limit_allies_assault 2
mp_limit_allies_mg 1
mp_limit_allies_rifleman -1
mp_limit_allies_rocket 2
mp_limit_allies_sniper 1
mp_limit_allies_support -1
mp_limit_axis_assault 2
mp_limit_axis_mg 1
mp_limit_axis_rifleman -1
mp_limit_axis_rocket 2
mp_limit_axis_sniper 1
mp_limit_axis_support -1
mp_limitteams 3
mp_restartwarmup 1
mp_timelimit 15
mp_warmup_time 0
mp_weaponstay 0
dod_freezecam 1 (disables "killcam")

//medic Plugin
sm_medic_delay 0
sm_medic_enabled 1
sm_medic_freeze_time 0
sm_medic_health 25
sm_medic_yell 5.0
sm_medic_maxhealth 50
sm_medic_kits 3
sm_medic_alpha 50

mapcyclefile "mapcycle.txt"

Im all outta ideas and options, hope theres a "big brain on bratt" around here.

Thank you for your time!

Edit: SPELLCHECK!
Reply
#2
Ok bear with me, this might get abit confusing.

Me and Xp3r7 had a look at the problem (well he had a look) and we found out the .sp wasnt compiled. So i did that for startes, but no luck :/ Then we changes the #define MAXSOUNDS from 10 to 9 in case the script/plugin coulden't handel 2 digits. Then all of a sudden a new error popped up:
[Image: capturenc.png]

The problem was i forgot to change the #define MAXSOUNDS 10 to
#define MAXSOUNDS 9 which caused the "Array" error. I corrected it and its still the same. :/
Now im not even getting the SV_startSound command again.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)