How to set up Trackmania Nations Forever Linux Server.

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

Post Reply
llX-Rayll
pedestrian
pedestrian
Posts: 13
Joined: 15 Sep 2010 14:25
Owned TM-games: TMU

How to set up Trackmania Nations Forever Linux Server.

Post by llX-Rayll » 15 Sep 2010 14:35

:oops: :oops: :grmblz:
HI...

I need help setting up Trackmania nations server on Debian OS.
I start the server with sudo ./TrackManiaServer command and everything seems ok.
But i cant see the server in game. All my ports are open !
And can't join with the server...
Could anyone give me a working cfg and tell me how to set the server up so it will appear in servers list.


Thank you! =)

jamie_macdonald
TM-Patrol
TM-Patrol
Posts: 1612
Joined: 10 Jul 2008 19:48
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Location: London, UK
Contact:

Re: How to set up Trackmania Nations Forever Linux Server.

Post by jamie_macdonald » 15 Sep 2010 14:55

Have you even checked the /Logs/ directory?

This will show any errors that are obvious, is it starting properly and staying up on the box? (can you see the proccess after doing a ps -ef ?)

Our starting strings are like this (if that helps) from our server.sh for coast server:
./TrackmaniaServer /game_settings=MatchSettings/last.tmu.dr-ukr_coast.txt /dedicated_cfg=dr-ukr_coast.txt

Once you have checked the Logfiles for error, and confirmed it actually stays running on your box then we'll take it a step further.

llX-Rayll
pedestrian
pedestrian
Posts: 13
Joined: 15 Sep 2010 14:25
Owned TM-games: TMU

Re: How to set up Trackmania Nations Forever Linux Server.

Post by llX-Rayll » 15 Sep 2010 15:40

This is that /Logs/directory

[2010/09/15 18:30:19] Initializing...
[2010/09/15 18:30:19] Configuration file : dedicated.cfg
[2010/09/15 18:30:19] Loading system configuration...
[2010/09/15 18:30:19] ...system configuration loaded
[2010/09/15 18:30:19] Loading cache...
[2010/09/15 18:30:19] ...OK
[2010/09/15 18:30:19] Listening for xml-rpc commands on port 5071.
[2010/09/15 18:30:19] Loading dedicated server configuration...
[2010/09/15 18:30:19] ...ERROR: Ratio must lie between 0 and 1.
...Could not load the dedicated server configuration
[2010/09/15 18:30:19] Match settings file : MatchSettings\Internet\AdvancedTraining.txt
[2010/09/15 18:30:19] Loading match settings...
[2010/09/15 18:30:19] ...Match settings loaded
[2010/09/15 18:30:19] Autostart server on internet
[2010/09/15 18:30:19] Starting server...
[2010/09/15 18:30:19] Connecting to master server...
[2010/09/15 18:30:21] ...ERROR: already connected (from a different ip)
Please try again in one minute.
[2010/09/15 18:30:21] ...Server stopped
[2010/09/15 18:30:21] Ready, waiting for commands.

jamie_macdonald
TM-Patrol
TM-Patrol
Posts: 1612
Joined: 10 Jul 2008 19:48
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Location: London, UK
Contact:

Re: How to set up Trackmania Nations Forever Linux Server.

Post by jamie_macdonald » 15 Sep 2010 15:43

your log wrote:[2010/09/15 18:30:21] ...ERROR: already connected (from a different ip)
Please try again in one minute.
You either have two instances running, or the account is in use and connected elswhere,

are you using a seperate server account or trying to use your personal one?

We'll get there in the end :D

llX-Rayll
pedestrian
pedestrian
Posts: 13
Joined: 15 Sep 2010 14:25
Owned TM-games: TMU

Re: How to set up Trackmania Nations Forever Linux Server.

Post by llX-Rayll » 15 Sep 2010 15:46

i have 2 accounts , one for the server, and second for the personal use..

jamie_macdonald
TM-Patrol
TM-Patrol
Posts: 1612
Joined: 10 Jul 2008 19:48
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Location: London, UK
Contact:

Re: How to set up Trackmania Nations Forever Linux Server.

Post by jamie_macdonald » 15 Sep 2010 15:55

llX-Rayll wrote:i have 2 accounts , one for the server, and second for the personal use..
Well then the server is allready running/connected ...check your proccess list

unless someone else has the server account details and is using it of course?

one way to test your setup is OK is to make another server account for testing purpose, if the same happens on that you know there is something else wrong.

The errors in the Log will definately help point to the problem either way :thumbsup:

llX-Rayll
pedestrian
pedestrian
Posts: 13
Joined: 15 Sep 2010 14:25
Owned TM-games: TMU

Re: How to set up Trackmania Nations Forever Linux Server.

Post by llX-Rayll » 15 Sep 2010 16:00

Maybe you give me you'r MSN ? Then its easyer...

Emanuel
highway camper
highway camper
Posts: 1
Joined: 15 Sep 2010 16:02
Owned TM-games: nations

Re: How to set up Trackmania Nations Forever Linux Server.

Post by Emanuel » 15 Sep 2010 16:04

@jamie_macdonald
What about this part here..
[2010/09/15 18:30:19] Loading dedicated server configuration...
[2010/09/15 18:30:19] ...ERROR: Ratio must lie between 0 and 1.
...Could not load the dedicated server configuration

Isnt that the problem ?


The Masterserver account is not logged in anywhere else, and there is only one server process running.
I always kill the process after the server fails to run

jamie_macdonald
TM-Patrol
TM-Patrol
Posts: 1612
Joined: 10 Jul 2008 19:48
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Location: London, UK
Contact:

Re: How to set up Trackmania Nations Forever Linux Server.

Post by jamie_macdonald » 16 Sep 2010 09:06

Emanuel wrote:@jamie_macdonald
What about this part here..
[2010/09/15 18:30:19] Loading dedicated server configuration...
[2010/09/15 18:30:19] ...ERROR: Ratio must lie between 0 and 1.
...Could not load the dedicated server configuration

Isnt that the problem ?


The Masterserver account is not logged in anywhere else, and there is only one server process running.
I always kill the process after the server fails to run
Correct that could be it, blind moment :lol:

Not sure what section the error reffers to but it's definately a config issue by the looks of things eh.

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Re: How to set up Trackmania Nations Forever Linux Server.

Post by Assembler Maniac » 16 Sep 2010 12:29

Emanuel wrote: What about this part here..
[2010/09/15 18:30:19] Loading dedicated server configuration...
[2010/09/15 18:30:19] ...ERROR: Ratio must lie between 0 and 1.
...Could not load the dedicated server configuration

Isnt that the problem ?
Looks like one of the voting ratios might be screwed up. Check your config file for a vote ratio above 1.0.

Post Reply