lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO Patches


Post A Reply
Author Comments Comment Options
Unread 08-14-2023, 01:23 AM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
Legendary Item Reward Track (Season 7), introduced 2 new pets:Farmer's Faire 2023
  • Fire-fox Bandit - Caltha Tunnelly - 20 Festivity Tokens or 30 Mithril Coins

Last edited by sucamarto : 11-17-2023 at 01:14 AM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-28-2023, 07:53 AM  
Drono
The Undying
Interface Author - Click to view interfaces

Forum posts: 47
File comments: 107
Uploads: 1
Re: Re: Re: Re: Re: Re: Re: Re: Error

weird, i have tried win11 64bit english non-steam client and did not get that error, dont understand what else could be different or why it works on some clients and not on others. It is quite hard to test than.

Thanks for reporting, i did similar patch in the new release which should work if i understood the problem correctly. Let me know if it does not.
Drono is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-28-2023, 06:24 AM  
Xaemyl
The Wary

Forum posts: 0
File comments: 13
Uploads: 0
Re: Re: Re: Re: Re: Re: Re: Error

Quote:
I'm using the 64 bit client, just confirmed using task manager just to be completely sure. Yeah it's interesting for sure, I'll try it again on my desktop computer once I'm at home later this week, maybe it's a problem specific to my laptop.
It's not just you. I am also getting the error (64bit client, english, non-steam, desktop pc). I'll try the fix below as we wait for an update. Edit: the fix below seems to be working for now. Thanks!

Last edited by Xaemyl : 06-28-2023 at 06:50 AM.
Xaemyl is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 01:43 PM  
0athsworn
The Wary

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

I'm using the 64 bit client, just confirmed using task manager just to be completely sure. Yeah it's interesting for sure, I'll try it again on my desktop computer once I'm at home later this week, maybe it's a problem specific to my laptop.
0athsworn is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 01:13 PM  
Drono
The Undying
Interface Author - Click to view interfaces

Forum posts: 47
File comments: 107
Uploads: 1
Re: Re: Re: Re: Re: Error

Quote:
[06/27 07:27:13 PM] 1879338924
[06/27 07:27:13 PM] ...ngs Online\Plugins\GaluhadPlugins\Pets\Functions.lua:5 2: attempt to index a nil value
Thanks, i was suspecting that would be the case. It should fail the pcall and not try to create the quickslot. Dont understand why it is not doing so for you. It is working for me normally on multiple different computers.

Edit: I will add the patch. Just out of curiosity in case i have more time to test it later on different settings, are you using 32bit or 64bit?

Last edited by Drono : 06-27-2023 at 01:20 PM.
Drono is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 12:33 PM  
0athsworn
The Wary

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

Sorry, can't speak for the original plugin, I just meant that I tried with your plugin as a "standalone" and also with the patched original (downloaded the original plugin and copied over yours, overwriting any existing files with your versions). Same result, so both ways gave me the error in line 51 of Functions.lua

Anyway, here is the output:

[06/27 07:27:13 PM] 1879404626
[06/27 07:27:13 PM] 1879303921
[06/27 07:27:13 PM] 1879303923
[06/27 07:27:13 PM] 1879414272
[06/27 07:27:13 PM] 1879303922
[06/27 07:27:13 PM] 1879404500
[06/27 07:27:13 PM] 1879414546
[06/27 07:27:13 PM] 1879416234
[06/27 07:27:13 PM] 1879420847
[06/27 07:27:13 PM] 1879338930
[06/27 07:27:13 PM] 1879368667
[06/27 07:27:13 PM] 1879368661
[06/27 07:27:13 PM] 1879312765
[06/27 07:27:13 PM] 1879305774
[06/27 07:27:13 PM] 1879412835
[06/27 07:27:13 PM] 1879338926
[06/27 07:27:13 PM] 1879368669
[06/27 07:27:13 PM] 1879368656
[06/27 07:27:13 PM] 1879338918
[06/27 07:27:13 PM] 1879351564
[06/27 07:27:13 PM] 1879445174
[06/27 07:27:13 PM] 1879385801
[06/27 07:27:13 PM] 1879409169
[06/27 07:27:13 PM] 1879305772
[06/27 07:27:13 PM] 1879338917
[06/27 07:27:13 PM] 1879452359
[06/27 07:27:13 PM] 1879452355
[06/27 07:27:13 PM] 1879452354
[06/27 07:27:13 PM] 1879385161
[06/27 07:27:13 PM] 1879338921
[06/27 07:27:13 PM] 1879405446
[06/27 07:27:13 PM] 1879368664
[06/27 07:27:13 PM] 1879368659
[06/27 07:27:13 PM] 1879412834
[06/27 07:27:13 PM] 1879338924
[06/27 07:27:13 PM] ...ngs Online\Plugins\GaluhadPlugins\Pets\Functions.lua:5 2: attempt to index a nil value
0athsworn is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 12:19 PM  
Drono
The Undying
Interface Author - Click to view interfaces

Forum posts: 47
File comments: 107
Uploads: 1
Re: Re: Re: Error

So, it did not happen in the original plugin? interesting because that part of the code is same.
Trying to figure out why it is doing so, would you mid changing back and adding Turbine.Shell.WriteLine(itemID) before the line with the error so i know with which itemID it is failing.
Thanks.
Drono is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 11:24 AM  
0athsworn
The Wary

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

Quote:
Originally Posted by Drono
I did not manage to reproduce this error, can you describe how it happens? which client/locale are you using?

Thanks
I installed the plugin via the Plugin Compendium. Then, upon selecting it to load on All Characters in the Plugin Manager (LOTRO character select screen) and loading up one of my characters, the error as described happened every time upon loading into the game world.

The result of the error was that the plugin could not load at all ( /pets command did not work, and the Pets plugin button also did not show).

I am using the standard non-Steam LOTRO client, English language setting. Windows is set to English (US) with German keyboard.

I also tried to delete the plugin altogether, then installing the original Pets plugin first and using your version as a patch, but got the same result as before.
0athsworn is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 04:18 AM  
Drono
The Undying
Interface Author - Click to view interfaces

Forum posts: 47
File comments: 107
Uploads: 1
Re: Error

Quote:
Originally Posted by 0athsworn
For those who, like me, are getting error "attempt to index a nil value" in line 51 of GaluhadPlugins\Pets\Functions.lua ...
I did not manage to reproduce this error, can you describe how it happens? which client/locale are you using?

Thanks
Drono is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-27-2023, 03:13 AM  
0athsworn
The Wary

Forum posts: 0
File comments: 4
Uploads: 0
Exclamation Error "attempt to index a nil value" + fix

For those who, like me, are getting error "attempt to index a nil value" in line 51 of GaluhadPlugins\Pets\Functions.lua - I managed to fix it, change the function NewItemInfo(itemID) in Functions.lua as follows:

function NewItemInfo(itemID)
if itemID == nil then return end

local itemHex = Utils.TO_HEX(itemID)

local cItemInspect = Turbine.UI.Lotro.Quickslot()
cItemInspect:SetSize(1, 1)
cItemInspect:SetPosition(0, 0)
cItemInspect:SetVisible(false)

local cItemInfo = Turbine.UI.Lotro.ItemInfoControl()
cItemInfo:SetSize(36, 36)
cItemInfo:SetAllowDrop(false)
cItemInfo:SetVisible(true)

local function SetInspectIcon()
cItemInspect:SetShortcut(Turbine.UI.Lotro.Shortcut (Turbine.UI.Lotro.ShortcutType.Item, "0x0,0x" .. itemHex))
end

-- Try to set the inspect icon, handling any errors
local success, error = pcall(SetInspectIcon)
if success then
-- Check if the shortcut is valid and retrieve the item info
local shortcut = cItemInspect:GetShortcut()
if shortcut and shortcut:GetItem() then
local itemInfo = shortcut:GetItem():GetItemInfo()
cItemInfo:SetItemInfo(itemInfo)
cItemInfo:SetQuantity(1)
end
end

cItemInspect = nil
return cItemInfo
end
0athsworn is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 06-08-2023, 05:42 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
Midsummer Festivals since 2023.

* Summer Concert Firefly - Feredis (Midsummer Tokens 25)

Last edited by sucamarto : 06-08-2023 at 08:30 PM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-31-2023, 07:30 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
Update 36 introduced 4 new pets
  • Slate Aurochs - Delving Barter (2500 Delving Tokens)
  • Spiky Avanc - Delving Barter (4000 Delving Tokens)
  • Spotted Jerboa - Barter for Figments of Splendour
  • The King's Pony - Completing quest Chapter 1.10: Inside Every Shadow

    Updated
  • Black Bull - Quartermaster (The Renewal of Gondor) - 45 Marks of Renewal
    EDIT Renamed to Brown Cow
  • Brown Cow - Quartermaster (The Renewal of Gondor) - 25 Mark of Renewal

Last edited by sucamarto : 06-11-2023 at 12:54 AM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-16-2023, 03:30 AM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
Legendary Item Reward Track (Season 6), will introduce 2 new pets:
  • Cave Slug
  • Pure Seagull

Last edited by sucamarto : 05-16-2023 at 06:55 AM.
sucamarto is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-05-2023, 12:42 AM  
Drono
The Undying
Interface Author - Click to view interfaces

Forum posts: 47
File comments: 107
Uploads: 1
Quote:
Originally Posted by sucamarto
Homesteads and Harvests Coffers

Black Draught Horse
Dappled Draught Horse
Homesteader's Draught Horse
They should be there already in the 35.1.1 release
Drono is offline Report comment to moderator   Reply With Quote Reply With Quote
Unread 05-04-2023, 11:51 PM  
sucamarto
The Wary
 
sucamarto's Avatar

Forum posts: 1
File comments: 118
Uploads: 0
Homesteads and Harvests Coffers

Black Draught Horse
Dappled Draught Horse
Homesteader's Draught Horse
sucamarto 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 02:29 PM.


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