Просмотр исходного кода

Conan Exiles xml update

- Removed map selection with maplist script since the game still support only one map (I thought another official maps or at least custom maps coming later, but didn't, they extended the original map only)
- LGSL query changed with the xml file too from my custom ports to default, if the server port is 7777, then 7778 should be free (maybe used by the server, but there is no clear infos from devs) and query calculated like this 7777+19238 = 27015
- Refreshed the game icon
rocco27 8 лет назад
Родитель
Сommit
cb86dc9aa9

BIN
images/icons/conanexiles.png


+ 5 - 19
modules/config_games/server_configs/conanexiles_win64.xml

@@ -5,17 +5,15 @@
   <installer>steamcmd</installer>
   <game_name>Conan Exiles</game_name>
   <server_exec_name>ConanSandboxServer.exe</server_exec_name>
-  <cli_template>%MAP%%IP%%PORT%%QUERY_PORT%%PLAYERS% -log</cli_template>
+  <cli_template>%IP% %PORT% %QUERY_PORT% %PLAYERS% -log</cli_template>
   <cli_params>
-    <cli_param id="MAP" cli_string="" />
-    <cli_param id="IP" cli_string="?Multihome=" />
-    <cli_param id="PORT" cli_string="?Port=" />
-    <cli_param id="PLAYERS" cli_string="?MaxPlayers=" />
+    <cli_param id="IP" cli_string="-MULTIHOME=" />
+    <cli_param id="PORT" cli_string="-Port=" />
+    <cli_param id="PLAYERS" cli_string="-MaxPlayers=" />
   </cli_params>
   <reserve_ports>
-    <port type="add" id="QUERY_PORT" cli_string="?QueryPort=">2</port>
+    <port type="add" id="QUERY_PORT" cli_string="-QueryPort=">19238</port>
   </reserve_ports>
-  <map_list>maplist.txt</map_list>
   <console_log>ConanSandbox/Saved/Logs/ConanSandbox.log</console_log>
   <max_user_amount>70</max_user_amount>
   <mods>
@@ -66,16 +64,4 @@
       <desc>Enables or disables BattlEye Anti-Cheat protection on the server.</desc>
     </field>
   </custom_fields>
-  <post_install>
-    maplist="maplist.txt"
-    if [ -s "$maplist" ]
-      then
-        echo "File $maplist found. OK!"
-      else
-        echo "File $maplist not found."
-        echo "Generating new maplist file in $maplist!"
-        touch $maplist
-        echo ConanSandbox> $maplist
-      fi
-  </post_install>
 </game_config>

+ 1 - 1
protocol/lgsl/lgsl_protocol.php

@@ -476,7 +476,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 			case "bf3"				: $c_to_q = 22000;	$c_def = 25200;	$q_def = 47200;	$c_to_s = 0;	break;
 			case "bf2142"			: $c_to_q = 0;		$c_def = 17567;	$q_def = 29900;	$c_to_s = 0;	break;
 			case "callofdutymw3"	: $c_to_q = -1;		$c_def = 27015;	$q_def = 27014;	$c_to_s = 0;	break;
-			case "conanexiles"		: $c_to_q = 2;		$c_def = 24000;	$q_def = 24002;	$c_to_s = 0;	break;
+			case "conanexiles"		: $c_to_q = 19238;	$c_def = 7777;	$q_def = 27015;	$c_to_s = 0;	break;
 			case "cube"				: $c_to_q = 1;		$c_def = 28785;	$q_def = 28786;	$c_to_s = 0;	break;
 			case "dayzmod"			: $c_to_q = 1;		$c_def = 2302;	$q_def = 2303;	$c_to_s = 0;	break;
 			case "egs"				: $c_to_q = 1;		$c_def = 30000;	$q_def = 30001; $c_to_s = 0;	break;