Log in to ZYGOR
Log in with social media
OR
Log in with Zygor account

Announcement

Collapse
No announcement yet.

LUA Error at ZygorGuidesViewer\Item-ProcScore.lua

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    LUA Error at ZygorGuidesViewer\Item-ProcScore.lua

    Code:
    148x ZygorGuidesViewer\Item-ProcScore.lua:184: attempt to perform arithmetic on a nil value
    ZygorGuidesViewer\Item-ProcScore.lua:184: in function `ParseEffect'
    ZygorGuidesViewer\Item-ItemScore.lua:794: in function `GetItemStatsWithTooltip'
    ZygorGuidesViewer\Item-ItemScore.lua:281: in function `GetItemScore'
    ZygorGuidesViewer\Item-AutoEquip.lua:69: in function `GetAutoEquipItemScore'
    ZygorGuidesViewer\Item-AutoEquip.lua:178: in function `ScanBagsForUpgrades'
    ZygorGuidesViewer\Item-Events.lua:64: in function `OnEvent'
    ZygorGuidesViewer\Item-Events.lua:151: in function <ZygorGuidesViewer\Item-Events.lua:151>
    
    Locals:
    self = <table> {
     Defaults = <table> {
     }
     Fallback = <table> {
     }
     KeywordsDynamic = <table> {
     }
     DefinedPatterns = 37
     DefinedFallback = 2
     KeywordsMerged = <table> {
     }
     PreparePatterns = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:57
     ProcessEffect = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:226
     ParseEffect = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:96
     Sanitize = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:46
     Keywords = <table> {
     }
     DefinedPatternsDetails = 9
     PatternsDetails = <table> {
     }
     Patterns = <table> {
     }
     PlayerStats = <table> {
     }
     FallbackDetails = <table> {
     }
     GetPlayerStats = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:23
    }
    data = "use: encase your body in crystal absorbs up to 24180 damage from each attack against you. absorbs up to 206512 total damage.
    
    lasts 30 sec. (2 min cooldown)"
    effectmode = "use"
    variables = <table> {
     pattern = "fallback2"
     amount = "."
     orgstat = "absorbs"
     stat = "STAMINA"
     icdm = "2"
    }
    matchFound = true
    get_highest_stat = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:158
    (*temporary) = nil
    (*temporary) = "."
    (*temporary) = nil
    (*temporary) = "%%"
    (*temporary) = ""
    (*temporary) = "."
    (*temporary) = 0
    (*temporary) = "use: encase your body in crystal absorbs up to 24180 damage from each attack against you. absorbs up to 206512 total damage.
    
    lasts 30 sec. (2 min cooldown)"
    (*temporary) = "effect lasts for ([%d%.%%]+) sec"
    (*temporary) = nil
    (*temporary) = "icdm"
    (*temporary) = "2"
    (*temporary) = <function> defined =[C]:-1
    (*temporary) = <table> {
     pattern = "fallback2"
    }
    (*temporary) = "pattern"
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to perform arithmetic on a nil value"
    ProcScore = <table> {
     Defaults = <table> {
     }
     Fallback = <table> {
     }
     KeywordsDynamic = <table> {
     }
     DefinedPatterns = 37
     DefinedFallback = 2
     KeywordsMerged = <table> {
     }
     PreparePatterns = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:57
     ProcessEffect = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:226
     ParseEffect = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:96
     Sanitize = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:46
     Keywords = <table> {
     }
     DefinedPatternsDetails = 9
     PatternsDetails = <table> {
     }
     Patterns = <table> {
     }
     PlayerStats = <table> {
     }
     FallbackDetails = <table> {
     }
     GetPlayerStats = <function> defined @ZygorGuidesViewer\Item-ProcScore.lua:23
    }
    Happens on item http://www.wowhead.com/item=137338/shard-of-rokmora ilevel 730

    #2
    Try doing a full guide wipe/reset.


    1. exit WoW
    2. go to the WoW/Interface/Addons folder and delete the ZygorGuidesViewer folder
    3. go to the WoW/WTF/Account/<accountname>/SavedVariables folder and delete the Zygor files in there
    4. run the installer client and install a fresh copy of the guides
    5. go back in game and see if that fixed it
    Become a Fan of Zygor Guides on Facebook:
    http://www.facebook.com/pages/Zygor-...04933799556988

    Follow Zygor Guides on Twitter:
    http://twitter.com/zygorguides

    Comment


      #3
      Doesn't seem to have made a difference. Same identical error pops up.

      Comment


        #4
        Did you mean ilvl 830 for that? Are there any other items that give this error?
        Become a Fan of Zygor Guides on Facebook:
        http://www.facebook.com/pages/Zygor-...04933799556988

        Follow Zygor Guides on Twitter:
        http://twitter.com/zygorguides

        Comment


          #5
          I mean 730 ilevel. I got it from Neltharion's Lair Normal at level 102 or 103, and the errors started specifically when I looted that item. No other item is giving me errors.

          The errors are happening constantly. Every time I loot an item or have any inventory event it triggers and it's always for that item. I think there is something going on with its value calculations.

          Comment


            #6
            Maybe the ilvl is the problem. According to WoWHead there is no ilvl 730 version of that item.
            Become a Fan of Zygor Guides on Facebook:
            http://www.facebook.com/pages/Zygor-...04933799556988

            Follow Zygor Guides on Twitter:
            http://twitter.com/zygorguides

            Comment


              #7
              I don't think the ilevel really matters. It's just a scaled down version of the same item that you get when you loot it at 110. I think there some wrong calculation going on with its effect or its attributes.

              Comment


                #8
                Originally posted by Zygor Support View Post
                Maybe the ilvl is the problem. According to WoWHead there is no ilvl 730 version of that item.
                I think all dungeon drops scale to your level so at level 102 it could be 730 ilvl, while at 110 it could be 830 ilvl. I also think this is true of mob drops too.

                Comment


                  #9
                  This should be fixed now.
                  Zygor Guides Creative Director

                  Comment

                  Working...
                  X