It's written for Linux but should largely apply to Windows too, and your system needs to have a working MySQL 4.x or 5.x and PHP 5.x setup. To manage the database, enter the MySQL commands in the mysql command prompt, PhpMyAdmin or another tool of your choice. You need to run the TMN server and XASECO on the same machine, running them on separate machines is beyond the scope of this guide.
First, the dedicated server:
cd ~/TmDedicatedServer/
./RunTrackmaniaNations.sh
(or RunTrackmaniaNations.bat
)Starting TmNationsESWC v2006-05-30... Unable to open '/home/tmn/TmDedicatedServer/Default.SystemConfig.GbxInitializing... Configuration file : dedicated.cfg Loading system configuration... ...system configuration loaded Loading cache... ...OK Listening for xml-rpc commands on port 5000. Trackmania server daemon started with pid=28936 (parent=28935).If you get a Segmentation Fault here, the server cannot create files/directories due to ownership/permission problems (perhaps you forgot step 2?).
CREATE DATABASE aseco;
CREATE USER 'tmn'@'localhost';
SET PASSWORD FOR 'tmn'@'localhost' = password('password');
GRANT all ON aseco.* TO 'tmn'@'localhost';
USE aseco;
SOURCE /home/tmn/xaseco/localdb/aseco.sql;
SOURCE /home/tmn/xaseco/localdb/rasp.sql;
SOURCE /home/tmn/xaseco/localdb/extra.sql;
cd ~/xaseco/
./Aseco.sh
(or Aseco.bat
)[XAseco] PHP Version is 5.3.x on Linux [XAseco] Load settings [config.xml] [XAseco] Load admin/ops lists [adminops.xml] [XAseco] Load banned IPs list [bannedips.xml] [XAseco] Load plugins list [plugins.xml] [XAseco] Load plugin [plugin.localdatabase.php] [XAseco] Load plugin [plugin.rounds.php] [...snip plugins...] [XAseco] Load plugin [jfreu.plugin.php] [XAseco] Load plugin [mistral.idlekick.php] [XAseco] Try to connect to TM dedicated server on 127.0.0.1:5000 timeout 180s [XAseco] Try to authenticate with username 'SuperAdmin' and password 'PASSWORD' [XAseco] Connection established successfully! [Local DB] Load settings file [Local DB] Try to connect to MySQL server on 'localhost' with database 'aseco' [Local DB] MySQL Server Version is 5.1.56-log [RASP] Cleaning up unused data *-*-*-*-*-* RASP is running! *-*-*-*-*-* |...Loading Settings |...Loaded! |...Checking database structure |...Structure OK! |...Calculating ranks |...Done! [12/xx,xx:11:17] ************* (Dedimania) ************* [12/xx,xx:11:17] * Dataserver connection on Dedimania ... [12/xx,xx:11:17] * Try connection on http://dedimania.net:8002/Dedimania ... [12/xx,xx:11:18] Webaccess (dedimania.net:80): send: deflate, receive: gzip [12/xx,xx:11:18] * Connection and status ok! :) [12/xx,xx:11:18] * NEWS (Dedimania, 08/05): news [12/xx,xx:11:18] ------------- (Dedimania) ------------- [12/xx,xx:11:18] Load auto timelimit config [autotime.xml] ############################################################################### XASECO v1.1x running on 127.0.0.1:5000 Name : YOUR SERVER NAME Game : TmNationsESWC - TimeAttack Version: 0.1.7.4 / 2006-05-30 Authors: Florian Schnell & Assembler Maniac Re-Authored: Xymph ############################################################################### Begin Race [12/xx,xx:11:18] track changed [none] >> [Pro - 38~74~75~89~93] [12/xx,xx:11:18] currently no record on Pro - 38~74~75~89~93If you get an RPC Permission Error here, there is an XMLRPC port mismatch or the dedicated server isn't running (anymore).