فهرست منبع

Mafia 2 Online xml update

- Linux 32 bit and Windows 32 bit supports of this game modification added to OGP
- The xml file manages all possible things execpt log file (log files use date and time in the file names always)
- Added EditConfigFiles module support, one default config file named config.xml can be edit now from the menu
- The "m2mp" query protocol in GameQ is not compatible with this new Mafia 2 Online game server, this project is already reborn and has totally new version
- Added original game icon
rocco27 8 سال پیش
والد
کامیت
3e7da797c1

BIN
images/icons/m2o.png


+ 36 - 0
modules/config_games/server_configs/mafia2online_linux32.xml

@@ -0,0 +1,36 @@
+<game_config>
+  <game_key>mafia2online_linux32</game_key>
+  <game_name>Mafia 2 Online</game_name>
+  <server_exec_name>m2online-svr</server_exec_name>
+  <max_user_amount>1000</max_user_amount>
+  <mods>
+    <mod key="m2o">
+      <name>None</name>
+    </mod>
+  </mods>
+  <replace_texts>
+    <text key="home_name">
+      <default>hostname</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+    <text key="ip">
+      <default>serverip</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+    <text key="port">
+      <default>port</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+    <text key="max_players">
+      <default>maxplayers</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+  </replace_texts>
+  <configuration_files>
+    <file description="Server Configurations">config.xml</file>
+  </configuration_files>
+</game_config>

+ 36 - 0
modules/config_games/server_configs/mafia2online_win32.xml

@@ -0,0 +1,36 @@
+<game_config>
+  <game_key>mafia2online_win32</game_key>
+  <game_name>Mafia 2 Online</game_name>
+  <server_exec_name>m2online-svr.exe</server_exec_name>
+  <max_user_amount>1000</max_user_amount>
+  <mods>
+    <mod key="m2o">
+      <name>None</name>
+    </mod>
+  </mods>
+  <replace_texts>
+    <text key="home_name">
+      <default>hostname</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+    <text key="ip">
+      <default>serverip</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+    <text key="port">
+      <default>port</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+    <text key="max_players">
+      <default>maxplayers</default>
+      <filepath>config.xml</filepath>
+      <options>tags</options>
+    </text>
+  </replace_texts>
+  <configuration_files>
+    <file description="Server Configurations">config.xml</file>
+  </configuration_files>
+</game_config>