Dystopia Server 1.0
Dystopia is a Half-Life 2 modification which places the player into tense combat situations in a high tech world.
Cyberspace is a three dimensional representation of the world's network. Inside cyberspace players will launch programs to hack into systems linked to the physical world, fight off enemy hackers or defend critical systems. Gameplay progresses through inter-linked physical and cyberspace objectives, some are completed in either the physical world or cyberspace, others only by a well timed combination of the two.
The player will be immersed in action packed battles, whether as a heavily augmented combat mercenary armed to the teeth with the latest in firepower and implants, or a twitch reflex cyberdecker racing to infiltrate a cyberspace node. Only through skillful use of the high tech arsenal we're making available and intelligent team play will players truly jack-in and kick ass.
Note: System used was Ubuntu Breezy Badger 2.6.12-9
Log in as root
Create a user (EX. hlds, dystopia, srcds, etc..) with the command:
Give that user a password
Create a directory somewhere as that user where the server files and game files will go and go to that directory
Make the owner of that directory your new user
chown hlds /home/hlds/srcds
Either login as that user or change to that user with the command
Get the linux hlds update tool accurate as of 2/22/07
Change the file to be executable
chmod ugo+x hldsupdatetool.bin
Run the hldsupdatetool.bin
If you see an error about not finding /bin/uncompress type
ln -s /bin/gunzip /bin/uncompress && ./hldsupdatetool.bin
Answer the agreement
Run the steam file that is extracted
It will update itself and then tell you to rerun the command, do so, but changed. This will take a while
./steam -command update -game hl2mp -dir .
Download the Dystopia V1 server package
Extract the files in your srcds folder
tar -xvzf dystopia_v1_server.tar.gz
Edit ~/srcds/dystopia/cfg/server.cfg with your editor of choice. This file is run at every map change.
Comment out or remove the following line.
This must be done or you server will not start properly.
Edit ~/srcds/dystopia/cfg/valve.rc with your editor of choice. This file is run at server start
Add in the line the following line.
This map can be whatever you like your server to start on. If you do not do this, your server will not start properly.
Edit ~/srcds/dystopia/motd.txt with your editor of choice
Edit ~/srcds/dystopia/mapcycle.txt with your editor of choice
Starting the Server - Basic
Go to your srcds directory, whatever it is named
Use the following command to start your server, this is a basic setup, replace 220.127.116.11 with the ip you want your server to report. You can also leave out the +ip 18.104.22.168 and it will take the first IP it can get
./srcds_run -game dystopia_v1 +maxplayers 20 -ip 22.214.171.124 -port 27015 &
To bring the console back so you can type commands into the console. use the command
This will not always work.
The drawback to this method is that once you start it and then exit your ssh session you will not be able to get it back (at least I don't know of a way, if you do, let me know and I'll add it)
Starting the server - Advanced
Check to see if you have the screen command
If you do, proceed, if not, get it. Create a shell script with the following commands. To do so, open a file in your favorite text editor (*nix only please). I named the file serverStart.sh
#!/bin/sh echo "Starting Dystopia Beta Server" sleep 1 cd /home/hlds/srcds screen -A -m -S dystopia /home/hlds/srcds/srcds_run -game dystopia_v1 +maxplayers 20 -ip 126.96.36.199 -port 27015
Make the shell script executable
chmod ugo+x serverStart.sh
Once its up and running, to exit the screen without closing it use the following key combo
ctrl+A,D (ctrl+A and then while still holding a, press d)
To retrieve the screen so that you can look at the console