View Single Post
07-24-16, 08:24 AM   #7
Santriani
A Wyrmkin Dreamwalker
 
Santriani's Avatar
Join Date: Jun 2011
Posts: 51
Originally Posted by Slurpuff View Post
...
4. BagSync error when opening a profession window.
Code:
   6x BagSync\BagSync-8.1.lua:1399: attempt to call global 'IsTradeSkillLinked' (a nil value)
   BagSync\BagSync-8.1.lua:1399: in function '?'
   BagSync\BagSync-8.1.lua:93: in function <BagSync\BagSync.lua:91
Solution to those same errors for me:

Change lines 1399 & 1401 in BagSync.lua file (I use Macromedia Dreamweaver):

1399 if (not IsTradeSkillLinked()) then ERASE
In this line insert command --> if (not C_TradeSkillUI.IsTradeSkillLinked()) then


1401 local tradename = _G.GetTradeSkillLine() ERASE
In this line insert command --> local tradename = C_TradeSkillUI.GetTradeSkillLine()

After those lines must be:

1399 if (not C_TradeSkillUI.IsTradeSkillLinked()) then
1401 local tradename = C_TradeSkillUI.GetTradeSkillLine()

Tested and solved.

Source ---> Nevcairiel (thanks a lot) HERE.

NOTE: There is an update of BagSync now http://wow.curseforge.com/addons/bagsync/files/67-v8-5/.

Last edited by Santriani : 07-24-16 at 09:19 AM.
  Reply With Quote