Difference between revisions of "Game:OpenArena/Admin"

From TuxFamilyFAQ
Jump to navigationJump to search
(add chpax)
 
(9 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
*see [[{{BASEPAGENAME}}/En|game page]]
 
*see [[{{BASEPAGENAME}}/En|game page]]
 
*upstream documentation
 
*upstream documentation
*upstream ML/follow-up of developments and announcements
+
*upstream ML/follow-up of developments and announcements : http://openarena.ws & IRC irc.anynet.org #openarena
 
*Name of Game [[http://openarena.ws/ Official Site]] - [[http://dpmaster.deathmask.net/?game=openarena active servers]]
 
*Name of Game [[http://openarena.ws/ Official Site]] - [[http://dpmaster.deathmask.net/?game=openarena active servers]]
  
Line 16: Line 16:
 
*create $HOME/games/admin_oa/ and put starting scripts (stop is done by killing process)
 
*create $HOME/games/admin_oa/ and put starting scripts (stop is done by killing process)
 
*if using grsec, see http://forums.grsecurity.net/viewtopic.php?p=2568 use chpax do this to disable pax noexec protection on quake 3: chpax -sp /home/games/quake3/q3ded
 
*if using grsec, see http://forums.grsecurity.net/viewtopic.php?p=2568 use chpax do this to disable pax noexec protection on quake 3: chpax -sp /home/games/quake3/q3ded
 +
*verify that there is no q3config.cfg file (it overrides values in specific config files)
  
 
=Configuration=
 
=Configuration=
Line 25: Line 26:
 
add bots to one game at least so that people are not alone
 
add bots to one game at least so that people are not alone
 
  seta bot_enable "1"
 
  seta bot_enable "1"
  addbot sarge 2
+
  seta bot_minplayers 4
  addbot gargoyle 2
+
// to add some bots at will, you can do the following:
 +
//addbot sarge 2
 +
  //addbot gargoyle 2
 +
 
 +
FYI, the following outgoing UDP ports should be unblocked to play OpenArena:
 +
27950 -- Master server
 +
27960 - 27981 -- Most OpenArena servers
 +
10000 - 10040 -- Another small cluster of servers
 +
27999, 15224, 21000, 62505 -- Other servers not on the standard ports
  
 
=start / stop / status / logs=
 
=start / stop / status / logs=
 +
launch screen (yes the command) before starting each server
 +
*cd $HOME/games/admin_oa ; ./start_openarena_deathmatch2.sh
 +
*cd $HOME/games/admin_oa ; ./start_openarena_deathmatch.sh
 +
 +
*status with ps auxww
 +
 +
* logs are in $HOME/.openarena/baseoa/games.log (should be different...)
 +
 +
* todo:
 +
**count number of players to be displayed at http://games.tuxfamily.net
 +
**supervision script that detects when a server is down and tries to relaunch it once (and sends a mail once done), sends a mail when relaunch failed (keep a file with status)
  
 
=Names of admin for this game=
 
=Names of admin for this game=
*contact: baud123 @ irc.tuxfamily.org #tuxfamily
+
contact:  
 +
* baud123 @ irc.tuxfamily.org #tuxfamily
 +
* cacatoes @ irc.tuxfamily.org #tuxfamily and irc.anynet.org  #openarena
  
 
=Documentations / links =
 
=Documentations / links =
 
*[[http://games.tuxfamily.net/ Play @ Tuxfamily]]
 
*[[http://games.tuxfamily.net/ Play @ Tuxfamily]]
 
*[[http://gameadmins.com/modules.php?name=Sections&op=listarticles&secid=1 documentation for configuration of quake III]]
 
*[[http://gameadmins.com/modules.php?name=Sections&op=listarticles&secid=1 documentation for configuration of quake III]]
 +
 +
= Current configuration =
 +
Only Death Match is available as server oa0.7.7 Games.TuxFamily.net in ~/.openarena/baseoa/configtf077.cfg
 +
(only free maps taken into account for this pure server, as we promote free software and [[CommunicationLibreGame/En|libre games]])
 +
seta net_ip "213.161.195.149"
 +
seta net_port 27977
 +
set sv_hostname "oa0.7.7 DM Games.TuxFamily.org"
 +
set sv_maxclients 12
 +
set g_motd "Welcome at http://games.tuxfamily.org enjoy!"
 +
set g_forcerespawn 15
 +
set rconpassword "eheheh :)"
 +
set fraglimit 40
 +
set timelimit 20
 +
set sv_allowDownload 1
 +
 +
//Here's the map-cycle. When fraglimit or timelimit is reached, the map is automatically changed.
 +
//Otherwise it would just play the same map again.
 +
// dir map shows (keeping only files with extension .bsp):
 +
 +
// without CTF maps
 +
set m1 "map aggressor; set nextmap vstr m2"
 +
set m2 "map ce1m7; set nextmap vstr m3"
 +
set m3 "map czest1dm; set nextmap vstr m4"
 +
set m4 "map czest1tourney; set nextmap vstr m5"
 +
set m5 "map delta; set nextmap vstr m6"
 +
set m6 "map dm4ish; set nextmap vstr m7"
 +
set m7 "map dm6ish; set nextmap vstr m8"
 +
set m8 "map fan; set nextmap vstr m9"
 +
set m9 "map hydronex; set nextmap vstr m10"
 +
set m10 "map islanddm; set nextmap vstr m11"
 +
set m11 "map kaos; set nextmap vstr m12"
 +
set m12 "map kaos2; set nextmap vstr m13"
 +
set m13 "map oasago2; set nextmap vstr m14"
 +
set m14 "map oa_bases3; set nextmap vstr m17"
 +
//set m15 "map oa_bases3plus3; set nextmap vstr m17"
 +
//set m16 "map oa_bases5; set next map vstr m17"
 +
set m17 "map oa_dm1; set nextmap vstr m18"
 +
set m18 "map oa_dm2; set nextmap vstr m19"
 +
set m19 "map oa_dm3; set nextmap vstr m20"
 +
set m20 "map oa_dm4; set nextmap vstr m21"
 +
set m21 "map oa_dm5; set nextmap vstr m22"
 +
set m22 "map oa_dm6; set nextmap vstr m23"
 +
set m23 "map oa_dm7; set nextmap vstr m24"
 +
set m24 "map oa_koth1; set nextmap vstr m25"
 +
set m25 "map oa_minia; set nextmap vstr m26"
 +
set m26 "map oa_pvomit; set nextmap vstr m27"
 +
set m27 "map oa_rpg3dm2; set nextmap vstr m28"
 +
set m28 "map oa_shine; set nextmap vstr m29"
 +
set m29 "map oa_shouse; set nextmap vstr m30"
 +
set m30 "map oa_spirit3; set nextmap vstr m31"
 +
set m31 "map q3dm6ish; set nextmap vstr m32"
 +
set m32 "map sleekgrinder; set nextmap vstr m33"
 +
set m33 "map slimefac; set nextmap vstr m34"
 +
set m34 "map suspended; set nextmap vstr m35"
 +
set m35 "map wrackdm17; set nextmap vstr m1"
 +
 +
//CTF maps
 +
//set m1 "map cbctf1.aas; set nextmap vstr m2"
 +
//set m2 "map ctf_compromise.aas; set nextmap vstr m3"
 +
//set m3 "map ctf_inyard.aas; set nextmap vstr m4"
 +
//set m4 "map czest2ctf.aas; set nextmap vstr m5"
 +
//set m5 "map czest3ctf.aas; set nextmap vstr m6"
 +
//set m6 "map oa_ctf2.aas; set nextmap vstr m7"
 +
//set m7 "map oa_ctf2old.aas; set nextmap vstr m8"
 +
//set m8 "map oa_ctf4ish.aas; set nextmap vstr m9"
 +
//set m9 "map cbctf1; set nextmap vstr m10"
 +
//set m10 "map ctf_compromise; set nextmap vstr m11"
 +
//set m11 "map ctf_inyard; set nextmap vstr m12"
 +
//set m12 "map czest2ctf; set nextmap vstr m13"
 +
//set m13 "map czest3ctf; set nextmap vstr m14"
 +
//set m14 "map islandctf; set nextmap vstr m15"
 +
//set m15 "map oa_ctf2; set nextmap vstr m16"
 +
//set m16 "map oa_ctf2old; set nextmap vstr m17"
 +
//set m17 "map oa_ctf4ish; set nextmap vstr m18"
 +
 +
 +
//set m1 "map aggressor; set nextmap vstr m2"
 +
//set m2 "map ce1m7; set nextmap vstr m3"
 +
//set m3 "map dm4ish; set nextmap vstr m4"
 +
//set m4 "map dm6ish; set nextmap vstr m5"
 +
//set m5 "map kaos; set nextmap vstr m6"
 +
//set m6 "map oa_rpg3dm2; set nextmap vstr m7"
 +
//set m7 "map q3dm6ish; set nextmap vstr m1"
 +
 +
// begin game DM (deathmatch)
 +
// g_gametype - Gametype. 1 = DM, 2 = Tourney (1on1), 3 = Team DM, 4 = CTF.
 +
set g_gametype 2
 +
//map aggressor
 +
vstr m22
 +
seta bot_enable "1"
 +
seta bot_minplayers 4
 +
 +
Launch with
 +
* cd ~/games/openarena-0.7.7
 +
* screen -R oa077
 +
* ./start_openarena_deathmatch.sh # which basically
 +
** rotates previous log
 +
** ./oa_ded.x86_64 +set dedicated 2  +exec configtf077.cfg
 +
** relaunch on kill (to do when it begins to eat all CPU or get stuck for any - generally unknown - reason

Latest revision as of 20:02, 5 December 2008



Admin Game:OpenArena/En


Description

Installation

  • Use your package management application (rpmdrake/urpmi, smart, apt, emerge, yum, ...) for GNU/Linux
  • Download the full-game version [loki installer for linux], use bittorrent (with azureus) to download it.
  • create $HOME/games/openarena/ and tar zxvf ../oa060.tar.gz
  • create $HOME/.openarena/baseoa/ and add config files
  • create $HOME/games/admin_oa/ and put starting scripts (stop is done by killing process)
  • if using grsec, see http://forums.grsecurity.net/viewtopic.php?p=2568 use chpax do this to disable pax noexec protection on quake 3: chpax -sp /home/games/quake3/q3ded
  • verify that there is no q3config.cfg file (it overrides values in specific config files)

Configuration

  • directory for configuration files: $HOME/.openarena/baseoa/
  • configuration file (example at least): configtf.cfg
  • port(s) used: 27970 27980
  • name of server: games.tuxfamily.org

add bots to one game at least so that people are not alone

seta bot_enable "1"
seta bot_minplayers 4
// to add some bots at will, you can do the following:
//addbot sarge 2
//addbot gargoyle 2

FYI, the following outgoing UDP ports should be unblocked to play OpenArena:

27950 -- Master server 
27960 - 27981 -- Most OpenArena servers
10000 - 10040 -- Another small cluster of servers
27999, 15224, 21000, 62505 -- Other servers not on the standard ports

start / stop / status / logs

launch screen (yes the command) before starting each server

  • cd $HOME/games/admin_oa ; ./start_openarena_deathmatch2.sh
  • cd $HOME/games/admin_oa ; ./start_openarena_deathmatch.sh
  • status with ps auxww
  • logs are in $HOME/.openarena/baseoa/games.log (should be different...)
  • todo:
    • count number of players to be displayed at http://games.tuxfamily.net
    • supervision script that detects when a server is down and tries to relaunch it once (and sends a mail once done), sends a mail when relaunch failed (keep a file with status)

Names of admin for this game

contact:

  • baud123 @ irc.tuxfamily.org #tuxfamily
  • cacatoes @ irc.tuxfamily.org #tuxfamily and irc.anynet.org #openarena

Documentations / links

Current configuration

Only Death Match is available as server oa0.7.7 Games.TuxFamily.net in ~/.openarena/baseoa/configtf077.cfg (only free maps taken into account for this pure server, as we promote free software and libre games)

seta net_ip "213.161.195.149"
seta net_port 27977
set sv_hostname "oa0.7.7 DM Games.TuxFamily.org"
set sv_maxclients 12
set g_motd "Welcome at http://games.tuxfamily.org enjoy!"
set g_forcerespawn 15
set rconpassword "eheheh :)"
set fraglimit 40
set timelimit 20
set sv_allowDownload 1
//Here's the map-cycle. When fraglimit or timelimit is reached, the map is automatically changed.
//Otherwise it would just play the same map again.
// dir map shows (keeping only files with extension .bsp):
// without CTF maps
set m1 "map aggressor; set nextmap vstr m2"
set m2 "map ce1m7; set nextmap vstr m3"
set m3 "map czest1dm; set nextmap vstr m4"
set m4 "map czest1tourney; set nextmap vstr m5"
set m5 "map delta; set nextmap vstr m6"
set m6 "map dm4ish; set nextmap vstr m7"
set m7 "map dm6ish; set nextmap vstr m8"
set m8 "map fan; set nextmap vstr m9"
set m9 "map hydronex; set nextmap vstr m10"
set m10 "map islanddm; set nextmap vstr m11"
set m11 "map kaos; set nextmap vstr m12"
set m12 "map kaos2; set nextmap vstr m13"
set m13 "map oasago2; set nextmap vstr m14"
set m14 "map oa_bases3; set nextmap vstr m17"
//set m15 "map oa_bases3plus3; set nextmap vstr m17"
//set m16 "map oa_bases5; set next map vstr m17"
set m17 "map oa_dm1; set nextmap vstr m18"
set m18 "map oa_dm2; set nextmap vstr m19"
set m19 "map oa_dm3; set nextmap vstr m20"
set m20 "map oa_dm4; set nextmap vstr m21"
set m21 "map oa_dm5; set nextmap vstr m22"
set m22 "map oa_dm6; set nextmap vstr m23"
set m23 "map oa_dm7; set nextmap vstr m24"
set m24 "map oa_koth1; set nextmap vstr m25"
set m25 "map oa_minia; set nextmap vstr m26"
set m26 "map oa_pvomit; set nextmap vstr m27"
set m27 "map oa_rpg3dm2; set nextmap vstr m28"
set m28 "map oa_shine; set nextmap vstr m29"
set m29 "map oa_shouse; set nextmap vstr m30"
set m30 "map oa_spirit3; set nextmap vstr m31"
set m31 "map q3dm6ish; set nextmap vstr m32"
set m32 "map sleekgrinder; set nextmap vstr m33"
set m33 "map slimefac; set nextmap vstr m34"
set m34 "map suspended; set nextmap vstr m35"
set m35 "map wrackdm17; set nextmap vstr m1"
//CTF maps
//set m1 "map cbctf1.aas; set nextmap vstr m2"
//set m2 "map ctf_compromise.aas; set nextmap vstr m3"
//set m3 "map ctf_inyard.aas; set nextmap vstr m4"
//set m4 "map czest2ctf.aas; set nextmap vstr m5"
//set m5 "map czest3ctf.aas; set nextmap vstr m6"
//set m6 "map oa_ctf2.aas; set nextmap vstr m7"
//set m7 "map oa_ctf2old.aas; set nextmap vstr m8"
//set m8 "map oa_ctf4ish.aas; set nextmap vstr m9"
//set m9 "map cbctf1; set nextmap vstr m10"
//set m10 "map ctf_compromise; set nextmap vstr m11"
//set m11 "map ctf_inyard; set nextmap vstr m12"
//set m12 "map czest2ctf; set nextmap vstr m13"
//set m13 "map czest3ctf; set nextmap vstr m14"
//set m14 "map islandctf; set nextmap vstr m15"
//set m15 "map oa_ctf2; set nextmap vstr m16"
//set m16 "map oa_ctf2old; set nextmap vstr m17"
//set m17 "map oa_ctf4ish; set nextmap vstr m18"


//set m1 "map aggressor; set nextmap vstr m2"
//set m2 "map ce1m7; set nextmap vstr m3"
//set m3 "map dm4ish; set nextmap vstr m4"
//set m4 "map dm6ish; set nextmap vstr m5"
//set m5 "map kaos; set nextmap vstr m6"
//set m6 "map oa_rpg3dm2; set nextmap vstr m7"
//set m7 "map q3dm6ish; set nextmap vstr m1"
// begin game DM (deathmatch)
// g_gametype - Gametype. 1 = DM, 2 = Tourney (1on1), 3 = Team DM, 4 = CTF.
set g_gametype 2
//map aggressor
vstr m22
seta bot_enable "1"
seta bot_minplayers 4

Launch with

  • cd ~/games/openarena-0.7.7
  • screen -R oa077
  • ./start_openarena_deathmatch.sh # which basically
    • rotates previous log
    • ./oa_ded.x86_64 +set dedicated 2 +exec configtf077.cfg
    • relaunch on kill (to do when it begins to eat all CPU or get stuck for any - generally unknown - reason