LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Interface Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=3)
-   -   ItemTreasury won't load (https://www.lotrointerface.com/forums/showthread.php?t=3808)

Ennello 08-29-2020 01:50 PM

ItemTreasury won't load
 
Hi all!
I recently bought a new pc. Along with it I installed LOTRO and the usual plugins I use. I installed the plugins through the compendium. All plugins work fine except for ItemTreasury. When I type /plugins list in chat, the plugin does show up, but when I try to load it by typing /plugins load ItemTreasury it returns the message Unable to load "ItemTreasury".
There are no ItemTreasury files in PluginData, the plugin does show up in the plugin list, so it is installed correctly. It's just a loading issue. Could someone please help me with this cause I've been struggling with this issue for about a month now.
Thanks in advance!!!
Ennello

Ennello 08-29-2020 02:18 PM

Filetree looks like this:

GaluhadPlugins
--ItemTreasury
----Resources
------MainIcon.tga
------MessageBox.tga
------PagenateBack.tga
------Picker.jpg
------Scan_Header.tga
------ScanExists_False.tga
------ScanExists_True.tga
------scanner.tga
------send_down.jpg
------send_over.jpg
------send_up.jpg
------Share.tga
----Utils
------Decode
--------__init__.lua
--------bit32.lua
--------BitStream.lua
--------ByteStream.lua
--------Decode.lua
--------Deflate.lua
--------Encode.lua
--------HuffmanEncoding.lua
--------Inflate.lua
--------Log.lua
--------PriorityQueue.lua
--------TurbineUTF8Binary.lua
--------Zlib.lua
------__init__.lua
------Button.lua
------ChatLogger.lua
------ColorPicker.lua
------DropDown.lua
------GeneralFunctions.lua
------KeyEvents.lua
------MessageBox.lua
------ToolTip.lua
----Windows
------__init__.lua
------Item.lua
------MainWin.lua
------Scanner.lua
----25_4_Items.lua
----25_4_NewItems.lua
----AddCallBack.lua
----Category.lua
----Changelog.txt
----Commands.lua
----Functions.lua
----Globals.lua
----Images.lua
----ItemTreasury.plugincompendium
----Main.lua
----Strings.lua
--ItemTreasury.plugin

Garan 08-29-2020 02:33 PM

It is odd that you only get the message 'Unable to load "ItemTreasury".'
Usually this is preceded by an error message. There are two common reasons this might not happen - there may be other reasons but you should check these two first.

First, you may be trying to load an already loaded plugin. When you list the plugins, there should be two lists, the first are "Available" plugins, the second list are "Loaded" plugins. Be sure the plugin is not in the "Loaded" plugins list, if it is, you might have to use the chat command "/item" to display it (I don't use Item Treasury, but it may simply be loading minimized)

Second, you may have the Error channel off in your channel filters. The 'Unable to load' message is in the Standard channel but Lua specific errors are in the Error channel. Right click on the tab of your active chat window and select 'Change Filters', then make sure the Error channel is selected and try loading the plugin again. You should be getting a more specific error message that tells you why the plugin does not load - if you paste that full error message here or in the download thread for the plugin the author or users that use that specific plugin should be able to provide further assistance.

Ennello 08-29-2020 03:02 PM

Thanks for pointing that out! I was aware of the first point. It shows up in the available plugins, but not in the loaded ones. But my error messages were indeed turned off. These are the messages I get;

...uhadPlugins\ItemTreasury\Utils\Decode\ByteStrea m.lua:10: attempt to call global 'class' (a nil value)
...aluhadPlugins\ItemTreasury\Utils\Decode\__init_ _.lua:3: Failed to import package "GaluhadPlugins.ItemTreasury.Utils.Decode.ByteStre am".
...ugins\GaluhadPlugins\ItemTreasury\Utils\__init_ _.lua:10: Failed to import package "GaluhadPlugins.ItemTreasury.Utils.Decode".
... Online\Plugins\GaluhadPlugins\ItemTreasury\Main.lu a:24: Failed to import package "GaluhadPlugins.ItemTreasury.Utils".
Unable to load "ItemTreasury".

(big fan of the map plugins btw ;) )

Garan 08-29-2020 05:15 PM

Apparently Item Treasury uses the Turbine examples. You can manually install a version uploaded by Galuhad from here:
https://www.lotrointerface.com/downl...dExamples.html

or install the one refrenced by Plugin Compendium as the "Turbine Examples"

they should provide the same exact functionality.

Ennello 08-29-2020 05:22 PM

The plugin works now! Thanks for your help. Weird that I didn't need the Turbine Examples on my last pc for the previous version of ItemTreasury...
But I'm incredibly glad it works now! Thank you!

Garan 08-29-2020 06:42 PM

Quote:

Originally Posted by Ennello (Post 12521)
The plugin works now! Thanks for your help. Weird that I didn't need the Turbine Examples on my last pc for the previous version of ItemTreasury...
But I'm incredibly glad it works now! Thank you!

You're welcome. Some plugins include the Turbine Examples in their zip files and Plugin Compendium has an option to specify a 'dependancy' in the definition file as well so you probably already had them installed from another plugin without knowing it before installing Item Treasury last time. Glad it's fixed.


All times are GMT -5. The time now is 03:41 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI