Discussion in   Coding Corner   started     10 years ago   May 06, 2014, 11:11:04 AM   by   Minos

Blessed Bag & Blessed/Insured Items

Minos
Offline
230 Posts
Topic :   Blessed Bag & Blessed/Insured Items
10 years ago  May 06, 2014, 11:11:04 AM

Storing blessed/insured items neatly inside a blessed bag. All for naught once you die, as they are scattered around your backpack once again.

I've heard this suggested by quite a few people and thought I'd look into it. Turns out to be a simple fix to keep everything in place inside a blessed bag. I'd really like to see this change put in place and I'm pretty sure anyone else who plays would appreciate it as well.

Inside of PlayerMobile.cs, FindItems_Callback needs a little tweaking:

Code: [Select]
        private bool FindItems_Callback(Item item)
        {
            if (!item.Deleted && (item.LootType == LootType.Blessed || item.Insured))
            {
                if (this.Backpack != item.ParentEntity)
                {
                    if (item.Parent is Item && (((Item)item.Parent).LootType == LootType.Blessed))
                    {
                        return false;
                    }
                    return true;
                }
            }
            return false;
        }

DarkWarrior
Offline
133 Posts
#1 Re :   Blessed Bag & Blessed/Insured Items
10 years ago  May 07, 2014, 06:55:52 AM

I approve of this.
I like neat and tidy bags!

Dable
Offline
34 Posts
#2 Re :   Blessed Bag & Blessed/Insured Items
10 years ago  May 07, 2014, 11:24:34 PM

I have to say, with the amount of stuff i carry around on my character, this would make a massive difference to me.

Evolution
Offline
1285 Posts
#3 Re :   Blessed Bag & Blessed/Insured Items
10 years ago  May 07, 2014, 11:38:32 PM

Yes this has been an old issue on our "to do" list, ill see what we can do ty


Admin Dante - Owner - UO Evolution Custom Ultima Online Shard

Website - http://www.uoevolution.com

Forum - http://www.uoevo.com/forum

Wiki - http://www.uoevo.com/wiki

Discord - http://www.discord.gg/JwEBhPH

Kane
Offline
591 Posts
#4 Re :   Blessed Bag & Blessed/Insured Items
10 years ago  June 07, 2014, 07:29:12 AM

Fixed, is in Update 7

Riversilk
Offline
31 Posts
#5 Re :   Blessed Bag & Blessed/Insured Items
9 years ago  July 07, 2015, 03:25:31 AM

Kinda related to this:
some items (who are inherently blessed) still suffer this problem, like for example: Monster contracts and BODs


Is it possible to look into it too?

Smilingdeath
Offline
275 Posts
#6 Re :   Blessed Bag & Blessed/Insured Items
8 years ago  January 24, 2016, 02:52:26 PM

This is still occurring, with most items in my blessed Loot Bag being placed in my main back pack upon my constant misadventures of going where I should not go.  All keys are dumped into the main pack, as well as anything not inside of 2 chests I keep.  Even if the keys are inside the chests they are placed in the pack.

Tecred
Offline
5 Posts
#7 Re :   Blessed Bag & Blessed/Insured Items
8 years ago  January 24, 2016, 02:56:10 PM

Same problem happens with Ethy mounts.

Smilingdeath
Offline
275 Posts
#8 Re :   Blessed Bag & Blessed/Insured Items
8 years ago  January 29, 2016, 01:12:34 AM

Found a work around using the Optimizers for some of my problems with the bags so far.  Made clean up a lot easier.

intensifried
Offline
55 Posts
#9 Re :   Blessed Bag & Blessed/Insured Items
8 years ago  February 01, 2016, 01:52:10 PM

Found a work around using the Optimizers for some of my problems with the bags so far.  Made clean up a lot easier.

All my keys are insured, I keep them placed in my loot bag which is blessed and they are stay in there when die and res. But when I place them in any other bag they will pop out when I die.