From cb894fc682fa6ed7cefa7a6beb139af4acdffed4 Mon Sep 17 00:00:00 2001 From: Hornochs Date: Sat, 28 Sep 2024 12:23:45 +0200 Subject: [PATCH 1/5] Adding first draft of TMNF / TMUF Documentation --- game-servers/trackmania-forever.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 game-servers/trackmania-forever.md diff --git a/game-servers/trackmania-forever.md b/game-servers/trackmania-forever.md new file mode 100644 index 0000000..0d41443 --- /dev/null +++ b/game-servers/trackmania-forever.md @@ -0,0 +1,23 @@ +# Trackmania Nations Forever / Trackmania United Forever +![TMNF Logo](https://www.gamers.org/tmf/banner.jpg) + +## Ports + +- Game Port Default: 2350 UDP +- XMLRPC Port: 5000 TCP + +## Online Hosting Requirements + +Hosting an Internet accessable Online Server requieres a login to the master server. It can't be your game login and every server needs an unique account. + +For LAN Hosting a server login isn't required! + +### Trackmania Nations Forever Server Account + +- Start your gameclient and create an account there + +### Trackmania United Forever Server Account + +- Login with your gaming credentials at http://official.trackmania.com/tmf-playerpage/ (either use http or setup your browser to support older https protocols) +- On "Dedicated servers" you have to type your Serial Code of the Game to allow access of dedicated server accounts. If your bought Trackmania United Forever on Steam it's easy to get your product code +- Create there a new login for the dedicated Server From 43f0c4dfec7b4390292e0d1e2eae523123f31019 Mon Sep 17 00:00:00 2001 From: Hornochs Date: Sat, 28 Sep 2024 12:55:12 +0200 Subject: [PATCH 2/5] Adding Start parameters --- game-servers/trackmania-forever.md | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/game-servers/trackmania-forever.md b/game-servers/trackmania-forever.md index 0d41443..fe44c5b 100644 --- a/game-servers/trackmania-forever.md +++ b/game-servers/trackmania-forever.md @@ -21,3 +21,37 @@ For LAN Hosting a server login isn't required! - Login with your gaming credentials at http://official.trackmania.com/tmf-playerpage/ (either use http or setup your browser to support older https protocols) - On "Dedicated servers" you have to type your Serial Code of the Game to allow access of dedicated server accounts. If your bought Trackmania United Forever on Steam it's easy to get your product code - Create there a new login for the dedicated Server + +## Startparameters + +| Startparameter | Function +|--|--| +| dedicated_cfg=xxx | Specifies the name of the dedicated configuration | +| game_settings=xxx | Specifies the name of game settings configuration | +| login=xxx | Username of Server Account | +| password=xxx | Password of Server Account | +| servername=xxx | Name of the Server | +| serverpassword=xxx | Connection Password for clients to connect if you want to make the server private | +| lan | Start server in LAN mode | +| forceip=xxx(:xx) | Forces the public ip address (and optionally port) to this value | +| bindip=xxx(:xx) | Binds server to ip address if multiple network interfaces are on the machine | +| join=xxx | Joins a server, to make a relay server. (xxx = the server ip adress with optional port, or the server login) | +| joinpassword=xxx | Password to use to join the remote server if the server is private | +| loadcache | Loads the "checksum.txt" instead of recomputing it, to speed up first launch time if P2P is enabled. *DO NOT USE* if you run several servers in the same directory | +| nologs | Disables the creation of "GameLog.txt" and "ConsoleLog.txt" in Logs/ directory | +| noautoquit | Keeps the server running "waiting for rpc commands", even if it is not live (with a map loaded and ready to receive players) | +| nodaemon | Doesn't detach the process | +| verbose_rpc_full | Display the whole contents of the xml-rpc requests the dedicated server receives. | +| verbose_rpc | Displays the xml-rpc requests the dedicated server receives, but only the name of the XmlRpc? command and some parameters | + +Example: `TrackmaniaServer /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/custom_game_settings.txt /nodaemon /lan` + +Source of parameters: https://web.archive.org/web/20221003213817/https://www.tm-forum.com/viewtopic.php?p=154464#p154464 + +## Configuration + +Configuration happens on two `.txt` files which are formatted in XML, name can be anything you like. The dedicated configuration needs to be located in `GameData/Config/` and game settings in `GameData/Tracks/`. + +## Source + +More Information about Serverhosting can be aquired on https://server.xaseco.org/ \ No newline at end of file From f45a421349678352ba89f9e19524cf1560366d6b Mon Sep 17 00:00:00 2001 From: Hornochs Date: Sat, 28 Sep 2024 13:02:45 +0200 Subject: [PATCH 3/5] Finalising Documentation of Server Hosting --- game-servers/trackmania-forever.md | 208 ++++++++++++++++++++++++++++- 1 file changed, 206 insertions(+), 2 deletions(-) diff --git a/game-servers/trackmania-forever.md b/game-servers/trackmania-forever.md index fe44c5b..872a219 100644 --- a/game-servers/trackmania-forever.md +++ b/game-servers/trackmania-forever.md @@ -4,6 +4,7 @@ ## Ports - Game Port Default: 2350 UDP +- P2P Port for downloading Custom Maps / Files: 3450 TCP - XMLRPC Port: 5000 TCP ## Online Hosting Requirements @@ -24,13 +25,15 @@ For LAN Hosting a server login isn't required! ## Startparameters +Startparameters overrise Settings in the configuration of `dedicated_cfg` + | Startparameter | Function |--|--| | dedicated_cfg=xxx | Specifies the name of the dedicated configuration | | game_settings=xxx | Specifies the name of game settings configuration | | login=xxx | Username of Server Account | | password=xxx | Password of Server Account | -| servername=xxx | Name of the Server | +| servername=xxx | Name of the Server | | serverpassword=xxx | Connection Password for clients to connect if you want to make the server private | | lan | Start server in LAN mode | | forceip=xxx(:xx) | Forces the public ip address (and optionally port) to this value | @@ -52,6 +55,207 @@ Source of parameters: https://web.archive.org/web/20221003213817/https://www.tm- Configuration happens on two `.txt` files which are formatted in XML, name can be anything you like. The dedicated configuration needs to be located in `GameData/Config/` and game settings in `GameData/Tracks/`. +### Dedicated Server Configuration + +Example: + +``` + + + + + SuperAdmin + SuperAdmin + + + Admin + Admin + + + User + User + + + + + + + + + + + + + 32 + + + 32 + + + forced + + True + True + + 60000 + 0.5 + + True + False + + + + 512 + 8192 + + + 2350 + 3450 + 0 + + + + 5000 + False + + + + + + False + + + + +``` + + +### Game Settings + +Example: + +``` + + + + 1 + 10000 + 1 + 1 + 0 + 0 + 30 + 0 + 0 + 5 + 50 + 6 + 0 + 5 + 180000 + 0 + 3 + 300000 + 100 + 3 + 3 + 2 + + + + 0 + 300000 + 5 + + + + 1 + 1 + 0 + 0 + 1000 + 0 + 0 + + + 0 + + Campaigns\Nations\Blue\C01-Race.Challenge.Gbx + eDgWjoKe2dT3GfoTCGCmI_qMvfk + + + Campaigns\Nations\Blue\C02-Race.Challenge.Gbx + hlRjJEZGm0yr1sT91CtdIwmqsti + + + Campaigns\Nations\Blue\C03-Acrobatic.Challenge.Gbx + c4oQLgleEPkNtehypwdYXTkmVvi + + + Campaigns\Nations\Blue\C04-Race.Challenge.Gbx + yWy7ROt2lgk2zL44HKdBgUjuthi + + + Campaigns\Nations\Blue\C05-Endurance.Challenge.Gbx + UR7xWwTkMeFB2kqVLVVOGDBCKFb + + + Campaigns\Nations\Blue\C06-Speed.Challenge.Gbx + fwj7Gn1nSQ_8qx6MPUtzAfHngTj + + + Campaigns\Nations\Blue\C07-Race.Challenge.Gbx + PLVn84D8NoVGjidP1pLafZP8qA8 + + + Campaigns\Nations\Blue\C08-Obstacle.Challenge.Gbx + Hb_oIOr6Y4_I3aoMogsTPufz8hl + + + Campaigns\Nations\Blue\C09-Race.Challenge.Gbx + 9MOwoNkpYZhw8e99cxFI3hVZrvi + + + Campaigns\Nations\Blue\C10-Acrobatic.Challenge.Gbx + XYiTfAdultrTWVJpjl_Bdnf7x4l + + + Campaigns\Nations\Blue\C11-Race.Challenge.Gbx + npRjhClGPZMs_YK_T5yUrnWY0q9 + + + Campaigns\Nations\Blue\C12-Obstacle.Challenge.Gbx + znbgMZayw8uBByLWqc6kYsEfG6l + + + Campaigns\Nations\Blue\C13-Race.Challenge.Gbx + qxHe8iBNC2soNhkOoOvEKDkxZ58 + + + Campaigns\Nations\Blue\C14-Endurance.Challenge.Gbx + uuGCAivChymPBU6TAHp6qIKSoR4 + + + Campaigns\Nations\Blue\C15-Speed.Challenge.Gbx + n4QZfCzSzwMxsY2ILHFUEEipjtg + + +``` + +## Deeplink Support + +Deeplinking is supported to make your server easier accessable for players. + +`tmtp://#join=IPAddress:Port` + +## Testing Rechability of Internetserver + +Can be tested on http://dedimania.net/deditest + ## Source -More Information about Serverhosting can be aquired on https://server.xaseco.org/ \ No newline at end of file +More Information about Serverhosting can be aquired on https://server.xaseco.org/ + +## Game Modes + +TBW \ No newline at end of file From 9bc3dd9981ad84b6ee299356f72a1f7604de99ce Mon Sep 17 00:00:00 2001 From: Stephan Schaffner Date: Sat, 28 Sep 2024 16:49:52 +0200 Subject: [PATCH 4/5] Fixing typo --- game-servers/trackmania-forever.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game-servers/trackmania-forever.md b/game-servers/trackmania-forever.md index 872a219..62cfc5f 100644 --- a/game-servers/trackmania-forever.md +++ b/game-servers/trackmania-forever.md @@ -25,7 +25,7 @@ For LAN Hosting a server login isn't required! ## Startparameters -Startparameters overrise Settings in the configuration of `dedicated_cfg` +Startparameters override Settings in the configuration of `dedicated_cfg` | Startparameter | Function |--|--| @@ -258,4 +258,4 @@ More Information about Serverhosting can be aquired on https://server.xaseco.org ## Game Modes -TBW \ No newline at end of file +TBW From f64c62b4995369dd3ad89dfe4336ac6093afccd7 Mon Sep 17 00:00:00 2001 From: Stephan Schaffner Date: Sat, 28 Sep 2024 17:08:30 +0200 Subject: [PATCH 5/5] Fixed second typo --- game-servers/trackmania-forever.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-servers/trackmania-forever.md b/game-servers/trackmania-forever.md index 62cfc5f..36f3d17 100644 --- a/game-servers/trackmania-forever.md +++ b/game-servers/trackmania-forever.md @@ -9,7 +9,7 @@ ## Online Hosting Requirements -Hosting an Internet accessable Online Server requieres a login to the master server. It can't be your game login and every server needs an unique account. +Hosting an Internet accessable Online Server requires a login to the master server. It can't be your game login and every server needs an unique account. For LAN Hosting a server login isn't required!