sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
25 stars 45 forks source link

invites.lua error #146

Closed efwfew closed 3 years ago

efwfew commented 3 years ago

1x Prat-3.0-3.8.26\modules\Invites.lua:393: attempt to call global 'CanGroupInvite' (a nil value) [string "@Prat-3.0-3.8.26\modules\Invites.lua"]:393: in function <Prat-3.0\modules\Invites.lua:386>

[string "=[C]"]: in function gsub' [string "@Prat-3.0-3.8.26\services\patterns.lua"]:197: in functionMatchPatterns' [string "@Prat-3.0-3.8.26\addon\addon.lua"]:695: in function <Prat-3.0\addon\addon.lua:613>

[string "@FrameXML\ChatFrame.lua"]:3031: in function `ChatFrame_OnEvent'

Locals: self =

{ SetDefaultModuleLibraries = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:367 Enable = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:294 NewModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:235 EnableModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:332 modules =
{ } GetModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:210 IterateEmbeds = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:442 SecureHookScript = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:410 defaultModuleLibraries =
{ } Invite_Link = defined @Prat-3.0\modules\Invites.lua:343 RawHookScript = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:395 GetName = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:279 name = "Prat_Invites" IsEnabled = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:451 orderedModules =
{ } DisableModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:350 HookScript = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:366 Player_Link = defined @Prat-3.0\modules\Invites.lua:365 baseName = "Prat-3.0" IsHooked = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:493 InviteLink = defined @Prat-3.0\modules\Invites.lua:404 ScanForLinks = defined @Prat-3.0\modules\Invites.lua:386 IsModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:217 db =
{ } SetDefaultModuleState = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:387 OnModuleEnable = defined @Prat-3.0\modules\Invites.lua:258 SetAltInvite = defined @Prat-3.0\modules\Invites.lua:273 SetEnabledState = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424 Hook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:274 enabledState = true UnhookAll = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:477 SetItemRef = defined @Prat-3.0\modules\Invites.lua:359 PL =
{ } hooks =
{ } SetDefaultModulePrototype = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:409 SecureHook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:336 IterateModules = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:437 OnValueChanged = defined @Prat-3.0\modules\Invites.lua:265 RawHook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:313 Unhook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:418 moduleName = "Invites" defaultModuleState = true Disable = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:314 } text = "초대" name = "스니도적-줄진" enabled = true (temporary) = nil (temporary) = "attempt to call global 'CanGroupInvite' (a nil value)" EVENTS_FOR_INVITE =
{ CHAT_MSG_PARTY = true CHAT_MSG_GUILD = true CHAT_MSG_OFFICER = true CHAT_MSG_RAID_LEADER = true CHAT_MSG_YELL = true CHAT_MSG_RAID_WARNING = true CHAT_MSG_CHANNEL = true CHAT_MSG_SAY = true CHAT_MSG_WHISPER = true CHAT_MSG_RAID = true }

efwfew commented 3 years ago

pleeeeeeeeeeeese solve this problem...

Vashidu commented 3 years ago

142 should resolve this.

Vashidu commented 3 years ago

I forgot to submit that change after i used it locally.

KyrosKrane commented 3 years ago

If the error was still happening, it should be fixed by #162 .

github-actions[bot] commented 3 years ago

This issue was flagged as stale