FIXED Dark Guardian room stuck

Magus Zeal

Expert II
Usually people get ejected when they die. Not sure what happens if they LOG OUT in that room though. Might be what happened. Can confirm though - its locked and no one appears to be inside.
 

Dan

Staff Member
Administrator
Game Master
Alright, I went in there and killed them. Hopefully, that re-sets it.

@Dexter any idea?
 

Dan

Staff Member
Administrator
Game Master
I got it to force reset. Still looking into how it happened.
 

FireFly

Journeyman II
I have one idea how- doors locked when you get in and they spawn- what if someone cast energy vortex from door and reccal away?
 

Magus Zeal

Expert II
The script checks for "player mobile" before spawning stuff.
Post automatically merged:

There is a check for OnDeath() but I don't see anything for logout events
Post automatically merged:

For instance, in a champ spawn area, there is a logout check (which drops your scrolls to the ground if you logout). nothing like that in DG room


Code:
public static void OnLogout(LogoutEventArgs e)
        {
            Mobile m = e.Mobile;

            if (m is PlayerMobile && m.Region.IsPartOf<ChampionSpawnRegion>() && m.AccessLevel == AccessLevel.Player && m.Map == Map.Felucca)
            {
                if (m.Alive && m.Backpack != null)
                {
                    List<Item> list = new List<Item>(m.Backpack.Items.Where(i => i.LootType == LootType.Cursed));

                    foreach (Item item in list)
                    {
                        item.MoveToWorld(m.Location, m.Map);
                    }

                    ColUtility.Free(list);
                }
 

Dexter

Staff Member
Administrator
Game Master
Ya but it has this:

Code:
public bool CheckReset()
        {
            if (GetPlayerCount() == 0 || Guardians == null || Guardians.Count == 0 || !Guardians.Any(x => !x.Deleted))
            {
                Reset();
                return true;
            }

            return false;
        }
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
8 hours
Players Online
15
Houses
875
Vendors
282
Gold
5,409,571,807gp
Top Bottom