old-www/HOWTO/archived/Game-Server-HOWTO/quake2.html

1225 lines
21 KiB
HTML

<HTML
><HEAD
><TITLE
>Quake II</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Game Server HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="QuakeWorld"
HREF="quakeworld.html"><LINK
REL="NEXT"
TITLE="Quake III Arena"
HREF="quake3.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Game Server HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="quakeworld.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="quake3.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="QUAKE2"
></A
>4. Quake II</H1
><P
> Quake II is the sequel to Quake, featuring great multiplayer capabilities just like its prequel.
</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2SYSREQ"
></A
>4.1. System requirements</H2
><P
> As always, the minimum system requirements vary depending on the number of clients.
</P
><P
> <P
></P
><UL
><LI
><P
>A Pentium-class processor or better is recommended. More players = more CPU.</P
></LI
><LI
><P
>At least 16 MB RAM. 1 MB per player is recommended.</P
></LI
><LI
><P
>Some maps require more CPU/RAM than others.</P
></LI
><LI
><P
>The *.pak files from the Quake II CD-ROM.</P
></LI
><LI
><P
>Enough free space on your HDD, at least ~500 MB.</P
></LI
><LI
><P
>If you're going to run a Q2 server on the Internet, make sure you have enough bandwidth. The more players the more bandwidth you need.</P
></LI
></UL
>
</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2INSTALLING"
></A
>4.2. Installing</H2
><P
>To start a Q2 server you need the Q2 client package and the pak files from the Q2 CD. Download the one that suits your system (glibc, unless your distribution is really ancient):</P
><P
> <P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/unix/quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/unix/quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/unix/quake2-3.20-i386-unknown-linux2.0.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/unix/quake2-3.20-i386-unknown-linux2.0.tar.gz</A
></P
></LI
></UL
></P
><P
>Create a directory for Q2 and extract the Q2 client package to it: </P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>mkdir quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz -C quake2</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Now create a <TT
CLASS="FILENAME"
>baseq2</TT
> directory inside the quake2 directory and copy the pak files to it from the Q2 CD-ROM:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>mkdir quake2/baseq2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cp /mnt/cdrom/baseq2/*.pak quake2/baseq2</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Go to the Quake2 directory and start the server:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +set deathmatch 1</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>It should work fine and people should be able to connect to it.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2CONFIGURING"
></A
>4.3. Configuring</H2
><P
>You'll want to create a server config (cfg) file. Put the following in a file called server.cfg in the baseq2 directory and modify it as you like:
</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>set hostname "Q2 testserver"
set deathmatch "1"
set rcon_password "xxxx"
set timelimit "30"
set fraglimit "100"
set maxclients "16"
set allow_download "1"
set allow_download_players "0"
set allow_download_models "1"
set allow_download_sounds "1"
set allow_download_maps "1"</PRE
></FONT
></TD
></TR
></TABLE
><P
>Settings:</P
><P
></P
><UL
><LI
><P
><TT
CLASS="LITERAL"
>dmflags</TT
> - A bitflag, controls gameplay options.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>fraglimit</TT
> - Next map is loaded when fraglimit is reached.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>timelimit</TT
> - Next map is loaded when timelimit is reached.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>map</TT
> - Which map to start.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>maxclients</TT
> - Max number of players.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>hostname</TT
> - Name of the server.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>deathmatch</TT
> - If you want to play DM (deathmatch), set this to 1.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>game</TT
> - Which mod directory to use, if you want to play a mod.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>port</TT
> - Which port you want the server to listen to.</P
></LI
></UL
><P
>Now start the server with <TT
CLASS="LITERAL"
>./quake2 +set dedicated 1 +exec server.cfg</TT
>. Your config file will be read and the variables in it will be used.
You can have different config files for different game types, for example ffa.cfg, ctf.cfg, etc. with customized settings. They should all be in the baseq2 directory.</P
><P
>To have your server listed on the master servers (so people using GameSpy, XQF and similar programs can see your server), type <TT
CLASS="LITERAL"
>set public 1</TT
> in the server console or in the config file.
With the command <TT
CLASS="LITERAL"
>set setmaster 'master server'</TT
> you can change master server (default is id Software's master server).</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2CTF"
></A
>4.4. Q2CTF (Capture The Flag)</H2
><P
> Download one of the following (you'll most likely want the glibc one, unless your distribution is ancient).
</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/ctf/unix/q2ctf150-glibc-i386-unknown-linux.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/ctf/unix/q2ctf150-glibc-i386-unknown-linux.tar.gz</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/ctf/unix/q2ctf150-i386-unknown-linux.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/ctf/unix/q2ctf150-i386-unknown-linux.tar.gz</A
></P
></LI
></UL
></P
><P
>It only contains the file <TT
CLASS="FILENAME"
>gamei386.so</TT
>. Create a ctf directory in your Q2 directory and extract the q2ctf archive:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>mkdir quake2/ctf</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf q2ctf150-glibc-i386-unknown-linux.tar.gz -C quake2/ctf</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>You'll also want the Q2CTF package with the CTF maps, <A
HREF="ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/ctf/q2ctf150.zip"
TARGET="_top"
>ftp://ftp.sunet.se/pub/pc/games/idgames2/idstuff/quake2/ctf/q2ctf150.zip</A
> (9.1 MB). Unzip it to the ctf directory.
To start a CTF server, run <TT
CLASS="LITERAL"
>./quake2 +set dedicated 1 +set game ctf +exec server.cfg</TT
>, where server.cfg is a file you should create in the ctf directory, containing this: </P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>deathmatch 3
maxclients 12
rcon_password password
fraglimit 0
timelimit 30
set hostname "Q2CTF Testserver"
set admin "admin@xyz.com"
map q2ctf1</PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2LMCTF"
></A
>4.5. LMCTF (Loki's Minions CTF)</H2
><P
><A
HREF="http://www.planetquake.com/lmctf"
TARGET="_top"
>LMCTF</A
>, Loki's Minions CTF, is a popular CTF modification for Q2. You need all the following files:</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lmctf/lm520-linux_bin.zip"
TARGET="_top"
>ftp://ftp.sunet.se/planetquake/lmctf/lm520-linux_bin.zip</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lmctf/lmctf456.zip"
TARGET="_top"
>ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lmctf/lmctf456.zip</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lmctf/lmctf50.zip"
TARGET="_top"
>ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lmctf/lmctf50.zip</A
></P
></LI
></UL
></P
><P
>Create a <TT
CLASS="FILENAME"
>lmctf</TT
> directory in your Q2 directory and unzip all the files to it.
Go to the Q2 root directory and start with the following command:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +set deathmatch 1 +set game lmctf +exec server.cfg</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>There are some files in the lmctf directory that you'll probably want to edit: <TT
CLASS="FILENAME"
>server.cfg</TT
> is the main cfg file containing many standard server options. <TT
CLASS="FILENAME"
>maplist.txt</TT
> contains the list of maps the server cycles through.
To alter the map list, create a file in your root Q2 directory called maplist.txt containing the names of the maps and add +map mapname to the command line when you start the server, where <TT
CLASS="LITERAL"
>mapname</TT
> is the name of the first map in the maplist.txt you just created.
The file <TT
CLASS="FILENAME"
>motd.txt</TT
> contains the "message of the day" clients will see when joining the server. </P
><P
>For more information on LMCTF, see its <A
HREF="http://www.planetquake.com/lmctf"
TARGET="_top"
>homepage</A
>.</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2RA"
></A
>4.6. Rocket Arena 2</H2
><P
>To run a <A
HREF="http://www.planetquake.com/servers/arena/"
TARGET="_top"
>Rocket Arena 2</A
> server you need the following files:</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pubi/pc/games/idgames2/planetquake/servers/arena/ra2250sv.zip"
TARGET="_top"
>ftp://ftp.sunet.se/pubi/pc/games/idgames2/planetquake/servers/arena/ra2250sv.zip</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pubi/pc/games/idgames2/planetquake/servers/arena/ra2250cl.exe"
TARGET="_top"
>ftp://ftp.sunet.se/pubi/pc/games/idgames2/planetquake/servers/arena/ra2250cl.exe</A
> - required client files (maps and such).</P
></LI
></UL
></P
><P
>Create a directory called <TT
CLASS="FILENAME"
>arena</TT
> in your quake2 directory and extract the above files:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>mkdir arena</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>unzip ra2250sv.zip -d arena</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>unzip ra2250cl.exe -d arena</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Edit <TT
CLASS="FILENAME"
>server.cfg</TT
> to your liking. Another file that you may want to edit is <TT
CLASS="FILENAME"
>arena.cfg</TT
>, which is used to customize settings on a per arena basis as well as map rotation information. Start the server:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +set game arena +exec server.cfg</B
></PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2LITHIUM"
></A
>4.7. Lithium II</H2
><P
> <A
HREF="http://www.planetquake.com/lithium"
TARGET="_top"
>Lithium II</A
> is a very popular and configurable server-side deathmatch mod, adding things like the grappling hook and letting you configure pretty much everything; see its readme.txt file for more information. Download the following file:
</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lithium/lithium2_1.24-i386-unknown-linux2.0.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lithium/lithium2_1.24-i386-unknown-linux2.0.tar.gz</A
></P
></LI
></UL
></P
><P
>Extract the file in your quake2 directory. All the files will be placed in a new directory called <TT
CLASS="FILENAME"
>lithium</TT
>: </P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf lithium2_1.24-i386-unknown-linux2.0.tar.gz</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Lithium II comes with four different config files, copy one of them to <TT
CLASS="FILENAME"
>server.cfg</TT
> and modify it to your liking:</P
><P
><P
></P
><UL
><LI
><P
><TT
CLASS="LITERAL"
>lithium.cfg</TT
> - default Lithium II server.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>stock.cfg</TT
> - stock Quake2 server.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>lithctf.cfg</TT
> - default Lithium II CTF server.</P
></LI
><LI
><P
><TT
CLASS="LITERAL"
>stockctf.cfg</TT
> - stock CTF server.</P
></LI
></UL
></P
><P
>Start a deathmatch server with the following command: </P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +set game lithium +exec server.cfg</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>To start a CTF server, you must have Q2CTF installed. Extract the lithium archive to your ctf directory and start with the following command:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +set game ctf +set ctf 1 +exec server.cfg</B
></PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2LFIREDM"
></A
>4.8. L-Fire DM</H2
><P
> <A
HREF="http://www.planetquake.com/lfire"
TARGET="_top"
>L-Fire</A
> DM is a server-side mod that adds many features to Q2, such as organized match support, anti-spam, highscore lists for each level, profanity filtering, etc. What you need:
</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireDM_v1_11_Linux.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireDM_v1_11_Linux.tar.gz</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireDM_v1_11_Config.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/planetquake/lfire/LFireDM_v1_11_Config.tar.gz</A
></P
></LI
></UL
></P
><P
>You can run L-Fire DM from either the <TT
CLASS="FILENAME"
>baseq2</TT
> directory (in that case it'll show up as a standard DM mod in GameSpy and similar tools, or you can give it its own directory (<TT
CLASS="FILENAME"
>lfiredm</TT
> or whatever you prefer). Extract the archive (actually, it only contains two files, gamei386.so and readme.txt), or in other words place gamei386.so in your directory of choice.</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>mkdir lfiredm</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf LFireDM_v1_11_Linux.tar.gz -C lfiredm</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
><TT
CLASS="FILENAME"
>LFireDM_v1_11_Config.tar.gz</TT
> contains many config files which you may want to edit. Extract it to the directory where you put gamei386.so:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf ~/LFireDM_v1_11_Config.tar.gz -C lfiredm</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Start the server:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +game lfiredm</B
></PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2LFIRECTF"
></A
>4.9. L-Fire CTF</H2
><P
><A
HREF="http://www.planetquake.com/lfire"
TARGET="_top"
>L-Fire</A
> CTF is like L-Fire DM a server-side mod that adds many features to Q2CTF like match support, anti-spam, highscore lists for each level, rocket arena/sudden death overtime, etc. What you need:</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireCTF_v1_20_Linux.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireCTF_v1_20_Linux.tar.gz</A
></P
></LI
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireCTF_v1_20_Config.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/lfire/LFireCTF_v1_20_Config.tar.gz</A
></P
></LI
></UL
></P
><P
>Extract the archive to your Q2CTF directory:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf LFireCTF_v1_20_Linux.tar.gz -C ctf</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
><TT
CLASS="FILENAME"
>LFireCTF_v1_20_Config.tar.gz</TT
> contains a bunch of configuration files which you may want to edit. Extract it to the Q2CTF directory:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf LFireCTF_v1_20_Config.tar.gz -C ctf</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Start the server just as you normally would:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>./quake2 +set dedicated 1 +game ctf</B
></PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="Q2ADMIN"
></A
>4.10. Q2Admin</H2
><P
><A
HREF="http://www.planetquake.com/q2admin/"
TARGET="_top"
>Q2Admin</A
> is a very good transparent proxy modificatiom that adds many admin functions, and the most important, ZBot/Ratbot (among other things) detection to preven cheating.
Q2Admin works with all Q2 mods transparently by filtering communication between the server and the mod it's running on top of.
I recommend that you install Q2Admin if you're going to run a public server. Download this file:</P
><P
><P
></P
><UL
><LI
><P
><A
HREF="ftp://ftp.sunet.se/pub/games/PC/idgames2/planetquake/q2admin/q2admin18src.tar.gz"
TARGET="_top"
>ftp://ftp.sunet.se/planetquake/q2admin/q2admin18src.tar.gz</A
></P
></LI
></UL
></P
><P
>Now extract the archive and compile it:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
><TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd quake2</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>mkdir q2admin</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>tar zxvf q2admin18src.tar.gz -C q2admin</B
>
<TT
CLASS="PROMPT"
>$</TT
> <B
CLASS="COMMAND"
>cd q2admin; make</B
></PRE
></FONT
></TD
></TR
></TABLE
><P
>Now you should have a file called <TT
CLASS="FILENAME"
>q2admin.so</TT
> in the q2admin directory. For each mod you want to protect with Q2Admin, copy the <TT
CLASS="FILENAME"
>install</TT
> and <TT
CLASS="FILENAME"
>q2admin.so</TT
> files to each mod directory and optionally the *.txt files if you want to customize the Q2Admin settings for different mods.
Run install, <TT
CLASS="LITERAL"
>./install</TT
> (chmod +x install if it's not executable) and start the server as usual. The install script moves gamei386.so to gamei386.real.so and q2admin.so to gamei386.so. Run install again to move the files back to their original names.
There's a huge number of commands; See <TT
CLASS="FILENAME"
>readme.txt</TT
> included in the q2admin package for everything you need to know.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="quakeworld.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="quake3.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>QuakeWorld</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Quake III Arena</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>