Druid error #28


  • New
  • Other
Open
Assigned to whitetooth3
  • 流水輕飄 created this issue Sep 2, 2012

    CLASS: DRUID

    mouseover anything show

    ERROR:  attempt to perform arithmetic on field '?' (a nil value)
    File: ...\LibStatLogic-1.2\LibStatLogic-1.2.lua
    Line: 6277
    count: 8

  • 流水輕飄 added the tags New Other Sep 2, 2012
  • 流水輕飄 edited description Sep 2, 2012
  • _ForgeUser581183 posted a comment Sep 2, 2012

    Could you get the latest revision of LibStatLogic, and post the line of the error.

    Because your version is out of date

    Line: 6277

    no longer points to a line of code; so i don't know where the error is happening.

  • _ForgeUser3756723 posted a comment Sep 2, 2012

    The issue is that the monk class is now ID 10, where Druid used to be 10.  Druid is now 11, and all the coefficient tables don't have, eg, CritFromInt[DRUID] -- I solved this temporarily for me by just duplicating the last value in the table (or each row of the tables as relevant).  In doing so though, it looks like the numbers have changed though, so a more complete review/recalculation of the coefficient tables looks necessary.

    I'll post my patch on a new ticket since apparently you can't attach files to comments, only to original tickets.

  • _ForgeUser961787 posted a comment Sep 4, 2012

    This is the error I've been getting only when on my druid:

    LibStatLogic-1.2\LibStatLogic-1.2-117.lua:6758: attempt to perform arithmetic on field "?" (a nil value) LibStatLogic-1.2\LibStatLogic-1.2-117.lua:6758: in function "GetSpellCritFromInt" RatingBuster\RatingBuster-r364.lua:3068: in function <RatingBuster\RatingBuster.lua:2770> (tail call): ? RatingBuster\RatingBuster-r364.lua:2638: in function "handler" libs\LibTipHooker-1.1\LibTipHooker-1.1-16.lua:179: in function <libs\LibTipHooker-1.1\LibTipHooker-1.1.lua:174> <in C code> <in C code> FrameXML\GameTooltip.lua:314: in function <FrameXML\GameTooltip.lua:217> <in C code> !MoncaiCompare\!MoncaiCompare-v1.5.4.lua:37: in function <!MoncaiCompare\!MoncaiCompare.lua:35> <in C code> <in C code> Tooltip.lua:558: in function <Altoholic\Tooltip.lua:556> <in C code> <in C code> <in C code> <in C code> <in C code> <in C code> <in C code> FrameXML\MerchantFrame.lua:452: in function "MerchantItemButton_OnEnter" <string>:"*:OnEnter":1: in function <string>:"*:OnEnter":1

    Locals: self = <table> { SetDefaultModuleLibraries = <func> @Ace3\..\AceAddon-3.0.lua:383 Enable = <func> @Ace3\..\AceAddon-3.0.lua:315 RegisterChatCommand = <func> @Ace3\..\AceConsole-3.0.lua:85 EnableModule = <func> @Ace3\..\AceAddon-3.0.lua:348 modules = <table> {} GetModule = <func> @Ace3\..\AceAddon-3.0.lua:231 IterateEmbeds = <func> @Ace3\..\AceAddon-3.0.lua:458 defaultModuleLibraries = <table> {} GetStatMod = <func> @..\RatingBuster.lua:2224 UnregisterChatCommand = <func> @Ace3\..\AceConsole-3.0.lua:111 MODIFIER_STATE_CHANGED = <func> @..\RatingBuster.lua:2331 optionsFrames = <table> {} SplitDoJoin = <func> @..\RatingBuster.lua:2749 Printf = <func> @Ace3\..\AceConsole-3.0.lua:69 OnProfileChanged = <func> @..\RatingBuster.lua:2242 SetDefaultModulePrototype = <func> @Ace3\..\AceAddon-3.0.lua:425 OnProfileReset = <func> @..\RatingBuster.lua:2249 OnInitialize = <func> @..\RatingBuster.lua:2269 baseName = "RatingBuster" name = "RatingBuster" Bench = <func> @..\RatingBuster.lua:4585 IsEnabled = <func> @Ace3\..\AceAddon-3.0.lua:467 orderedModules = <table> {} StatSummary = <func> @..\RatingBuster.lua:4190 DisableModule = <func> @Ace3\..\AceAddon-3.0.lua:366 ProcessText = <func> @..\RatingBuster.lua:2770 Disable = <func> @Ace3\..\AceAddon-3.0.lua:330 ADDON_LOADED = <func> @..\RatingBuster.lua:2346 OnNewProfile = <func> @..\RatingBuster.lua:2259 RegisterMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:118 GetArgs = <func> @Ace3\..\AceConsole-3.0.lua:144 Print = <func> @Ace3\..\AceConsole-3.0.lua:54 ShowConfig = <func> @..\RatingBuster.lua:2176 PLAYER_LEVEL_UP = <func> @..\RatingBuster.lua:2319 OnDisable = <func> @..\RatingBuster.lua:2312 OnEnable = <func> @..\RatingBuster.lua:2298 IsModule = <func> @Ace3\..\AceAddon-3.0.lua:484 db = <table> {} SetDefaultModuleState = <func> @Ace3\..\AceAddon-3.0.lua:403 UNIT_AURA = <func> @..\RatingBuster.lua:2326 ClearCache = <func> @..\RatingBuster.lua:2227 SetEnabledState = <func> @Ace3\..\AceAddon-3.0.lua:440 SetupOptions = <func> @..\RatingBuster.lua:2147 enabledState = true date = "2012-09-01" RegisterEvent = <func> @Ace3\..\CallbackHandler-1.0.lua:118 UnregisterAllMessages = <func> @Ace3\..\CallbackHandler-1.0.lua:202 version = "5.0.4 (r357)" UnregisterAllEvents = <func> @Ace3\..\CallbackHandler-1.0.lua:202 SendMessage = <func> @Ace3\..\CallbackHandler-1.0.lua:87 IterateModules = <func> @Ace3\..\AceAddon-3.0.lua:453

  • _ForgeUser581183 posted a comment Sep 4, 2012

    <<reply 925520="">>

    i made that fix (adding extra columns to the array tables) a few days ago.

    But bfree380's running revision 117 already; so there's something else going on.

    God i hate nil's in LUA.


    Edit: i'm going to have to create a Druid (likely on beta so i can instalevel to 85)


    Edited Sep 4, 2012

To post a comment, please login or register a new account.