Quantcast
WoWInterface - View Single Post - How can I fix this argument in LUA
View Single Post
07-04-16, 11:30 AM   #3
Bmw309894
A Deviate Faerie Dragon
 
Bmw309894's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2012
Posts: 10
Originally Posted by Kanegasi View Post
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:

Code:
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.
I changed the things over as you said and it appears to be working fine now. I found another error but I need to get it to appear again before I know what the code problem is. for now I just use bug grabber and its fine but I think it only happen when I receive loot in a dungeon. It may have something to do with the pop up showing I won the loot. I'll check back later when I find out more. Many thanks good sir.
  Reply With Quote