Here is what I did on our server in the main.cs file on the server I put:
- Code: Select all
exec("guildtempfix.cs"); // Temp fix for Guild Claim Maintenance
and in a new file in the same directory I made guildtempfix.cs and put this in it:
- Code: Select all
cancel($GUILD_MAINTENANCE);
$GUILD_MAINTENANCE_TIMER = 9000000; // 2.5 hours
function ark_guildmaintenance()
{
warn("Preforming Claims Maintenance Manually");
claimsMaintenance();
$GUILD_MAINTENANCE = schedule($GUILD_MAINTENANCE_TIMER, 0, "ark_guildmaintenance");
}
$GUILD_MAINTENANCE = schedule(100, 0, "ark_guildmaintenance");
This will force a claims maintenance on server boot and every 2.5 hours after that (the same as our day cycle is set to)