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_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(): 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
 
Line 1: Line 1:
 
This page is still being edited
 
This page is still being edited
 +
 
Here is a copy of what ed said
 
Here is a copy of what ed said
 +
 
A question I get asked quite reguarly. I usually just say it's a php/mysql script written by PTA. You can get the same results with one I wrote here, it's just not as easy to admin:
 
A question I get asked quite reguarly. I usually just say it's a php/mysql script written by PTA. You can get the same results with one I wrote here, it's just not as easy to admin:
http://tron.plantpeanuts.co.uk/viewtopic.php?t=42
+
[[http://tron.plantpeanuts.co.uk/viewtopic.php?t=42]]
  
 
Well I spoke to PTA, and he's happy for me to release the code so anyone else who wants a crack at a map rotation tron server can have a go, using the same tools that we use.
 
Well I spoke to PTA, and he's happy for me to release the code so anyone else who wants a crack at a map rotation tron server can have a go, using the same tools that we use.
Line 8: Line 10:
 
I am no computer genius, I have a basic understanding of linux and using a ssh connection to admin a server. Anyone who has this can run a similar server, it aint Rocket Science.
 
I am no computer genius, I have a basic understanding of linux and using a ssh connection to admin a server. Anyone who has this can run a similar server, it aint Rocket Science.
  
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.
+
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.
  
 
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.
 
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.
Line 14: Line 16:
 
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:
 
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:
  
http://forums.armagetronad.net/viewtopic.php?t=3045
+
[[http://forums.armagetronad.net/viewtopic.php?t=3045]]
  
 
I then compile using:
 
I then compile using:
Line 246: Line 248:
  
 
mysql> select * from maps;
 
mysql> select * from maps;
+----+-------+----------------------------------------------------------+-------------------------+---------------+
+
+----+-------+----------------------------------------------------------+-------------------------+---------------+
| id | round | mapfile                                                  | mapname                | server        |
+
| id | round | mapfile                                                  | mapname                | server        |
+----+-------+----------------------------------------------------------+-------------------------+---------------+
+
+----+-------+----------------------------------------------------------+-------------------------+---------------+
|  1 |    1 | ed/fortress/pillar-0.0.7.aamap.xml                      | Pillar                  | wildfortress1 |
+
|  1 |    1 | ed/fortress/pillar-0.0.7.aamap.xml                      | Pillar                  | wildfortress1 |
|  2 |    1 | ed/fortress/lookout-0.0.6.aamap.xml                      | Look Out!              | wildfortress1 |
+
|  2 |    1 | ed/fortress/lookout-0.0.6.aamap.xml                      | Look Out!              | wildfortress1 |
 
|  3 |    1 | ed/fortress/johnny-0.0.2.aamap.xml                      | Hello, my name's Johnny | wildfortress1 |
 
|  3 |    1 | ed/fortress/johnny-0.0.2.aamap.xml                      | Hello, my name's Johnny | wildfortress1 |
 
|  4 |    2 | ed/fortress/minefield-0.0.7.aamap.xml                    | Minefield              | wildfortress1 |
 
|  4 |    2 | ed/fortress/minefield-0.0.7.aamap.xml                    | Minefield              | wildfortress1 |

Revision as of 18:11, 4 July 2006

Personal tools