Kkthnx-Wow / KkthnxUI

KkthnxUI for The War Within World of Warcraft.
MIT License
34 stars 18 forks source link

``VersionCheck_Send` of `Core/CheckVersion.lua` causing LUA errors when joining dungeons or raids #97

Closed Blubbaz closed 1 day ago

Blubbaz commented 2 days ago

Describe the bug `VersionCheck_Send of Core/CheckVersion.lua causing LUA errors when joining dungeons or raids

To Reproduce Steps to reproduce the behavior:

  1. Join a dungeon or LFR raid
  2. See the error (in raids multiple times)
Message: bad argument #3 to '?' (Usage: local result = C_ChatInfo.SendAddonMessage(params))
Time: Mon Oct 14 21:00:05 2024
Count: 12
Stack: bad argument #3 to '?' (Usage: local result = C_ChatInfo.SendAddonMessage(params))
[string "@Interface/AddOns/KkthnxUI/Core/CheckVersion.lua"]:183: in function `VersionCheck_Send'
[string "@Interface/AddOns/KkthnxUI/Core/CheckVersion.lua"]:222: in function `func'
[string "@Interface/AddOns/KkthnxUI/Init.lua"]:199: in function <Interface/AddOns/KkthnxUI/Init.lua:194>

Locals: self = <table> {
 Enabled = true
 name = "VersionCheck"
}
channel = true
lastVCTime = 98779.315000

Expected behavior No error should occur

World of Warcraft Details:

Additional context Commenting out the code block (line 183-185) in Core/CheckVersion.lua prevents the error to occur

Kkthnx commented 1 day ago

I removed it. Really do not care for it.

https://github.com/Kkthnx-Wow/KkthnxUI/commit/88a43e1d71c1581abd858d8718b9de4967c02195