N0ich / dialogkey-DF

GNU General Public License v3.0
11 stars 3 forks source link

Addon calls protected function #34

Closed CrenshawCoding closed 8 months ago

CrenshawCoding commented 1 year ago

I get the following error message sometimes, Ill try and update this issue when I know what causes it!

38x [ADDON_ACTION_BLOCKED] AddOn 'DialogKey' tried to call the protected function 'DialogKeyFrame:SetPropagateKeyboardInput()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `SetPropagateKeyboardInput'
[string "@DialogKey/main.lua"]:91: in function <DialogKey/main.lua:90>
[string "@DialogKey/main.lua"]:152: in function <DialogKey/main.lua:151>

Locals:
_ = Frame {
 RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:486
 0 = <userdata>
 UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:486
 SetScript = <function> defined @!BugGrabber/BugGrabber.lua:486
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
 ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:552
 ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:552
 PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:546
 LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:561
 ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:506
}
FuriousProgrammer commented 1 year ago

This should have been fixed in the most recent version of the addon, make sure you're up to date!

On Sun, Aug 13, 2023, 3:17 PM CrenshawCoding @.***> wrote:

I get the following error message sometimes, Ill try and update this issue when I know what causes it!

38x [ADDON_ACTION_BLOCKED] AddOn 'DialogKey' tried to call the protected function 'DialogKeyFrame:SetPropagateKeyboardInput()'. [string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480> [string "=[C]"]: in function `SetPropagateKeyboardInput' [string @./main.lua"]:91: in function <DialogKey/main.lua:90> [string @./main.lua"]:152: in function <DialogKey/main.lua:151>

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

{ ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:552 ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:552 PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:546 LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:561 ADDON_LOADED = defined @!BugGrabber/BugGrabber.lua:506 }

— Reply to this email directly, view it on GitHub https://github.com/N0ich/dialogkey-DF/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDZD6JSHM2FQPZ4C2G2FH3XVEY6VANCNFSM6AAAAAA3O3OJ3E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

CrenshawCoding commented 1 year ago

@FuriousProgrammer ah yea that seems to have done it. I think the way you put up releases on this repository might be off. My addon manager CurseBreaker installs version v1.4.8, instead of the latest release v1.5.1 as the latest version. Looking into the release of your latest version, it seems to also contain a .github folder and a .gitignore, which you may not intend to publish with the release! Why the addon manager does not track the latest release correctly is weird still, I have opened an issue over there. Thanks for your work!