Browse Source

configs and stuff

Paul Klumpp 12 years ago
commit
892a74c57a

+ 35 - 0
q2compile/get_git_repos.sh

@@ -0,0 +1,35 @@
+#!/usr/bin/env bash
+
+cwd=$(pwd)
+
+cd $cwd
+
+
+repo[1]="aq2-tng"
+url[1]="https://github.com/hifi/aq2-tng.git"
+
+repo[2]="q2admin"
+url[2]="https://github.com/hifi/q2admin.git"
+
+repo[3]="q2a_mvd"
+url[3]="git://b4r.org/q2a_mvd"
+
+repo[4]="gs_starter"
+url[4]="git://b4r.org/gs_starter"
+
+repo[5]="q2pro"
+url[5]="http://git.skuller.net/q2pro"
+
+for idx in ${!repo[*]}; do
+	echo
+	echo "$idx: ${repo[$idx]} from ${url[$idx]}"
+	if [ ! -d "${repo[$idx]}" ]; then
+		git clone ${url[$idx]}
+	else
+		cd $cwd/${repo[$idx]} 
+		git pull
+		cd ..
+	fi
+	echo
+done
+

+ 144 - 0
q2srv/action/aq2_1.cfg

@@ -0,0 +1,144 @@
+//-----------------------------------------------------------------------------
+// AQ2:TNG Main Config File aq2_1.cfg
+//
+// created: 2001-06-20, 10:35:21
+// with the AQ2:TNG config generator at http://www.FIXME.com
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// General Settings
+//-----------------------------------------------------------------------------
+set hostname "Change Me #1 - teamplay"
+sets _admin "change_me #channame irc.quakenet.org, mail@mailme.org"
+
+exec h_master.cfg
+exec h_passwords.cfg
+
+set skipmotd 0
+set motd_time 5
+set ppl_idletime 10
+set check_time 5
+set radiolog 0
+
+set logfile 1
+set logfile_name qconsole_1.log
+
+set use_voice 1
+set use_ghosts 1
+set sv_crlf 0
+
+//-----------------------------------------------------------------------------
+// Advanced Server CVars (q2proded, r1q2ded)
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// Maprotation
+//-----------------------------------------------------------------------------
+set actionmaps 1
+set rrot 0
+set vrot 0
+
+//-----------------------------------------------------------------------------
+// Lag related settings
+//-----------------------------------------------------------------------------
+set llsound 0
+set bholelimit 0
+set splatlimit 0
+set shelloff 1
+set sv_gib 1
+set breakableglass 0
+set glassfragmentlimit 0
+
+//-----------------------------------------------------------------------------
+// Voting
+//-----------------------------------------------------------------------------
+set use_cvote 1
+set cvote_min 3
+set cvote_need 49
+set cvote_pass 65
+set configlistname configlist_public.ini
+set use_mapvote 1
+set mapvote_min 2
+set mapvote_need 66
+set mapvote_pass 50
+set mapvote_waittime 8
+set mv_public 1
+set use_kickvote 1
+set kickvote_min 2
+set kickvote_need 32
+set kickvote_pass 29
+set kickvote_tempban 1
+set vk_public 1
+set kv_public 1
+
+//-----------------------------------------------------------------------------
+// Flood Protection
+//-----------------------------------------------------------------------------
+set flood_msgs 4
+set flood_persecond 4
+set flood_waitdelay 10
+// Radio and Voice Flood Protection
+set radio_repeat "3"
+set radio_ban "15"
+set radio_time "2"
+set radio_max "4"
+
+// Control Chars allowed?
+set sv_crlf "1"
+
+//-----------------------------------------------------------------------------
+// Teamkill Parameters
+//-----------------------------------------------------------------------------
+set maxteamkills 3
+set tkbanrounds 0
+set twbanrounds 0
+set ff_afterround "1"
+
+//-----------------------------------------------------------------------------
+// Download Allows
+//-----------------------------------------------------------------------------
+set allow_download "1"
+set allow_download_skins "1"
+set allow_download_players "1"
+set allow_download_pics "1"
+set allow_download_sounds "0"
+
+//-----------------------------------------------------------------------------
+// Video Checking
+//-----------------------------------------------------------------------------
+set video_check "1"
+set video_force_restart "0"
+set video_check_lockpvs "1"
+set video_check_glclear "1"
+set video_check_gldynamic "0"
+set video_checktime "35"
+set video_max_3dfx "3.5"
+set video_max_3dfxam "3.5"
+set video_max_opengl "7.0"
+
+//-----------------------------------------------------------------------------
+// IRC Settings
+//-----------------------------------------------------------------------------
+set ircbot 0
+
+set ircuser "QuAd|LRlive1"
+set ircop "PRIVMSG QuAd|Haudrauf :Hi Haui, I'm here"
+
+set ircchannel "#quad.live"
+set ircpasswd ""
+set ircadminpwd "4llt1me"
+set ircdebug 0
+
+set ircserver "irc.quakenet.org"
+set ircport 6667
+set irctopic "Quadaver - Last Resort 1 - Match:"
+set ircmlevel 6
+
+
+//-----------------------------------------------------------------------------
+// Config End
+//-----------------------------------------------------------------------------
+
+exec mode_public.cfg
+
+exec h_svinfos.cfg

+ 146 - 0
q2srv/action/aq2_2.cfg

@@ -0,0 +1,146 @@
+//-----------------------------------------------------------------------------
+// AQ2:TNG Main Config File aq2_1.cfg
+//
+// created: 2001-06-20, 10:35:21
+// with the AQ2:TNG config generator at http://www.FIXME.com
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// General Settings
+//-----------------------------------------------------------------------------
+set hostname "Change Me #2 - match 1"
+sets _admin "change_me #channame irc.quakenet.org, mail@mailme.org"
+
+exec h_master.cfg
+exec h_passwords.cfg
+
+set skipmotd 0
+set motd_time 5
+set ppl_idletime 10
+set check_time 5
+set radiolog 0
+
+set logfile 1
+set logfile_name qconsole_2.log
+
+set use_voice 1
+set use_ghosts 1
+set sv_crlf 0
+
+
+//-----------------------------------------------------------------------------
+// Advanced Server CVars (q2proded, r1q2ded)
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// Maprotation
+//-----------------------------------------------------------------------------
+set actionmaps 1
+set rrot 0
+set vrot 0
+
+//-----------------------------------------------------------------------------
+// Lag related settings
+//-----------------------------------------------------------------------------
+set llsound 0
+set bholelimit 0
+set splatlimit 0
+set shelloff 1
+set sv_gib 1
+set breakableglass 0
+set glassfragmentlimit 0
+
+//-----------------------------------------------------------------------------
+// Voting
+//-----------------------------------------------------------------------------
+set use_cvote 1
+set cvote_min 3
+set cvote_need 49
+set cvote_pass 65
+set configlistname configlist_cw.ini
+set use_mapvote 1
+set mapvote_min 2
+set mapvote_need 66
+set mapvote_pass 50
+set mapvote_waittime 8
+set mv_public 1
+set use_kickvote 1
+set kickvote_min 2
+set kickvote_need 32
+set kickvote_pass 29
+set kickvote_tempban 1
+set vk_public 1
+set kv_public 1
+
+//-----------------------------------------------------------------------------
+// Flood Protection
+//-----------------------------------------------------------------------------
+set flood_msgs 4
+set flood_persecond 4
+set flood_waitdelay 10
+// Radio and Voice Flood Protection
+set radio_repeat "3"
+set radio_ban "15"
+set radio_time "2"
+set radio_max "4"
+
+// Control Chars allowed?
+set sv_crlf "1"
+
+//-----------------------------------------------------------------------------
+// Teamkill Parameters
+//-----------------------------------------------------------------------------
+set maxteamkills 3
+set tkbanrounds 0
+set twbanrounds 0
+set ff_afterround "1"
+
+//-----------------------------------------------------------------------------
+// Download Allows
+//-----------------------------------------------------------------------------
+set allow_download "1"
+set allow_download_skins "1"
+set allow_download_players "1"
+set allow_download_pics "1"
+set allow_download_sounds "0"
+
+//-----------------------------------------------------------------------------
+// Video Checking
+//-----------------------------------------------------------------------------
+set video_check "1"
+set video_force_restart "0"
+set video_check_lockpvs "1"
+set video_check_glclear "1"
+set video_check_gldynamic "0"
+set video_checktime "35"
+set video_max_3dfx "3.5"
+set video_max_3dfxam "3.5"
+set video_max_opengl "7.0"
+
+//-----------------------------------------------------------------------------
+// IRC Settings
+//-----------------------------------------------------------------------------
+set ircbot 0
+
+set ircuser "QuAd|LRlive1"
+set ircop "PRIVMSG QuAd|Haudrauf :Hi Haui, I'm here"
+
+set ircchannel "#quad.live"
+set ircpasswd ""
+set ircadminpwd "4llt1me"
+set ircdebug 0
+
+set ircserver "irc.quakenet.org"
+set ircport 6667
+set irctopic "Quadaver - Last Resort 1 - Match:"
+set ircmlevel 6
+
+
+//-----------------------------------------------------------------------------
+// Config End
+//-----------------------------------------------------------------------------
+
+exec mode_clanwar.cfg
+
+
+exec h_svinfos.cfg

+ 145 - 0
q2srv/action/aq2_3.cfg

@@ -0,0 +1,145 @@
+//-----------------------------------------------------------------------------
+// AQ2:TNG Main Config File aq2_1.cfg
+//
+// created: 2001-06-20, 10:35:21
+// with the AQ2:TNG config generator at http://www.FIXME.com
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// General Settings
+//-----------------------------------------------------------------------------
+set hostname "Change Me #3 - match 2"
+sets _admin "change_me #channame irc.quakenet.org, mail@mailme.org"
+
+exec h_master.cfg
+exec h_passwords.cfg
+
+set skipmotd 0
+set motd_time 5
+set ppl_idletime 10
+set check_time 5
+set radiolog 0
+
+set logfile 1
+set logfile_name qconsole_3.log
+
+set use_voice 1
+set use_ghosts 1
+set sv_crlf 0
+
+//-----------------------------------------------------------------------------
+// Advanced Server CVars (q2proded, r1q2ded)
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// Maprotation
+//-----------------------------------------------------------------------------
+set actionmaps 1
+set rrot 0
+set vrot 0
+
+//-----------------------------------------------------------------------------
+// Lag related settings
+//-----------------------------------------------------------------------------
+set llsound 0
+set bholelimit 0
+set splatlimit 0
+set shelloff 1
+set sv_gib 1
+set breakableglass 0
+set glassfragmentlimit 0
+
+//-----------------------------------------------------------------------------
+// Voting
+//-----------------------------------------------------------------------------
+set use_cvote 1
+set cvote_min 3
+set cvote_need 49
+set cvote_pass 65
+set configlistname configlist_cw.ini
+set use_mapvote 1
+set mapvote_min 2
+set mapvote_need 66
+set mapvote_pass 50
+set mapvote_waittime 8
+set mv_public 1
+set use_kickvote 1
+set kickvote_min 2
+set kickvote_need 32
+set kickvote_pass 29
+set kickvote_tempban 1
+set vk_public 1
+set kv_public 1
+
+//-----------------------------------------------------------------------------
+// Flood Protection
+//-----------------------------------------------------------------------------
+set flood_msgs 4
+set flood_persecond 4
+set flood_waitdelay 10
+// Radio and Voice Flood Protection
+set radio_repeat "3"
+set radio_ban "15"
+set radio_time "2"
+set radio_max "4"
+
+// Control Chars allowed?
+set sv_crlf "1"
+
+//-----------------------------------------------------------------------------
+// Teamkill Parameters
+//-----------------------------------------------------------------------------
+set maxteamkills 3
+set tkbanrounds 0
+set twbanrounds 0
+set ff_afterround "1"
+
+//-----------------------------------------------------------------------------
+// Download Allows
+//-----------------------------------------------------------------------------
+set allow_download "1"
+set allow_download_skins "1"
+set allow_download_players "1"
+set allow_download_pics "1"
+set allow_download_sounds "0"
+
+//-----------------------------------------------------------------------------
+// Video Checking
+//-----------------------------------------------------------------------------
+set video_check "1"
+set video_force_restart "0"
+set video_check_lockpvs "1"
+set video_check_glclear "1"
+set video_check_gldynamic "0"
+set video_checktime "35"
+set video_max_3dfx "3.5"
+set video_max_3dfxam "3.5"
+set video_max_opengl "7.0"
+
+//-----------------------------------------------------------------------------
+// IRC Settings
+//-----------------------------------------------------------------------------
+set ircbot 0
+
+set ircuser "QuAd|LRlive1"
+set ircop "PRIVMSG QuAd|Haudrauf :Hi Haui, I'm here"
+
+set ircchannel "#quad.live"
+set ircpasswd ""
+set ircadminpwd "4llt1me"
+set ircdebug 0
+
+set ircserver "irc.quakenet.org"
+set ircport 6667
+set irctopic "Quadaver - Last Resort 1 - Match:"
+set ircmlevel 6
+
+
+//-----------------------------------------------------------------------------
+// Config End
+//-----------------------------------------------------------------------------
+
+exec mode_clanwar.cfg
+
+
+exec h_svinfos.cfg

+ 62 - 0
q2srv/action/config/clanwar.ini

@@ -0,0 +1,62 @@
+// Anything below maplist and above the # signs will be loaded into Action Quake2's map rotation
+// set Actionmaps 1 to enable rotation
+// This file must be called action.ini and be in your quake2\action directory.
+
+[team1]
+Employees
+male/ctf_r
+###
+[team2]
+Employers
+male/ctf_b
+###
+[team3]
+Team #3
+male/nut
+###
+
+//INSERT CHOSEN MAPNAMES BELOW
+[maplist]
+actcity2
+actcity3
+aggression
+armyterr
+asylum
+beer
+blockwar
+border
+bronx
+bxtrain2
+city
+citygate
+cliff2
+cloud
+colt
+ctbcity
+golgotha
+jungle1
+kumanru
+lighthouse
+lumber
+mgibcity
+murder
+museum
+nobeer
+riot
+ruins3
+soho
+sludge1
+slumcity
+subway
+subway2
+teamjungle
+temple
+tequila
+tokyo
+urban
+urban2
+urban3
+urban4
+winter
+###
+

+ 1 - 0
q2srv/action/config/maplist.bsp.current

@@ -0,0 +1 @@
+cloud

+ 1 - 0
q2srv/action/config/maplist.ini

@@ -0,0 +1 @@
+cloud

+ 166 - 0
q2srv/action/config/maplist.ini-votes

@@ -0,0 +1,166 @@
+6429
+187city,4
+2040rb,2
+2am,0
+666mines,8
+6floor,21
+actcity,0
+actcity2,38
+actcity3,20
+actdam,0
+aggression,16
+airport,43
+apbase,3
+aq2soccer,0
+aq2soccer2,2
+aqnitro,82
+arcadia,4
+armyterr,16
+asylum,7
+base01,2
+bases2,1
+basev28,2
+beachassault,17
+beer,70
+bldg17,3
+blockwar,2
+blood,2
+bomba2,1
+border,17
+bronx,12
+bwcity2,0
+bxtrain2,5
+camel,24
+cemal,0
+change,1
+cheyenne,6
+city,0
+citygate,53
+civilwar,0
+cliff,0
+cliff2,224
+closec,0
+cloud,0
+cloud2,69
+cloud3,41
+colt,7
+coolbox,3
+country,0
+country2,22
+cov092,2
+cracked,11
+ctbcity,2
+cucu40a,9
+dacity3,0
+de_dust,70
+deepcanyon,1
+desert,2
+desperado,47
+dive,5
+dose,15
+downtown,37
+dusty,1
+facility2,5
+ferron,0
+ferron2,2
+ff,0
+ffrontal,2
+fortbianco,2
+gap,9
+garden,10
+golgotha,0
+gorge2,2
+harbour1,0
+hetzjagd,4
+hidden2,1
+highrise,83
+hostage2,2
+hostile,0
+huge,3
+icity,99
+jungle1,80
+kick_tower,6
+killdesert,1
+kumanru,4
+leaf,0
+lighthouse,0
+locknload,2
+lumber,10
+mall1,1
+market,0
+matrix2,4
+mesto,3
+metropol,3
+mgibcity,0
+midtown,0
+monastery,0
+mountain,0
+murder,7
+museum,0
+mxcity,0
+nobeer,1
+office3,1
+passin,4
+pier,48
+plaza,0
+plaza3,19
+police,0
+revolution,7
+rexro,12
+rhcity1,41
+rhcity2,2
+rhcity3,0
+rhstation,63
+riot,0
+riot2,1
+riotx,11
+river,9
+rkneu,2
+roadtrip,0
+rocks,41
+rok,106
+rooftops,19
+ruins,0
+ruins2,0
+ruins3,0
+saddam,1
+seastation,0
+serebryanka,0
+simplicity,6
+skytower,7
+slaught,0
+sludge1,303
+slumcity,3
+soho,12
+spring,0
+storehouse,0
+storm,0
+subway,9
+subway2,0
+subway99,0
+teamdepo,33
+teamjungle,1205
+teamrocks,0
+temple,2
+tension1,221
+tequila,3
+theist,5
+time,414
+tj2,4
+tjt,4
+tokyo,20
+torabora,0
+tq2gtd1,0
+urban,0
+urban2,0
+urban2r,0
+urban3,167
+urban4,14
+uultrav,0
+village2,3
+wargroun,30
+wfall,149
+winter,0
+wizs,0
+xpeep,0
+zoo,0

+ 0 - 0
q2srv/action/config/maplist.ini.current


+ 44 - 0
q2srv/action/config/public.ini

@@ -0,0 +1,44 @@
+// Anything below maplist and above the # signs will be loaded into Action Quake2's map rotation
+// set Actionmaps 1 to enable rotation
+// This file must be called action.ini and be in your quake2\action directory.
+
+[team1]
+Employers
+male/ctf_r
+###
+[team2]
+Employees
+male/ctf_b
+###
+[team3]
+Bummers
+female/tankgirl
+###
+
+//INSERT CHOSEN MAPNAMES BELOW
+[maplist]
+time
+teamjungle
+wfall
+cliff2
+urban
+jungle1
+actcity2
+deepcanyon
+winter
+tequila
+cloud
+city
+rok
+tokyo
+soho
+tension1
+riotx
+urban3
+beer
+sludge1
+blood
+teamdepo
+urban2
+###
+

+ 29 - 0
q2srv/action/h_admin/check_maps.sh

@@ -0,0 +1,29 @@
+#!/bin/bash
+
+cwd=$(pwd)
+
+actiondir=$cwd/../
+
+sort $actiondir/config/maplist.ini > $actiondir/config/maplist.ini.current
+cd $actiondir/maps
+ls -1 *bsp | sed s/.bsp// > $actiondir/config/maplist.bsp.current
+
+cd $actiondir/config
+
+diff maplist.bsp.current maplist.ini.current
+
+#
+#
+echo
+echo \< means that there is a map, which is present in your
+echo ./maps directory, but not yet listed in your maplist.ini
+echo
+echo \> means that there is a map listed in your maplist.ini
+echo but not present in your ./maps directory
+echo
+echo When nothing is shown here except the helptext, then
+echo your maplist.ini has exactly the maps listed, as in
+echo your ./maps directory
+echo
+
+

+ 66 - 0
q2srv/action/h_admin/getmap.sh

@@ -0,0 +1,66 @@
+#!/usr/bin/env bash
+#########
+# this simple shellscript just gets the .zip from the server and 
+# puts the .bsp, which comes out of it (./maps/) to the current directory.
+#
+# Just put this script into your map-directory.
+# Try: ./getmap.sh cliff2
+
+# This is where you get your maps from...
+# Set this with trailing slash pls:
+# by Haudrauf
+MAPSERVER=http://aq2maps.quadaver.org/
+#########
+
+# just the name of the zip
+
+MAP2GET=$1
+CWD=$(pwd)
+ACTIONDIR=$CWD/../
+MAPDIR=$ACTIONDIR/maps
+MTEMP=$CWD/maptemp
+
+function getMap {
+  cd $MTEMP
+  wget $MAPSERVER$MAP2GET.zip
+}
+
+function unzipMap {
+  cd $MTEMP
+  unzip $MAP2GET.zip *bsp
+}
+
+function copyBSP {
+  cd $MTEMP
+  THEMAP=`find | grep -i \.bsp`
+  cp -u $THEMAP $MAPDIR
+}
+
+function makeTemp {
+  mkdir $MTEMP
+  cd $MTEMP
+}
+function killTemp {
+  cd $CWD
+  rm -rf $MTEMP
+}
+
+function main {
+  if [ "$1" != "" ]; then
+    makeTemp
+    getMap
+    unzipMap
+    copyBSP
+    killTemp
+  else
+    echo "Usage: $0 <mapname>"
+  fi
+
+  if [ -x ./make_maplist.sh ]; then
+    ./make_maplist.sh
+  fi
+}
+
+main $*
+
+

+ 8 - 0
q2srv/action/h_admin/make_maplist.sh

@@ -0,0 +1,8 @@
+#!/bin/bash
+ACTIONDIR=./..
+MAPDIR=$ACTIONDIR/maps
+CFGDIR=$ACTIONDIR/config
+cd $MAPDIR
+ls -1 *bsp | sed s/.bsp// > $CFGDIR/maplist.bsp.current
+cd $CFGDIR
+sort maplist.bsp.current > maplist.ini

+ 105 - 0
q2srv/action/h_common_cw.cfg

@@ -0,0 +1,105 @@
+//-----------------------------------------------------------------------------
+// COMMON CLANWAR CONFIG - executed by mode_clanwar.cfg or mode_ffclanwar.cfg
+//-----------------------------------------------------------------------------
+
+//-----------------------------------------------------------------------------
+// General Settings
+//-----------------------------------------------------------------------------
+set maplistname config/maplist.ini
+set ininame config/clanwar.ini
+
+set maxclients 16
+set punishkills 1
+set noscore 0
+set nohud 0
+set use_warnings 0
+set use_rewards 0
+
+
+set use_voice 1
+addcommandban voice no taunts allowed
+
+
+
+//-----------------------------------------------------------------------------
+// Game Mode Settings
+//-----------------------------------------------------------------------------
+set darkmatch 0
+set deathmatch 1
+set teamplay 1
+set ctf 0
+set use_3teams 0
+set use_tourney 0
+set teamdm 0
+
+set matchmode 1
+set mm_forceteamtalk 0
+set mm_adminpwd "cw4dmin"
+set mm_allowlock "1"
+
+
+//-----------------------------------------------------------------------------
+// Limits
+//-----------------------------------------------------------------------------
+set fraglimit 0
+set timelimit 20
+set roundlimit 0
+set roundtimelimit 2.5
+set limchasecam 2
+set knifelimit 40
+
+//-----------------------------------------------------------------------------
+// Weapon and Item Options
+//-----------------------------------------------------------------------------
+set allweapon 0
+set weapons 1
+set wp_flags 511
+set allitem 0
+set items 1
+set itm_flags 63
+//#31
+set ir 1
+set new_irvision 1
+set tgren 0
+set dmweapon "MK23 Pistol"
+set hc_single 1
+set use_classic 0
+
+set item_respawnmode 0
+
+//----------------------------------------
+// EAQL redefining general things..
+//----------------------------------------
+set llsound 0
+set ppl_idletime 15
+set radio_repeat "0"
+set radio_ban "0"
+set radio_time "0"
+set radio_max "0"
+set flood_msgs 4
+set flood_persecond 4
+set flood_waitdelay 10
+set video_check "1"
+set video_force_restart "0"
+set video_check_lockpvs "1"
+set video_max_3dfx "3.0"
+set video_max_3dfxam "3.0"
+set video_max_opengl "5.0"
+set check_time "3"
+set use_punch 1
+set auto_join 0
+set hearall 1
+
+//-----------------------------------------------------------------------------
+// IRC Settings
+//-----------------------------------------------------------------------------
+set ircbot 0
+
+
+//-----------------------------------------------------------------------------
+// Config End
+//-----------------------------------------------------------------------------
+map icity
+
+sv !nickbanning_enable 1
+

+ 2 - 0
q2srv/action/h_master.cfg

@@ -0,0 +1,2 @@
+set public 1
+setmaster master.quadaver.org master.q2servers.com

+ 2 - 0
q2srv/action/h_passwords.cfg

@@ -0,0 +1,2 @@
+set rcon_password ""
+set password "none"

+ 61 - 0
q2srv/action/h_q2proded.cfg

@@ -0,0 +1,61 @@
+//-----------------------------------------------------------------------------
+// Q2PRODED or R1Q2 Server Settings
+//-----------------------------------------------------------------------------
+
+//set sv_connectmessage "\n\nThis server uses 'Q2Pro dedicated' under linux.\nYour friendly host is quad|Haudrauf #quadaver @ QuakeNet.\nWe propose AprQ2 and Q2Pro as clients.\n\nThe server can record and play back Multi View Demos."
+
+
+////////////////////////////////////////////////////////
+// we are a mvdserver, so these are important:
+set sv_mvd_enable 2  
+set sv_mvd_password "m00ma4"   // CHANGE
+set sv_mvd_maxclients 2          
+
+// very important for action quake mvdobserver!
+set sv_mvd_begincmd "putaway; h_cycle" // putaway at the beginning is needed to make sure!
+set sv_mvd_scorecmd "h_cycle"
+alias h_cycle "h_cycle_sb; h_cycle_sb; h_cycle_sb; h_cycle_sb; h_cycle_sb"
+alias h_cycle_sb "wait; help; wait 75; help; wait 75; putaway;" // putaway at the end is needed!
+
+// not so important:
+set mvd_default_map wfall  // nice for action quake
+set sv_mvd_maxtime 30
+set mvd_snaps 2
+set mvd_wait_delay 12
+set sv_mvd_nomsgs 0 // visible chat
+set sv_mvd_nogun 0 // gun handedness, i think..
+
+// for manual rcon usage:
+alias mvdrec "say MVD recording started: ${com_date}_${com_time}_${mapname}.mvd2; mvdrecord -z ${com_date}_${com_time}_${mapname}"  // -z = gzipped file
+//////////////////////////////////////////////////////////
+
+
+set sv_downloadserver "http://hifi.iki.fi/quake2/repository/"
+set sv_uptime 1
+set sv_calcpings_method 2
+set sv_waterjump_hack 1
+set sv_packetdup_hack 2
+
+set allow_download_others 1
+set allow_download_maps 1
+set allow_download_demos 1
+
+
+set net_maxmsglen 0
+//// Note to server admins: Don't forget to set net_maxmsglen 0 on your server if your ISP/router supports fragmented UDP packets! This will give much faster autodownloading support and allow for larger frames in heavy games to R1Q2 clients.
+
+set logfile_flush 0 
+// 0: flush after buffer is full
+// 1: line buffered logfiles .. so we don't miss anything there.
+
+
+
+addstuffcmd begin "say vers: $version gdrv: $gl_driver "
+//addstuffcmd begin set cl_anglespeedkey ${cl_anglespeedkey} u
+//addstuffcmd begin set cl_pitchspeed ${cl_pitchspeed} u
+//addstuffcmd begin set cl_maxfps ${cl_maxfps} u
+//addstuffcmd begin set timescale ${timescale} u
+
+
+
+

+ 6 - 0
q2srv/action/h_svinfos.cfg

@@ -0,0 +1,6 @@
+
+//set _admin "QuAd|Haui QNet #quadaver" s
+
+hostname
+serverinfo
+

BIN
q2srv/action/maps/cloud.bsp


+ 14 - 0
q2srv/action/mode_clanwar.cfg

@@ -0,0 +1,14 @@
+//-----------------------------------------------------------------------------
+// AQ2:TNG Mode Config File: mode_clanwar.cfg
+//-----------------------------------------------------------------------------
+
+exec h_common_cw.cfg
+
+set dmflags "768"
+// with ff: 0
+// without ff: 256
+// with ff, with spawn farthest: 512
+// without ff: without spawn farthest: 768
+
+
+

+ 13 - 0
q2srv/action/mode_ffclanwar.cfg

@@ -0,0 +1,13 @@
+//-----------------------------------------------------------------------------
+// AQ2:TNG Mode Config File: mode_clanwar.cfg
+//-----------------------------------------------------------------------------
+
+
+exec h_common_cw.cfg
+
+set dmflags "512"
+// with ff: 0
+// without ff: 256
+// with ff, with spawn farthest: 512
+// without ff: without spawn farthest: 768
+

+ 67 - 0
q2srv/action/mode_public.cfg

@@ -0,0 +1,67 @@
+// AQ2:TNG Mode Config File mode-teamplay.cfg
+//
+// created: 2001-06-20, 10:50:19
+// with the AQ2:TNG config generator at http://www.FIXME.com
+//-----------------------------------------------------------------------------
+
+//set gamename "public"
+//-----------------------------------------------------------------------------
+// General Settings
+//-----------------------------------------------------------------------------
+set dmflags 768
+// with ff: 0
+// without ff: 256
+// with ff, with spawn farthest: 512
+// without ff: without spawn farthest: 768
+
+set maplistname config/maplist.ini
+set ininame config/public.ini
+set maxclients 14
+set punishkills 1
+set noscore 0
+set nohud 0
+set use_warnings 1
+set use_rewards 1
+
+//-----------------------------------------------------------------------------
+// Game Mode Settings
+//-----------------------------------------------------------------------------
+set deathmatch 1
+set teamplay 1
+set ctf 0
+set use_3teams 0
+set use_tourney 0
+set matchmode 0
+set darkmatch 0
+
+
+//-----------------------------------------------------------------------------
+// Limits
+//-----------------------------------------------------------------------------
+set fraglimit 0
+set timelimit 20
+set roundlimit 15
+set roundtimelimit 3
+set limchasecam 0
+set knifelimit 40
+
+//-----------------------------------------------------------------------------
+// Weapon and Item Options
+//-----------------------------------------------------------------------------
+set allweapon 0
+set weapons 1
+set wp_flags 511
+set allitem 0
+set items 1
+set itm_flags 63
+set ir 1
+set new_irvision 0
+set tgren 1
+set dmweapon "MK23 Pistol"
+set hc_single 1
+set use_classic 0
+
+//-----------------------------------------------------------------------------
+// Config End
+//-----------------------------------------------------------------------------
+map time

+ 4 - 0
q2srv/action/motd.txt

@@ -0,0 +1,4 @@
+==================================
+- mutu change motd.txt
+==================================
+

BIN
q2srv/action/pak0.pak


+ 42 - 0
q2srv/gs_starter.cfg

@@ -0,0 +1,42 @@
+# gs_starter.cfg  - part of gs_starter.sh by Paul Klumpp, 2012-11-14
+# what's the game server binary?
+GSDED="q2proded"
+
+# when no specific start parameter has been given, start these instances:
+ACTIVATE=(1 2 3)
+
+# set a prefix for the screen names.. this is good to attach quickly by "screen -x prefix#"
+PREFIX="gs"
+
+# put common settings here:
+p_base="+set basedir . +fs_restart +exec h_q2proded.cfg"
+p_action="+set game action +set gamedir action"
+
+p_q2apub="+set q2a_config q2a_pub.lua"
+p_q2amm="+set q2a_config q2a_mm.lua"
+
+# put server parameters here:
+PARMS[1]="$p_base $p_action $p_q2apub +set net_port 27910 +exec aq2_1.cfg"
+PARMS[2]="$p_base $p_action $p_q2amm  +set net_port 27920 +exec aq2_2.cfg"
+PARMS[3]="$p_base $p_action $p_q2amm  +set net_port 27921 +exec aq2_3.cfg"
+PARMS[4]="$p_base $p_action $p_q2amm +set net_port x +exec x.cfg"
+PARMS[5]="$p_base $p_action $p_q2amm +set net_port x +exec x.cfg"
+PARMS[6]=""
+PARMS[7]=""
+PARMS[8]=""
+PARMS[9]=""
+PARMS[10]=""
+PARMS[11]=""
+PARMS[12]=""
+PARMS[13]=""
+PARMS[14]=""
+PARMS[15]=""
+PARMS[16]=""
+PARMS[17]=""
+PARMS[18]=""
+PARMS[19]=""
+PARMS[20]="$p_action +exec action_gtv.cfg +set game action +net_port 27930"
+# you can define more, if you really need....
+
+
+

+ 27 - 0
q2srv/q2a_mm.lua

@@ -0,0 +1,27 @@
+--
+-- Q2Admin example configuration
+-- 
+-- rename to "config.lua" and place this to quake 2 root
+--
+
+plugins = {
+    lrcon = {
+        quit_on_empty = true,
+        cvars = {
+            -- server
+            'password', 'maxclients', 'timelimit', 'dmflags', 'sv_gravity', 'sv_iplimit', 'fraglimit',
+            'sv_anticheat_required',
+
+            -- mod
+            'teamplay', 'ctf', 'matchmode', 'roundtimelimit', 'tgren', 'limchasecam', 'forcedteamtalk',
+            'mm_forceteamtalk', 'ir', 'wp_flags', 'itm_flags', 'hc_single', 'use_punch',  'darkmatch',
+            'allitem', 'allweapon', 'use_3teams'
+        }
+    },
+    mvd = {
+        --mvd_webby = "http://mvd2.quadaver.org",
+        --exec_script_on_system_after_recording = "/home/gameservers/quake2/plugins/woot.sh",
+        --needs_cvar_q2a_mvd_autorecord = false
+    }
+
+}

+ 14 - 0
q2srv/q2a_pub.lua

@@ -0,0 +1,14 @@
+--
+-- Q2Admin example configuration
+-- 
+-- rename to "config.lua" and place this to quake 2 root
+--
+
+plugins = {
+    mvd = {
+        --mvd_webby = "http://mvd2.quadaver.org",
+        --exec_script_on_system_after_recording = "/home/gameservers/quake2/plugins/woot.sh",
+        --needs_cvar_q2a_mvd_autorecord = false
+    }
+
+}