Trackmania Servertools and Plugins EN

From BullRacing Wiki

Jump to: navigation, search

Contents

RemoteCP

Description

Download

Download the newest RemoteCP here.

Installation

Unpack "remoteCP_5_x_x_x.zip", rename it to "rcp" and move the folder to "\xampp\htdocs\"

Configuration [Windows]

Now open your xampp-control-panel with entering "localhost" or "127.0.0.1" in your browser's adress field and click on "Tools", "phpMyAdmin" and on "Databases". In the following window you set "live" as the name of the new database and select "utf8_unicode_ci". After you click on create the datbase for the [live]-plugin of RemoteCP is ready. At least you have to click in the following on "Import" at the top and select "\xampp\htdocs\rcp\live.sql" to connect your remoteCP with the database. Confirm with "OK and you're ready.

remoteCP configuration [Windows]

The next thing you have to do is configuring [[Server_RemoteCP|remoteCP].

  • Open "\xampp\htdocs\rcp\xml\servers.xml" with Notepad++ and edit the following.

Example remoteCP Configuration

      <?xml version='1.0' standalone='yes'?>
       <servers>
         <server>
           <serverid>1</serverid>
           <name>My Server</name> <-- You can keep it -->
           <settingset></settingset>
           <filepath></filepath>            <-- Pathname without slashes, leave empty for old remoteCP3 style -->
           <connection>
             <ip>127.0.0.1</ip> <-- Change it to 127.0.0.1 !!!!! -->
             <port>5004</port> <-- This is the RCP-Port you have typed in, in the dedicated_cfg-->
             <account>SuperAdmin</account>
             <password>however</password> <-- The password for SuperAdmin!!!! -->
           </connection>
           <ftp enabled='false'>
             <host>localhost</host>
             <username>webmaster</username>
             <password>password</password> 
             <path>/GameData/Tracks/</path>
           </ftp>
           <sql enabled='true'> <-- If you wanna use the [live]-plugin you should set "true" here !!! -->
             <host>127.0.0.1</host> <-- change it to 127.0.0.1 !!!!! -->
             <username>root</username> <-- The name of the SQL-User!!!!! -->
             <password>vollpfosten</password> <-- The password from root !!!! -->
             <dbname>live</dbname> <-- The name of the SQL database !!!! -->
           </sql>
         </server>
       </servers>

[live]-plugin configuration

       @echo off

        rem ****** Set here your php path *******
        set INSTPHP=e:\tmforeverserver\xampp\php
        rem *************************************

        PATH=%PATH%;%INSTPHP%;%INSTPHP%\extensions
        "%INSTPHP%\php.exe" live.php -- rcplive Bullracing 1 http://127.0.0.1/rcp/

        pause

Explanation:

With "set INSTPHP=e:\tmforeverserver\xampp\php" (You have to change the path to your one !!!) you say [live] how an where php will be started. With the following entry you say that [live]

  • will start with the username "rcplive" and the password "bullracing"
  • will start the server with the ID "1" which is set in the "servers.xml"
  • uses "http://127.0.0.1/rcp" as its URL

After that you save the file as "live.bat", make a right click on it and then send it to desktop(shortcut) Now you start "XAMPP" and then "TrackmaniaServer.exe" and open the webinterface with the adress "127.0.0.1/rcp". After you logged in with username & password "admin" you click on the right side on maintenance and then on the pencil next to "admin". Here you should set a new password and also your TrackmaniaLoginname. Scroll down and click "submit". At least you have to click on the pencil next to "rcplive" and type in your password from the live.bat file there. Now click on submit and you're ready.