Improvement for OrganizeMe command (Fix included)
Forum » Discussions » Suggestions & Ideas
Do you agree with this change?

Yes
2
No
0
I don't understand
1

Joined: 3rd Jan 2017
Rank: --
Likes 15
15th Jan 2017

The command [OrganizeMe is superrrr useful for quickly organizing your bag.  However, it could do with a slight improvement.

Currently it ignores blessed items, runebooks and spellbooks.  However, it should also ignore NEWBIED items.

Newbied items are basically the same as blessed items for non-murderers . This means you DON'T want them in a seperate bag.  You want them in your primary backpack so they don't drop when you die.

If they're in a seperate container, like this script currently puts them into, you can lose them upon death.

Heres the current code for the script, assuming you use the same version.  This is located starting at line 74.

foreach (
                Item item in
                    backpackitems.Where(
                        item =>
                            item.LootType != LootType.Blessed && !item.Insured && !(item is Runebook) &&
                            !(item is Spellbook) && item.Movable))
Simply need to add a check to make sure the item loot type is not newbied either.  Can be done like so:

foreach (
                Item item in
                    backpackitems.Where(
                        item =>
                            item.LootType != LootType.Blessed && item.LootType != LootType.Newbied && !item.Insured && !(item is Runebook) &&
                            !(item is Spellbook) && item.Movable))
Bam, now the script should ignore newbied items as well (like the starting dagger, starting clothing, ect.)
Joined: 14th Oct 2016
Rank: --
Likes 16
15th Jan 2017

oh, just tried this command, didn't know it's excist.
anyway, it has added new bags and organized by types, but now ny organizing it, it made me a whole mess moving all the stuff together, lol.
How do I revert it?
Like (0) · Comments (1)


Signature Picture
Forum » Discussions » Suggestions & Ideas
Please login or register to reply.
Chat Box
Online Members
None
Online Guests: 1
Ultima Online Top 100 Ultima Online Server list Ultima Online Server Top Ultima Online Sites Ultima Online servers Ultima Online Top 100 topofgames.com Ultima Online private server

Vote on the Ultima Online Top 200 Ultima Online Top 200 - UO Shards and Servers