Nozgo

Member
ServUO Version
Publish 57
Ultima Expansion
Lord Blackthorn's Revenge
I set a new server up with latest ServUO-57.3 and set it to LBR era(pre-AOS). Can anyone point me to where I could get the drop down menus back on the vendors when you click on them?
 
ContextMenus can be enabled in previous expansions by appending CharacterListFlags.ContextMenus to the CharacterList.AdditionalFlags property.

The easiest way to achieve this is to edit Scripts/Misc/CurrentExpansion.cs
C#:
        [CallPriority(Int32.MinValue)]
        public static void Configure()
        {
            Core.Expansion = Expansion;

            CharacterList.AdditionalFlags |= CharacterListFlags.ContextMenus;

...
 
I was looking at the 57 repo and curious if this line is going to hold that up?

Code:
ObjectPropertyList.Enabled = Core.AOS;

because of..

Code:
        public static void ContextMenuRequest(NetState state, PacketReader pvSrc)
        {
            var target = World.FindEntity(pvSrc.ReadInt32());

            if (target != null && ObjectPropertyList.Enabled)

or I might be missing something?
 
Well, thanks for the answers, but alas, the additional flags did not work. I am going to go with AOS era and see how much the fam complains.... likely they wont remember the differences...lol.
 

Active Shards

Donations

Total amount
$110.00
Goal
$1,000.00
Back