Browse Source

Fixes and tModLoader Added for Terraria (#662)

OwN-3m-All 6 months ago
parent
commit
fda6d62839

+ 2 - 1
modules/config_games/server_configs/mohaa_win.xml

@@ -2,7 +2,7 @@
   <game_key>mohaa_win32</game_key>
   <protocol>lgsl</protocol>
   <lgsl_query_name>mohaa</lgsl_query_name>
-  <game_name>Medal Of Honor: Allied Assault (Windows)</game_name>
+  <game_name>Medal Of Honor: Allied Assault</game_name>
   <server_exec_name>MOHAA_server.exe</server_exec_name>
   <query_port type="add">97</query_port>
   <cli_template>+set dedicated 1 +set sv_maxrate 20000 +set net_noipx 1 %QUERY_PORT% +exec server.cfg %IP% %PORT% %PLAYERS%</cli_template>
@@ -12,6 +12,7 @@
     <cli_param id="PLAYERS" cli_string="+set sv_maxclients" options="s" />
     <cli_param id="QUERY_PORT" cli_string="+set net_gamespy_port" options="s" />
   </cli_params>
+  <console_log>main/qconsole.log</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
     <mod key="1">

+ 2 - 1
modules/config_games/server_configs/mohbr_win.xml

@@ -2,7 +2,7 @@
   <game_key>mohbr_win32</game_key>
   <protocol>lgsl</protocol>
   <lgsl_query_name>mohaa</lgsl_query_name>
-  <game_name>Medal Of Honor: Breakthrough (Windows)</game_name>
+  <game_name>Medal Of Honor: Breakthrough</game_name>
   <server_exec_name>moh_Breakthrough_server.exe</server_exec_name>
   <query_port type="add">97</query_port>
   <cli_template>+set dedicated 1 +set net_noipx 1 %QUERY_PORT% +exec server.cfg %IP% %PORT% %PLAYERS%</cli_template>
@@ -12,6 +12,7 @@
     <cli_param id="PLAYERS" cli_string="+set sv_maxclients" options="s" />
     <cli_param id="QUERY_PORT" cli_string="+set net_gamespy_port" options="s" />
   </cli_params>
+  <console_log>maintt/qconsole.log</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
     <mod key="1">

+ 2 - 1
modules/config_games/server_configs/mohsp_win.xml

@@ -2,7 +2,7 @@
   <game_key>mohsp_win32</game_key>
   <protocol>lgsl</protocol>
   <lgsl_query_name>mohaa</lgsl_query_name>
-  <game_name>Medal Of Honor: Spearhead (Windows)</game_name>
+  <game_name>Medal Of Honor: Spearhead</game_name>
   <server_exec_name>moh_spearhead_server.exe</server_exec_name>
   <query_port type="add">97</query_port>
   <cli_template>+set dedicated 1 +set net_noipx 1 %QUERY_PORT% +exec server.cfg %IP% %PORT% %PLAYERS%</cli_template>
@@ -12,6 +12,7 @@
     <cli_param id="PLAYERS" cli_string="+set sv_maxclients" options="s" />
     <cli_param id="QUERY_PORT" cli_string="+set net_gamespy_port" options="s" />
   </cli_params>
+  <console_log>mainta/qconsole.log</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
     <mod key="1">

+ 1 - 0
modules/config_games/server_configs/mohspdemo_win.xml

@@ -12,6 +12,7 @@
     <cli_param id="PLAYERS" cli_string="+set sv_maxclients" options="s" />
     <cli_param id="QUERY_PORT" cli_string="+set net_gamespy_port" options="s" />
   </cli_params>
+  <console_log>demota/qconsole.log</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
     <mod key="1">

+ 42 - 0
modules/config_games/server_configs/terrariatmod_win64.xml

@@ -0,0 +1,42 @@
+<game_config>
+	<game_key>terrariatmod_win64</game_key>
+	<protocol>gameq</protocol>
+	<gameq_query_name>terraria</gameq_query_name>
+	<installer>steamcmd</installer>
+	<game_name>Terraria tModLoader</game_name>
+	<server_exec_name>start-tModLoaderServer.bat</server_exec_name>
+	<cli_template>%IP% %PORT% %PLAYERS% %CONTROL_PASSWORD% -nosteam -world%HOME_PATH%\Save\Worlds\%HOSTNAME%.wld %AUTOCREATE% -worldname %HOSTNAME% %SEED% -secure -worldpath%HOME_PATH%\Save\Worlds\ -banlist%HOME_PATH%\banlist.txt -savedirectory%HOME_PATH%\Save</cli_template>
+	<cli_params>
+		<cli_param id="IP" cli_string="-ip" options="s" />
+		<cli_param id="PORT" cli_string="-port" options="s" />
+		<cli_param id="PLAYERS" cli_string="-maxplayers" options="s" />
+		<cli_param id="CONTROL_PASSWORD" cli_string="-password" options="s" />
+		<cli_param id="HOME_PATH" cli_string="" options="s" />
+		<cli_param id="HOSTNAME" cli_string="" />
+	</cli_params>
+	<console_log>tModLoader-Logs/server.log</console_log>
+	<max_user_amount>8</max_user_amount>
+	<mods>
+		<mod key="default">
+			<name>None</name>
+			<installer_name>1281930</installer_name>
+		</mod>
+	</mods>
+	<server_params>
+		<param key="-autocreate" type="select" id="AUTOCREATE">
+			<option value="1">Small</option>
+			<option value="2">Medium</option>
+			<option value="3">Large</option>
+			<options>s</options>
+			<desc>The size of the world to be created.</desc>
+		</param>
+			<param key="-seed" type="text" id="SEED">
+			<default>MyAwesomeSeed</default>
+			<options>s</options>
+			<desc>Seed used to generate your world</desc>
+		</param>
+	</server_params>
+	<configuration_files>
+		<file description="Server Configurations">serverconfig.txt</file>
+	</configuration_files>
+</game_config>