UOBetty

Initiate
This is my playermbobile.cs and players are still being aggroed in new haven

Code:
public bool CheckYoungProtection(Mobile from)
        {
            if (!Young)
            {
                return true;
            }

            if (Region is BaseRegion && !((BaseRegion)Region).YoungProtected)
            {
                return true;
            }

            if (from is BaseCreature && ((BaseCreature)from).IgnoreYoungProtection)
            {
                return true;
            }

            if (Quest != null && Quest.IgnoreYoungProtection(from))
            {
                return false;
            }

            if (DateTime.UtcNow - m_LastYoungMessage > TimeSpan.FromMinutes(1.0))
            {
                m_LastYoungMessage = DateTime.UtcNow;
                SendLocalizedMessage(1019067);
                // A monster looks at you menacingly but does not attack.  You would be under attack now if not for your status as a new citizen of Britannia.
            }

            return true;
        }
 
It has been 14 days so I assume you have resolved this by now, but I can only guess that this expression is true?
Code:
(Quest !=null&& Quest.IgnoreYoungProtection(from))
You could set a breakpoint in your IDE at the start of this function and see what happens
 
It has been 14 days so I assume you have resolved this by now, but I can only guess that this expression is true?
Code:
(Quest !=null&& Quest.IgnoreYoungProtection(from))
You could set a breakpoint in your IDE at the start of this function and see what happens
I never figured it out actually and this doesn't fix it sadly.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back