Quantcast
lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Stand-Alone Plugins > Bags, Bank & Inventory

Category: Bags, Bank & InventoryInventory Bag ID Descrambler
Interface Information
Download
Thurallor's Portal Bug Reports Feature Requests
How do I install this? (FAQ)
Name: Inventory Bag ID Descrambler   Popular!
Author:
Date: 08-03-2017 05:03 AM
Size: 6.36 Kb
Version: 1.3
Rate File: 4 out of 5 with 1 votes  
Pictures
Click to enlarge 

Views: 0
Size: 434.97 Kb
Dimensions: 580 x 546
A simple wizard format to guide you through the process
 
Description
Introduction
This plugin allows you to unscramble the slot IDs in your inventory bags.

The slot IDs are scrambled each time you use the Sort button in your inventory bags, because of the odd way Turbine chose to implement the Sort feature.

Normally the slot IDs don't matter, but some plugins (e.g. SequenceBars) that want to put stuff into specific bag locations have to rely on the slot ID numbers. It's easier to do this if the slot IDs are in order in your bags.

The plugin uses a simple Wizard format that tells you what to do at each step of the process. It should not take more than a few minutes to complete.

Installation and Startup
To install:
  • First, unzip the archive. You will get a folder called "Thurallor". Move this folder into your Documents/The Lord of the Rings Online/Plugins folder. (If you have not previously installed any plugins, you will have to first create the Plugins folder.)
  • Or if you prefer, you may use Plugin Compendium to do the installation.
To load the plugin, use the game's built-in Plugin Manager. This can be found in the "^" menu, at the bottom of the screen. Click the icon, then choose "System" and then "Plugin Manager".

When the Plugin Manager opens, find Inventory Bag ID Descrambler in the list on the left side, then click "Load" to load the plugin.

Revision History
  • (3-Aug-2017) Version 1.3: Refined the instructions and reduced chat spam during descrambling.
  • (19-Jun-2017) Version 1.2: Improved instructions and other minor tweaks.
  • (19-May-2017) Version 1.1: Forgot to mention in the instructions that you need to make sure stackable items are stacked up into the minimum number of stacks.
  • (19-May-2017) Version 1.0: Added Plugin Compendium support.
  • (19-May-2017) Version 0.9: Initial release.
Archive List (Old Versions)
File Name
Version
Size
Author
Date
1.2
6.36 Kb
Thurallor
06-19-2017 12:58 PM
File Statistics
User Rating:
4 out of 5 with 1 votes
Downloads: 14057
Views: 32984
Favorites: 15
Uploaded By:
 
Last Modified: N/A

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 08-24-2021, 07:56 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 197
File comments: 375
Uploads: 19
Re: Waste of Space

Quote:
Well that was a waste. After running it and following the directions to the letter, new items added to the inventory still end up in random spots. So I don't know what this plugin is really supposed to do, but it certainly does not descramble as advertised.
It does, it's just very tedious. Sorry there isn't a better option, but blame Turbine/SSG.

Most likely there were identical items (or stacks of items) in two or more slots of your bags. Each slot has to have a unique item for the plugin to be able to work.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-24-2021, 11:52 AM  
Calenir
The Wary

Forum posts: 0
File comments: 4
Uploads: 0
Angry Waste of Space

Well that was a waste. After running it and following the directions to the letter, new items added to the inventory still end up in random spots. So I don't know what this plugin is really supposed to do, but it certainly does not descramble as advertised.
Calenir is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-20-2020, 06:00 PM  
Thurallor
The Undying
 
Thurallor's Avatar
Interface Author - Click to view interfaces

Forum posts: 197
File comments: 375
Uploads: 19
Re: works on 135 bag slots (Update 28)

Quote:
Tried this out tonight and it de-scrambled the bag slots as advertised, all 135 of them. Having to populate 134 of them and then move 134 items one at a time was a bit of a chore.

I'm just curious why the manual moves was required? Is it because the LOTRO interface prevents plugins from executing multiple commands as the result of one user interface action?

The reason why I used this is that I use the SequenceBars plugin and I make use of "Set Unequip Destination" in my gear swapping sequences. I like to keep all the armour/jewellery in bag 2 where its grouped by the role (e.g. dps, tank, healer). I had it using the un-sorted ids but just thought it would be easier in the long run to maintain the sequences if sorted.
Yeah, it is a PITA, but unfortunately there isn't an easier way that I know of. The way it works is a consequence of the limitations of the Lua API:

A plugin cannot change the locations of slots within your bags. The only way to move slots around is with the "sort" button. This plugin's job is to help you arrange the items in your bags such that clicking the "sort" button will put the slots in order.

A plugin can move an item from one slot to another by using the slot numbers. Given this capability, you would think a simple algorithm would do the trick:

1. Get the user to fill his bags with junk.
2. Create a sorted list of the items.
3. Move the items into the appropriate slots such that the first item alphabetically is in slot 1, and the last in slot 135.
4. Have the user click "sort" to sort the slots.

The main problem with this approach arises in step 2: Sorting. The game's sorting algorithm is complex and mysterious. It obviously isn't alphabetical; it arranges the items into categories and subcategories, putting the categories into some unknown order. A significant research effort would have to go into duplicating this sorting algorithm in Lua. Rather than attempt this, I chose an alternative approach: Have the user click "sort" to sort the items; then detect the order of the slots. We then know the correct "sorted" order of the items, and can proceed to steps 3 and 4.

But a plugin cannot detect the order of slots within your bags, or the locations of slots on the screen. However, when you move an item from one slot to another, a plugin can detect the slot numbers of the source and destination.

So, the "chore" of moving the items from one slot to the next is necessary for the plugin to be able to detect the current order of the slots. Sorry, but blame Turbine/SSG for their lazy implementation of the sort feature and chronic neglect of the Lua API. (Edit: I shouldn't say "lazy". It is probably a performance optimization. Maybe it allows a single database access on the server to modify a "slot order" string, instead of 135 accesses to change the contents of the slots.)

Last edited by Thurallor : 11-20-2020 at 06:23 PM.
Thurallor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-19-2020, 03:08 AM  
Red Wolf
The Wary
 
Red Wolf's Avatar

Forum posts: 4
File comments: 10
Uploads: 0
works on 135 bag slots (Update 28)

Tried this out tonight and it de-scrambled the bag slots as advertised, all 135 of them. Having to populate 134 of them and then move 134 items one at a time was a bit of a chore.

I'm just curious why the manual moves was required? Is it because the LOTRO interface prevents plugins from executing multiple commands as the result of one user interface action?

The reason why I used this is that I use the SequenceBars plugin and I make use of "Set Unequip Destination" in my gear swapping sequences. I like to keep all the armour/jewellery in bag 2 where its grouped by the role (e.g. dps, tank, healer). I had it using the un-sorted ids but just thought it would be easier in the long run to maintain the sequences if sorted.

Last edited by Red Wolf : 11-19-2020 at 03:12 AM.
Red Wolf is offline Report comment to moderator   Reply With Quote Reply With Quote
Post A Reply

 
Category Jump:
Search this Category:
 

All times are GMT -5. The time now is 09:48 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui