Results 1 to 5 of 5
  1. #1
    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
    and when i go to run it i keep getting an error saying...

    /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.

  2. #2
    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.

  3. #3
    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

  4. #4
    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.

  5. #5
    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/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •