Explorar el Código

Merge pull request #406 from rocco27/master

Februar updates
rocco27 hace 7 años
padre
commit
14f674ddd0

BIN
images/icons/atlas.png


+ 31 - 9
modules/config_games/server_configs/7daystodie_linux32.xml

@@ -6,7 +6,6 @@
   <game_name>7 Days to Die</game_name>
   <server_exec_name>7DaysToDieServer.x86</server_exec_name>
   <cli_template>-logfile 7DaysToDieServer_Data/output_log.txt -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated</cli_template>
-  <maps_location>Data/Worlds</maps_location>
   <console_log>7DaysToDieServer_Data/output_log.txt</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
@@ -41,12 +40,6 @@
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
     </text>
-    <text key="map">
-      <default>property</default>
-      <var>GameWorld</var>
-      <filepath>serverconfig.xml</filepath>
-      <options>tagValueByName</options>
-    </text>
     <text key="control_password">
       <default>property</default>
       <var>ControlPanelPassword</var>
@@ -75,7 +68,7 @@
       <var>ControlPanelEnabled</var>
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
-      <desc>Enable/Disable the control panel.</desc>
+      <desc>Enable/Disable the web control panel.</desc>
     </field>
     <field key="Control Panel Port" type="text">
       <default>property</default>
@@ -115,13 +108,39 @@
       <options>tagValueByName</options>
       <desc>Enables/Disables EasyAntiCheat.</desc>
     </field>
+    <field key="Game World" type="select">
+      <option value="Navezgane">Navezgane</option>
+      <option value="RWG">RWG</option>
+      <default>property</default>
+      <default_value>Navezgane</default_value>
+      <var>GameWorld</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>Defines the map of the server.</desc>
+    </field>
+    <field key="WorldGen Seed" type="text">
+      <default>property</default>
+      <default_value>asdf</default_value>
+      <var>WorldGenSeed</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it.</desc>
+    </field>
+    <field key="WorldGen Size" type="text">
+      <default>property</default>
+      <default_value>4096</default_value>
+      <var>WorldGenSize</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load.</desc>
+    </field>
     <field key="Game Name" type="text">
       <default>property</default>
       <default_value>My Game</default_value>
       <var>GameName</var>
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
-      <desc>Whatever you want the game name to be (this controls the random generation seed as well).</desc>
+      <desc>Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world.</desc>
     </field>
     <field key="Max Spawned Zombies" type="text">
       <default>property</default>
@@ -133,6 +152,9 @@
       <desc>Making this number too large (more than about 80) may cause servers to run at poor framerates which will effect lag and play quality for clients.</desc>
     </field>
   </custom_fields>
+  <environment_variables>
+    export LD_LIBRARY_PATH={OGP_HOME_DIR}/7DaysToDieServer_Data/Plugins/x86
+  </environment_variables>
   <lock_files>
     7DaysToDieServer.x86_64
   </lock_files>

+ 31 - 9
modules/config_games/server_configs/7daystodie_linux64.xml

@@ -6,7 +6,6 @@
   <game_name>7 Days to Die</game_name>
   <server_exec_name>7DaysToDieServer.x86_64</server_exec_name>
   <cli_template>-logfile 7DaysToDieServer_Data/output_log.txt -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated</cli_template>
-  <maps_location>Data/Worlds</maps_location>
   <console_log>7DaysToDieServer_Data/output_log.txt</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
@@ -41,12 +40,6 @@
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
     </text>
-    <text key="map">
-      <default>property</default>
-      <var>GameWorld</var>
-      <filepath>serverconfig.xml</filepath>
-      <options>tagValueByName</options>
-    </text>
     <text key="control_password">
       <default>property</default>
       <var>ControlPanelPassword</var>
@@ -75,7 +68,7 @@
       <var>ControlPanelEnabled</var>
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
-      <desc>Enable/Disable the control panel.</desc>
+      <desc>Enable/Disable the web control panel.</desc>
     </field>
     <field key="Control Panel Port" type="text">
       <default>property</default>
@@ -115,13 +108,39 @@
       <options>tagValueByName</options>
       <desc>Enables/Disables EasyAntiCheat.</desc>
     </field>
+    <field key="Game World" type="select">
+      <option value="Navezgane">Navezgane</option>
+      <option value="RWG">RWG</option>
+      <default>property</default>
+      <default_value>Navezgane</default_value>
+      <var>GameWorld</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>Defines the map of the server.</desc>
+    </field>
+    <field key="WorldGen Seed" type="text">
+      <default>property</default>
+      <default_value>asdf</default_value>
+      <var>WorldGenSeed</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it.</desc>
+    </field>
+    <field key="WorldGen Size" type="text">
+      <default>property</default>
+      <default_value>4096</default_value>
+      <var>WorldGenSize</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load.</desc>
+    </field>
     <field key="Game Name" type="text">
       <default>property</default>
       <default_value>My Game</default_value>
       <var>GameName</var>
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
-      <desc>Whatever you want the game name to be (this controls the random generation seed as well).</desc>
+      <desc>Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world.</desc>
     </field>
     <field key="Max Spawned Zombies" type="text">
       <default>property</default>
@@ -133,6 +152,9 @@
       <desc>Making this number too large (more than about 80) may cause servers to run at poor framerates which will effect lag and play quality for clients.</desc>
     </field>
   </custom_fields>
+  <environment_variables>
+    export LD_LIBRARY_PATH={OGP_HOME_DIR}/7DaysToDieServer_Data/Plugins/x86_64
+  </environment_variables>
   <lock_files>
     7DaysToDieServer.x86
   </lock_files>

+ 28 - 9
modules/config_games/server_configs/7daystodie_win64.xml

@@ -6,7 +6,6 @@
   <game_name>7 Days to Die</game_name>
   <server_exec_name>7DaysToDieServer.exe</server_exec_name>
   <cli_template>-logfile 7DaysToDieServer_Data/output_log.txt -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated</cli_template>
-  <maps_location>Data/Worlds</maps_location>
   <console_log>7DaysToDieServer_Data/output_log.txt</console_log>
   <max_user_amount>64</max_user_amount>
   <mods>
@@ -41,12 +40,6 @@
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
     </text>
-    <text key="map">
-      <default>property</default>
-      <var>GameWorld</var>
-      <filepath>serverconfig.xml</filepath>
-      <options>tagValueByName</options>
-    </text>
     <text key="control_password">
       <default>property</default>
       <var>ControlPanelPassword</var>
@@ -75,7 +68,7 @@
       <var>ControlPanelEnabled</var>
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
-      <desc>Enable/Disable the control panel.</desc>
+      <desc>Enable/Disable the web control panel.</desc>
     </field>
     <field key="Control Panel Port" type="text">
       <default>property</default>
@@ -115,13 +108,39 @@
       <options>tagValueByName</options>
       <desc>Enables/Disables EasyAntiCheat.</desc>
     </field>
+    <field key="Game World" type="select">
+      <option value="Navezgane">Navezgane</option>
+      <option value="RWG">RWG</option>
+      <default>property</default>
+      <default_value>Navezgane</default_value>
+      <var>GameWorld</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>Defines the map of the server.</desc>
+    </field>
+    <field key="WorldGen Seed" type="text">
+      <default>property</default>
+      <default_value>asdf</default_value>
+      <var>WorldGenSeed</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it.</desc>
+    </field>
+    <field key="WorldGen Size" type="text">
+      <default>property</default>
+      <default_value>4096</default_value>
+      <var>WorldGenSize</var>
+      <filepath>serverconfig.xml</filepath>
+      <options>tagValueByName</options>
+      <desc>If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load.</desc>
+    </field>
     <field key="Game Name" type="text">
       <default>property</default>
       <default_value>My Game</default_value>
       <var>GameName</var>
       <filepath>serverconfig.xml</filepath>
       <options>tagValueByName</options>
-      <desc>Whatever you want the game name to be (this controls the random generation seed as well).</desc>
+      <desc>Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world.</desc>
     </field>
     <field key="Max Spawned Zombies" type="text">
       <default>property</default>

+ 6 - 2
modules/config_games/server_configs/assettocorsa_linux32.xml

@@ -48,11 +48,15 @@
     </field>
     <field key="CLIENT_SEND_INTERVAL_HZ" type="text">
       <default>CLIENT_SEND_INTERVAL_HZ=.*</default>
-      <default_value>18</default_value>
+      <default_value>15</default_value>
       <var>CLIENT_SEND_INTERVAL_HZ=</var>
       <filepath>cfg/server_cfg.ini</filepath>
       <access>admin</access>
-      <desc>Refresh rate of packet sending by the server.</desc>
+      <desc>Refresh rate of packet sending by the server. 10Hz = ~100ms. Higher number = higher MP quality = higher bandwidth resources needed. Really high values can create connection issues.</desc>
     </field>
   </custom_fields>
+  <configuration_files>
+    <file description="Server Configurations">/cfg/server_cfg.ini</file>
+    <file description="More Server Configurations">/cfg/entry_list.ini</file>
+  </configuration_files>
 </game_config>

+ 6 - 2
modules/config_games/server_configs/assettocorsa_win32.xml

@@ -48,11 +48,15 @@
     </field>
     <field key="CLIENT_SEND_INTERVAL_HZ" type="text">
       <default>CLIENT_SEND_INTERVAL_HZ=.*</default>
-      <default_value>18</default_value>
+      <default_value>15</default_value>
       <var>CLIENT_SEND_INTERVAL_HZ=</var>
       <filepath>cfg/server_cfg.ini</filepath>
       <access>admin</access>
-      <desc>Refresh rate of packet sending by the server.</desc>
+      <desc>Refresh rate of packet sending by the server. 10Hz = ~100ms. Higher number = higher MP quality = higher bandwidth resources needed. Really high values can create connection issues.</desc>
     </field>
   </custom_fields>
+  <configuration_files>
+    <file description="Server Configurations">/cfg/server_cfg.ini</file>
+    <file description="More Server Configurations">/cfg/entry_list.ini</file>
+  </configuration_files>
 </game_config>

+ 69 - 0
modules/config_games/server_configs/atlas_linux64.xml

@@ -0,0 +1,69 @@
+<game_config>
+  <game_key>atlas_linux64</game_key>
+  <protocol>lgsl</protocol>
+  <lgsl_query_name>atlas</lgsl_query_name>
+  <installer>steamcmd</installer>
+  <game_name>Atlas</game_name>
+  <server_exec_name>ShooterGameServer</server_exec_name>
+  <cli_template>Ocean%SX%%SY%%ASDN%%CONTROL_PASSWORD%%PLAYERS%%RPS%%QUERY_PORT%%PORT%%IP%%RCON%%RCON_PORT%</cli_template>
+  <cli_params>
+    <cli_param id="IP" cli_string="?SeamlessIP=" />
+    <cli_param id="PORT" cli_string="?Port=" />
+    <cli_param id="PLAYERS" cli_string="?MaxPlayers=" />
+    <cli_param id="CONTROL_PASSWORD" cli_string="?ServerAdminPassword=" />
+  </cli_params>
+  <reserve_ports>
+    <port type="add" id="QUERY_PORT" cli_string="?QueryPort=">51800</port>
+  </reserve_ports>
+  <exe_location>ShooterGame/Binaries/Linux</exe_location>
+  <max_user_amount>127</max_user_amount>
+  <mods>
+    <mod key="default">
+      <name>None</name>
+      <installer_name>1006030</installer_name>
+      <installer_login>anonymous</installer_login>
+    </mod>
+  </mods>
+  <server_params>
+    <param key="?ReservedPlayerSlots=" type="text" id="RPS">
+      <default>0</default>
+      <options>ns</options>
+      <desc>Number of reserved player slots.</desc>
+    </param>
+    <param key="?AltSaveDirectoryName=" type="text" id="ASDN">
+      <options>ns</options>
+      <desc>Name of the save folder.</desc>
+    </param>
+    <param key="?ServerX=" type="text" id="SX">
+      <default>0</default>
+      <options>ns</options>
+      <desc>Set X value.</desc>
+    </param>
+    <param key="?ServerY=" type="text" id="SY">
+      <default>0</default>
+      <options>ns</options>
+      <desc>Set Y value.</desc>
+    </param>
+    <param key="-server" type="checkbox_key_value">
+      <desc>Enable server admin logs.</desc>
+    </param>
+    <param key="-log" type="checkbox_key_value">
+      <desc>Log file will contain a timestamped kills and winners log listing Steam ID, Steam name, character name, etc.</desc>
+    </param>
+    <param key="-NoBattlEye" type="checkbox_key_value">
+      <desc>Disables Anti-Cheat.</desc>
+    </param>
+    <param key="?RCONEnable=" type="select" id="RCON">
+      <option value="True">True</option>
+      <option value="False">False</option>
+      <options>ns</options>
+      <desc>Enable or disable remote control.</desc>
+    </param>
+    <param key="?RCONPort=" type="text" id="RCON_PORT">
+      <default>28000</default>
+      <options>ns</options>
+      <access>admin</access>
+      <desc>Port of remote control.</desc>
+    </param>
+  </server_params>
+</game_config>

+ 72 - 0
modules/config_games/server_configs/atlas_win64.xml

@@ -0,0 +1,72 @@
+<game_config>
+  <game_key>atlas_win64</game_key>
+  <protocol>lgsl</protocol>
+  <lgsl_query_name>atlas</lgsl_query_name>
+  <installer>steamcmd</installer>
+  <game_name>Atlas</game_name>
+  <server_exec_name>ShooterGameServer.exe</server_exec_name>
+  <cli_template>Ocean%SX%%SY%%ASDN%%CONTROL_PASSWORD%%PLAYERS%%RPS%%QUERY_PORT%%PORT%%IP%%RCON%%RCON_PORT%</cli_template>
+  <cli_params>
+    <cli_param id="IP" cli_string="?SeamlessIP=" />
+    <cli_param id="PORT" cli_string="?Port=" />
+    <cli_param id="PLAYERS" cli_string="?MaxPlayers=" />
+    <cli_param id="CONTROL_PASSWORD" cli_string="?ServerAdminPassword=" />
+  </cli_params>
+  <reserve_ports>
+    <port type="add" id="QUERY_PORT" cli_string="?QueryPort=">51800</port>
+  </reserve_ports>
+  <exe_location>ShooterGame/Binaries/Win64</exe_location>
+  <max_user_amount>127</max_user_amount>
+  <mods>
+    <mod key="default">
+      <name>None</name>
+      <installer_name>1006030</installer_name>
+      <installer_login>anonymous</installer_login>
+    </mod>
+  </mods>
+  <server_params>
+    <param key="?ReservedPlayerSlots=" type="text" id="RPS">
+      <default>0</default>
+      <options>ns</options>
+      <desc>Number of reserved player slots.</desc>
+    </param>
+    <param key="?AltSaveDirectoryName=" type="text" id="ASDN">
+      <options>ns</options>
+      <desc>Name of the save folder.</desc>
+    </param>
+    <param key="?ServerX=" type="text" id="SX">
+      <default>0</default>
+      <options>ns</options>
+      <desc>Set X value.</desc>
+    </param>
+    <param key="?ServerY=" type="text" id="SY">
+      <default>0</default>
+      <options>ns</options>
+      <desc>Set Y value.</desc>
+    </param>
+    <param key="-server" type="checkbox_key_value">
+      <desc>Enable server admin logs.</desc>
+    </param>
+    <param key="-log" type="checkbox_key_value">
+      <desc>Log file will contain a timestamped kills and winners log listing Steam ID, Steam name, character name, etc.</desc>
+    </param>
+    <param key="-NoBattlEye" type="checkbox_key_value">
+      <desc>Disables Anti-Cheat.</desc>
+    </param>
+    <param key="?RCONEnable=" type="select" id="RCON">
+      <option value="True">True</option>
+      <option value="False">False</option>
+      <options>ns</options>
+      <desc>Enable or disable remote control.</desc>
+    </param>
+    <param key="?RCONPort=" type="text" id="RCON_PORT">
+      <default>28000</default>
+      <options>ns</options>
+      <access>admin</access>
+      <desc>Port of remote control.</desc>
+    </param>
+  </server_params>
+<!--  <pre_start>
+    cmd /c AtlasTools\RedisDatabase\redis-server_start.bat
+  </pre_start>-->
+</game_config>

+ 12 - 2
modules/config_games/server_configs/hurtworld_linux32.xml

@@ -15,9 +15,9 @@
   <reserve_ports>
     <port type="add" id="QUERY_PORT" cli_string="queryport" options="s">10</port>
   </reserve_ports>
-  <maps_location>Hurtworld_Data/maps</maps_location>
+  <map_list>maplist.txt</map_list>
   <console_log>gamelog.txt</console_log>
-  <max_user_amount>60</max_user_amount>
+  <max_user_amount>120</max_user_amount>
   <mods>
     <mod key="default">
       <name>None</name>
@@ -26,6 +26,16 @@
     </mod>
   </mods>
   <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 Nullius> $maplist
+    fi
     if [ -f "Hurtworld_Data/Plugins/x86/steamclient.so" ]
       then
         echo "steamclient.so found. OK!"

+ 14 - 2
modules/config_games/server_configs/hurtworld_linux64.xml

@@ -15,9 +15,9 @@
   <reserve_ports>
     <port type="add" id="QUERY_PORT" cli_string="queryport" options="s">10</port>
   </reserve_ports>
-  <maps_location>Hurtworld_Data/maps</maps_location>
+  <map_list>maplist.txt</map_list>
   <console_log>gamelog.txt</console_log>
-  <max_user_amount>60</max_user_amount>
+  <max_user_amount>120</max_user_amount>
   <mods>
     <mod key="default">
       <name>None</name>
@@ -25,6 +25,18 @@
       <installer_login>anonymous</installer_login>
     </mod>
   </mods>
+  <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 Nullius> $maplist
+    fi
+  </post_install>
   <lock_files>
     Hurtworld.x86
   </lock_files>

+ 14 - 2
modules/config_games/server_configs/hurtworld_win64.xml

@@ -15,9 +15,9 @@
   <reserve_ports>
     <port type="add" id="QUERY_PORT" cli_string="queryport" options="s">10</port>
   </reserve_ports>
-  <maps_location>Hurtworld_Data/maps</maps_location>
+  <map_list>maplist.txt</map_list>
   <console_log>gamelog.txt</console_log>
-  <max_user_amount>60</max_user_amount>
+  <max_user_amount>120</max_user_amount>
   <mods>
     <mod key="default">
       <name>None</name>
@@ -25,6 +25,18 @@
       <installer_login>anonymous</installer_login>
     </mod>
   </mods>
+  <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 Nullius> $maplist
+    fi
+  </post_install>
   <configuration_files>
     <file description="Server Configurations">autoexec.cfg</file>
   </configuration_files>

+ 5 - 2
protocol/lgsl/lgsl_protocol.php

@@ -33,6 +33,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 		"arma2co"		=> "ArmA 2 Combined Operations",
 		"arma3"			=> "ArmA 3",
 		"arma3alpha"	=> "ArmA 3 Alpha",
+		"atlas"			=> "Atlas",
 		"avorion"		=> "Avorion",
 		"avp2"			=> "Aliens VS. Predator 2",
 		"bfbc2"			=> "Battlefield Bad Company 2",
@@ -186,6 +187,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 		"arma2co"		=> "06",
 		"arma3"			=> "05",
 		"arma3alpha"	=> "09",
+		"atlas"			=> "05",
 		"avorion"		=> "05",
 		"avp2"			=> "03",
 		"bfbc2"			=> "30",
@@ -335,7 +337,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 	function lgsl_software_link($type, $ip, $c_port, $q_port, $s_port)
 	{
 		$lgsl_software_link = array(
-		"7dtd"			=> "steam://connect/{IP}:{Q_PORT}",
+		"7dtd"			=> "steam://connect/{IP}:{S_PORT}",
 		"aarmy"			=> "qtracker://{IP}:{S_PORT}?game=ArmyOperations&action=show",
 		"aarmy3"		=> "qtracker://{IP}:{S_PORT}?game=AmericasArmy3&action=show",
 		"aliensvspredator"	=> "steam://connect/{IP}:{Q_PORT}",
@@ -347,6 +349,7 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 		"arma2co"		=> "http://en.wikipedia.org/wiki/ARMA_2",
 		"arma3"			=> "steam://connect/{IP}:{S_PORT}",
 		"arma3alpha"	=> "http://en.wikipedia.org/wiki/ARMA_2",
+		"atlas"			=> "steam://connect/{IP}:{Q_PORT}",
 		"avorion"		=> "steam://connect/{IP}:{S_PORT}",
 		"avp2"			=> "qtracker://{IP}:{S_PORT}?game=AliensversusPredator2&action=show",
 		"bfbc2"			=> "http://en.wikipedia.org/wiki/Battlefield_bad_company_2",
@@ -498,13 +501,13 @@ if (!function_exists('lgsl_version')) { // START OF DOUBLE LOAD PROTECTION
 	{
 		switch ($type) // GAMES WHERE Q_PORT IS NOT EQUAL TO C_PORT
 		{
-			case "7dtd"				: $c_to_q = 1;		$c_def = 26900;	$q_def = 26901;	$c_to_s = 0;	break;
 			case "aarmy"			: $c_to_q = 1;		$c_def = 1716;	$q_def = 1717;	$c_to_s = 0;	break;
 			case "aarmy3"			: $c_to_q = 0;		$c_def = 8777;	$q_def = 39300;	$c_to_s = 0;	break;
 			case "aliensvspredator"	: $c_to_q = -23357;	$c_def = 27015;	$q_def = 3658;	$c_to_s = 0;	break;
 			case "arcasimracing"	: $c_to_q = -100;	$c_def = 34397;	$q_def = 34297;	$c_to_s = 0;	break;
 			case "arkse"			: $c_to_q = 19238;	$c_def = 7777;	$q_def = 27015;	$c_to_s = 0;	break;
 			case "arma3"			: $c_to_q = 1; 		$c_def = 2302; 	$q_def = 2303; 	$c_to_s = 0; 	break;
+			case "atlas"			: $c_to_q = 51800;	$c_def = 5761;	$q_def = 57561;	$c_to_s = 0;	break;
 			case "avorion"			: $c_to_q = 20; 	$c_def = 27000;	$q_def = 27020; $c_to_s = 0;  	break;
 			case "bfbc2"			: $c_to_q = 0;		$c_def = 19567;	$q_def = 48888;	$c_to_s = 0;	break;
 			case "bfvietnam"		: $c_to_q = 0;		$c_def = 15567;	$q_def = 23000;	$c_to_s = 0;	break;