Results 1 to 5 of 5
Thread: starting a dod game server
-
05-24-2005, 05:30 PM #1Web Hosting Master
- Join Date
- Jan 2004
- Location
- UK
- Posts
- 3,207
starting a dod game server
hi peeps,
im trying to run a dod game server. its a hl mod for those who dont know.
ive created a run script to attach to a custom command button in webmin....
#!/bin/sh
screen -r clan101 -X quit
echo Server has been restarted
screen -dmS clan101 ./hlds_run -game dod +ip xxx.xxx.xxx.xxx +maxplayers 12 +exec server.cfg +map dod_anzio
/bin/sh: line 1: ./start: No such file or directory
the file is there i dont see why it aint working.
the tutorial i followed can be found at....
http://gameservernews.com/index.php?showtopic=11
any ideas? im proberly overlooking somthing.
many thanx.
if i key in ./hlds_run -game dod +ip xxx.xxx.xxx.xxx +maxplayers 12 +exec server.cfg +map dod_anzio
in ssh the server starts fine. but I really need it with the button in webmin as using ssh it always closes the server when i exit.
-
05-25-2005, 06:34 AM #2Web Hosting Master
- Join Date
- Jan 2004
- Location
- UK
- Posts
- 3,207
ive got it to start using...
./hlds_run -game dod +ip xxx.xxx.xxx.xxx +maxplayers 12 +exec server.cfg +map dod_anzio
but for some reason it closes when i close ssh window. any ideas.
-
05-25-2005, 06:50 AM #3Web Hosting Evangelist
- Join Date
- Apr 2005
- Posts
- 537
use screen ./hlds_run -game dod +ip xxx.xxx.xxx.xxx +maxplayers 12 +exec server.cfg +map dod_anzio from ssh and then close ssh it should stay running
-
05-25-2005, 01:56 PM #4Junior Guru Wannabe
- Join Date
- May 2005
- Posts
- 67
As far as the error goes... it probably is not finding the proper path for the start script. Make sure that when you setup the custom button, you have the "Run in directory" option filled out properly. Also, make sure your script that you created is called start.
-
05-25-2005, 04:17 PM #5Web Hosting Master
- Join Date
- Jul 2002
- Posts
- 1,443
./hlds_run -game dod +ip xxx.xxx.xxx.xxx +maxplayers 12 +exec server.cfg +map dod_anzio &
crtl + c
it should make it a background process. To kill simply
ps -aux | grep hlds_run
and kill the processes, there should be 2 processes per gameserver.Synergy Blue LLC
SonataWeb.net | SynergyBlue.com
USA should so something about: http://www.brillig.com/debt_clock/