-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lua errors in latest wotlk patch #50
Comments
262x SpellCalc/core/MeleeCalc.lua:317: attempt to perform arithmetic on local 'armor' (a nil value) Locals: isRanged = false levelDiff = -80 expertiseReduction = 0 isWhitehit = false isOffhand = false targetLevel = 0 calcedSpell = } ldef = 0 latk = 400 isPvP = false ratk = 396 } armor = nil pLevel = 80 (*temporary) = 0 (*temporary) = 80 (*temporary) = 0 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to perform arithmetic on local 'armor' (a nil value)" _addon = stats = } IsBooleanFlagActive = defined @SpellCalc/system/aura.lua:613 AddLocalization = defined @SpellCalc/i18n/loc.lua:12 levelDefaultArmor = } spellClassSet = } aurasPlayer = } SetupActionButtonText = defined @SpellCalc/UI/actionbar/buttonText.lua:142 SCTooltip = } GetCurrentState = defined @SpellCalc/core/core.lua:957 GetCurrentSpellData = defined @SpellCalc/core/core.lua:952 GetCalcedSpell = defined @SpellCalc/core/core.lua:935 effectHandler = } GetHandledSpellID = defined @SpellCalc/core/core.lua:917 classGlyphs = } talentDataRaw = } GetLocalization = defined @SpellCalc/i18n/loc.lua:20 RemoveAuraEffect = defined @SpellCalc/system/aura.lua:579 GetEffectiveManaPool = defined @SpellCalc/core/core.lua:182 NewCalcedSpell = defined @SpellCalc/core/CalcedSpell.lua:241 MagicCalc = } MeleeCalc = } CostHandler = } npcResistances = } classPassives = } DebugApplyBuff = defined @SpellCalc/system/unitAuras.lua:270 IsWeaponTypeMaskEquipped = defined @SpellCalc/system/items.lua:324 UpdateAurasForUnit = defined @SpellCalc/system/unitAuras.lua:185 Target = } IsWeaponTypeEquipped = defined @SpellCalc/system/items.lua:315 ActionBarValues = } enchantData = } GetWeaponTypeMask = defined @SpellCalc/system/items.lua:354 GetBaseMana = defined @SpellCalc/data/basemana.lua:585 spellInfo = } ApplyAuraEffect = defined @SpellCalc/system/aura.lua:546 GetCurrentStance = defined @SpellCalc/system/aura.lua:435 scripting = } GetWeaponType = defined @SpellCalc/system/items.lua:346 TriggerUpdate = defined @SpellCalc/core/core.lua:905 setItemData = } IsOffHandWeaponEquipped = defined @SpellCalc/system/items.lua:308 mechanicAuras = } aurasTarget = } IsTwoHandEquipped = defined @SpellCalc/system/items.lua:291 itemEffects = } IsMainHandWeaponEquipped = defined @SpellCalc/system/items.lua:303 IsOneHandEquipped = defined @SpellCalc/system/items.lua:297 UpdateManaRegen = defined @SpellCalc/system/stats.lua:317 IsDualWieldEquipped = defined @SpellCalc/system/items.lua:339 events = } itemSetData = } CONST = } DebugEquipItem = defined @SpellCalc/system/items.lua:363 util = } IsCurrentStance = defined @SpellCalc/system/aura.lua:442 } SCHOOL_PHYSICAL = 1 |
23x ...ceSpellCalc/UI/actionbar/ActionBarValues.lua:249: attempt to index field '?' (a nil value) Locals: updateOffset = 0 origOffset = 0 } updateOffset = 180 (for index) = 1 (for limit) = 12 (for step) = 1 i = 1 (*temporary) = nil (*temporary) = 1 (*temporary) = "attempt to index field '?' (a nil value)" slotMap = 1 = } 2 = } 3 = } 4 = } 5 = } 6 = } 7 = } 8 = } 9 = } 10 = } 11 = } 12 = } 13 = } 14 = } 15 = } 16 = } 17 = } 18 = } 19 = } 20 = } 21 = } 22 = } 23 = } 24 = } 25 = } 26 = } 27 = } 28 = } 29 = } 30 = } 31 = } 32 = } 33 = } 34 = } 35 = } 36 = } 37 = } 38 = } 39 = } 40 = } 41 = } 42 = } 43 = } 44 = } 45 = } 46 = } 47 = } 48 = } 49 = } 50 = } 51 = } 52 = } 53 = } 54 = } 55 = } 56 = } 57 = } 58 = } 59 = } 60 = } 61 = } 62 = } 63 = } 64 = } 65 = } 66 = } 67 = } 68 = } 69 = } 70 = } 71 = } 72 = } 73 = } 74 = } 75 = } 76 = } 77 = } 78 = } 79 = } 80 = } 81 = } 82 = } 83 = } 84 = } 85 = } 86 = } 87 = } 88 = } 89 = } 90 = } 91 = } 92 = } 93 = } 94 = } 95 = } 96 = } 97 = } 98 = } 99 = } 100 = } 101 = } 102 = } 103 = } 104 = } 105 = } 106 = } 107 = } 108 = } 109 = } 110 = } 111 = } 112 = } 113 = } 114 = } 115 = } 116 = } 117 = } 118 = } 119 = } 120 = } 121 = } 122 = } 123 = } 124 = } 125 = } 126 = } 127 = } 128 = } 129 = } 130 = } 131 = } 132 = } 133 = } 134 = } 135 = } 136 = } 137 = } 138 = } 139 = } 140 = } 141 = } 142 = } 143 = } 144 = } 145 = } 146 = } 147 = } 148 = } 149 = } 150 = } 151 = } 152 = } 153 = } 154 = } 155 = } 156 = } } SlotUpdate = defined @SpellCalc/UI/actionbar/ActionBarValues.lua:210 |
I would like to add that when this does trigger, it always shortly after I zone in or out of an instance. I also took all look at line 317 in MeleeCalc and noticed _addon.Target.level. I didn't have a target when I was getting the error spammed but as soon as I targeted myself it stopped. |
I'm really not sure how this is even possible. According to your error your target's level was set to 0, which could only happen if the game API says you have a target and its level is 0. That simply shouldn't be possible and I've never encountered it. I can add a check so target level can never be below 1, but I still wonder how you managed to get that error :D |
it happens after hearthstoning back to dalaran on my resto shaman for me. |
@coolmodi I only ever seem to get the error when I don't have a target so its probably getting a 0 for target level since there is no target to begin with. |
lua errors in latest wotlk patch
will post error after raid
The text was updated successfully, but these errors were encountered: