lotrointerface.com
Search Downloads


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


Post A Reply
Author Comments Comment Options
Unread 01-25-2015, 07:28 PM  
thewumpy
The Wary

Forum posts: 0
File comments: 1
Uploads: 0
To get the default bags to not show you need to make a small change to the main.lua file. Put the following into the load function and change the index numbers to the object name.

Code:
Turbine.Plugin.Load = function( self, sender, args )
	Turbine.Shell.AddCommand( "HugeBag", HugeBagCommand );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack1, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack2, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack3, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack4, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack5, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack6, false );
	--write( L["HBLang"] ); --HugeBag Language
	--write( L["HBLoad"] ); --HugeBag version by Habna loaded!
end
I understand how to enter the text into the main.lua file, but what do you mean by "change the index numbers to the object name"? After editing the main.lua file, Hugebag could not load properly in game. Is this because i didn't "change the index numbers to the object name". How do i do that?

Last edited by thewumpy : 01-25-2015 at 07:28 PM.
thewumpy is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-21-2015, 07:35 PM  
Baldy
The Wary
Premium Member

Forum posts: 0
File comments: 1
Uploads: 0
To get the default bags to not show you need to make a small change to the main.lua file. Put the following into the load function and change the index numbers to the object name.

Code:
Turbine.Plugin.Load = function( self, sender, args )
	Turbine.Shell.AddCommand( "HugeBag", HugeBagCommand );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack1, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack2, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack3, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack4, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack5, false );
	Turbine.UI.Lotro.LotroUI.SetEnabled( Turbine.UI.Lotro.LotroUIElement.Backpack6, false );
	--write( L["HBLang"] ); --HugeBag Language
	--write( L["HBLoad"] ); --HugeBag version by Habna loaded!
end
Baldy is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-04-2015, 08:49 AM  
stw500
The Wary

Forum posts: 0
File comments: 2
Uploads: 0
Before I updated today to the newest Version, I used the workaround in the keyboard-preferences for not opening hugebaf and the first bag. This workaround did perfectly. After the update today hugebag and the first bag opens when I press "I". Is there any solution for only opening hugebag?
stw500 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-26-2014, 02:16 AM  
burgus34
The Wary
 
burgus34's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 21
Uploads: 3
Re: Widget Fix for 115 and 120 Inventory Slots

Quote:
I just bought more bag slots and it rolled over to 115 slots. This made widget mode break. I thought I'd share my edit for anyone else.
This Patch was already uploaded before, but itīs a bit difficult to find it in the text, while I couldnīt upload it as patch here.

The ready to install patch can be found here:
HugeBagv1.13.66Patchfor120Slots

The problem after that was, that there are also some problems when using the window-mode, that are also fixed in my patch.

But thanks for your correct suggestion.

Last edited by burgus34 : 11-26-2014 at 02:17 AM.
burgus34 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-25-2014, 06:26 PM  
NIronwolf
The Wary

Forum posts: 0
File comments: 4
Uploads: 0
Widget Fix for 115 and 120 Inventory Slots

I just bought more bag slots and it rolled over to 115 slots. This made widget mode break. I thought I'd share my edit for anyone else.

In the mainWidget.lua file, do a search for '110'. There will be two sections that need a slight mod to expand them to handle the increased storage.

The first looks like (around line 97):

Code:
	--**v Set size of window v** --
	--I'm showing 11 slots per row
	--backpackSize = 60; --debug purpose

	if (backpackSize >= 45) and (backpackSize <= 55) then wHugeBag:SetSize( WinWidth, WinHeight - 71 ); -- to show 45 to 55 slots
	elseif (backpackSize >= 56) and (backpackSize <= 66) then wHugeBag:SetSize( WinWidth, WinHeight - 36 ); -- to show 56 to 66 slots
	elseif (backpackSize >= 67) and (backpackSize <= 77) then wHugeBag:SetSize( WinWidth, WinHeight - 1); -- to show 67 to 77 slots
	elseif (backpackSize >= 78) and (backpackSize <= 88) then wHugeBag:SetSize( WinWidth, WinHeight + 34 ); -- to show 78 to 88 slots
	elseif (backpackSize >= 89) and (backpackSize <= 99) then wHugeBag:SetSize( WinWidth, WinHeight + 69 ); -- to show 89 to 99 slots
	elseif (backpackSize >= 100) and (backpackSize <= 110) then wHugeBag:SetSize( WinWidth, WinHeight + 104 ); end -- to show 100 to 110 slots
	--**^
Remove the 'end' from the last line and add this line after:

Code:
	elseif (backpackSize >= 111) and (backpackSize <= 120) then wHugeBag:SetSize( WinWidth, WinHeight + 139 ); end -- to show 110 to 120 slots
The second section looks like (around line 789):

Code:
	--**v Backpack v**
	--I'm showing 11 slots per row
	--backpackSize = 60; --debug purpose

	if (backpackSize >= 45) and (backpackSize <= 55) then wHugeBag.itemListBox:SetSize( 389, 178 ); -- to show 45 to 55 slots
	elseif (backpackSize >= 56) and (backpackSize <= 66) then wHugeBag.itemListBox:SetSize( 389, 213 ); -- to show 56 to 66 slots
	elseif (backpackSize >= 67) and (backpackSize <= 77) then wHugeBag.itemListBox:SetSize( 389, 248 ); -- to show 67 to 77 slots
	elseif (backpackSize >= 78) and (backpackSize <= 88) then wHugeBag.itemListBox:SetSize( 389, 283 ); -- to show 78 to 88 slots
	elseif (backpackSize >= 89) and (backpackSize <= 99) then wHugeBag.itemListBox:SetSize( 389, 318 ); -- to show 89 to 99 slots
	elseif (backpackSize >= 100) and (backpackSize <= 110) then wHugeBag.itemListBox:SetSize( 389, 353 ); end -- to show 100 to 110 slots
Again, remove the 'end' from the last line and add this line:

Code:
	elseif (backpackSize >= 111) and (backpackSize <= 120) then wHugeBag.itemListBox:SetSize( 389, 388 ); end -- to show 110 to 120 slots
You should now be able to use up to the 120 slots with widget mode.

Thanks for making this plugin! I still use it over the new bags. I hope they introduce the lock mode to LUA so you can add that too!
NIronwolf is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-14-2014, 02:13 PM  
Undor
The Wary

Forum posts: 0
File comments: 5
Uploads: 0
Thank you for that quick-fix! Helped me prevent a few angry moments
Undor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-10-2014, 07:27 PM  
Hyoss
The Undying
 
Hyoss's Avatar
Interface Author - Click to view interfaces

Forum posts: 150
File comments: 312
Uploads: 3
For now I have found a workaround:

- use default inventory interface to put all inventory slots into Bag 1
- assign the key you want to use for inventory to "Bag 2"
- press the "Bag 2" button and rejoice - HugeBag will open, but default will not

Still looking into why the intended bugfix by Turbine does not work with HugeBag out of the box.
Hyoss is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-10-2014, 08:23 AM  
Hyoss
The Undying
 
Hyoss's Avatar
Interface Author - Click to view interfaces

Forum posts: 150
File comments: 312
Uploads: 3
As I am bothered by this myself I am right now looking into creating a patch.
Hyoss is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 11-05-2014, 06:48 PM  
mightymagi82
The Wary
 
mightymagi82's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
I'm just curious, is there no chance that an update will be made that disables the Turbine bags from showing? I can't really change the keybind for inventory (or the F1 button), as all the other keys that are easy to access are already being used for other keybinds. I'm mainly asking today as GU15 came out that makes the turbine bags disable via the LUA coding again.
mightymagi82 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-10-2014, 09:40 AM  
burgus34
The Wary
 
burgus34's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 21
Uploads: 3
Quote:
burgus34, you are an amazing person.

Your patch has totally fixed this mod.

I have rated your patch 5-stars, I would have given you 6 if I could.

Thanks again!
Nice to know, that all works fine for you

Thanks for your comment, your support and your patience


If anyone else need my patch for 120slots, you may find it HERE
burgus34 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-09-2014, 06:00 PM  
Areswolf
The Wary

Forum posts: 1
File comments: 14
Uploads: 0
burgus34, you are an amazing person.

Your patch has totally fixed this mod.

I have rated your patch 5-stars, I would have given you 6 if I could.

Thanks again!
Areswolf is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-09-2014, 11:24 AM  
burgus34
The Wary
 
burgus34's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 21
Uploads: 3
Quote:
I tried to load profile settings and there was no difference.

I tried to load default settings and there was no difference.

I'm set to max resolution and full screen.

I'm glad that you noticed the same phenomena on at least one toon. That confirms that something is up. I just can't fix it.

I have found the problem and uploaded a new version of my patch (v0.4.1).
The problem was a wrong value for calculating the Y-coord in widget-mode, if no settings are saved, or you have changed it to default-values.
Iīm not really shure if it was a bug that is older (since >90 slots), but it looks like that.

If you get the new file (only "settingsWidget.lua" has changed), you may set HugeBag to itīs default-values first, to recalculate the y-coord. Or you just delete the old settings-file (in .../PluginData/AccName/Server/CharName/HugeBagSettings.plugindata).

I hope your problem is solved with it.

Last edited by burgus34 : 10-09-2014 at 11:31 AM.
burgus34 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-07-2014, 11:08 PM  
Areswolf
The Wary

Forum posts: 1
File comments: 14
Uploads: 0
I tried to load profile settings and there was no difference.

I tried to load default settings and there was no difference.

I'm set to max resolution and full screen.

I'm glad that you noticed the same phenomena on at least one toon. That confirms that something is up. I just can't fix it.
Areswolf is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-07-2014, 06:33 PM  
burgus34
The Wary
 
burgus34's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 21
Uploads: 3
Quote:
I can't find any setting to reposition or move the widget. The window can move fine but not the widget.

Hoping this gets addressed in the future or at least looking for some confirmation that it's not just me.

Thanks
Sorry that I answer a little bit late, but I didnīt have much time at the moment to check this out.
After I transfered a char from one server to another, the same problem happened on the transfered character, because there is no widget-position saved before for it (think so), Iīve tested the function "Load Profile Settings" and the problem is solved for that char.
If the same works on your char, than the problem may depend on the standart values that will be used, if no Widget-settings are saved.

So if this works for you, please response if it do the job, so that I can check where the problem is.
burgus34 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 10-06-2014, 12:30 PM  
Areswolf
The Wary

Forum posts: 1
File comments: 14
Uploads: 0
I can't find any setting to reposition or move the widget. The window can move fine but not the widget.

Hoping this gets addressed in the future or at least looking for some confirmation that it's not just me.

Thanks
Areswolf 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 10:22 PM.


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