lotrointerface.com
Search Downloads


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


Post A Reply
Author Comments Comment Options
Unread 06-25-2021, 01:14 PM  
HungryHawk
The Wary

Forum posts: 0
File comments: 8
Uploads: 0
HugeBag dosen't work with 64Bit client - Please help!!!!

Hi
This Plugin is very special and absolutely cool.
Is it possible to fix this plugin that this is running under the 64bit client?

The errors are:
  • ..Lord of the Rings Online\Plugins\Equendil\UI\Bar.lua:205: attempt to perform arithmetic on field 'scale'
  • ...line\Plugins\HabnaPlugins\HugeBag\settingsWindo w.lua:197: bad argument #2 to 'format' (number expected, got nil)
  • ...s Online\Plugins\HabnaPlugins\HugeBag\background.lua :73: attempt to perform arithmetic on global 'bcAlpha' (a nil value)
  • and so one....

Cheers Hawk
HungryHawk is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 08-04-2021, 10:04 PM  
Shibakun
The Wary

Forum posts: 0
File comments: 1
Uploads: 0
Nice plugin except the default bags are still showing.
Shibakun is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 09-19-2021, 05:22 AM  
Gustl_M
The Wary

Forum posts: 0
File comments: 17
Uploads: 0
got the message;
...line\Plugins\HabnaPlugins\HugeBag\settingsWidge t.lua:40: bad argument #2 to 'format' (number expected, got string)

and the plugin not work...
Gustl_M is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 01-02-2022, 06:01 AM  
chander
The Wary

Forum posts: 0
File comments: 1
Uploads: 0
"got the message;
...line\Plugins\HabnaPlugins\HugeBag\settingsWidge t.lua:40: bad argument #2 to 'format' (number expected, got string)

and the plugin not work..."

Just modify line 17 to if GLocale == "en" or GLocale == "fr" then tA, tR, tG, tB = 0.3, 0.3, 0.3, 0.3;

IF you play in FR, for example, and this plugin will still work!

Last edited by chander : 01-02-2022 at 06:01 AM.
chander is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-17-2022, 09:33 AM  
Maphyr
The Wary

Forum posts: 1
File comments: 2
Uploads: 0
Nice plugin except the default bags are still showing.

Agreed. Is there no way to hide the default bags, isinit that the entire point of using a separate bag plugin?

Honestly, quite mind boggling.
Maphyr is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 07-23-2022, 03:46 PM  
CallMeSensei
The Wary

Forum posts: 0
File comments: 1
Uploads: 0
Thumbs up Thank you so much!

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.
CallMeSensei is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-16-2023, 09:57 AM  
Nadia
The Wary
 
Nadia's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 45
Uploads: 2
I have now taken the liberty of bundling the plugin with a large part of the fixes contributed by the community and uploading it. I have also deleted all data, restarted the plugin quasi once and it works without problems.

Included are the fixes for:
- Original pocket windows stay closed
- Carry-alls Fix
- Category Fix
- Patch for Sort
- Patch for 135 Slots
- New German translation

A huge thanks to XFaern, Richard M Nixon and burgus34 for the fixes and patches, since I don't know a thing about lua.^^

Download-Link: https://hdro-guide.de/wp-content/upl...HugeBag2.0.zip
Nadia is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-17-2023, 12:51 AM  
Nadia
The Wary
 
Nadia's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 45
Uploads: 2
Beyond the edge

I have a question for the programmers among you; how do I make it so that a script cannot be moved beyond the monitor border?

It bothers me that HugeBag can be moved beyond the edge, I would very much like to change that.

I hope someone can help me with this.
Nadia is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 02-17-2023, 02:11 AM  
Garan
The Undying
 
Garan's Avatar
Interface Author - Click to view interfaces

Forum posts: 343
File comments: 981
Uploads: 20
Re: Beyond the edge

Quote:
Originally Posted by Nadia
I have a question for the programmers among you; how do I make it so that a script cannot be moved beyond the monitor border?

It bothers me that HugeBag can be moved beyond the edge, I would very much like to change that.

I hope someone can help me with this.
You add an event handler for the PositionChanged event of the window and in the handler you enforce the maximum position. If the position plus the size of the window is greater than the size of the screen you set the position back to a value that keeps it on screen.
ex: for a window TempWindow of class Turbine.UI.Window, you can create a handler:
Code:
TempWindow.PositionChanged=function(sender,args)
    local tmpLeft=TempWindow:GetLeft()
    local tmpTop=TempWindow:GetTop()
    local setPos=false
    local screenWidth=Turbine.UI.Display:GetWidth()
    local screenHeight=Turbine.UI.Display:GetHeight()
    if tmpLeft+TempWindow:GetWidth()>screenWidth then
        tmpLeft=screenWidth-TempWindow:GetWidth()
        setPos=true
    end
    if tmpTop+TempWindow:GetHeight()>screenHeight then
        tmpTop=screenHeight-TempWindow:GetHeight()
        setPos=true
    end
    if setPos then
        TempWindow:SetPosition(tmpLeft,tmpTop)
    end
end
(the above code is not terribly efficient but is intended to demonstrate the logic involved in the handler)

Since you said that you don't know Lua, the best thing would be to find a plugin that performs the action you are looking for - most of my plugins support some limitations on some of their windows - and look into their Lua files, locate the PositionChanged event handler for a window that limits it's position on screen and see how it is implemented. That's the same technique that you would use to learn about any aspect of Lua code, find and example and dissect it to see how it works.
Garan is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-08-2023, 06:45 PM  
Nathreok
The Wary
 
Nathreok's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Outdated

This plugin unfortunately is outdated, it does not work with the current LOTRO game update.

This plugin needs to be re-categorized as outdated; so those who use the LOTRO Plugin Compendium, don't think that this still works correctly.

I also do not know if the author themselves will ever update this again, since I have sent in a bug report; and there are still bug reports unanswered, besides mine.
Nathreok is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 04-09-2023, 12:00 AM  
burgus34
The Wary
 
burgus34's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 21
Uploads: 3
Re: Outdated

Quote:
Originally Posted by Nathreok

This plugin unfortunately is outdated, it does not work with the current LOTRO game update.

This plugin needs to be re-categorized as outdated; so those who use the LOTRO Plugin Compendium, don't think that this still works correctly.

I also do not know if the author themselves will ever update this again, since I have sent in a bug report; and there are still bug reports unanswered, besides mine.

Yes this is obsolete, but some of us have reworked on it and make it useable.
Some Comments before Nadia have postet a working version of this, with all of the patches included to make it work again.

The Download can be found here (see the Post from Nadia - thx for that!):
https://hdro-guide.de/wp-content/upl...HugeBag2.0.zip

I have checked this, because I've reactivated my account and it worked fine for me, but it must be installed by Hand.
So first install the HugeBag-Plugin with the PluginCompendium und overwrite the content with the files in the new archive you have downloaded and unziped. The Structure is the same (see instruction for install to locate the drawer for installation).

Last edited by burgus34 : 04-09-2023 at 12:20 AM.
burgus34 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-12-2023, 05:16 AM  
Alktor
The Wary

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Outdated

Quote:
Yes this is obsolete, but some of us have reworked on it and make it useable.
Some Comments before Nadia have postet a working version of this, with all of the patches included to make it work again.

The Download can be found here (see the Post from Nadia - thx for that!):
https://hdro-guide.de/wp-content/upl...HugeBag2.0.zip

I have checked this, because I've reactivated my account and it worked fine for me, but it must be installed by Hand.
So first install the HugeBag-Plugin with the PluginCompendium und overwrite the content with the files in the new archive you have downloaded and unziped. The Structure is the same (see instruction for install to locate the drawer for installation).
Hello burgus34,

Thanks for your work on this plugin !
I have a question about it.

I'm playing with the game in french and I use the window mode for this plugin.
When I use the shorter name in the bottom part of the bags, I see well "T F R B V SS", but when I use the longer name, I only see "Sacs Coffre Stockage Partagé" (Bags Vault Shared Vault).

i tried to look in the different lua files because I thought maybe a variable is missing in the layout, but I didn't find anything.

Do you have an idea about how to make appear the text for "sort, merge..." ?

Regards,
Alktor

Last edited by Alktor : 05-12-2023 at 05:18 AM.
Alktor is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-12-2023, 08:44 AM  
burgus34
The Wary
 
burgus34's Avatar
Interface Author - Click to view interfaces

Forum posts: 0
File comments: 21
Uploads: 3
Re: Re: Re: Outdated

Quote:
Hello burgus34,

Thanks for your work on this plugin !
I have a question about it.

I'm playing with the game in french and I use the window mode for this plugin.
When I use the shorter name in the bottom part of the bags, I see well "T F R B V SS", but when I use the longer name, I only see "Sacs Coffre Stockage Partagé" (Bags Vault Shared Vault).

i tried to look in the different lua files because I thought maybe a variable is missing in the layout, but I didn't find anything.

Do you have an idea about how to make appear the text for "sort, merge..." ?

Regards,
Alktor
Hello Alktor,

you may find the locale-file for french language at this path:
"C:\Users\**Your Name**\Documents\The Lord of the Rings Online\Plugins\HabnaPlugins\HugeBag\Locale\fr.lua" .

But if you want to change that file, you have to use UTF-8 Encoding.
Best way is to use Notepad++ (Freeware) for that and make a backup before you overwrite that file.
If you dont do so, the plugin may not work anymore.
Also you must use specific Code for special characters, as described in Code.txt (e.g.: ň=\195\178, so you have to use \195\178 for displaying an ň-Character), that will be found at the same path.

Last edited by burgus34 : 05-12-2023 at 08:49 AM.
burgus34 is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-12-2023, 11:35 AM  
Alktor
The Wary

Forum posts: 0
File comments: 4
Uploads: 0
Thanks,

I checked those file earlier, but I didn't find where I can add the text to display those options in longer name.
Will try to look again

EDIT :

I got it !

The easier way was to use the english version of the plugin and just change the output text in the "en.lua" file :

Code:
L["OWidSort"] = "Sort"; => L["OWidSort"] = "Trier";
L["OWidMerge"] = "Merge"; => L["OWidMerge"] = "Fusionner";
...

But i want to keep the plugin in french.
In the file "functions.lua" there are those lines :
Code:
SortButton:SetText( L["OWidSort"] );
		MergeButton:SetText( L["OWidMerge"] );
		SearchButton:SetText( L["OWidSearch"] );
		BagsButton:SetText( L["OWidBags"] );
		VaultButton:SetText( L["OWidVault"] );
		SSButton:SetText( L["OWidStorage"] );

The problem was that in the "fr.lua" file, the function didn't had the same name :
Code:
L["OWidWSort"] = "Trier";
L["OWidWMerge"] = "Fusionner";
L["OWidWSearch"] = "Rechercher";

I rename them (I just remove the W) and it works now !

Now, I'm trying to edit the "button" size because the "Rechercher" (Find) button go a little under the "Bags" button.
I find different number in different file (settingsWindows, background...) but didn't find yet which one change the size of it

Regards,
Alktor

Last edited by Alktor : 05-12-2023 at 12:53 PM.
Alktor 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 04:31 AM.


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