Browse Source

Added Max players variables to the source scripts

pull/34/head
Daniel Gibbs 11 years ago
parent
commit
38d1f8d6e3
  1. 13
      CounterStrike/csserver
  2. 3
      CounterStrikeGlobalOffensive/csgoserver
  3. 3
      CounterStrikeSource/cssserver
  4. 3
      DayOfDefeatSource/dodsserver
  5. 3
      HalfLife2Deathmatch/hl2dmserver
  6. 3
      Left4Dead2/l4d2server
  7. 3
      NoMoreRoomInHell/nmrihserver
  8. 3
      TeamFortress2/tf2server
  9. 3
      TheHiddenSource/thsserver

13
CounterStrike/csserver

@ -16,7 +16,8 @@ email="[email protected]"
defaultmap="de_aztec"
port="27015"
clientport="27005"
parms="-game cstrike +map ${defaultmap} -strictportbind -port ${port} +clientport ${clientport}"
maxplayers="16"
parms="-game cstrike +map ${defaultmap} -strictportbind -port ${port} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####
@ -570,8 +571,12 @@ echo "================================="
sleep 1
echo ""
echo "Creating server.cfg"
<<<<<<< HEAD
touch ${filesdir}/cstrike/cfg/server.cfg
echo "exec ${servicename}.cfg" > ${filesdir}/cstrike/cfg/server.cfg
=======
echo "exec ${servicename}.cfg" >> ${filesdir}/cstrike/server.cfg
>>>>>>> a46f23fd4b86e3ec69a9db2cb61c76f4977a8678
sleep 1
echo "Creating default config file:"
sleep 0.5
@ -634,9 +639,9 @@ echo "================================="
sleep 1
echo ""
echo "Applying steamclient.so fix"
mkdir -v ${rootdir}/.steam
mkdir -v ${rootdir}/.steam/sdk32
cp -v ${filesdir}/steamclient.so ${rootdir}/.steam/sdk32/steamclient.so
mkdir -v ${HOME}/.steam
mkdir -v ${HOME}/.steam/sdk32
cp -v ${filesdir}/steamclient.so ${HOME}/.steam/sdk32/steamclient.so
sleep 1
fn_header
fn_details

3
CounterStrikeGlobalOffensive/csgoserver

@ -17,7 +17,8 @@ defaultmap="de_dust"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game csgo +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game csgo +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
CounterStrikeSource/cssserver

@ -17,7 +17,8 @@ defaultmap="de_dust"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game cstrike +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game cstrike +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
DayOfDefeatSource/dodsserver

@ -17,7 +17,8 @@ defaultmap="dod_Anzio"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game dod +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game dod +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
HalfLife2Deathmatch/hl2dmserver

@ -17,7 +17,8 @@ defaultmap="dm_lockdown"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game hl2mp +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game hl2mp +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
Left4Dead2/l4d2server

@ -17,7 +17,8 @@ defaultmap="c5m1_waterfront"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game left4dead2 +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game left4dead2 +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
NoMoreRoomInHell/nmrihserver

@ -21,7 +21,8 @@ defaultmap="nmo_broadway"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="+map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="+map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
TeamFortress2/tf2server

@ -17,7 +17,8 @@ defaultmap="ctf_2fort"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game tf +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game tf +map ${defaultmap} -strictportbind -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

3
TheHiddenSource/thsserver

@ -18,7 +18,8 @@ defaultmap="hdn_docks"
port="27015"
sourcetvport="27020"
clientport="27005"
parms="-game hidden +map ${defaultmap} -port ${port} +tv_port ${sourcetvport} +clientport ${clientport}"
maxplayers="16"
parms="-game hidden +map ${defaultmap} -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
#### Advanced Variables ####

Loading…
Cancel
Save