Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739
Crazy Tronners Wiki - Configure a wild server

Configure a wild server

From Tronwiki
Jump to: navigation, search
(reformatting, first part(at least i made the intro :) ))
(External links)
 
Line 1: Line 1:
 
{{Stub}}
 
{{Stub}}
 
This article is being completely reformatted by me, to clearify it, see talk page for more info about progress and requests/objections --epsy
 
This article is being completely reformatted by me, to clearify it, see talk page for more info about progress and requests/objections --epsy
 +
 +
  
 
This little how-to will guide you through the installation of a dedicated armagetron advanced server and by putting a map switcher script.
 
This little how-to will guide you through the installation of a dedicated armagetron advanced server and by putting a map switcher script.
Line 11: Line 13:
 
== Installation ==
 
== Installation ==
  
If you have one, three, or more servers, dont worry, you won't need to install each time a new copy of armagetron.
+
If you have one, three, or more servers, dont worry, you won't need to install each time a new copy of armagetron. You dont need to have full-acces(root) on the machine, you only need a writable home directory.
  
 +
First, download the source from the official site: http://prdownloads.sourceforge.net/armagetronad/armagetronad-0.2.8.2.1.src.tar.bz2?download
  
----
+
Then unpack it:
 +
tar xvf armagetronad-0.2.8.2.1.src.tar.bz2
 +
and enter the newly created folder:
 +
cd armagetronad-0.2.8.2.1/
  
 +
Then launch the configure script which will prepare armagetronad for compilation.
 +
./configure --prefix ${HOME}/tron --disable-glout
 +
The --prefix option sets where armagetronad will be installed and the --disable-glout option causes it to build only the dedicated server.
  
I will first explain how I install and run armagetronad-dedicated. As I have about 7 tron servers, believe it or not, that are up or down at any one time. So I need an easy way to control these.
+
Like ever :)
 +
  make && make install
  
My English skills are poor, my head screwy (I should have spent more time in school, less time  taking drugs), but I'll do my best to put a tutorial together that anyone with some basic computer skills can follow. Starting with installation, ending with the map rotation script. Not saying my way is the best way, it certainly isn't the only way. But it does work.
+
== Configuration ==
  
I don't have root access to the server that runs CT Wild. This is not necessary. I compile armagetron-dedicated from source using the --prefix option. I have changed the names and colours of the teams on my server, just for fun. If you want to do this you need to do this before compiling:
+
For each server you want to create, create a separate directory for it, and 2 subfolders in it: config and var
 +
mkdir -p ~/myfunnytronserver/{config,var}
  
[[http://forums.armagetronad.net/viewtopic.php?t=3045 |http://forums.armagetronad.net/viewtopic.php?t=3045]]
 
  
I then compile using:
+
----
 
+
./configure --prefix /home/ed/tron --disable-glout
+
 
+
after this run make && make install to install the thing.
+
 
+
This will install armagetron-dedicated ONLY into dir /home/ed/tron
+
  
 
For each server I run I have a directory dedicated to them. So, wild has a dir: /home/ed/wild
 
For each server I run I have a directory dedicated to them. So, wild has a dir: /home/ed/wild
Line 51: Line 55:
 
This will set the server up as a clone of fortress. Everything else is added to that. I won't go into great detail about the settings I change, nothing major, just change winzone to dz, alter dz timeout settings, etc. If anyone wants a copy of my config files, just ask.
 
This will set the server up as a clone of fortress. Everything else is added to that. I won't go into great detail about the settings I change, nothing major, just change winzone to dz, alter dz timeout settings, etc. If anyone wants a copy of my config files, just ask.
  
to run this server I have a simple bash script to make it easier for myself. This looks like:
+
to run this server I have a simple bash script to make it easier for myself. This looks like:
  
 
  Code:
 
  Code:
Line 311: Line 315:
 
== External links ==
 
== External links ==
 
* Ed's original post: http://forums.crazy-tronners.com/viewtopic.php?p=3600#3600
 
* Ed's original post: http://forums.crazy-tronners.com/viewtopic.php?p=3600#3600
* Another map rotation script: http://forums.crazy-tronners.com/viewtopic.php?t=42
+
* Another map rotation [http://www.research-service.com/custom-research-paper.html research paper] script: http://forums.crazy-tronners.com/viewtopic.php?t=42

Latest revision as of 21:54, 14 January 2010

Personal tools