Page 2 of 3
Re: Issue when starting PyPlanet
Posted: 11 Apr 2020, 21:49
by TMarc
Did you download the latest dedicated server?
http://files.v04.maniaplanet.com/server ... Latest.zip
In the past years there have been changes, perhaps not all tutorials work 100% nowadays.
A relative path is the path to a file, starting from the current folder, hence relative: Scripts/TimeAttack.Script.txt
An absolute path typically includes the drive letter, it is a complete path: c:\Progam Files\ManiaplanetDedicatedServer\Scripts\Modes\Trackmania\TimeAttack.Script.txt
Generally it is a good idea to try to start the dedicated server directly and not from the servev controller,
to check if basic things are fine, like network connection, map lists, mode scripts etc.
Re: Issue when starting PyPlanet
Posted: 11 Apr 2020, 22:12
by prevonuty
Yes I did download the latest dedicated server (I mean the link is the same, so I guess the files are the same ? I might be wrong there) and tried with both relative and absolute path, none of them solved the problem sadly.
Plus I don't have several ways to start the dedicated server, I am just running the .bat but maybe it is not the direct way you mentioned ?
Re: Issue when starting PyPlanet
Posted: 11 Apr 2020, 22:51
by TMarc
The latest is perfect.
The batch normally starts the server, yes.
Please post the command line
and also the content of your dedicated configuration (attention, remove the password).
Re: Issue when starting PyPlanet
Posted: 11 Apr 2020, 22:59
by prevonuty
Here is the command line of the .bat :
Code: Select all
echo off
ManiaPlanetServer /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/maplist.txt
if %errorlevel% NEQ 0 pause
And here is the content of my configuration of my dedicated server :
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<dedicated>
<authorization_levels>
<level>
<name>SuperAdmin</name>
<password></password>
</level>
<level>
<name>Admin</name>
<password></password>
</level>
<level>
<name>User</name>
<password></password>
</level>
</authorization_levels>
<masterserver_account>
<login>kilokilo31</login>
<password></password>
<validation_key></validation_key>
</masterserver_account>
<server_options>
<name>just test</name>
<comment></comment>
<hide_server>0</hide_server> <!-- value is 0 (always shown), 1 (always hidden), 2 (hidden from nations) -->
<max_players>5</max_players>
<password></password>
<max_spectators>5</max_spectators>
<password_spectator></password_spectator>
<keep_player_slots>False</keep_player_slots> <!-- when a player changes to spectator, hould the server keep if player slots/scores etc.. or not. -->
<ladder_mode>forced</ladder_mode> <!-- value between 'inactive', 'forced' (or '0', '1') -->
<ladder_serverlimit_min>0</ladder_serverlimit_min>
<ladder_serverlimit_max>80000</ladder_serverlimit_max>
<enable_p2p_upload>False</enable_p2p_upload>
<enable_p2p_download>False</enable_p2p_download>
<callvote_timeout>60000</callvote_timeout>
<callvote_ratio>0.5</callvote_ratio> <!-- default ratio. value in [0..1], or -1 to forbid. -->
<callvote_ratios>
<voteratio command="Ban" ratio="-1"/>
<!-- commands can be "Ban", "Kick", "RestartMap", "NextMap", "SetModeScriptSettingsAndCommands"... -->
</callvote_ratios>
<allow_map_download>True</allow_map_download>
<autosave_replays>False</autosave_replays>
<autosave_validation_replays>False</autosave_validation_replays>
<referee_password></referee_password>
<referee_validation_mode>0</referee_validation_mode> <!-- value is 0 (only validate top3 players), 1 (validate all players) -->
<use_changing_validation_seed>False</use_changing_validation_seed>
<disable_horns>False</disable_horns>
<clientinputs_maxlatency>0</clientinputs_maxlatency> <!-- 0 mean automatic adjustement -->
</server_options>
<system_config>
<connection_uploadrate>8000</connection_uploadrate> <!-- Kbits per second -->
<connection_downloadrate>8000</connection_downloadrate> <!-- Kbits per second -->
<packetassembly_threadcount>1</packetassembly_threadcount> <!-- Number of threads used when assembling packets. Defaults to 1. -->
<allow_spectator_relays>False</allow_spectator_relays>
<p2p_cache_size>600</p2p_cache_size>
<force_ip_address>77.152.35.52</force_ip_address>
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
<client_port>5000</client_port>
<bind_ip_address></bind_ip_address>
<use_nat_upnp></use_nat_upnp>
<gsp_name></gsp_name> <!-- Game Server Provider name and info url -->
<gsp_url></gsp_url> <!-- If you're a server hoster, you can use this to advertise your services -->
<xmlrpc_port>5000</xmlrpc_port>
<xmlrpc_allowremote>False</xmlrpc_allowremote> <!-- If you specify an ip adress here, it'll be the only accepted adress. this will improve security. -->
<scriptcloud_source>nadeocloud</scriptcloud_source> <!-- Specify the cloud storage mode for Titles that use it. Can be "localdebug" or "xmlrpc" or "nadeocloud" (default). "nadeocloud" will work only if the creator of the title subscribed to the cloud service. -->
<blacklist_url></blacklist_url>
<guestlist_filename></guestlist_filename>
<blacklist_filename></blacklist_filename>
<title>TMStadium@nadeo</title> <!-- SMStorm, TMCanyon, ... -->
<minimum_client_build></minimum_client_build> <!-- Only accept updated client to a specific version. ex: 2011-10-06 -->
<disable_coherence_checks>False</disable_coherence_checks> <!-- disable internal checks to detect issues/cheats, and reject race times -->
<disable_replay_recording>False</disable_replay_recording> <!-- disable replay recording in memory during the game to lower memory usage. -->
<save_all_individual_runs>False</save_all_individual_runs> <!-- Save all the ghosts from the match replay to individual ghost.gbx files, in folder {servername}/Autosaves/Runs_{mapname}/ -->
<use_proxy>False</use_proxy>
<proxy_url></proxy_url>
</system_config>
</dedicated>
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 09:43
by HaagseSmurf
Can you also post your matchsettingsfile, your maplist.txt?
Greetz
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 14:01
by prevonuty
Yes, of course, here it is :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<playlist>
<gameinfos>
<game_mode>0</game_mode>
<chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout>
<allwarmupduration>0</allwarmupduration>
<disablerespawn>0</disablerespawn>
<forceshowallopponents>0</forceshowallopponents>
<script_name>TimeAttack.Script.txt</script_name>
</gameinfos>
<filter>
<is_lan>1</is_lan>
<is_internet>1</is_internet>
<is_solo>0</is_solo>
<is_hotseat>0</is_hotseat>
<sort_index>1000</sort_index>
<random_map_order>0</random_map_order>
</filter>
<script_settings>
<setting name="S_ChatTime" type="integer" value="10"/>
<setting name="S_UseClublinks" type="boolean" value="0"/>
<setting name="S_UseClublinksSponsors" type="boolean" value="0"/>
<setting name="S_NeutralEmblemUrl" type="text" value=""/>
<setting name="S_ScriptEnvironment" type="text" value="production"/>
<setting name="S_AllowRespawn" type="boolean" value="1"/>
<setting name="S_UseLegacyXmlRpcCallbacks" type="boolean" value="1"/>
<setting name="S_WarmUpNb" type="integer" value="0"/>
<setting name="S_WarmUpDuration" type="integer" value="0"/>
<setting name="S_TimeLimit" type="integer" value="300"/>
</script_settings>
<startindex>0</startindex>
<map>
<file>A01.Map.Gbx</file>
</map>
</playlist>
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 15:06
by TMarc
Except that you are missing the ident for the map in the map settings file,
and that the path to the map file is missing,
your configuration is working for me, I'm able to start the dedicated server.
The ident is the unique identifier of each map, to make sure the map file was not unintentionally changed.
You can read it of the map file with GBXDump and look for Map UID.
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 15:48
by prevonuty
Yes but the problem is not the map, it works perfectly for me, I can start the dedicated server without any problem. The issue is just that I cannot run PyPlanet, with the Script mode error that I still don't understand.
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 18:35
by HaagseSmurf
Underneath a matchsettings file from our canyonserver. I changed the titlename into stadium cause i guess you are using a Stadium map?
Main difference is indeed the title in your maplist.txt and not in the dedicated.cfg. So try to remove it there.
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<playlist>
<gameinfos>
<game_mode>0</game_mode>
<script_name>TimeAttack.Script.txt</script_name>
<title>TMStadium@nadeo</title>
<chat_time>10000</chat_time>
<finishtimeout>1</finishtimeout>
<allwarmupduration>0</allwarmupduration>
<disablerespawn>0</disablerespawn>
<forceshowallopponents>0</forceshowallopponents>
</gameinfos>
<hotseat>
<game_mode>0</game_mode>
<time_limit>300000</time_limit>
<rounds_count>5</rounds_count>
</hotseat>
<filter>
<is_lan>1</is_lan>
<is_internet>1</is_internet>
<is_solo>0</is_solo>
<is_hotseat>0</is_hotseat>
<sort_index>1000</sort_index>
<random_map_order>0</random_map_order>
</filter>
Re: Issue when starting PyPlanet
Posted: 12 Apr 2020, 19:02
by prevonuty
Yes I am using a Stadium map. But I don't get what you mean by removing the title, I don't have any title in my maplist.txt file.