Oliver Meigs
Member
you need to set the prefix when packing the dayz_server.pbo
Hm not sure what you mean here, I have installed the pbo tool and to pack a new .pbo I just right click and select "pack as .pbo" is there something else I need to do?
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.
you need to set the prefix when packing the dayz_server.pbo
Got it working but without using your files
i used the fsm editor from bohemia.
here is the code i´m using so far (whole server_cleanup.fsm)
just replace it in the dayz_server.pbo
unpack , rename server_cleanup.fsm, generate new one, paste code from http://pastebin.com/9UdtgUcn and repack the folder. I´m not yet shure about the gracecross and dead zombie/animal "despawning" fix i made. Lott is working so far.
you have to set the prefix to z\addons\dayz_serverHm not sure what you mean here, I have installed the pbo tool and to pack a new .pbo I just right click and select "pack as .pbo" is there something else I need to do?
you have to set the prefix to z\addons\dayz_server
Just been looking at that, did you have to rewrite it.Got it working but without using your files
![]()
![]()
if you pack your pbo with BinPBO Personal Edition for example you cen set under options a prefix...Sorry if I'm sounding dumb, how/where do I set the prefix?
I'm extremely new to all this, I assume that the "z\" part points to a root directory of sorts. Is this what you mean by the prefix?
EDIT: Changed the \z\ to the full directory path of the unpacked file. Now get an error at 50% loading after the 60sec countdown.
"Something went wrong, could not verify player data"
Wish I hadn't changed anything now, server is borked.
Just been looking at that, did you have to rewrite it.
I found the bug in server_cleanup.fsm
Code:to="cleanup_objects"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"((time - _lastItemCheck) > 65)"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/"_lastDeadCheck = time;"/*%FSM</ACTION""">*/;
time - _lastitemcheck is the condition but the time value is never set (lastDeadCheck there instead of lastItemCheck) , therefore the right version should be
Code:to="cleanup_objects"; precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/; condition=/*%FSM<CONDITION""">*/"((time - _lastItemCheck) > 65)"/*%FSM</CONDITION""">*/; action=/*%FSM<ACTION""">*/"_lastItemCheck = time;"/*%FSM</ACTION""">*/;
other than this there is a missing check for nearby players in the body cleanup part. It will delete zombies even if a player is nearby. Ill test the fix now..
Look cleanup needs to get fixed, it is totaly broken.
Hero kills should have been added with the newest debug that i committed, let me know if its not working. As for zombie kills its not hard to add in if u would like it ill paste the code here later.
As for the FSM, it seems to run everyone second >.<
So far i can say it works.
RTP flood is away, server keeps fps
Loot behavior: when in radius of 200m loot isnt deleted, outside 200m loot gets deleted and respawns new if close enough (i doubt 190m) .
Code:17:13:49 "DEBUG FPS : 15.311 AND "_countAllObjM: 567"Players: 1_zombies:0_zombiesA:0_loot:23_lootL:23_dayz_zombiesLocal:0_dead:0_numDeadL:0Animal=0" 17:16:56 "DEBUG FPS : 46.6472 AND "_countAllObjM: 687"Players: 1_zombies:21_zombiesA:5_loot:83_lootL:23_dayz_zombiesLocal:0_dead:16_numDeadL:0Animal=1" 17:19:58 "DEBUG FPS : 48.4848 AND "_countAllObjM: 687"Players: 1_zombies:21_zombiesA:5_loot:82_lootL:23_dayz_zombiesLocal:0_dead:16_numDeadL:0Animal=1" 17:22:59 "DEBUG FPS : 43.4783 AND "_countAllObjM: 666"Players: 1_zombies:4_zombiesA:4_loot:85_lootL:23_dayz_zombiesLocal:0_dead:0_numDeadL:0Animal=0" 17:26:01 "DEBUG FPS : 48.048 AND "_countAllObjM: 628"Players: 1_zombies:4_zombiesA:4_loot:58_lootL:23_dayz_zombiesLocal:0_dead:0_numDeadL:0Animal=1" 17:29:02 "DEBUG FPS : 47.4777 AND "_countAllObjM: 626"Players: 1_zombies:4_zombiesA:4_loot:58_lootL:23_dayz_zombiesLocal:0_dead:0_numDeadL:0Animal=0" 17:32:01 "DEBUG: Player Sharkking [108966470] added to botPlayers: ["108966470"]"17:32:01 "DEBUG: START _doLoop 0,_isDead=false" 17:32:04 "DEBUG FPS : 45.7143 AND "_countAllObjM: 624"Players: 0_zombies:0_zombiesA:0_loot:64_lootL:64_dayz_zombiesLocal:0_dead:0_numDeadL:0Animal=0" 17:32:41 "DEBUG: END _doLoop 40, _isDead=false" 17:32:41 "DEBUG: Player Sharkking [108966470] removed from botPlayers: []"17:35:06
from the logs i would even say the gravecross is now working (not confimed)
Code:17:36:59 "CLEANUP: PERFORMING BODY CLEANUP ON BODIES, Time=1380.51" 17:36:59 "Replaced Body (TavianaGuardg14g1)-(19 items, at [22929.3,19469.2,0]), _backpackType=" 17:36:59 "Replaced Body (TavianaGuardg14g2)-(4 items, at [22932,19471.1,0]), _backpackType=" 17:36:59 "Replaced Body (TavianaGuardg14g3)-(4 items, at [22933.6,19472.7,0]), _backpackType=" 17:36:59 "Total Replaced 3 Bodys"
You want to share your complete file.
Or even better the entire .pbo.
Thank you Sharkking. Going to test this now-- epic job.
Full moon is default in origins, correct? How do you do 4h/2h day/night bychance?
https://www.dropbox.com/s/iltq1bw3t9ebbwr/dayz_server.pbo but please note i have a change for the ai choppers in there. (see some posts before)