This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| commissies:gamescom:manual_ff [2009/03/09 00:07] – Aangepast: punt 2 verder ingevuld willem | commissies:gamescom:manual_ff [2009/03/09 01:13] (current) – willem | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Fortress-Forever | + | ====== Fortress-Forever |
| + | Fortress Forever is a **FREE** online, multiplayer, | ||
| + | |||
| + | The project' | ||
| + | |||
| + | |||
| + | ===== 1. Installation | ||
| Below you'll find a install manual for the Halflife2: | Below you'll find a install manual for the Halflife2: | ||
| Before we begin I'd like to give a large shout to the following people for helping me maintain my servers and supply me with a large quantity of support: | Before we begin I'd like to give a large shout to the following people for helping me maintain my servers and supply me with a large quantity of support: | ||
| - | - Bully (fellow admin) | + | - [[http:// |
| - | - Psychonic (hlstatsx author | + | - Psychonic ([[http:// |
| - | - hlstriker | + | - [[http:// |
| + | For those who wish to see a bit more about my servers, feel free to visit the next urls: | ||
| + | * http:// | ||
| + | * http:// | ||
| - | + | ==== 1.1. Requirements: | |
| - | ===== 1. Requirements: | + | |
| * linux hlds tool ([[http:// | * linux hlds tool ([[http:// | ||
| - | * linux ssh client ([[ftp:// | + | * windows |
| * linux editor (vi, vim, joe, nano) | * linux editor (vi, vim, joe, nano) | ||
| - | * linux screen ([[http:// | ||
| * linux wget (command for getting files) | * linux wget (command for getting files) | ||
| * FortressForever host files | * FortressForever host files | ||
| - FF version 2.2 full ([[ftp:// | - FF version 2.2 full ([[ftp:// | ||
| - FF version 2.2 to 2.3 update ([[ftp:// | - FF version 2.2 to 2.3 update ([[ftp:// | ||
| - | * Optional: | ||
| - | * Bash scripting knowledge (for creating startup scripts) | ||
| - | ===== 2. Setting up all files ===== | + | ==== 1.2. Setting up all files ==== |
| First of all we need to set all files ready on the machine we want to host it at. \\ | First of all we need to set all files ready on the machine we want to host it at. \\ | ||
| - | Lets say I've got access to a box called | + | Lets say I've got access to a box called |
| I'm going to use Putty to connect to this machine on the ssh port 22. \\ | I'm going to use Putty to connect to this machine on the ssh port 22. \\ | ||
| \\ | \\ | ||
| After logging in I'm in the homedir of the server. \\ | After logging in I'm in the homedir of the server. \\ | ||
| - | In the homedir I create | + | In the homedir I create |
| In the " | In the " | ||
| \\ | \\ | ||
| Line 47: | Line 52: | ||
| This covers the preparing part of the install. | This covers the preparing part of the install. | ||
| - | ===== 3. Using steam to get the server | + | ==== 1.3. Getting Halflife2 |
| Now comes the fun and magical stuff! \\ | Now comes the fun and magical stuff! \\ | ||
| In the last chapter I've shown you how to use the hldsupdatetool.bin file to create a file called " | In the last chapter I've shown you how to use the hldsupdatetool.bin file to create a file called " | ||
| Line 55: | Line 60: | ||
| Go to your homedir (cd ~), get into the " | Go to your homedir (cd ~), get into the " | ||
| \\ | \\ | ||
| - | Go back to the directory where you stored the file " | + | Go back to the directory where you stored the file " |
| ./steam -command update -game hl2mp -dir / | ./steam -command update -game hl2mp -dir / | ||
| - | Commandline | + | Sit back and have some coffee as this might take a while! \\ |
| + | \\ | ||
| + | Commandline | ||
| * command update: The command you wish to use, in this case " | * command update: The command you wish to use, in this case " | ||
| * game hl2mp: Fortress-Forever runs with the files of halflife2 multiplayer (hl2mp). | * game hl2mp: Fortress-Forever runs with the files of halflife2 multiplayer (hl2mp). | ||
| * dir / | * dir / | ||
| * verify_all: Verifies all the files you received and redownloads those who were broken | * verify_all: Verifies all the files you received and redownloads those who were broken | ||
| + | \\ | ||
| + | ==== 1.4. Moving over Fortress-Forever ==== | ||
| + | We now need to move over the FF files. In chapter 2, where we set up all the files, you unpacked both the 2.2 full file and the 2.3 update. \\ | ||
| + | This would' | ||
| + | We are going to move this directory to the / | ||
| + | cd ~/install | ||
| + | mv FortressForever ~/ | ||
| + | Congrats! You have now installed a Fortress-Forever server! | ||
| + | ==== 1.5. Configuring the server ==== | ||
| + | Last but not less important: Configuration of your servers! \\ | ||
| + | \\ | ||
| + | In order to get your server to run, with a custom hostname for example or a maplist you prefer, you wil need to edit several files. \\ | ||
| + | Below is a short list of files you can edit (and an explanation of what it might hold): | ||
| + | * / | ||
| + | * / | ||
| + | ===== 2. Running multiple servers===== | ||
| + | Below you'll find the things I do when hosting multiple servers. \\ | ||
| + | This ofcource doesn' | ||
| + | ==== 2.1. Requirements ==== | ||
| + | * linux screen ([[http:// | ||
| + | * Optional: | ||
| + | * Bash scripting knowledge (for creating startup scripts) | ||
| + | * Cookies, chips, pizza (any junkfood will do!) | ||
| + | * Coffee also helps! | ||
| + | |||
| + | ==== 2.2. Setting up multiple severs ==== | ||
| + | There are several ways for hosting multiple Fortress-Forever (FF) servers on one machine. Since harddisk space isn't really an issue anymore these days, I've decided to install FF into one directory and clone that directory, naming the directories like the servers are. \\ | ||
| + | \\ | ||
| + | Currently my online servers are the following: | ||
| + | #FF.SNT @ quakenet - #1 2fort & well - 2.3 EU | ||
| + | #FF.SNT @ quakenet - #2 Concmaps - 2.3 EU | ||
| + | #FF.SNT @ quakenet - #3 AvD + hunted - 2.3 EU | ||
| + | #FF.SNT @ quakenet - #4 The Collapsed Dungeon - 2.3 | ||
| + | #FF.SNT @ quakenet - #5 Snipers! - 2.3 EU | ||
| + | These servers are spread amongs 2 pretty hardcore machines. My first machine hosts 3 of them, called " | ||
| + | The 3 servers all have their own / | ||
| + | \\ | ||
| + | In order to keep them all up and running I'm using bash scripts. Bash scripts are tiny files which hold custom variables (defined by myself) to easilly start the server in a linux screen (more info above, at requirements). The reason I'm hosting them in a screen, and not as something that runs on the background (done when you use a " | ||
| + | &" after the command), is I'd like to see what's going on at the console of the game (for errors and such). \\ | ||
| + | \\ | ||
| + | I'm keeping bash scripts for each server in the " | ||
| + | An example of the bash script that's keeping my first " | ||
| + | manual@manual.localhost.lan: | ||
| + | #!/bin/bash | ||
| + | # | ||
| + | # | ||
| + | mpl=23 | ||
| + | ip=130.89.149.201 | ||
| + | tickrate=66 | ||
| + | port=27015 | ||
| + | screenname=FF_2fortwell | ||
| + | map=ff_2fort | ||
| + | | ||
| + | cd 2fortwell | ||
| + | screen -dmS $screenname ./srcds_run -game FortressForever +ip $ip -port $port -tickrate $tickrate -autoupdate -maxplayers $mpl +exec server.cfg +map $map +log on | ||
| + | |||
| + | If I wish to have a look on the servers console I can recall that screen by typing: " | ||
| + | \\ | ||
| + | Hope this helps anyone out a bit who wishes to host multiple servers on their machine :) \\ | ||
| + | You can always poke me (Rawh) on irc (irc.quakenet.org, | ||
| + | \\ | ||
| + | -- Rawh out | ||