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 TMF server and XASECO on the same machine, running them on separate machines is beyond the scope of this guide.
First, the dedicated server:
mkdir TMF
cd TMF
chmod +x RunTrackmaniaNations.sh
):./TrackmaniaServer /game_settings=MatchSettings/Nations/NationsBlue.txt /dedicated_cfg=dedicated_cfg.txt
TrackmaniaServer.exe /game_settings=MatchSettings/Nations/NationsBlue.txt /dedicated_cfg=dedicated_cfg.txt
/internet
and /autoquit
are now default, and the /game=...
option (from TMN) is no longer needed due to the <packmask> setting.
cd ~/TMF/
./RunTrackmaniaNations.sh
(or RunTrackmaniaNations.bat
)Starting TmForever v2011-02-21... Initializing... Configuration file : dedicated_cfg.txt Loading system configuration... ...system configuration loaded Loading cache... ...OK Listening for xml-rpc commands on port 5000. Trackmania server daemon started with pid=13512 (parent=13483).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 'tmf'@'localhost';
SET PASSWORD FOR 'tmf'@'localhost' = password('password');
GRANT all ON aseco.* TO 'tmf'@'localhost';
USE aseco;
SOURCE /home/tmf/xaseco/localdb/aseco.sql;
SOURCE /home/tmf/xaseco/localdb/rasp.sql;
SOURCE /home/tmf/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! [04/xx,xx:11:17] Load default style [styles/DarkBlur.xml] [04/xx,xx:11:17] Load default admin panel [panels/AdminBelowChat.xml] [04/xx,xx:11:17] Load default donate panel [panels/DonateBelowCPList.xml] [04/xx,xx:11:17] Load default records panel [panels/RecordsRightBottom.xml] [04/xx,xx:11:17] Load default vote panel [panels/VoteBelowChat.xml] [04/xx,xx:11:17] ************* (Dedimania) ************* [04/xx,xx:11:17] * Dataserver connection on Dedimania ... [04/xx,xx:11:17] * Try connection on http://dedimania.net:8002/Dedimania ... [04/xx,xx:11:18] Webaccess (dedimania.net:80): send: deflate, receive: gzip [04/xx,xx:11:18] * Connection and status ok! :) [04/xx,xx:11:18] * NEWS (Dedimania, 08/05): news [04/xx,xx:11:18] ------------- (Dedimania) ------------- [04/xx,xx:11:18] Load stats panel [panels/StatsNations.xml] [04/xx,xx:11:18] Load auto timelimit config [autotime.xml] ############################################################################### XASECO v1.1x running on 127.0.0.1:5000 Name : YOUR SERVER NAME - YOUR_SERVER_LOGIN Game : TmForever United - Stadium - TimeAttack Version: 2.11.26 / 2011-02-21 Authors: Florian Schnell & Assembler Maniac Re-Authored: Xymph ############################################################################### Begin Race [04/xx,xx:11:18] track changed [none] >> [Pro - 38~74~75~89~93] [04/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).