WoWInterface - View Single Post - How can I fix this argument in LUA
View Single Post
07-03-16, 10:11 PM   #2
A Molten Giant
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 531
Easy fix: on that line, change toonname to

toonname or ""

This fix will make the error go away but you might lose the toonname display of your bnet friends.

Difficult fix: since I haven't looked at DoomKitty, I don't know how many files it uses or how involved the code is, so this could be tedious. Find all of the following function names and change them according to the arrows:

BNGetToonInfo -> BNGetGameAccountInfo
BNGetFriendToonInfo -> BNGetFriendGameAccountInfo
BNGetNumFriendToons -> BNGetNumFriendGameAccounts
This was a Blizzard change in 6.2.4. I'm assuming that DoomKitty is using those and since it's a discontinued addon, those functions are probably the old ones.

Last edited by Kanegasi : 07-10-16 at 08:25 PM.
  Reply With Quote