Jump to content
Gand (DayZ)

Public Hive: Out of bounds (out-of-map) vehicles

Recommended Posts

Good day all,

 

I have several objects in my server instance that are in the debug area:

 

2013-07-23 18:32:52 HiveExt: [information] Result: ["OBJ","23611665","MH6J_DZ","0",[20,[-18712.4,25821.9,-0.021]],[[[],[]],[[],[]],[[],[]]],[["glass1",1],["glass2",1],["glass3",1],["glass4",1],["glass5",1],["NEtrup",1],["motor",0.8],["elektronika",1],["mala vrtule",1],["velka vrtule",1],["munice",1],["sklo predni P",1],["sklo predni L",1],["glass6",1]],0.0,0.783]
2013-07-23 18:32:52 HiveExt: [information] Result: ["OBJ","23834985","AN2_DZ","0",[258,[-18708.199,25809,0.022]],[[[],[]],[[],[]],[[],[]]],[["glass1",1],["glass2",1],["glass3",1],["glass4",1],["telo",0]],0.0,0.252]
 

 

Does the public hive not automatically move out of bounds objects to the edge of the map? I looked at dayz_server.pbo under \compile\fa_hiveMaintenance.hpp:

 

//// OUT-OF-MAP CHECK ////
 
// Move out-of-map tents and other crafted/installed objects next to map boundary.
//#define OBJECTS_FIX_OUTOFMAP
 
// Move out-of-map vehicle next to map boundary.
//#define VEH_MAINTENANCE_FIX_OUTOFMAP
 
// Move out-of-map player next to map boundary during playerSetup
//#define PLAYERS_FIX_OUTOFMAP

 

 

Both of those values are not defined, and editing them causes the server to never initialize the hive connection on startup. Any assistance greatly appreciated. I don't want players saving vehicles outside the map or having for inactive/bugged ones to respawn after the inactivity timer (whatever it is).

 

Thanks for your time in advance.

 

 

Share this post


Link to post
Share on other sites

There is no link between hive connection and this out-of-map trick.

What error do you have when you define VEH_MAINTENANCE_FIX_OUTOFMAP?

  • Like 1

Share this post


Link to post
Share on other sites

There is no link between hive connection and this out-of-map trick.

What error do you have when you define VEH_MAINTENANCE_FIX_OUTOFMAP?

 

If I un-comment the definition. The server will load, the mission starts but the hive connection is never initialized and hiveext.log not created. People will see attempting to authenticate with server forever until they time out. On the console, the server never initializes the hive connection. Is it possible my PBO repacker is not working properly? If you have a specific text editor/PBO packer you recommend, please advise.

 

Thanks.

Edited by Gand

Share this post


Link to post
Share on other sites

If you think it's a tool problem, try to unpack then pack again server.pbo.

I use cpbo.exe in some command lines (no mouse)

Share this post


Link to post
Share on other sites

If you think it's a tool problem, try to unpack then pack again server.pbo.

I use cpbo.exe in some command lines (no mouse)

Tried the command line method, no difference. The PBO packs correctly but when the server loads the missions but does not connect to the hive. It just says mission started and players get a blank screen. Replacing the dayz_server.pbo with the official release version works 100%, but obviously does not cleanup out of bounds vehicles.

Share this post


Link to post
Share on other sites

could you PM me a link of your RPT log file?

Share this post


Link to post
Share on other sites

for me VEH_MAINTENANCE_FIX_OUTOFMAP works well, MH6 has been spawned at 00 28, AN2 not but it is not interesting vehicle. thx for help. But i have noticed that VEH_MAINTENANCE_FIX_OUTOFMAP spawned repaired vehicles at other location than has been saved before starting server with VEH_MAINTENANCE_FIX_OUTOFMAP. for example vehicle saved at 15 04 spawned after restart with VEH_MAINTENANCE_FIX_OUTOFMAP at 28 18.

Share this post


Link to post
Share on other sites

Yes, altitude is checked too, but vehicles are not "repaired".

boats are moved to a location where terrain altitude is -1.2 to -9 meters (aka a shallow sea)

bikes may be moved near the shore, so that altitude is less than 60 meters (because I want to let bikes for freshly spawned players)

and other vehicles are moved if altitude is less than 3 meters.

Share this post


Link to post
Share on other sites

Any more information on how to correct this problem?  I still have vehicles spawning in debug.

Share this post


Link to post
Share on other sites

Any more information on how to correct this problem?  I still have vehicles spawning in debug.

 

I found the problem for me. The PBO utility was leaving some files out under /system/ and causing script errors. I think defining the variable works, but I have to test further.

 

So to recap:

 

1. Unpack dayz_server.pbo with a command line utility.

2. Find fa_hiveMaintenance.hpp under /compile/

3. Using a nice text editor (such as Notepad++). Un-comment (remove //) #define VEH_MAINTENANCE_FIX_OUTOFMAP and #define OBJECTS_FIX_OUTOFMAP (if desired). Save.

4. Repack the PBO using the command line utility. Make SURE the files under /system/ match the original dayz_server.pbo

 

Hope this helps.

Edited by Gand

Share this post


Link to post
Share on other sites

could you PM me a link of your RPT log file?

 

The PBO re-packer was the issue for me. I believe I have it sorted now, thank you for your time. Will this fix be included in the next public patch? I sure hope so, it would seem crazy to allow vehicle saves in debug.

 

Also, does ResetOOBVehicles = true have to be set under hiveext.ini for the cleanup routines to run or can it be left commented out?

Edited by Gand

Share this post


Link to post
Share on other sites

The PBO re-packer was the issue for me. I believe I have it sorted now, thank you for your time. Will this fix be included in the next public patch? I sure hope so, it would seem crazy to allow vehicle saves in debug.

 

Also, does ResetOOBVehicles = true have to be set under hiveext.ini for the cleanup routines to run or can it be left commented out?

Any of these tricks will be included by default, because public hive maintenance scripts should detect and respawn OOB vehicles.

I don't know ResetOOBVehicles keyword at all. It's unrelated.

Share this post


Link to post
Share on other sites

I found the problem for me. The PBO utility was leaving some files out under /system/ and causing script errors. I think defining the variable works, but I have to test further.

 

So to recap:

 

1. Unpack dayz_server.pbo with a command line utility.

2. Find fa_hiveMaintenance.hpp under /compile/

3. Using a nice text editor (such as Notepad++). Un-comment (remove //) #define VEH_MAINTENANCE_FIX_OUTOFMAP and #define OBJECTS_FIX_OUTOFMAP (if desired). Save.

4. Repack the PBO using the command line utility. Make SURE the files under /system/ match the original dayz_server.pbo

 

Hope this helps.

Thanks for the advice.  I am going to give this a try and cross my fingers.  Now I just have to restart my server 100 times to get it to work

Share this post


Link to post
Share on other sites

We are having the same problem and since we're running on the public hive, we're unable to edit the mission file. What can we do to fix this if anything?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×