Zidras / DBM-Warmane

DBM for Warmane (Icecrown, Lordaeron, Frostmourne, Onyxia)
https://discord.gg/CyVWDWS
146 stars 61 forks source link

[BUG] "/dbm lag" command not working in version 10+ #190

Closed adam0don closed 1 year ago

adam0don commented 1 year ago

Are you using the latest DBM version in a Warmane 3.3.5a realm (Icecrown, Lordaeron or Frostmourne)?

DBM version

DBM 10.1.6 (2023/05/25 18:41:42)

Current Behavior

"/dbm lag" it was work in 9.2.25 but after i updata to 10.1.6, i can press "enter" with "/dbm lag" in chat and also lua error after press "enter"

Expected Behavior

type "/dbm lag" in chat > press enter > work

Steps To Reproduce

type "/dbm lag" in chat > press enter > not work ( can't send that msg )

Transcriptor log

NA

Anything else?

No response

Error log

Message: ...rface\AddOns\DBM-Core\Libs\LibLatency\LibLatency.lua:64: attempt to call upvalue 'IsInGroup' (a nil value)
Time: 06/20/23 14:01:22
Count: 1
Stack: ...rface\AddOns\DBM-Core\Libs\LibLatency\LibLatency.lua:64: in function `RequestLatency'
Interface\AddOns\DBM-Core\modules\Commands.lua:305: in function `value'
Interface\FrameXML\ChatFrame.lua:4070: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3698: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: self = <table> {
 throttleTable = <table> {
 }
 Unregister = <function> defined @Interface\AddOns\DBM-Core\Libs\LibLatency\LibLatency.lua:100
 throttleSendTable = <table> {
 }
 Register = <function> defined @Interface\AddOns\DBM-Core\Libs\LibLatency\LibLatency.lua:85
 RequestLatency = <function> defined @Interface\AddOns\DBM-Core\Libs\LibLatency\LibLatency.lua:60
 frame = <unnamed> {
 }
 serverFrame = <unnamed> {
 }
 callbackMap = <table> {
 }
}
channel = nil
(*temporary) = nil
(*temporary) = "attempt to call upvalue 'IsInGroup' (a nil value)"
throttleSendTable = <table> {
 GUILD = 0
 RAID = 0
 PARTY = 0
}
error = <function> defined =[C]:-1
IsInGroup = nil
IsInRaid = nil
GetNetStats = <function> defined =[C]:-1
next = <function> defined =[C]:-1
callbackMap = <table> {
 DBM = <function> defined @Interface\AddOns\DBM-Core\modules\Commands.lua:130
}
pName = "Donablo"
GetTime = <function> defined =[C]:-1
SendAddonMessage = <function> defined =[C]:-1