Jump to content
  • 0

Base maintaince deleted everything?


Raoul

Question

Hi Everyone,

 

So I thought I'd set up base maintaince... Until yestherday, after a server restart, everything was gone... All bases on the map were gone, all vehicles disappeared, it was like a fresh server... I think only OBJECT_DATA was involved, since all player gear was still there... 

Luckily, a backup is being made every 30 minutes, so I just rebooted the server and applied the backup from OBJECT_DATA... Simple as that.

But the real question is, how did this happen? Like everything was still in the database... I saw the lines standing right there... To me, it looked like everything was still in the database.

 

How did I setup base maintance?
I don't quite understand base maintance, but I did the following:
In HiveExt.ini, I have the following line:

CleanupPlacedAfterDays = 14

And I ran this in HeidiSQL Query:

UPDATE `Object_DATA` SET `Damage`=0.1 WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 1 DAY) AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )

 

All buildings did receive damage after 1 day... So players were able to maintain their bases...

 

I thought that should do it... But appearntly it didn't.

My questions: Did I setup base maintance correctly? Did I forget something?

What happend with the vehicles? Like why did vehicles disappear? I thought this would only made bases disappear...

 

Thanks for helping me out!

Raoul

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Change damage from 0.1 to something higher like 0.2 or 0.3... it's been confirmed several times that 0.1 is bugged (most obvious case was where people weren't even provided with option to maintain bases from plot poles, thinking it's all good)

Also there's another way I prefer to deal with this. Check your functions using Heidi, if you applied all SQL files that came with server, then there's a chance you also have function that does cleanup for you, however it is not a good idea to run it together with cleanup from hiveext.ini.

Personally i used to have hive part disabled with:

CleanupPlacedAfterDays = -1

leaving rest of the task for function to deal with.

 

I don't have any running servers for screenshots, sorry

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