updated from actual site files
This commit is contained in:
parent
1434929258
commit
955c9202e4
33 changed files with 4388 additions and 987 deletions
|
|
@ -32,37 +32,41 @@
|
|||
<server_params>
|
||||
<param id="MODLIST" key="-mod=" type="text">
|
||||
<default></default>
|
||||
<option>ns</option>
|
||||
<caption>Mods ex: @A-Map;@AI;@Moreguns;@TurboCars</caption>
|
||||
<desc>Semicolon after each mod and you MUST copy the KEY into your keys folder.
|
||||
Make sure if you install a MOD, you list the name here or else it wont get loaded.
|
||||
</desc>
|
||||
</param>
|
||||
</server_params>
|
||||
<pre_install>
|
||||
wget http://files.iaregamer.com/installers/arma2oa_win32/arma2oa_win32.tar
|
||||
tar -xvf arma2oa_win32.tar
|
||||
rm arma2oa_win32.tar
|
||||
</pre_install>
|
||||
<post_install>
|
||||
wget http://files.iaregamer.com/installers/arma2oa_win32/PostInstall.tar
|
||||
tar -xvf PostInstall.tar
|
||||
chmod +x setup_db.sh
|
||||
./setup_db.sh
|
||||
rm setup_db.sh
|
||||
rm PostInstall.tar
|
||||
</post_install>
|
||||
<pre_start>
|
||||
rm cfg/*.RPT
|
||||
rm cfg/*.log
|
||||
</pre_start>
|
||||
<lock_files>
|
||||
arma2oaserver.exe
|
||||
</lock_files>
|
||||
<configuration_files>
|
||||
<file description="Server settings">cfg\server.cfg</file>
|
||||
<file description="Basic Network settings">cfg\basic.cfg</file>
|
||||
<file description="BattlEye RconPassword">cfg\battleye\beserver.cfg</file>
|
||||
<file description="Difficulty Settings">cfg\users\player\player.arma2oaprofile</file>
|
||||
</configuration_files>
|
||||
|
||||
|
||||
<default>@dayz_epoch;@epochserver;</default>
|
||||
<option>ns</option>
|
||||
<caption>Mods ex: @dayz;@hive or @dayz_epoch;@dayz_epoch_server</caption>
|
||||
<desc>Semicolon after each mod and you MUST copy the KEY into your keys folder.
|
||||
Make sure if you install a MOD, you list the name here or else it wont get loaded.
|
||||
</desc>
|
||||
</param>
|
||||
</server_params>
|
||||
|
||||
<post_install>
|
||||
mkdir -p ./cfg
|
||||
touch ./cfg/dayz_arma2co_win32.xml.txt
|
||||
|
||||
</post_install>
|
||||
<pre_start>
|
||||
</pre_start>
|
||||
|
||||
<lock_files>
|
||||
Arma2Server.exe
|
||||
Arma2Server_x64.exe
|
||||
</lock_files>
|
||||
|
||||
<configuration_files>
|
||||
<file description="Server settings">cfg\server.cfg</file>
|
||||
<file description="Basic Network settings" >cfg\basic.cfg</file>
|
||||
<file description="BattlEye Rcon Password" >cfg\battleye\beserver.cfg</file>
|
||||
<file description="DB settings and Date/Time">cfg\hiveext.ini</file>
|
||||
<file description="Difficulty Settings">cfg\users\dayz\dayz.arma2oaprofile</file>
|
||||
<file description="For DayZmod: 224580 All others: 33930">steam_appid.txt</file>
|
||||
<file description="BEC Scheduler">bec\config\scheduler.xml</file>
|
||||
<file description="BEC Admins">bec\config\admins.xml</file>
|
||||
<file description="BEC Whitelist">bec\config\whitelist.xml</file>
|
||||
<file description="BEC Message List">bec\config\fortune.txt</file>
|
||||
|
||||
</configuration_files>
|
||||
</game_config>
|
||||
|
|
|
|||
|
|
@ -1,100 +1,114 @@
|
|||
<game_config>
|
||||
<game_key>dayzmod_win32</game_key>
|
||||
<protocol>lgsl</protocol>
|
||||
<lgsl_query_name>dayzmod</lgsl_query_name>
|
||||
<installer>steamcmd</installer>
|
||||
<game_name>DayZ Mod</game_name>
|
||||
<server_exec_name>arma2oaserver.exe</server_exec_name>
|
||||
<cli_template>%MODLIST% -cfg=cfg\basic.cfg -config=cfg\server.cfg -name=dayz -profiles=cfg %IP% %PORT%</cli_template>
|
||||
<cli_params>
|
||||
<cli_param id="PORT" cli_string="-port=" />
|
||||
<cli_param id="IP" cli_string="-ip=" />
|
||||
</cli_params>
|
||||
<reserve_ports>
|
||||
<port type="add" id="QUERY_PORT">1</port>
|
||||
</reserve_ports>
|
||||
<cli_allow_chars>;</cli_allow_chars>
|
||||
<game_key>dayzmod_win32</game_key>
|
||||
<installer>steamcmd</installer>
|
||||
<game_name>DayZ Mod</game_name>
|
||||
<server_exec_name>arma2oaserver.exe</server_exec_name>
|
||||
<cli_template>%MODLIST% -cfg=cfg\basic.cfg -config=cfg\server.cfg -name=dayz -profiles=cfg %IP% %PORT%</cli_template>
|
||||
<cli_params>
|
||||
<cli_param id="PORT" cli_string="-port=" />
|
||||
<cli_param id="IP" cli_string="-ip=" />
|
||||
</cli_params>
|
||||
<reserve_ports>
|
||||
<port type="add" id="QUERY_PORT">1</port>
|
||||
</reserve_ports>
|
||||
<cli_allow_chars>;</cli_allow_chars>
|
||||
|
||||
<console_log>cfg/arma2oaserver.RPT</console_log>
|
||||
<max_user_amount>64</max_user_amount>
|
||||
<control_protocol>armabe</control_protocol>
|
||||
<mods>
|
||||
<mod>
|
||||
<name>none</name>
|
||||
<installer_name>33930</installer_name>
|
||||
</mod>
|
||||
</mods>
|
||||
<replace_texts>
|
||||
|
||||
<text key="max_players">
|
||||
<default>(maxPlayers\s*=\s*)(.*)(;)</default>
|
||||
<var>maxPlayers = "%key%";</var>
|
||||
<filepath>cfg/server.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
|
||||
<text key="port">
|
||||
<default>Port =.*</default>
|
||||
<var>Port = %key% </var>
|
||||
<filepath>bec/config/config.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
<text key="ip">
|
||||
<default>Ip =.*</default>
|
||||
<var>Ip = %key% </var>
|
||||
<filepath>bec/config/config.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
<text key="home_path">
|
||||
<default>BePath =.*</default>
|
||||
<var>BePath = %key%/cfg/Battleye</var>
|
||||
<filepath>bec/config/config.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
|
||||
</replace_texts>
|
||||
|
||||
<server_params>
|
||||
|
||||
|
||||
<param id="MODLIST" key="-mod=" type="text">
|
||||
<default>@dayz_epoch;@epochserver;</default>
|
||||
<option>ns</option>
|
||||
<caption>Mods ex: @dayz;@hive or @dayz_epoch;@dayz_epoch_server</caption>
|
||||
<desc>Semicolon after each mod and you MUST copy the KEY into your keys folder.
|
||||
Make sure if you install a MOD, you list the name here or else it wont get loaded.
|
||||
</desc>
|
||||
</param>
|
||||
</server_params>
|
||||
|
||||
<post_install>
|
||||
|
||||
<console_log>cfg/arma2oaserver.RPT</console_log>
|
||||
<max_user_amount>64</max_user_amount>
|
||||
<control_protocol>armabe</control_protocol>
|
||||
<mods>
|
||||
<mod>
|
||||
<name>none</name>
|
||||
<installer_name>33930</installer_name>
|
||||
</mod>
|
||||
</mods>
|
||||
<replace_texts>
|
||||
<text key="max_players">
|
||||
<default>(maxPlayers\s*=\s*)(.*)(;)</default>
|
||||
<var>maxPlayers = "%key%";</var>
|
||||
<filepath>cfg/server.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
<text key="port">
|
||||
<default>Port =.*</default>
|
||||
<var>Port = %key% </var>
|
||||
<filepath>bec/config/config.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
<text key="ip">
|
||||
<default>Ip =.*</default>
|
||||
<var>Ip = %key% </var>
|
||||
<filepath>bec/config/config.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
<text key="home_path">
|
||||
<default>BePath =.*</default>
|
||||
<var>BePath = %key%/cfg/Battleye</var>
|
||||
<filepath>bec/config/config.cfg</filepath>
|
||||
<options>key-regex</options>
|
||||
</text>
|
||||
</replace_texts>
|
||||
<server_params>
|
||||
<param id="MODLIST" key="-mod=" type="text">
|
||||
<default>@dayz;@hive;</default>
|
||||
<option>ns</option>
|
||||
<caption>Mods ex: @dayz;@hive or @dayz_epoch;@dayz_epoch_server</caption>
|
||||
<desc>
|
||||
Semicolon after each mod and you MUST copy the KEY into your keys folder.
|
||||
Make sure if you install a MOD, you list the name here or else it wont get loaded.
|
||||
</desc>
|
||||
</param>
|
||||
</server_params>
|
||||
<pre_install>
|
||||
cp D:/installers/arma2/arma2Addons.tar .
|
||||
tar -xvf arma2Addons.tar
|
||||
rm arma2Addons.tar
|
||||
</pre_install>
|
||||
<post_install>
|
||||
mkdir -p ./cfg
|
||||
touch ./cfg/dayz_arma2co_win32.xml.txt
|
||||
wget http://files.iaregamer.com/installers/dayz_mod/dayz_mod-1.9.0.tar .
|
||||
tar -xvf dayz_mod-1.9.0.tar
|
||||
wget http://files.iaregamer.com/addons/dayz-mod-1.9.tar.gz .
|
||||
tar -xzvf dayz-mod-1.9.tar.gz
|
||||
chmod +x setup_db.sh
|
||||
./setup_db.sh
|
||||
rm setup_db.sh
|
||||
rm 1.9.0_fresh.sql
|
||||
rm dayz_mod-1.9.0.tar
|
||||
</post_install>
|
||||
<pre_start>
|
||||
cd bec
|
||||
start "BEC" bec.exe --dsc --dec -f config.cfg
|
||||
</pre_start>
|
||||
<lock_files>
|
||||
arma2oaserver.exe
|
||||
arma2oaserver_x64.exe
|
||||
</lock_files>
|
||||
<configuration_files>
|
||||
<file description="Server settings">cfg\server.cfg</file>
|
||||
<file description="Basic Network settings" >cfg\basic.cfg</file>
|
||||
<file description="BattlEye Rcon Password" >cfg\battleye\beserver.cfg</file>
|
||||
<file description="DB settings and Date/Time">cfg\hiveext.ini</file>
|
||||
<file description="Difficulty Settings">cfg\users\dayz\dayz.arma2oaprofile</file>
|
||||
<file description="For DayZmod: 224580 All others: 33930">steam_appid.txt</file>
|
||||
<file description="BEC Scheduler">bec\config\scheduler.xml</file>
|
||||
<file description="BEC Admins">bec\config\admins.xml</file>
|
||||
<file description="BEC Whitelist">bec\config\whitelist.xml</file>
|
||||
<file description="BEC Message List">bec\config\fortune.txt</file>
|
||||
</configuration_files>
|
||||
rm *.sh
|
||||
rm *.sql
|
||||
rm *.gz
|
||||
|
||||
printf '%s\r\n' \
|
||||
'@echo off' \
|
||||
'del /q "..\_alsoRun.pid" 2>nul' \
|
||||
'cd bec
|
||||
'start "BEC" bec.exe --dsc --dec -f config.cfg' \
|
||||
'cd ..
|
||||
'timeout /t 3 /nobreak >nul' \
|
||||
'for /f "tokens=2 delims==" %%P in ('"'"'wmic process where "ExecutablePath='"'"'%cd:\=\\%\\bec.exe'"'"'" get ProcessId /value ^| find "="'"'"') do >"..\_alsoRun.pid" echo %%P' \
|
||||
> _alsoRun.bat
|
||||
|
||||
|
||||
</post_install>
|
||||
<pre_start>
|
||||
</pre_start>
|
||||
|
||||
<lock_files>
|
||||
Arma2Server.exe
|
||||
Arma2Server_x64.exe
|
||||
</lock_files>
|
||||
|
||||
<configuration_files>
|
||||
<file description="Server settings">cfg\server.cfg</file>
|
||||
<file description="Basic Network settings" >cfg\basic.cfg</file>
|
||||
<file description="BattlEye Rcon Password" >cfg\battleye\beserver.cfg</file>
|
||||
<file description="DB settings and Date/Time">cfg\hiveext.ini</file>
|
||||
<file description="Difficulty Settings">cfg\users\dayz\dayz.arma2oaprofile</file>
|
||||
<file description="For DayZmod: 224580 All others: 33930">steam_appid.txt</file>
|
||||
<file description="BEC Scheduler">bec\config\scheduler.xml</file>
|
||||
<file description="BEC Admins">bec\config\admins.xml</file>
|
||||
<file description="BEC Whitelist">bec\config\whitelist.xml</file>
|
||||
<file description="BEC Message List">bec\config\fortune.txt</file>
|
||||
|
||||
</configuration_files>
|
||||
|
||||
</game_config>
|
||||
|
|
|
|||
|
|
@ -68,20 +68,29 @@ Make sure if you install a MOD, you list the name here or else it wont get loade
|
|||
<post_install>
|
||||
mkdir -p ./cfg
|
||||
touch ./cfg/epochmod_win32.xml
|
||||
wget http://files.iaregamer.com/installers/arma2/arma2Addons.tar .
|
||||
wget http://files.iaregamer.com/installers/epoch_mod/epoch_mod.tar .
|
||||
tar -xvf arma2Addons.tar
|
||||
tar -xvf epoch_mod.tar
|
||||
wget http://files.iaregamer.com/addons/arma2Addons.tar.gz .
|
||||
wget http://files.iaregamer.com/addons/epochmod-1.0.7.1.tar.gz .
|
||||
tar -zxvf arma2Addons.tar.gz
|
||||
tar -zxvf epoch_mod.tar.gz
|
||||
chmod +x setup_db.sh
|
||||
#chmod +x _start_co.bat
|
||||
./setup_db.sh
|
||||
#rm setup_db.sh
|
||||
rm epoch_mod.tar
|
||||
rm arma2Addons.tar
|
||||
|
||||
rm *.sh
|
||||
rm *.gz
|
||||
rm *.sql
|
||||
|
||||
printf '%s\r\n' \
|
||||
'@echo off' \
|
||||
'del /q "..\_alsoRun.pid" 2>nul' \
|
||||
'cd bec \
|
||||
'start "BEC" bec.exe --dsc --dec -f config.cfg' \
|
||||
'cd .. \
|
||||
'timeout /t 1 /nobreak >nul' \
|
||||
'for /f "tokens=2 delims==" %%P in ('"'"'wmic process where "ExecutablePath='"'"'%cd:\=\\%\\bec.exe'"'"'" get ProcessId /value ^| find "="'"'"') do >"..\_alsoRun.pid" echo %%P' \
|
||||
> _alsoRun.bat
|
||||
|
||||
</post_install>
|
||||
<pre_start>
|
||||
cd bec
|
||||
start "BEC" bec.exe --dsc --dec -f config.cfg
|
||||
</pre_start>
|
||||
|
||||
<lock_files>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue