daryl922 Posted August 16, 2018 Report Share Posted August 16, 2018 Quote UPDATE `object_data`SET `Damage` = IF( `Damage` = 0.0, 0.1, `Damage` + 0.1 )WHERE `LastUpdated` <= DATE_SUB(NOW(), INTERVAL 1 DAY)AND `ObjectUID` <> 0AND `CharacterID` <> 0AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') ) HIVEEXT.INI: Quote ;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 ;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.CleanupPlacedAfterDays = 10 ;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 ;ResetOOBVehicles = false ;A string of comma separated object class names that are to be cleaned up, after the CleanupPlacedAfterDays period, regardless of inventory ;This variable was implemented to compensate for door/plot management storing information in the inventory field ;custom buildables which use the inventory field should be added to this variable ;If you wish to cleaup locked storage objects, instead of letting them zero out, you can add them to the variable ;Do not use double quotation marks, only use single quotation marks ['] ;MaintenanceObjects = 'Land_DZE_GarageWoodDoorLocked','Land_DZE_LargeWoodDoorLocked','Land_DZE_WoodDoorLocked','CinderWallDoorLocked_DZ','CinderWallDoorSmallLocked_DZ','Plastic_Pole_EP1_DZ' Link to comment Share on other sites More sharing options...
daryl922 Posted August 16, 2018 Author Report Share Posted August 16, 2018 Sloved. Deleted ah.sqf code: Quote if(!isNil 'server_maintainArea')then{ server_maintainArea_original = server_maintainArea; server_maintainArea = { private['_input','_player','_targetObj']; _input = _this select 1; _player = _input select 0; _targetObj = _input select 2; _log = format['%1(%2) maintained %3 (objid: %4) @%5 (%6)',name _player,getPlayerUID _player,typeOf _targetObj, _targetObj getvariable['ObjectID','0'],mapGridPosition _targetObj,getposatl _targetObj]; ['MAINTAIN',_log] call fn_custom_log; _input spawn server_maintainArea_original; }; }; Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now