lotrointerface.com
Search Downloads


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

Category: Bags, Bank & InventoryGrimBag
Interface Information
Download
How do I install this? (FAQ)
Name: GrimBag   Popular!
Author:
Date: 11-08-2016 04:35 PM
Size: 5.04 Kb
Version: 0.2
Rate File: 5 out of 5 with 2 votes  
Pictures
Click to enlarge 

Views: 0
Size: 105.49 Kb
Dimensions: 642 x 710
Default view
 
Click to enlarge 

Views: 0
Size: 116.29 Kb
Dimensions: 638 x 710
Reversed view
 
Click to enlarge 

Views: 0
Size: 35.85 Kb
Dimensions: 449 x 331
Example of out of order slots
 
Description
Hello folks!

Presenting to you my first plugin: GrimBag. It's only purpose is to list all your inventory slots sorted by id-number and show you every slot's number.

This plugin requires the Turbine API Files.

Commands
/grimbag show
/grimbag hide
/grimbag toggle
/grimbag refresh

Intended use:
Fire up the plugin with /plugins load grimbag. Open normal inventory side-by-side. Figure which inventory slots are which by comparing items between the two or by moving items around in GrimBag to see where it ends up in normal inventory. Place the slots as you want them in normal inventory. Unload the plugin. Leave it unloaded until next time you plan on rearranging your inventory

Features:
  • Based on Turbine's TheOneBag, it supports basic inventory management and includes a scrollbar when needed.
  • Single inventory bag with 5 slots per row.
  • Shows all intentory slots in their proper order with a label on top showing which ID it has.
  • Works side-by-side with normal inventory.
  • Ability to reverse the order in which the rows are shown, i.e. show it upsidedown. This is for if you like me arranged your bags similar to this:
    Bag 1:
    1 2 3 4 5
    6 7 8 7 10
    Bag 2:
    131 132 133 134 135
    126 127 128 129 130
    etc.

Background:
Every slot in your inventory is referenced by a number, which you use in some plugins. The problem is that "slot 1" does not refer to the first slot in your bag, but rather the slot with the id of 1. And since you can move your slots between the bags however you like in Turbine's inventory, you soon have no idea which slot is which. So you might end up with something like this:
66 67 68 69 70
41 42 43 44 45
01 02 03 04 05
...and since you can also resize your inventory and the slots are only grouped together by 5, you might see something like:
66 67 68 69 70 41
42 43 44 45 01 02
03 04 05 91 92 93
And this of course makes it hard to know what number you need to use to reference a certain slot.

Limitations:
  • This was created for just one purpose, and is not really meant for daily use. Halfway through this project I noticed that HugeBag can show slot numbers too (just hard to see with default colours), so that's an alternative for every day use.
  • You can change the height of the bag, but not the width, which is fixed to 5 inventory slots. This is for two reasons: 1) Turbine group the slots together by 5, so that's probably what you want to see anyway. 2) It made it more complicated to calculate how to show the slots when reversed, and I figured it was not worth the time to fix.
  • Does not save any user data: size/position/sort order.

Changelog:
v0.2
  • Added plugincompendium-file for "LOTRO Plugin Compendium"
v0.1
  • Initial release

This is just something I put together quickly barely knowing what I was doing, but it ended up good enough to publish if anyone happens to have the same needs as me for such a plugin. I currently do not have any plans to keep developing this, but feel free to leave a comment if you encounter a bug or if you have an idea how to make this more useful.

Regards
Archive List (Old Versions)
File Name
Version
Size
Author
Date
0.1
4.58 Kb
Grimfrithgar
11-08-2016 12:52 PM
File Statistics
User Rating:
5 out of 5 with 2 votes
Downloads: 23625
Views: 75940
Favorites: 8
Uploaded By:
 
Last Modified: 11-08-2016 04:54 PM by Grimfrithgar    

View Pictures. Download Now! Post A Comment


Post A Reply
Author Comments Comment Options
Unread 05-29-2022, 08:42 AM  
Grimfrithgar
The Wary
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 22
Uploads: 1
Re: Complete Waste of Time

Quote:
...ings Online\Plugins\Grimfrithgar\GrimBag\Grimbag.lua:5: Unable to resolve package "Turbine.UI.Extensions".
...ngs Online\Plugins\Grimfrithgar\GrimBag\__init__.lua:2 : Failed to import package "Grimfrithgar.GrimBag.Grimbag".
...e Rings Online\Plugins\Grimfrithgar\GrimBag\Main.lua:2: Failed to import package "Grimfrithgar.GrimBag".

Yeah, this plugin won't even load. I need to stop wasting my time with bad apps.
This message means you're missing the Turbine API Files.
It's mentioned in the description as a requirement, and also needed by many other plugins.
See here if you're having problems installing it: https://www.lotrointerface.com/wiki/How_to_use_plugins

Last edited by Grimfrithgar : 05-29-2022 at 09:15 AM.
Grimfrithgar is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-13-2022, 01:40 PM  
Calenir
The Wary

Forum posts: 0
File comments: 9
Uploads: 0
Angry Complete Waste of Time

...ings Online\Plugins\Grimfrithgar\GrimBag\Grimbag.lua:5: Unable to resolve package "Turbine.UI.Extensions".
...ngs Online\Plugins\Grimfrithgar\GrimBag\__init__.lua:2 : Failed to import package "Grimfrithgar.GrimBag.Grimbag".
...e Rings Online\Plugins\Grimfrithgar\GrimBag\Main.lua:2: Failed to import package "Grimfrithgar.GrimBag".

Yeah, this plugin won't even load. I need to stop wasting my time with bad apps.
Calenir is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-14-2016, 06:11 PM  
Grimfrithgar
The Wary
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 22
Uploads: 1
Quote:
I believe the confusion is due to Turbine's implementation of their bag sort. It doesn't move the items, it moves the entire bag slot. Because of that, the slots aren't necessarily in nice groups of 5 so you can't necessarily manually fix it by just moving groups.
Oh. I always avoided that featured because I figured it would screw things up. Thank you very much for the information, Garan!

I just tested this on an alt-account and Garan is correct. If you use the Sort-feature then the groups are no longer e.g. 1-2-3-4-5 as they usually are when you move them, but they will rather become scrambled.

If you have used the Sort-function previously so the slots are not arranged nicely 1-5, to rearrange them in nice group of 5's again, the following seems to work according to my initial testing (please let me know if you find it to work otherwise):
* Fill your bags with (different) items to make this easier.
* Click the arrow down-button in Turbine's bags to sort your bags.
* Check which item the default bags shows as the first slot (e.g. [Westemnet Milkthistle Salve])
* In GrimBag, move this item (e.g. [Westemnet Milkthistle Salve]) to slot #1.
* Click sort again.
* Check which item the default bags shows as the second slot.
* In GrimBag, move this item to slot #2.
* Click sort again.
etc.

And here I thought this was confusing enough without the Sort-feature!

If any more questions arises, feel free to ask.

And thanks again to Garan for providing information about the Sort-function.

Regards
Grimfrithgar is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-14-2016, 02:39 PM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 340
File comments: 980
Uploads: 20
I believe the confusion is due to Turbine's implementation of their bag sort. It doesn't move the items, it moves the entire bag slot. Because of that, the slots aren't necessarily in nice groups of 5 so you can't necessarily manually fix it by just moving groups. Theoretically, you could perform a Turbine sort, then starting at the first item in built-in bag#1, drag the item to the first slot in a plugin like this that has the slots numbered. Keep moving items until they are all positioned in the order of the numbered plugin. Then perform another Turbine sort and the slots should get resorted in sequential order. The biggest issue would be that items would swap locations with the drag&drop if there was already an item in the destination slot but that can be accounted for if you pay attention as you swap (or just keep repeating the swap and sort until all the conflicts work themselves out).

Last edited by Garan : 11-14-2016 at 02:42 PM.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-14-2016, 02:14 PM  
Grimfrithgar
The Wary
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 22
Uploads: 1
Quote:
Now that I have been using this plugin for some time....is there a way to reset the locations in my bags to a numerical order? Such as 1 to 135....in order basically or I'm I stuck with it being out of order?
You have to do this manually by opening the default bags and press Edit Mode (the gear icon).
You can not directly change the order of the slots inside the bag, you can only move it to another bag.
When you move the slots to a new bag it will always put the slots at the end of the bag.

Say you have everything in Bag 1 out of order. Then you need to move all the slots to another bag, before moving them back to bag 1 in order.

Example if everything in bag 1 is out of order and you want it in numerical order:
* Move everything from bag 1 to any other bag
* Use this plugin to determine which slot is slot 1 by moving any item to slot 1 and compare with where it ends up in Turbine's bags.
* Move this "row" to bag 1. Since a row is always 5 slots, this will move slots 1-5.
Bag 1 will now look like:
1 2 3 4 5
* Use this plugin to determine which slot is slot 6 (start of the next row)
* Move this row to bag 1.
Bag 1 will now look like:
1 2 3 4 5
6 7 8 9 10
etc.

Hope this makes sense.

Regards
Grimfrithgar is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-13-2016, 08:55 PM  
farmhand99
The Wary
 
farmhand99's Avatar

Forum posts: 0
File comments: 38
Uploads: 0
Now that I have been using this plugin for some time....is there a way to reset the locations in my bags to a numerical order? Such as 1 to 135....in order basically or I'm I stuck with it being out of order?
farmhand99 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-08-2016, 04:46 PM  
Grimfrithgar
The Wary
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 22
Uploads: 1
Quote:
Hey What a GREAT plugin. I just downloaded it and am still trying it out however my 1st impression is "I LOVE IT". One suggestion is to have it Plugin Compendium ready.
Hello and thank you!

I don't use the compendium regularly myself so I forgot about that part, good point!

I just released a new version, 0.2, that includes a plugincompendium-file. I also asked lunarwtr to add it to the compendium, so it will probably be available there soon.

Regards
Grimfrithgar is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-08-2016, 03:12 PM  
farmhand99
The Wary
 
farmhand99's Avatar

Forum posts: 0
File comments: 38
Uploads: 0
Hey What a GREAT plugin. I just downloaded it and am still trying it out however my 1st impression is "I LOVE IT". One suggestion is to have it Plugin Compendium ready.
farmhand99 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 06:27 PM.


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