TMarc wrote:Il faut indiquer l'endroit précis du fichier de configuration... Userdata/... Etc.
Et lance une invite de commande cmd au lieu d'exécuter le batch directement depuis l'explorer de Windows.
Code: Select all
ManiaPlanetServer.exe /title=SMStormElite@nadeolabs /game_settings=MatchSettings/SMStormElite1.txt /dedicated_cfg=dedicated_cfg.txt
Pourtant moi quand je lance cette commande dans mon fichier.bat sans spécifier UserData, ça marche bien
- As-tu verifié si ton fichier config ne contient pas d'erreur (Fermeture de balises manquant par exemple) ?
- Ton fichier se trouve t-il bien dans UserData/Config et se nomme t-il bien dedicated_cfg.txt ?
Je te redonne éventuellement le code du fichier dedicated_cfg.txt:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<dedicated>
<authorization_levels>
<level>
<name>SuperAdmin</name>
<password>SuperAdmin</password>
</level>
<level>
<name>Admin</name>
<password>Admin</password>
</level>
<level>
<name>User</name>
<password>User</password>
</level>
</authorization_levels>
<masterserver_account>
<login>LOGINSERVER</login>
<password>MOTDEPASSE</password>
<validation_key>VALIDATIONCODE</validation_key>
</masterserver_account>
<server_options>
<name>NOM DU SERV</name>
<comment>Vive Elite !</comment>
<hide_server>0</hide_server> <!-- value is 0 (always shown), 1 (always hidden), 2 (hidden from nations) -->
<max_players>10</max_players>
<password></password>
<max_spectators>15</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') -->
<enable_p2p_upload>True</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", ... -->
</callvote_ratios>
<allow_map_download>False</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 -->
<allow_spectator_relays>False</allow_spectator_relays>
<p2p_cache_size>600</p2p_cache_size>
<force_ip_address></force_ip_address>
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
<client_port>0</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>SMStorm</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 -->
<use_proxy>False</use_proxy>
<proxy_login></proxy_login>
<proxy_password></proxy_password>
</system_config>
</dedicated>