Jump to content
  • 0

Built items disappearing


SgtSparraGump

Question

As the title says items that are built are disappearing as if decay is on however below is my Hiveext.ini should this not stop it?

[Objects]
;Flag indicating whether hiveext should detect vehicles out of map boundaries (X < 0, or Y > 15360) and reset their position to []
;Note: YOU MUST have a proper dayz_server.pbo that supports this feature, otherwise you will get script errors
;You can find that file under the SQF directory for your server version

;EPOCH SETTINGS 
;Which table should the objects be stored and fetched from  
;Table = Object_DATA 
 
;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 = -1 
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Server has the following event in remove_ObjectOld is this causing it?

ALTER DEFINER=`root`@`%` EVENT `removeObjectOld`
	ON SCHEDULE
		EVERY 1 DAY STARTS '2014-02-27 05:06:18'
	ON COMPLETION NOT PRESERVE
	ENABLE
	COMMENT 'Removes old objects and vehicles'
	DO DELETE FROM `Object_DATA` WHERE `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 24 DAY) AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 42 DAY)
Link to comment
Share on other sites

  • 0

That event would delete your basebuild objects after 42 days or 24 days after the last maintenance, whatever comes last. It seems similar to

 

If you have DB backups you could make sure that your buildings disappear after 42 days. If not, then you'll have to search for another cause. I your items are disappearing after 6 days, standard base decay is still active.

Link to comment
Share on other sites

  • 0

Go to your database, and make a new event repeating daily with this code;

UPDATE `Object_DATA` SET `Datestamp`=CURRENT_TIMESTAMP WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )

This will update your stuff daily so in the database it will be one day old forever, thats why it will NOT get deleted anymore. ;)

Link to comment
Share on other sites

  • 0

In the last month have had 3 sooks leave cos they couldn't handle players killing them, they get 1 chance to calm down and play the game now or they get a 24 hour ban, if they dont come back in 5 days, I wipe their base :P harsh but nobody wants to see sooks over side.

 

I'm sure you will get your people back.

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...