Jump to content
  • 0

Base despawn bug?


i3lackoutHD

Question

9 answers to this question

Recommended Posts

  • 0
28 minutes ago, salival said:

Are you using maintenance?

What is your setting for "CleanupPlacedAfterDays" in your config\servername\HiveExt.ini?

Are you running the Mysql based set damage event?

Im using Maintain yes.

I use my own Database Trigger but i dont think that my script are the reason.

 

Today i checked some things,

My Base Maintain and Remove Trigger runs every day around 00:00.

 

Restart every 3 hours ( 00:00 03:00 06:00 09:00 .... )

But some objects despawned around 07:30-08:00. This time there is no database event running.

 

EDIT:

I think that i found my problem:

I just thought that this:

;CleanupPlacedAfterDays = 16

means that its disabled.

But if you want to disable it you have to set it to:

CleanupPlacedAfterDays = -1

without ' ; '

Link to comment
Share on other sites

  • 0
2 hours ago, i3lackoutHD said:

Im using Maintain yes.

I use my own Database Trigger but i dont think that my script are the reason.

 

Today i checked some things,

My Base Maintain and Remove Trigger runs every day around 00:00.

 

Restart every 3 hours ( 00:00 03:00 06:00 09:00 .... )

But some objects despawned around 07:30-08:00. This time there is no database event running.

 

EDIT:

I think that i found my problem:

I just thought that this:

;CleanupPlacedAfterDays = 16

means that its disabled.

But if you want to disable it you have to set it to:

CleanupPlacedAfterDays = -1

without ' ; '

in the 1.0.5.1

CleanupPlacedAfterDays = -1    works fine.

but in 1.6 im not sure.. read the text above the CleanupPlacedAfterDays = -1

Quote

;Leaving CleanupPlacedAfterDays below commented (with a ; in front) will NOT disable the cleanup, but will make the objects get cleaned up after the default 6 days.

 

Link to comment
Share on other sites

  • 0

Very concerned by this now. My 4 wall base I rebuilt has gone again, along with the plot pole and safe... Along with everyone elses plot poles and safes. All SQL events are turned off, so I know its not that.

After this thread I changed to CleanupPlacedAfterDays = 360  just to make sure that couldn't remove anything, but it has, or something has at least.

Link to comment
Share on other sites

  • 0

Some weird shizzle going on here. Items are in the database still, but not loading in. The first player to load in after the restart got kicked before completion and I got a load of these.

Spoiler

18:50:33 Ref to nonnetwork object 34418100# 1063498: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 343e5600# 1063504: mil_barracks_i.p3d
18:50:33 Ref to nonnetwork object 343e4f00# 1063505: mil_guardhouse.p3d
18:50:33 Ref to nonnetwork object 343e4800# 1063506: mil_house_i.p3d
18:50:33 Ref to nonnetwork object 343e4100# 1063507: mil_barracks_i.p3d
18:50:33 Ref to nonnetwork object 34402400# 1063511: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 34401600# 1063513: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 34400100# 1063516: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 34417200# 1063518: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 34416400# 1063520: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 34415600# 1063522: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 34414100# 1063525: wall_indcnc_end_2.p3d
18:50:33 Ref to nonnetwork object 34425d00# 1063530: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 366a7900# 1063535: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 366a8f00# 1063550: wall_indcnc_4.p3d
18:50:33 Ref to nonnetwork object 366a8100# 1063552: wall_indcnc_end_2.p3d

 

A bit further down, I got this.

Spoiler

18:51:45 Error in expression <ll compile str formatText["%1", _data];
_resultArray
};

onPlayerDisconnected "[>
18:51:45   Error position: <_resultArray
};

onPlayerDisconnected "[>
18:51:45   Error Undefined variable in expression: _resultarray
18:51:45 File z\addons\dayz_server\init\server_functions.sqf, line 153
18:51:45 "HIVE: Request sent"
18:51:45 Error in expression <t _myArray,_result];
};
};
} else {
if (_val > 0) then {
_fileName = _key call s>
18:51:45   Error position: <_val > 0) then {
_fileName = _key call s>
18:51:45   Error Undefined variable in expression: _val
18:51:45 File z\addons\dayz_server\system\server_monitor.sqf, line 63

So wondering if the database didnt load correctly.

 

*edit* No vehicles either. spawned or bought.. Definitely not loaded correctly.

*edit 2* Restart fixed it

Link to comment
Share on other sites

  • 0

Your last post shows an issue that has cropped up lately, it appears the server can disconnect while streaming the database. It is a known issue.

 

I would think you are doing something wrong for your bases to be despawning, I have my CleanupPlacedAfterDays set to 28 and my sql setdamageonage event set to 14 days, maintenance works great.

I don't know why you wouldn't want to use maintenance, though. It greatly helps servers keep minimal objects. You could always just make maintaining free.

Link to comment
Share on other sites

  • 0

My maintainace has always been the same on my old 1.0.5.1 server and never had issues there, but for some reason that I cant explain, stuff is dissapearing before it should. My database is only 6 days old, but stuff has gone already. Its possible it was destroyed, but due to the location, pretty unlikely.

I run an sql event to add 0.9 damage every 3 days for maintainence then another to delete objects older than 14 days since update. I had the hive set to -1as it was never needed.

The other issue is obviously seperate, as a restart fixed it, so yes there is definately an issue with streaming the database somewhere.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...