Skip to content

Commit

Permalink
Cleaning up the readme
Browse files Browse the repository at this point in the history
Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>
  • Loading branch information
hettoo committed Oct 19, 2012
1 parent c1949c0 commit 1937122
Showing 1 changed file with 4 additions and 29 deletions.
33 changes: 4 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,27 @@ Use `make productionloop` to repeat running the server, so that it will restart
when it is shutdown or it crashes. Note that this disables input from the
console (you can use rcon and the builtin administration system though).

If you want multiple servers running on the same machine, you could put a script
like this in your home directory:
You can run multiple servers on the same machine like this:

```sh
cd hgungame/
make productionloop GT=hgg_ffa PORT=44400 NAME='hGunGame FFA Server' &
make productionloop GT=hgg_ca PORT=44401 NAME='hGunGame CA Server' &
```

Note that it assumes hGunGame is cloned into the hgungame/ folder in your home
directory. This will repeatedly run two servers (one for FFA and one for CA) in
the background. If you have access to the root account on your server and you
named the above script `server.sh`, you can now insert the following into your
`/etc/rc.local` script:

```sh
su username -c 'cd; sh server.sh'
```

And it will be run every time after a reboot.
This will keep two servers (one for FFA and one for CA) running in the
background.

I would recommend a `basewsw/dedicated_autoexec.cfg` that looks something like
this:

```
set sv_public 1
set sv_uploads 1
set sv_uploads_from_server 0
set sv_uploads_baseurl "http://warsow-esport.net/~warsow05/mirror/"
set sv_maxclients 24
set sv_pure 0
set rcon_password ""
set g_operator_password ""
set sv_skilllevel 0
set g_numbots 0
set sv_defaultmap "wdm2"
set sv_maxclients 20
set g_disable_vote_gametype 1
set g_disable_vote_challengers_queue 1
set g_disable_vote_allow_falldamage 1
set g_disable_vote_allow_selfdamage 1
set g_disable_vote_allow_teamdamage 1
set g_disable_vote_allow_uneven 1
set g_disable_vote_instashield 1
set g_disable_vote_instajump 1
set g_disable_vote_maxteamplayers 1
Expand Down

0 comments on commit 1937122

Please sign in to comment.