Origins Server?

It would be really nice if someone could upload there BEC folder so I could get my server restart to work :)
 
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
 
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

Very nice, i may have to borrow this :) I'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
 
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.
 
I edited the loot of the Urals in the pCleanup and then i save it. But if i start the server its reseting itself back to normal, without edited loot. Is there anything else i have to know for saving changes to the script?

Edit: Also, in the Origins.ArmA2OAProfile and in the Server.ArmA2OAProfile are
FriendlyTag=0;
EnemyTag=0;

but i still have the NameTags on in the server.
 
Me and my friends found this, if there is no zombie-spawning where we are there is no loot-spawning either so how can we get more zombie spawns?
 
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
Code:
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"
and the hiveext.log
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...
 
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.

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 this :) I'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


The easiest way to get the restarts sorted is using BEC, it comes with a built in example of a scheduler, go to the BattlEye extended commands site and there is a full set of easy to follow instructions there. http://ibattle.org/install-and-configure/
 
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.
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...

the way you said is NOT working... its the opposite way...
the house MUST be unlocked when you put your gear in it...
you can close the door... but dont lock it up...
 
Doc explained how to sort the no loot spawning issue. This is due to the loot cleanup happening to quickly.

Still despawns with that .pbo file :/

Did put it in here C:\Program Files (x86)\Steam\SteamApps\common\Arma 2 Operation Arrowhead\@dayz_1.origins.tavi\addons
 
This 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.
 
This 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.
just restart the server that counts as 24 hours
 
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
Code:
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"
and the hiveext.log
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...

I think there is a MySQL bug to be honest as i can fully back out of my server, edit my inventory for say a round of ammo or maybe change my worldspace and re-join and it will remove it from my inventory or with worldspace i will end up somewhere completely different from what i set it to (vehicle location as an example that is confirmed to be there) or it will put me at a default spawn , i have no error on HiveEXT and database saves it correctly after triple checking/save theres that issue and i'm trying to look for a way to get the refuel at station script working, i pull up to the petrol station on my Taviana server and i can scroll my mouse to a refuel option, i copied the 2x files from Tavian mission file "kh_actions" + "kh_vehicle_refuel" append this to the init.sqf as in my Tavi init.sqf.

Code:
// Extra actions for Taviana:
if (!isDedicated) then {
    [] execVM "kh_actions.sqf";

Then add the following to my scripts.txt.

Code:
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 then tested the server with no success.

will this even work for Origins?
 
I tried that, didn't seem to work. I will try it again. Thaks!
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.
 
Hm, do you guys have a good speed on your zombie spawns? because i can run arround in a town and it only spawns outside 2-3 buildings.

What can be the problem?
 
Back
Top