GearScoreClassic+

GearScoreClassic+

119k Downloads

Getting an error in BG's

Shoelive opened this issue ยท 3 comments

commented

Heya, just trying to help and report feedback. Got this in a WSG bg:

7x [ADDON_ACTION_BLOCKED] AddOn 'GearScoreClassic+' tried to call the protected function 'CheckInteractDistance()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `CheckInteractDistance'
[string "@GearScoreClassic+/Main.lua"]:37: in function <GearScoreClassic+/Main.lua:27>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?

Locals:
_ = Frame {
RegisterEvent = defined @!BugGrabber/BugGrabber.lua:491
0 =
UnregisterEvent = defined @!BugGrabber/BugGrabber.lua:491
SetScript = defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_BLOCKED"
events =

{
ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:557
ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:557
PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:551
LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:566
ADDON_LOADED = defined @!BugGrabber/BugGrabber.lua:511
}

commented

Thanks for the report,
ive seen this a couple times myself. Ill check the usage of the function and try to fix it.

commented

Thanks for the report, ive seen this a couple times myself. Ill check the usage of the function and try to fix it.

Adding not InCombatLockdown() check in the hook function of main lua fixes it, since it is protected to call in the combat

warcraft.wiki.gg

commented

Thanks ill patch it