using latest revision, guild claim limit set to 1.
I can claim a keep, guards will reset with my guild name etc, which is all good.
then when you release the keep, the guards reset back to no guild, which is all good.
In the database, the keep table for "ClaimedKeepName" updates fine (adds name when claimed, removes name when released)
The problem after releasing is, /gc info shows that the guild still has control of the keep, and if you try to reclaim the keep, it says "your guild already owns a keep"
here in abstractgamekeep.cs it has the line this.Guild.ClaimedKeeps.Remove(this); but it doesnt seem to be working
- Code: Select all
public virtual void Release() { this.Guild.ClaimedKeeps.Remove(this); PlayerMgr.BroadcastRelease(this); this.m_guild = null; StopDeductionTimer(); StopChangeLevelTimer(); ChangeLevel((byte)ServerProperties.Properties.STARTING_KEEP_LEVEL); foreach (GameKeepGuard guard in Guards.Values) { guard.ChangeGuild(); } foreach (GameKeepBanner banner in Banners.Values) { banner.ChangeGuild(); } this.SaveIntoDatabase(); }
has anyone got some insight on this?
thanks