Server Problems - check your matchsetting

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
kweevuss
highway camper
highway camper
Posts: 3
Joined: 25 Mar 2011 23:39
Owned TM-games: TMNF

Server Problems - check your matchsetting

Post by kweevuss » 25 Mar 2011 23:44

I have been trying to set up my server, and I keep getting this error for the matchsettings.

Here is the whole error:

[2011/03/25 19:39:04] Initializing...
[2011/03/25 19:39:04] Configuration file : dedicated_cfg.txt
[2011/03/25 19:39:04] Loading system configuration...
[2011/03/25 19:39:04] ...system configuration loaded
[2011/03/25 19:39:04] Loading cache...
[2011/03/25 19:39:04] ...OK
[2011/03/25 19:39:04] Listening for xml-rpc commands on port 5000.
[2011/03/25 19:39:04] Loading dedicated server configuration...
[2011/03/25 19:39:04] ...Dedicated server configuration loaded
[2011/03/25 19:39:04] Match settings file : settings_file\MatchSettings\settings_file.txt
[2011/03/25 19:39:04] Loading match settings...
[2011/03/25 19:39:04] ...ERROR: The playlist file does not exist.
...Could not load the match settings
[2011/03/25 19:39:04] Server not started: no Challenges available. Check your matchsettings!
[2011/03/25 19:39:04] Connecting to master server...
[2011/03/25 19:39:05] ...OK
[2011/03/25 19:39:05] Identifying on master server...
[2011/03/25 19:39:06] ...OK
[2011/03/25 19:39:06] URL: tmtp://#join=kweevusserver
[2011/03/25 19:39:06] Please wait, loading...
[2011/03/25 19:39:06] Server not running, exiting.


For anyone that is wondering, I do have a file inside the matchsettings folder named settings_file.txt

Here is the settings_file

<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<gameinfos>
<game_mode>1</game_mode>
<chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout>
<rounds_pointslimit>50</rounds_pointslimit>
<rounds_usenewrules>0</rounds_usenewrules>
<rounds_forcedlaps>0</rounds_forcedlaps>
<timeattack_limit>300000</timeattack_limit>
<timeattack_synchstartperiod>0</timeattack_synchstartperiod>
<team_pointslimit>5</team_pointslimit>
<team_maxpoints>6</team_maxpoints>
<team_usenewrules>0</team_usenewrules>
<laps_nblaps>5</laps_nblaps>
<laps_timelimit>0</laps_timelimit>
</gameinfos>
<filter>
<random_map_order>0</random_map_order>
</filter>

<challenge>
<file>Campaigns\Nadeo\Sunrise\Race\Holidays\CarPark.Challenge.Gbx</file>
</challenge>
<challenge>
<file>Campaigns\Nadeo\Sunrise\Race\Holidays\GoodMorning.Challenge.Gbx</file>
</challenge>
.
.
.
<challenge>
<file>Campaigns\Nadeo\Sunrise\Race\Pointbreak\HappyBay.Challenge.Gbx</file>
</challenge>
</playlist>


I have tried to look all around on the forums and read most of the readme and I still can't figure this out.

Thanks!

Paris69
speedy pilot
speedy pilot
Posts: 381
Joined: 05 Apr 2006 20:50

Re: Server Problems - check your matchsetting

Post by Paris69 » 27 Mar 2011 08:43

check file/folder paths and access permissions
Last edited by Paris69 on 29 Mar 2011 13:09, edited 1 time in total.

Xymph
Pit Crew
Pit Crew
Posts: 5676
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: Server Problems - check your matchsetting

Post by Xymph » 27 Mar 2011 11:31

kweevuss wrote:[2011/03/25 19:39:04] Match settings file : settings_file\MatchSettings\settings_file.txt
That path looks rather wrong. Check the /game_settings parameter in the command line used to start the server.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: Server Problems - check your matchsetting

Post by nocturne » 28 Mar 2011 17:23

FYI, the path for the match settings starts within (server path)\GameData\Tracks

So, if the matchsettings path is (server path)\GameData\Tracks\MatchSettings\settings_file.txt, the proper setting would be 'MatchSettings\settings_file.txt'
Chief Janitorial Supervisor of the Let'sRock! TM community : www.LetsRock-TM.com

kweevuss
highway camper
highway camper
Posts: 3
Joined: 25 Mar 2011 23:39
Owned TM-games: TMNF

Re: Server Problems - check your matchsetting

Post by kweevuss » 28 Mar 2011 23:41

Ok I tried setting the permissions to everyone has full access - no change.

I changed the path to: (server)\TrackmaniaServer_2011-02-21\TrackmaniaServer.exe /dedicated_cfg=dedicated_cfg.txt /MatchSettings/settings_file.txt

still no change.

I have also but the settings_file.txt inside the gamedata/tracks/matchsettings folder

Do I have the path correct?
Thanks!

EDIT: I realized that I didn't have the correct command so this is what I am using now and it is still not working:
C:\TrackmaniaServer_2011-02-21\TrackmaniaServer.exe /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/settings_file.txt

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: Server Problems - check your matchsetting

Post by nocturne » 29 Mar 2011 08:00

Are you running from a command prompt or a batch file? Should try running the full command from the run dialog.
Chief Janitorial Supervisor of the Let'sRock! TM community : www.LetsRock-TM.com

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Server Problems - check your matchsetting

Post by Slig » 29 Mar 2011 08:41

kweevuss wrote:EDIT: I realized that I didn't have the correct command so this is what I am using now and it is still not working:
C:\TrackmaniaServer_2011-02-21\TrackmaniaServer.exe /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/settings_file.txt
and now the error message is ?.....

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Server Problems - check your matchsetting

Post by Ant » 29 Mar 2011 13:57

This probably won't make any difference but its worth a try, have you tried it this way round ?

Code: Select all

C:\TrackmaniaServer_2011-02-21\TrackmaniaServer.exe /game_settings=MatchSettings/settings_file.txt /dedicated_cfg=dedicated_cfg.txt

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: Server Problems - check your matchsetting

Post by nocturne » 29 Mar 2011 18:36

kweevuss wrote:Ok I tried setting the permissions to everyone has full access - no change.
Seeing as it appears you are on Windows, file permissions should not be an issue at all (at least outside directories Windows manages). Provided you use the proper command with the proper paths, it will run.

I suppose there could be a possible issue if your matchsettings file is encoded in ANSI instead of UTF8 (can change encoding in the Save As dialog in notepad), or perhaps if it uses windows-style 'newlines' instead of unix style (would need to change via a third-party text editor such as notepad++, though very much doubt it'd be the issue).

Really though, exotic problems problems like this where there is no simple answer are very rare. We've all experienced countless threads where the OP insisted that everything was set properly, and ultimately was caused by a small oversight that was insisted they double check countless times. If the server says it can't find a matchsettings with that filename, 99:1 chance that it's just not there.
Chief Janitorial Supervisor of the Let'sRock! TM community : www.LetsRock-TM.com

User avatar
broric
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 05 Aug 2008 10:16
Owned TM-games: tmo, tmuf, Tm2
Location: Victoria Australia

Re: Server Problems - check your matchsetting

Post by broric » 30 Mar 2011 08:30

Dont know if this will help but i had a similar error a while back and your log file looks exactly the same as mine did.

I too had had everything in the right folder and path set but I had made an error when naming my match file
I had added a space accidently in the file name
eg Matchfile 1.txt
when i changed it to Matchfile1.txt it loaded correctly

You might have done the same and it cant hurt to check
Good luck

kweevuss
highway camper
highway camper
Posts: 3
Joined: 25 Mar 2011 23:39
Owned TM-games: TMNF

Re: Server Problems - check your matchsetting

Post by kweevuss » 02 Apr 2011 01:44

Sorry for the delay in a post, I have been very busy.
I did change the text doc to a UFT8 file and that seemed to work. Now I get this error:


[2011/04/01 21:36:57] Initializing...
[2011/04/01 21:36:57] Configuration file : dedicated_cfg.txt
[2011/04/01 21:36:57] Loading system configuration...
[2011/04/01 21:36:57] ...system configuration loaded
[2011/04/01 21:36:57] Loading cache...
[2011/04/01 21:36:57] ...OK
[2011/04/01 21:36:57] Listening for xml-rpc commands on port 5000.
[2011/04/01 21:36:57] Loading dedicated server configuration...
[2011/04/01 21:36:57] ...Dedicated server configuration loaded
[2011/04/01 21:36:57] Match settings file : MatchSettings\settings_file.utf8
[2011/04/01 21:36:57] Loading match settings...
[2011/04/01 21:36:57] Track 'Campaigns\Nadeo\Sunrise\Race\Holidays\CarPark.Challenge.Gbx' not found.
[2011/04/01 21:36:57] Track 'Campaigns\Nadeo\Sunrise\Race\Holidays\GoodMorning.Challenge.Gbx' not found.
[2011/04/01 21:36:57] Track 'Campaigns\Nadeo\Sunrise\Race\Pointbreak\HappyBay.Challenge.Gbx' not found.
[2011/04/01 21:36:57] ...ERROR: Challenge unknown.
...Could not load the match settings
[2011/04/01 21:36:57] Server not started: no Challenges available. Check your matchsettings!
[2011/04/01 21:36:57] Connecting to master server...
[2011/04/01 21:36:58] ...OK
[2011/04/01 21:36:58] Identifying on master server...
[2011/04/01 21:36:59] ...OK
[2011/04/01 21:36:59] URL: tmtp://#join=kweevusserver
[2011/04/01 21:36:59] Please wait, loading...
[2011/04/01 21:36:59] Server not running, exiting.

Post Reply