Jump to content
  • 0

Pax

Question

Hello.

 

My wife and me try to find out how to prevent player made buildings from despawning.

 

I did some research, but the only solution I found seems impossible. All I found is the following webside: http://dayzepoch.com/wiki/index.php/Server_Configuration_Instructions

I'm not shure if the time until anything built by players despawns can be changed by editing the apprpriate lines of the HiveExt.ini, or if those lines need to be added.

 

Our Epoch server is running the patch 1.0.2.3 by the way.

 

Did the patch change anything about building cleanup?

 

How exactly can we edit how long it tages until player build stuff like walls or entire Houses and bases disappear or if they despawn automatically at all?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi Pax-

 All player built structures need to be maintained with building materials to keep the 'decay' from happening. This decay is set by the setting in the ini you mention, "CleanupPlacedAfterDays = 14"

 

I am moving this topic to a more appropriate sub-forum where you will likely get more detailed responses.

Link to comment
Share on other sites

  • 0

I actually have a followup question pertaining to the Hiveext.ini file

 

 

My server doesn't seem to have one now whereas we did before, but i have a backup from 1.0.1.5 and the server is 1.0.2.3, can i just use this backup for the new version?

 

I can actually answer your post aswell.

 

http://dayzepoch.com/wiki/index.php?title=Server_Configuration_Instructions

 

YOU'RE going to want this part :

Automatic Cleanup of placed items:

By default cleanup happens 6 days after item was placed. To change this edit CleanupPlacedAfterDays setting in the HiveExt.ini under the [objects] section.

;Negative values will disable this feature
;0 means that ALL empty placed items will be deleted every server restart
;A positive number is how old (in days) a placed empty item must be, in order for it to be deleted
CleanupPlacedAfterDays = 14   <-----*THIS NUMBER HERE dictates time before deployeables are deleted*

 

Server Maintenance Remove destroyed vehicles from database:

Use the following SQL code: DELETE FROM object_data WHERE Damage = 1

Schedule it to run every day:

CREATE EVENT removeDamagedVehicles
    ON SCHEDULE EVERY 1 DAY
    COMMENT 'Removes damaged vehicles'
    DO
      DELETE FROM `object_data` WHERE Damage = 1
Automatic Cleanup of placed items:

By default cleanup happens 6 days after item was placed. To change this edit CleanupPlacedAfterDays setting in the HiveExt.ini under the [objects] section.

;Negative values will disable this feature
;0 means that ALL empty placed items will be deleted every server restart
;A positive number is how old (in days) a placed empty item must be, in order for it to be deleted
CleanupPlacedAfterDays = 14
Prevent Cleanup of base building items

This is NOT recommended and is a only a workaround to prevent base building items from being cleaned up by the normal internal cleanup system. PLEASE NOTE: This will cause issues due to keeping too many objects in the world.

CREATE EVENT preventCleanup
    ON SCHEDULE EVERY 1 DAY
    COMMENT 'prevents all cleanup by setting datestamp to current'
    DO
        UPDATE `object_data` SET `Datestamp`=CURRENT_TIMESTAMP WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') 
Link to comment
Share on other sites

  • 0

So you actually need to add that piece of code into your HiveEXT.ini   

;Negative values will disable this feature
;0 means that ALL empty placed items will be deleted every server restart
;A positive number is how old (in days) a placed empty item must be, in order for it to be deleted
CleanupPlacedAfterDays = 14

for it to make a 14 day clean-up..

 

or are you modifying what's already there, because I'm looking at mine and it doesn't have that written there

 

 

 

I'm trying to learn about this stuff as well

Edited by Bags2247
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...