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...
Question
Raoul
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now