Forum Index » Technical Support »

Post a reply

samishii23
Posted 06:13AM, Wednesday, April 7, 2010 (1 year, 10 months ago)
#0
Message: ..\AddOns\CT_MailMod\CT_MailMod_StockUI.lua line 786:
attempt to concatenate local 'itemLink' (a nil value)
Debug:
(tail call): ?
[C]: ?
CT_MailMod\CT_MailMod_StockUI.lua:786:
CT_MailMod\CT_MailMod_StockUI.lua:767
[C]: InboxFrameItem_OnEnter()
[string "*:OnEnter"]:1:
[string "*:OnEnter"]:1


This happens when hovering over a mailbox item. However. If you open the mail, it'll register all the items in the mail selected, and you will be able to hover the mail in the box without the above error. Only when the addon has to load the items from the mail itself.
dargen
Posted 12:09PM, Wednesday, April 7, 2010 (1 year, 10 months ago)
#1
I have also experienced this error since the WoW 3.3 patch was released. However, I found that once I had seen the error message for an attachment, the error would not reappear again for the same item (even after exiting and restarting the game). The problem cleared up on its own without doing anything else.

When you hover the mouse over a message icon, the addon asks the game to provide it with an item link and a name for the attached items in the message (using the game's GetInboxItemLink function). For some items, the first time the game is asked it returns a nil item link and the name "Unknown". All subsequent requests (even after exiting and restarting the game, or reloading the UI) seem to provide the correct information. I've seen this behaviour occur even when there are no addons loaded, so the underlying cause of the problem is game or server related.

The error message is appearing when the game provides the addon with a nil item link, and the addon tries to add it to the tooltip. The error no longer occurs once the game starts to provide a valid link for an item. The issue should clear up on its own once you've attempted to view the tooltip for affected items.

The problem may have something to do with the "Cache" folder located in the "World of Warcraft" folder. This is where the game maintains files that contain a local copy of some information provided by the server (including an item cache file). It's possible that some of the data in those files could be corrupt, out of synch with the server, or no longer valid. If you're still experiencing that error message, you could try to exit the game and then delete the contents of the game's "Cache" folder. The folder will be re-created the next time you start the game, and it will update the files in there the next time you exit.

I am making a change to CT_MailMod that will prevent the error from occurring when the game fails to provide a proper item link. The addon will also make an initial pass to retrieve item links when the mailbox is first opened. This will hopefully ensure that an item link is available when you try to access a message.

Quick Reply

You cannot reply to this topic. Try logging in first.