Page 2 of 2

Re: Error "Cannot open socket"

Posted: 15 Dec 2019, 18:48
by ybconcept
Thank you for your reply reaby.

I've try with this settings

decicated_cfg.txt

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>

...
		<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", "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>localhost</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>https://discord.vieilles-pies.ch</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>true</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</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>
server.xml on ManiaControl

Code: Select all

  GNU nano 2.9.3                                                                                                                                            server.xml                                                                                                                                                       
<?xml version="1.0" encoding="UTF-8"?>

<maniacontrol>

        <!-- Configure Your ManiaPlanet Server -->
        <server>

                <!-- Server Connection Details -->
                <host>localhost</host>
                <port>5000</port>

                <!-- XmlRpc Login Details -->
                <user>SuperAdmin</user>
                <pass>**password**</pass>

        </server>

        <!-- Configure the MySQL Database used by ManiaControl -->
        <database>

                <!-- MySQL Server -->
                <host>localhost</host>
                <port>3306</port>

                <!-- MySQL User -->
                <user>trackmania</user>
                <pass>**password**</pass>

                <!-- Database Name -->
                <name>trackmania_db</name>

        </database>

        <!-- Configure Server Master-Administrators -->
        <masteradmins>
...
        </masteradmins>

        <!-- You can add Admins and Moderators ingame -->

</maniacontrol>
and i've the same result like before... cannot open socket...

I can't understand what is my error

Re: Error "Cannot open socket"

Posted: 17 Dec 2019, 18:08
by ybconcept
Hello !

So, I’ve try with a new install of the Trackmania Server without Pterodactyl and it works fine !

I think it‘s an issue with Pterodactyl port management. I will search more but at this time it works without Pterodactyl

Re: Error "Cannot open socket"

Posted: 17 Dec 2019, 18:41
by TMarc
ok, somehow good news then :thumbsup: