View Single Post
09/22/16, 04:41 AM   #6
Sounomi
Join Date: Oct 2014
Posts: 40
I looked through the code and pin pointed the problem to likely being that the variable "INTERACT_TYPE_GUILD_INVITE" is locally defined in ZOS's code and so it needs to be redefined in the add-on's code.

From what I can gather, the game's code is merely putting all of the notifications into a list, ordered by the interaction type. Since that variable's not defined in the add-on, it gets set up as a type of "nil" and passes without issue until another one of its kind shows up and it tries to figure out where to insert it under the other wise safe assumption that type is a number and thus is breaks when more than one guild invite pops up.

I attached a copy of the code file with this fixed.
Attached Files
File Type: lua NoThankYou.lua (49.8 KB, 352 views)
  Reply With Quote