FIXED Exodus encounter

Dan

Staff Member
Administrator
Game Master
So the boxes are in, is the only bug not being able to steal?
 
OP
RedBeard

RedBeard

Journeyman II
The Legend
Benefactor
Supporter
So the boxes are in, is the only bug not being able to steal?
I will test extensively when I get home later, but far as I can tell the stealing portion is the thing missing.
 
  • Like
Reactions: Dan
OP
RedBeard

RedBeard

Journeyman II
The Legend
Benefactor
Supporter
The boxes must be set too high I cant pick them with 100 lockpicking skill. Says cant be manipulated.
 

Dan

Staff Member
Administrator
Game Master
Alright following this mornings 6am restart you should now be able to correctly lock pick the boxes, if over 90 skill.

If you can't let me know and I may have to force respawn the ones already in the world.
 
OP
RedBeard

RedBeard

Journeyman II
The Legend
Benefactor
Supporter
Alright following this mornings 6am restart you should now be able to correctly lock pick the boxes, if over 90 skill.

If you can't let me know and I may have to force respawn the ones already in the world.
right on thanx
 

Dan

Staff Member
Administrator
Game Master
Alright so I went ahead and respawned the boxes! They are now working correctly.

Also I delved a little deeper into the "stealing" from Zealots and it seems the code is in. What exactly are you doing?
https://github.com/ServUO/ServUO/bl...ices/Monster Stealing/Core/StealingHandler.cs

Code:
int chance = GetStealingChance(thief, from, stealing);

            if ((Utility.Random(100)+1) <= chance)
            {
                thief.SendLocalizedMessage(1094947);//You successfully steal a special item from the creature!

                Item item;

                if (from is ExodusZealot)
                {
                    item = Activator.CreateInstance(ExodusChest.RituelItem[Utility.Random(ExodusChest.RituelItem.Length)]) as Item;
                }

                else
                {
                    item = Activator.CreateInstance(SpecialItemList[Utility.Random(SpecialItemList.Length - 2)]) as Item;
                }

                thief.AddToBackpack(item);
            }

            from.HasBeenStolen = true;
        }
 
OP
RedBeard

RedBeard

Journeyman II
The Legend
Benefactor
Supporter
Alright so I went ahead and respawned the boxes! They are now working correctly.

Also I delved a little deeper into the "stealing" from Zealots and it seems the code is in. What exactly are you doing?
https://github.com/ServUO/ServUO/blob/3eb0235f2bea76f1268a0ac78a3bcccf72e0d304/Scripts/Services/Monster Stealing/Core/StealingHandler.cs

Code:
int chance = GetStealingChance(thief, from, stealing);

            if ((Utility.Random(100)+1) <= chance)
            {
                thief.SendLocalizedMessage(1094947);//You successfully steal a special item from the creature!

                Item item;

                if (from is ExodusZealot)
                {
                    item = Activator.CreateInstance(ExodusChest.RituelItem[Utility.Random(ExodusChest.RituelItem.Length)]) as Item;
                }

                else
                {
                    item = Activator.CreateInstance(SpecialItemList[Utility.Random(SpecialItemList.Length - 2)]) as Item;
                }

                thief.AddToBackpack(item);
            }

            from.HasBeenStolen = true;
        }
yea its working I must have missed the message. I guess im stealing his gold I didn't see item in my pack. :)
 
Last edited:

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
46 minutes
Players Online
4
Houses
860
Vendors
297
Gold
4,987,023,561gp
Top Bottom