Gagi2
Valued Member!
im not sure about this one...
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
::Made by eRazeri
::Updated by trichome[iOGC] 24/04/2013
::Update by Broadsword/Raze[iOGC] 18/05/2013
@echo off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | C:\Windows\System32\find /I /N "Bec.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
:: Start Bec
echo Bec monitoring is not running, will be started now
cd /D "e:\programs\Bec"
start "" /wait "E:\programs\Bec\Bec.exe" -f Config_Origins.cfg
echo Bec started succesfully
:: Cleanup and respawn vehicles in the Origins DB hive
cd /D E:\
mysql --user=*********--password=************ --execute="call pCleanup()" dayz_origins
echo Ural spawn script started succesfully
goto started
:loop
cls
echo Bec Origins is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 120
C:\Windows\System32\tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | C:\Windows\System32\find /I /N "Bec.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start
::Made by eRazeri
::Updated by trichome[iOGC] 24/04/2013
::Update by Broadsword/Raze[iOGC] 18/05/2013
@echo off
:start
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
:: Start Arma2 Origins Server
echo Server monitored is not running, will be started now
cd /D "f:\programs\arma2"
start "" /wait "F:\programs\arma2\Expansion\beta\arma2oaserver.exe" -port=2302 "-config=dayz_1.origins.tavi\config.cfg" "-cfg=dayz_1.origins.tavi\basic.cfg" "-profiles=dayz_1.origins.tavi" -name=Origins "-mod=@DayzOrigins;@dayz_1.origins.tavi" -noPause -noSound -nosplash -cpuCount=3 -exThreads=1 -maxMem=2048 -noCB
echo Server started succesfully
goto started
:loop
cls
echo Origins Server is already running, running monitoring loop
:started
C:\Windows\System32\timeout /t 30
C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
goto start
Here are our restarters, for the ural spawn you will need to add your own DB login details etc.
BEC restarter:
Code:::Made by eRazeri ::Updated by trichome[iOGC] 24/04/2013 ::Update by Broadsword/Raze[iOGC] 18/05/2013 @echo off :start C:\Windows\System32\tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | C:\Windows\System32\find /I /N "Bec.exe">NUL if "%ERRORLEVEL%"=="0" goto loop :: Start Bec echo Bec monitoring is not running, will be started now cd /D "e:\programs\Bec" start "" /wait "E:\programs\Bec\Bec.exe" -f Config_Origins.cfg echo Bec started succesfully :: Cleanup and respawn vehicles in the Origins DB hive cd /D E:\ mysql --user=*********--password=************ --execute="call pCleanup()" dayz_origins echo Ural spawn script started succesfully goto started :loop cls echo Bec Origins is already running, running monitoring loop :started C:\Windows\System32\timeout /t 120 C:\Windows\System32\tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | C:\Windows\System32\find /I /N "Bec.exe">NUL if "%ERRORLEVEL%"=="0" goto loop goto start
Origins Restarter:
Code:::Made by eRazeri ::Updated by trichome[iOGC] 24/04/2013 ::Update by Broadsword/Raze[iOGC] 18/05/2013 @echo off :start C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL if "%ERRORLEVEL%"=="0" goto loop :: Start Arma2 Origins Server echo Server monitored is not running, will be started now cd /D "f:\programs\arma2" start "" /wait "F:\programs\arma2\Expansion\beta\arma2oaserver.exe" -port=2302 "-config=dayz_1.origins.tavi\config.cfg" "-cfg=dayz_1.origins.tavi\basic.cfg" "-profiles=dayz_1.origins.tavi" -name=Origins "-mod=@DayzOrigins;@dayz_1.origins.tavi" -noPause -noSound -nosplash -cpuCount=3 -exThreads=1 -maxMem=2048 -noCB echo Server started succesfully goto started :loop cls echo Origins Server is already running, running monitoring loop :started C:\Windows\System32\timeout /t 30 C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL if "%ERRORLEVEL%"=="0" goto loop goto start
Thanks, but thats not the loot we got problem with, its all other loot in buildings like the firestation and supermarkets.Here are our restarters, for the ural spawn you will need to add your own DB login details etc.
BEC restarter:
Code:::Made by eRazeri ::Updated by trichome[iOGC] 24/04/2013 ::Update by Broadsword/Raze[iOGC] 18/05/2013 @echo off :start C:\Windows\System32\tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | C:\Windows\System32\find /I /N "Bec.exe">NUL if "%ERRORLEVEL%"=="0" goto loop :: Start Bec echo Bec monitoring is not running, will be started now cd /D "e:\programs\Bec" start "" /wait "E:\programs\Bec\Bec.exe" -f Config_Origins.cfg echo Bec started succesfully :: Cleanup and respawn vehicles in the Origins DB hive cd /D E:\ mysql --user=*********--password=************ --execute="call pCleanup()" dayz_origins echo Ural spawn script started succesfully goto started :loop cls echo Bec Origins is already running, running monitoring loop :started C:\Windows\System32\timeout /t 120 C:\Windows\System32\tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | C:\Windows\System32\find /I /N "Bec.exe">NUL if "%ERRORLEVEL%"=="0" goto loop goto start
Origins Restarter:
Code:::Made by eRazeri ::Updated by trichome[iOGC] 24/04/2013 ::Update by Broadsword/Raze[iOGC] 18/05/2013 @echo off :start C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL if "%ERRORLEVEL%"=="0" goto loop :: Start Arma2 Origins Server echo Server monitored is not running, will be started now cd /D "f:\programs\arma2" start "" /wait "F:\programs\arma2\Expansion\beta\arma2oaserver.exe" -port=2302 "-config=dayz_1.origins.tavi\config.cfg" "-cfg=dayz_1.origins.tavi\basic.cfg" "-profiles=dayz_1.origins.tavi" -name=Origins "-mod=@DayzOrigins;@dayz_1.origins.tavi" -noPause -noSound -nosplash -cpuCount=3 -exThreads=1 -maxMem=2048 -noCB echo Server started succesfully goto started :loop cls echo Origins Server is already running, running monitoring loop :started C:\Windows\System32\timeout /t 30 C:\Windows\System32\tasklist /FI "IMAGENAME eq arma2oaserver.exe" 2>NUL | C:\Windows\System32\find /I /N "arma2oaserver.exe">NUL if "%ERRORLEVEL%"=="0" goto loop goto start
17:19:00 "START verbb _this=[18971600# 782363: heroes_large_shed_lvl_1.p3d,B 1-1-A:1 (playername) REMOTE,2,"48814278",1234,1]"
17:19:00 "1_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_playerC=B 1-1-A:1 (playername) REMOTE,_objectLevelC=2,_playerIDC=48814278,_passwordC=1234,_flagTo=1"
17:19:00 "2_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_playerC=B 1-1-A:1 (playername) REMOTE,_objectLevelC=2,_playerIDC=48814278,_passwordC=1234,_RealPass=1234,_flagTo=1"
17:19:00 "3_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_playerC=B 1-1-A:1 (playername) REMOTE,_objectLevelC=2,_playerIDC=48814278,_passwordC=1234,_RealPass=1234_flagTo=1"
17:19:00 "_result = ["PASS","38e86707"], ARRAY"
17:19:00 "_key2 = CHILD:504:38e86707:"
17:19:00 "_data2 = ["UNKID",true], STRING"
17:19:01 "CHILD 505 _result3 = ["UNKID",true]"
17:19:01 "OPEN_H items puted and _naObnovku true. _objectID=457,_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d"
17:19:01 "_type=large_shed_lvl_1,_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_flagTo=1"
2013-05-19 17:19:00 HiveExt: [Debug] Original params: |CHILD:501:object.object_data:["Inventory"]:[["ObjectID","=","457"]]:[0,8]:|
2013-05-19 17:19:00 HiveExt: [Information] Method: 501 Params: object.object_data:[Inventory]:[[ObjectID,=,457]]:[0,8]:
2013-05-19 17:19:00 Database: [Trace] Query [233 ms] SQL: 'SELECT `Inventory` FROM `object_data` WHERE `ObjectID` = '457' LIMIT 8'
2013-05-19 17:19:00 HiveExt: [Information] Result: ["PASS","38e86707"]
2013-05-19 17:19:00 HiveExt: [Debug] Original params: |CHILD:504:38e86707:|
2013-05-19 17:19:00 HiveExt: [Information] Method: 504 Params: 8.083e-51:
2013-05-19 17:19:00 HiveExt: [Information] Result: ["UNKID",true]
2013-05-19 17:19:00 HiveExt: [Debug] Original params: |CHILD:505:38e86707:|
2013-05-19 17:19:01 HiveExt: [Information] Method: 505 Params: 8.083e-51:
2013-05-19 17:19:01 HiveExt: [Information] Result: ["UNKID",true]
2013-05-19 17:19:05 HiveExt: [Debug] Original params: |CHILD:303:457:[[[],[]],[[],[]],[[],[]]]:|
2013-05-19 17:19:05 HiveExt: [Information] Method: 303 Params: 457:[[[],[]],[[],[]],[[],[]]]:
2013-05-19 17:19:05 HiveExt: [Information] Result: ["PASS"]
2013-05-19 17:19:05 HiveExt: [Debug] Original params: |CHILD:306:556:[]:0:|
2013-05-19 17:19:05 Database: [Trace] PreparedRequest [171 ms] SQL: 'UPDATE `Object_DATA` SET `Inventory` = ? WHERE `ObjectID` = ? AND `Instance` = ? VALUES("[[[],[]],[[],[]],[[],[]]]", 457, 1)'
For those have trouble with loot spawning and/or disappearing try using this dayz_server.pbo
http://facevskeyboard.com/dayz/files/dayz_server.pbo
Problem I found was that the server was cleaning up loot when it shouldn't have been. I fixed it by getting rid of the part of server_cleanup that refers to loot(lines 356-406). A bit of an unorthodox fix but it works for me at least.
Very nice, i may have to borrow thisI'll only be using the Origins starter for mine as its a passworded LAN only but may i ask do you have a way of notifying the players of a restart? at a set time, i've not played with resatart timers ETC as i've always manually done it via ingame server control option, would be nice to have a step by step guide on how to get it to auto restart every 6 hours for example
if i have the door unlocked (open or closed doesnt matter) and put gear in it and then lock the door the gear is saved but not accessable... when i unlock the door it is accessable again...You have to go inside your house, lock the door, place your stuff in the inventory, wait a few seconds, unlock the door and go outside and lock it up. Works for me.
Doc explained how to sort the no loot spawning issue. This is due to the loot cleanup happening to quickly.
just restart the server that counts as 24 hoursThis is going to be a random question, but I was messing around on my server to check out the house building. Is there a way to bypass the 24 hour wait? Just curious, I want to see how the houses work.
we have another problem on our server...
my group and some other guys already have built some houses and garages...
and from time to time... the gear you have stored in them is gone...
the rpt log says something with unkid which means unknown id
and the hiveext.logCode:17:19:00 "START verbb _this=[18971600# 782363: heroes_large_shed_lvl_1.p3d,B 1-1-A:1 (playername) REMOTE,2,"48814278",1234,1]" 17:19:00 "1_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_playerC=B 1-1-A:1 (playername) REMOTE,_objectLevelC=2,_playerIDC=48814278,_passwordC=1234,_flagTo=1" 17:19:00 "2_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_playerC=B 1-1-A:1 (playername) REMOTE,_objectLevelC=2,_playerIDC=48814278,_passwordC=1234,_RealPass=1234,_flagTo=1" 17:19:00 "3_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_playerC=B 1-1-A:1 (playername) REMOTE,_objectLevelC=2,_playerIDC=48814278,_passwordC=1234,_RealPass=1234_flagTo=1" 17:19:00 "_result = ["PASS","38e86707"], ARRAY" 17:19:00 "_key2 = CHILD:504:38e86707:" 17:19:00 "_data2 = ["UNKID",true], STRING" 17:19:01 "CHILD 505 _result3 = ["UNKID",true]" 17:19:01 "OPEN_H items puted and _naObnovku true. _objectID=457,_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d" 17:19:01 "_type=large_shed_lvl_1,_objectC=18971600# 782363: heroes_large_shed_lvl_1.p3d,_flagTo=1"
Code:2013-05-19 17:19:00 HiveExt: [Debug] Original params: |CHILD:501:object.object_data:["Inventory"]:[["ObjectID","=","457"]]:[0,8]:| 2013-05-19 17:19:00 HiveExt: [Information] Method: 501 Params: object.object_data:[Inventory]:[[ObjectID,=,457]]:[0,8]: 2013-05-19 17:19:00 Database: [Trace] Query [233 ms] SQL: 'SELECT `Inventory` FROM `object_data` WHERE `ObjectID` = '457' LIMIT 8' 2013-05-19 17:19:00 HiveExt: [Information] Result: ["PASS","38e86707"] 2013-05-19 17:19:00 HiveExt: [Debug] Original params: |CHILD:504:38e86707:| 2013-05-19 17:19:00 HiveExt: [Information] Method: 504 Params: 8.083e-51: 2013-05-19 17:19:00 HiveExt: [Information] Result: ["UNKID",true] 2013-05-19 17:19:00 HiveExt: [Debug] Original params: |CHILD:505:38e86707:| 2013-05-19 17:19:01 HiveExt: [Information] Method: 505 Params: 8.083e-51: 2013-05-19 17:19:01 HiveExt: [Information] Result: ["UNKID",true] 2013-05-19 17:19:05 HiveExt: [Debug] Original params: |CHILD:303:457:[[[],[]],[[],[]],[[],[]]]:| 2013-05-19 17:19:05 HiveExt: [Information] Method: 303 Params: 457:[[[],[]],[[],[]],[[],[]]]: 2013-05-19 17:19:05 HiveExt: [Information] Result: ["PASS"] 2013-05-19 17:19:05 HiveExt: [Debug] Original params: |CHILD:306:556:[]:0:| 2013-05-19 17:19:05 Database: [Trace] PreparedRequest [171 ms] SQL: 'UPDATE `Object_DATA` SET `Inventory` = ? WHERE `ObjectID` = ? AND `Instance` = ? VALUES("[[[],[]],[[],[]],[[],[]]]", 457, 1)'
this bug sucks... it doesnt make any sense to loot so many stuff to get this damned houses built just to lose your gear you put in it...
// Extra actions for Taviana:
if (!isDedicated) then {
[] execVM "kh_actions.sqf";
5 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"\"dayzSetFuel\"" !"dayzSetFuel_code" !"dayzSetFuel = _val;" !"Scripts\kh_actions.sqf" !"Scripts\kh_vehicle_refuel.sqf"
I tried that, didn't seem to work. I will try it again. Thaks!just restart the server that counts as 24 hours
its kind of hard to get the Build Stage 2 in your scroll list. what i had to do was move away from it about 5meters and look at the edge of the plantation and just move around kind of in a circle around the plantation and i finally got it.I tried that, didn't seem to work. I will try it again. Thaks!