WoWInterface - View Single Post - Legion Beta Bug Issues
View Single Post
07-15-16, 02:42 PM   #1
A Flamescale Wyrmkin
JWMcQuire's Avatar
Join Date: Jun 2013
Posts: 107
Legion Beta Bug Issues

I hope it's ok, but I thought I'd start this thread hoping to start a main thread for discussing bug issues in the Legion Beta version to help Rythal and anyone else in beta who can code address issues. Hopefully others will be able to get access to beta who can help Rythal build the quest database for Legion.

Anyway, only have access to PTR which is only the Pre-Expansion patch we will be getting later this month.

Now for my error and what I did to temporarily eliminate it.

My alt is in Stormwind. So far the everything works perfect accept one error that produced 2 instances of another error.

The error I addressed is as follows:

1x Carbonite.Quests\NxQuest.lua:2715: hooksecurefunc(): SetTradeSkillItem is not a function
[C]: in function `hooksecurefunc'
Carbonite.Quests\NxQuest.lua:2715: in function `Init'
Carbonite.Quests\NxQuest.lua:2060: in function `func'
Carbonite\Libs\AceTimer-3.0\AceTimer-3.0-17.lua:55: in function <Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua:48>

This error prevents the quest module from loading.

Lines 2709-2716 are as follows:

Lua Code:
  1. local ttHooks = {
  2.         "SetAction", "SetAuctionItem", "SetBagItem", "SetGuildBankItem", "SetHyperlink", "SetInboxItem", "SetInventoryItem", "SetLootItem",
  3.         "SetLootRollItem", "SetMerchantItem", "SetQuestItem", "SetQuestLogItem", "SetTradeSkillItem","SetTradeTargetItem",
  4.     }
  6.     for k, name in ipairs (ttHooks) do
  7.             hooksecurefunc (GameTooltip, name, Nx.Quest.TooltipHook)
  8.     end

The error shows that "SetTradeSkillItem" is not recognized as a function, I tried different profession related alternatives without success. So for a quick fix, I removed "SetTradeSkillItem" from the list in line 2711. This allowed the quest module to load as expected.

This is only a quick fix however until someone can find the correct argument that relates to professions.

The other error I got disappeared after applying my temporary fix for the previous error. It reads as follows:

2x Carbonite.Quests\NxQuest.lua:9025: bad argument #3 to 'format' (string expected, got nil)
[C]: in function `format'
Carbonite.Quests\NxQuest.lua:9025: in function `UpdateList'
Carbonite.Quests\NxQuest.lua:8623: in function `func'
Carbonite\Libs\AceTimer-3.0\AceTimer-3.0-17.lua:55: in function <Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua:48>

(*temporary) = "%s%s%s"
(*temporary) = "|cffffd100100 "
(*temporary) = nil
(*temporary) = "The Legion Returns"
(*temporary) = "string expected, got nil"
Happy coding.
I am not an addon author. I contribute when I can, answer questions when I am able, and post issues or ask questions now and then.
  Reply With Quote