Torghast TourGuide

Torghast TourGuide

216k Downloads

1.2.2 - TorghastTourguide\Modules\Stats.lua:66

behub-au opened this issue ยท 3 comments

commented

Just discovered your addon. This version and previous version (had to test it) just throw these errors constantly. Thought maybe it was ElvUI, but disabling that still produces this error repeatadly.

335x TorghastTourguide\Modules\Stats.lua:66: attempt to index local 'f' (a nil value)
[string "@TorghastTourguide\Modules\Stats.lua"]:66: in function `UpdateStats'
[string "@TorghastTourguide\Modules\Stats.lua"]:141: in function `AnimaGain'
[string "@TorghastTourguide\TorghastTourguide-V1.2.2.lua"]:372: in function `EventHandler'
[string "@TorghastTourguide\TorghastTourguide-V1.2.2.lua"]:199: in function <...rfaceTorghastTourguide\TorghastTourguide.lua:199>

Locals:
self = <table> {
 AnimaGain = <function> defined @TorghastTourguide\Modules\Stats.lua:119
 ResetCurrent = <function> defined @TorghastTourguide\Modules\Stats.lua:22
 ResetAll = <function> defined @TorghastTourguide\Modules\Stats.lua:27
 IncreaseCounter = <function> defined @TorghastTourguide\Modules\Stats.lua:145
 SetPhantasma = <function> defined @TorghastTourguide\Modules\Stats.lua:105
 ResetCounts = <function> defined @TorghastTourguide\TorghastTourguide.lua:133
 UpdateStats = <function> defined @TorghastTourguide\Modules\Stats.lua:58
 InitRun = <function> defined @TorghastTourguide\Modules\Stats.lua:98
}
f = nil
current = <table> {
 SoulsSaved = 0
 TrapSprung = 0
 Phantasma = 0
 Grue = 0
 Time = 35.162000
 Rares = 0
 Deaths = 0
 Chests = 0
 AnimaPowers = 1
 JarsBroken = 0
 CurentTime = 221637.043000
 FloorsCompleted = 0
 Mawrats = 0
 MobsKilled = 0
 Bosses = 0
 RunsCompleted = 0
 CurrentTime = 0
 QuestsCompleted = 0
}
total = <table> {
 SoulsSaved = 0
 TrapSprung = 0
 Phantasma = 0
 Grue = 0
 Time = 0
 Rares = 0
 Deaths = 0
 Chests = 0
 AnimaPowers = 1
 JarsBroken = 0
 FloorsCompleted = 0
 Mawrats = 0
 MobsKilled = 0
 Bosses = 0
 RunsCompleted = 0
 CurrentTime = 35.162000
 QuestsCompleted = 0
}
currentTime = "00:00:35"
totalTime = "00:00:35"
(*temporary) = 35.162000
(*temporary) = "00:00:35"
(*temporary) = ":"
(*temporary) = "00"
(*temporary) = ":"
(*temporary) = "35"
(*temporary) = <table> {
 ERR_OUT_OF_CHI = "Not enough chi"
 ARKINV_Frame1ScrollContainerBag5Item13ArkIconOverlay = ARKINV_Frame1ScrollContainerBag5Item13ArkIconOverlay {
 }
 SoulbindCacheOpener_WildHuntSuppliesFlash = SoulbindCacheOpener_WildHuntSuppliesFlash {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 ARKINV_Frame4ChangerWindowPurchaseInfoDetailMoneyFrameCopperButtonText = ARKINV_Frame4ChangerWindowPurchaseInfoDetailMoneyFrameCopperButtonText {
 }
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 743
 EventTraceFrameButton7HideButton = EventTraceFrameButton7HideButton {
 }
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 401
 SoulbindCacheOpener_tributeofthecourtFlyoutBorder = SoulbindCacheOpener_tributeofthecourtFlyoutBorder {
 }
 CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
 }
 GRM_ToolIgnoredScrollBorderFrameBottomBorder = GRM_ToolIgnoredScrollBorderFrameBottomBorder {
 }
 MultiBarLeftButton7 = MultiBarLeftButton7 {
 }
 AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture {
 }
 LFGListInviteDialog_OnEvent = <function> defined @FrameXML\LFGList.lua:2416
 MerchantItem8AltCurrencyFrameItem1Text = MerchantItem8AltCurrencyFrameItem1Text {
 }
 BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
 CHAT_HEADER_SUFFIX = ": "
 EncounterDetails_SpellAurasScrollScrollChildFrame = EncounterDetails_SpellAurasScrollScrollChildFrame {
 }
 MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
 }
 COVENANT_MISSIONS_HEALTH = "Health"
 UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @FrameXML\UnitFrame.lua:789
 PaperDollTitlesPaneButton14BgTop = PaperDollTitlesPaneButton14BgTop {
 }
 CALENDAR_RAID_RESET_DESCRIPTION = "%1$s resets at %2$s."
 AllTheThings-Settings-Use the Master Audio ChannelText = AllTheThings-Settings-Use the Master Audio ChannelText {
 }
 ChatFrame6EditBoxFocusMid = ChatFrame6EditBoxFocusMid {
 }
 AceConfigDialogTooltipTexture20 = AceConfigDialogTooltipTexture20 {
 }
 LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 953
 ElvUI_Bar5Button12Shine7 = ElvUI_Bar5Button12Shine7 {
 }
 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
 }
 LFGTeleport = <function> defined =[C]:-1
 LE_GAME_ERR_ON
commented

Fixed in next release

commented

1.2.3.1 - Same issue. Tried the curse version (in game error says it is 1.2.2 but it is not) and tried just downloading from git (assuming curse was doing bad things).

Issue got closed so not sure if you wanted a new post or just another report in here.

688x TorghastTourguide\Modules\Stats.lua:66: attempt to index local 'f' (a nil value)
[string "@TorghastTourguide\Modules\Stats.lua"]:66: in function `UpdateStats'
[string "@TorghastTourguide\Modules\Stats.lua"]:141: in function `AnimaGain'
[string "@TorghastTourguide\TorghastTourguide-V1.2.2.lua"]:372: in function `EventHandler'
[string "@TorghastTourguide\TorghastTourguide-V1.2.2.lua"]:199: in function <...rfaceTorghastTourguide\TorghastTourguide.lua:199>

Locals:
self = <table> {
 AnimaGain = <function> defined @TorghastTourguide\Modules\Stats.lua:119
 ResetCurrent = <function> defined @TorghastTourguide\Modules\Stats.lua:22
 ResetAll = <function> defined @TorghastTourguide\Modules\Stats.lua:27
 IncreaseCounter = <function> defined @TorghastTourguide\Modules\Stats.lua:145
 SetPhantasma = <function> defined @TorghastTourguide\Modules\Stats.lua:105
 ResetCounts = <function> defined @TorghastTourguide\TorghastTourguide.lua:133
 UpdateStats = <function> defined @TorghastTourguide\Modules\Stats.lua:58
 InitRun = <function> defined @TorghastTourguide\Modules\Stats.lua:98
}
f = nil
current = <table> {
 SoulsSaved = 0
 TrapSprung = 0
 Phantasma = 0
 Grue = 0
 Time = 35.162000
 Rares = 0
 Deaths = 0
 Chests = 0
 AnimaPowers = 1
 JarsBroken = 0
 CurentTime = 221637.043000
 FloorsCompleted = 0
 Mawrats = 0
 MobsKilled = 0
 Bosses = 0
 RunsCompleted = 0
 CurrentTime = 0
 QuestsCompleted = 0
}
total = <table> {
 SoulsSaved = 0
 TrapSprung = 0
 Phantasma = 0
 Grue = 0
 Time = 0
 Rares = 0
 Deaths = 0
 Chests = 0
 AnimaPowers = 1
 JarsBroken = 0
 FloorsCompleted = 0
 Mawrats = 0
 MobsKilled = 0
 Bosses = 0
 RunsCompleted = 0
 CurrentTime = 35.162000
 QuestsCompleted = 0
}
currentTime = "00:00:35"
totalTime = "00:00:35"
(*temporary) = 35.162000
(*temporary) = "00:00:35"
(*temporary) = ":"
(*temporary) = "00"
(*temporary) = ":"
(*temporary) = "35"
(*temporary) = <table> {
 ERR_OUT_OF_CHI = "Not enough chi"
 ARKINV_Frame1ScrollContainerBag5Item13ArkIconOverlay = ARKINV_Frame1ScrollContainerBag5Item13ArkIconOverlay {
 }
 SoulbindCacheOpener_WildHuntSuppliesFlash = SoulbindCacheOpener_WildHuntSuppliesFlash {
 }
 GetTrainerServiceTypeFilter = <function> defined =[C]:-1
 UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
 ARKINV_Frame4ChangerWindowPurchaseInfoDetailMoneyFrameCopperButtonText = ARKINV_Frame4ChangerWindowPurchaseInfoDetailMoneyFrameCopperButtonText {
 }
 LE_GAME_ERR_CHAT_RAID_RESTRICTED_TRIAL = 743
 EventTraceFrameButton7HideButton = EventTraceFrameButton7HideButton {
 }
 SPELL_FAILED_CUSTOM_ERROR_71 = "This partygoer wants to dance with you."
 LE_GAME_ERR_PET_SPELL_TARGETS_DEAD = 401
 SoulbindCacheOpener_tributeofthecourtFlyoutBorder = SoulbindCacheOpener_tributeofthecourtFlyoutBorder {
 }
 CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture = CompactUnitFrameProfilesGeneralOptionsFrameHealthTextDropdownButtonNormalTexture {
 }
 GRM_ToolIgnoredScrollBorderFrameBottomBorder = GRM_ToolIgnoredScrollBorderFrameBottomBorder {
 }
 MultiBarLeftButton7 = MultiBarLeftButton7 {
 }
 AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture = AudioOptionsVoicePanelOutputDeviceDropdownButtonHighlightTexture {
 }
 LFGListInviteDialog_OnEvent = <function> defined @FrameXML\LFGList.lua:2416
 MerchantItem8AltCurrencyFrameItem1Text = MerchantItem8AltCurrencyFrameItem1Text {
 }
 BINDING_NAME_NAMEPLATES = "Show Enemy Name Plates"
 CHAT_HEADER_SUFFIX = ": "
 EncounterDetails_SpellAurasScrollScrollChildFrame = EncounterDetails_SpellAurasScrollScrollChildFrame {
 }
 MultiBarBottomRightButton8Shine5 = MultiBarBottomRightButton8Shine5 {
 }
 COVENANT_MISSIONS_HEALTH = "Health"
 UnitFrameManaBar_UnregisterDefaultEvents = <function> defined @FrameXML\UnitFrame.lua:789
 PaperDollTitlesPaneButton14BgTop = PaperDollTitlesPaneButton14BgTop {
 }
 CALENDAR_RAID_RESET_DESCRIPTION = "%1$s resets at %2$s."
 AllTheThings-Settings-Use the Master Audio ChannelText = AllTheThings-Settings-Use the Master Audio ChannelText {
 }
 ChatFrame6EditBoxFocusMid = ChatFrame6EditBoxFocusMid {
 }
 AceConfigDialogTooltipTexture20 = AceConfigDialogTooltipTexture20 {
 }
 LE_GAME_ERR_RECRUIT_A_FRIEND_FAILED = 953
 ElvUI_Bar5Button12Shine7 = ElvUI_Bar5Button12Shine7 {
 }
 CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight = CompactRaidFrameManagerDisplayFrameHiddenModeToggleTopRight {
 }
 LFGTeleport = <function> defined =[C]:-1
 LE_GAME_ERR_ON
commented

Added additional check for the frame to not continue if its not found which should prevent the error. Should be finally fixed in the next update. :)