Details! Damage Meter

Details! Damage Meter

250M Downloads

error when using /details me

brittyazel opened this issue ยท 5 comments

commented

Game and Details! version
Details version R7950
Game Version v9.0.1

Describe the bug
Upon logging into the game for the past two weeks I've continually had a message prompting me to type "/details me" into the chat window. I was looking for a way to disable this message, and I finally relented and typed "/details me" into the chat box in the off chance it would make the message go away. Immediately I was presented with a lua "nil value" error, pasted below.

This error is repeatable and will happen each and every time I type "/details me" in to the chat window.

Lua Error

1x ...aceDetails\frames\window_playerbreakdown.lua:4795: attempt to index field 'showing' (a nil value)
[string "@Details\frames\window_playerbreakdown.lua"]:4795: in function `condition'
[string "@Details\frames\window_playerbreakdown.lua"]:4869: in function `ShowTabs'
[string "@Details\frames\window_playerbreakdown.lua"]:244: in function `AbreJanelaInfo'
[string "@Details\functions\macros-Macros.lua"]:11: in function `?'
[string "@Details\functions\slash.lua"]:1416: in function `?'
[string "@FrameXML\ChatFrame.lua"]:5093: in function `ChatEdit_ParseText'
[string "@FrameXML\ChatFrame.lua"]:4757: in function `ChatEdit_SendText'
[string "@FrameXML\ChatFrame.lua"]:4793: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
tabOBject = <table> {
 funcright = <function> defined @Details\Libs\DF\button.lua:17
 spells_amt = 0
 HookList = <table> {
 }
 onenter_backdrop = <table> {
 }
 fillfunction = <function> defined @Details\frames\window_playerbreakdown.lua:3515
 type = "button"
 players = <table> {
 }
 button = DetailsFrameworkButtonNumber379342 {
 }
 onleave_backdrop = <table> {
 }
 icon = <unnamed> {
 }
 container = DetailsPlayerDetailsWindow {
 }
 localized_name = "Compare"
 text_overlay = DetailsFrameworkButtonNumber379342_Text {
 }
 options = <table> {
 }
 frame = DetailsPDWTabFrameCompare {
 }
 tabname = "Compare"
 last_actor = <table> {
 }
 onleave_backdrop_border_color = <table> {
 }
 condition = <function> defined @Details\frames\window_playerbreakdown.lua:4775
 player = <table> {
 }
 func = <function> defined @Details\Libs\DF\button.lua:17
 OnShowFunc = <function> defined @Details\frames\window_playerbreakdown.lua:5027
 disabled_overlay = DetailsFrameworkButtonNumber379342_TextureDisabled {
 }
 is_locked = true
 dframework = true
 widget = DetailsFrameworkButtonNumber379342 {
 }
}
playerObject = <table> {
 flag_original = 1300
 totalabsorbed = 0.005977
 start_time = 1606031418
 damage_from = <table> {
 }
 targets = <table> {
 }
 last_dps = 0
 pets = <table> {
 }
 aID = "5-0B1E42DB"
 delay = 0
 friendlyfire_total = 0
 raid_targets = <table> {
 }
 total_without_pet = 0.005977
 __index = <table> {
 }
 damage_taken = 0.005977
 dps_started = false
 total = 6951.005977
 tipo = 1
 on_hold = false
 nome = "Soyier"
 spells = <table> {
 }
 grupo = true
 displayName = "Soyier"
 classe = "DRUID"
 end_time = 1606031431
 custom = 0
 last_event = 1606031429
 avoidance = <table> {
 }
 isTank = true
 serial = "Player-5-0B1E42DB"
 friendlyfire = <table> {
 }
}
same_class = <table> {
}
class = "DRUID"
my_spells = <table> {
}
my_spells_total = 0
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'showing' (a nil value)"
info = DetailsPlayerDetailsWindow {
 0 = <userdata>
 bg_icone_bg = <unnamed> {
 }
 barras1 = <table> {
 }
 topright_text1 = <unnamed> {
 }
 topleft_report = DetailsJanelaInfoReport2 {
 }
 OnBackdropLoaded = <function> defined @SharedXML\Backdrop.lua:195
 faded = true
 GetBackdropColor = <function> defined @SharedXML\Backdrop.lua:433
 fading_out = false
 RightEdge = <unnamed> {
 }
 options_button = <table> {
 }
 apoio_icone_esquerdo = <unnamed> {
 }
 ClearBackdrop = <function> defined @SharedXML\Backdrop.lua:325
 ScaleBar = <table> {
 }
 right_background4 = DetailsPlayerDetailsWindow_right_background4 {
 }
 classe_iconePlus = <unnamed> {
 }
 apoio_icone_direito = <unnamed> {
 }
 bg2_sec_texture = DetailsPlayerDetailsWindow_BG2_SEC_Texture {
 }
 targets = <unnamed> {
 }
 close_button = <unnamed> {
 }
 SetupTextureCoordinates = <function> defined @SharedXML\Backdrop.lua:257
 HasBackdropInfo = <function> defined @SharedXML\Backdrop.lua:321
 bg1_sec_texture = DetailsPlayerDetailsWindow_BG1_SEC_Texture {
 }
 GetEdgeSize = <function> defined @SharedXML\Backdrop.lua:231
 right_background1 = DetailsPlayerDetailsWindow_right_background1 {
 }
 nome = <unnamed> {
 }
 SetClassIcon = <function> defined @Details\frames\window_playerbreakdown.lua:1494
 right_background6 = DetailsPlayerDetailsWindow_right_background6 {
 }
 target_member = "total"
 BottomRightCorner = <unnamed> {
 }
 SetBackdropColor = <function> defined @SharedXML\Backdrop.lua:442
 LeftEdge = <unnamed> {
 }
 bg1 = DetailsPSWBackground {
 }
 title_string = <table> {
 }
 target_persecond = false
 target_text = "Targets:"
 atributo = 1
 jogador = <table> {
 }
 sub_atributo = 1
 instancia = <table> {
 }
 ativo = true
 fading_in = false
 hidden = true
 avatar_attribute = <unnamed> {
 }
commented

Same issue and same method to repro as comment above.

1x Details/Libs/DF/mixins.lua:484: ScrollFrame:CreateLine() error on creating a line: Details/Libs/DF/fw.lua:718: bad argument #1 to 'max' (number expected, got nil)
[string "=[C]"]: in function `error'
[string "@Details/Libs/DF/mixins.lua"]:484: in function `CreateLine'
[string "@Details/frames/window_playerbreakdown_list.lua"]:321: in function `CreatePlayerListFrame'
[string "@Details/frames/window_playerbreakdown_list.lua"]:402: in function `CreatePlayerListFrame'
[string "@Details/frames/window_playerbreakdown.lua"]:123: in function `AbreJanelaInfo'
[string "@Details/functions/macros.lua"]:12: in function `?'
[string "@Details/functions/slash.lua"]:1313: in function `?'
[string "@FrameXML/ChatFrame.lua"]:5224: in function `ChatEdit_ParseText'
[string "@FrameXML/ChatFrame.lua"]:4888: in function `ChatEdit_SendText'
[string "@FrameXML/ChatFrame.lua"]:4924: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:127_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:127_OnEnterPressed"]:1>

Locals:
(*temporary) = "ScrollFrame:CreateLine() error on creating a line: Details/Libs/DF/fw.lua:718: bad argument #1 to 'max' (number expected, got nil)"
commented

I'm going to assume that you have both the SL beta version and the retail version installed at the same time. Remove the SL beta one, as it was only for the beta.

commented

No, I never had the Shadowlands beta version ๐Ÿ˜•

commented

More info in this error, this error happens if you try to use "/details me" right after logging in before you have a Details window shown (i.e. you have details hidden). If you show the details window first, this error doesn't happen.

Something happens when the window is hidden at login that prevents "showing" value from being populated.