Decay problem (Walls disappearing)

DrHat

New Member
Hi there!

We (Kanium) have a server hosted by Vilayer.

We're in a bewilderment, what script/file is actually responsible for deleting stuff? Like, what is actually doing this? (I can't find any events in the database)

We've updated our server and lost the ability to maintain structures..but that isn't the important part. The important part is we tried turning decay off ENTIRELY (CleanupPlacedAfterDays = -1) and walls are still decaying like nobody's business.

We're also aware of this guy:

Code:
DROP EVENT IF EXISTS setDamageOnAge;
CREATE EVENT setDamageOnAge
    ON SCHEDULE EVERY 1 DAY
    COMMENT 'This sets damage on a wall so that it can be maintained'
    DO
      UPDATE `object_data` SET `Damage`=0.1 WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 3 DAY) AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )

We haven't done the above yet out of being puzzled, since we turned the decay OFF! ENTIRELY! o_O

We've even updated the dateStamp in the database to be the current date, which should in theory give us more time, and shit is still disappearing left and right. It is as if we can't stop the server from deleting structures. HELP! :(

EDIT: Correction, the Datestamp change does seem to work. I forgot to give new dates to walls with windows in them. derp

But still! HELP! D:
 
Are you using this event?
Code:
CREATE EVENT PreventCleanup
ON SCHEDULE EVERY 1 DAY
COMMENT 'Prevents all cleanup by setting datestamp to current'
DO
UPDATE `Object_DATA` SET `Datestamp`=CURRENT_TIMESTAMP WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )
 
What is the name of the file this
Are you using this event?
Code:
CREATE EVENT PreventCleanup
ON SCHEDULE EVERY 1 DAY
COMMENT 'Prevents all cleanup by setting datestamp to current'
DO
UPDATE `Object_DATA` SET `Datestamp`=CURRENT_TIMESTAMP WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )

What file is this located in?
 
That is database event. So go to your database and run that under SQL.

It creates an event what runs once a day and sets datestamp to current for all build objects.
 
Back
Top