Skip to content

Localization: AutoGear displays an error after looting a grey item from a dead enemy when the language is not English #15

Description

@xan2622

Describe the bug
AutoGear displays an error after looting a grey item from a dead ennemy.

Steps to reproduce the behavior:

  1. Kill any ennemy (lower than your current level)
  2. Click on its corpse to loot its stuff
  3. You can see that its stuff moves into your bags
  4. The following error appears (an the error counter keeps increasing again and again)

Expected behavior
No error after looting

Screenshots
error_AutoGear

Version:

  • World of Warcraft (official): 9.0.5.38134
  • Server locale region: FR
  • OS: Windows 10 64bits

The error:

Message: Interface\AddOns\AutoGear\AutoGear.lua:1368: attempt to index upvalue 'weighting' (a nil value)
Time: Mon Apr  5 16:35:18 2021
Count: 86
Stack: Interface\AddOns\AutoGear\AutoGear.lua:1368: attempt to index upvalue 'weighting' (a nil value)
[string "@Interface\AddOns\AutoGear\AutoGear.lua"]:1368: in function `AutoGearSetStatWeights'
[string "@Interface\AddOns\AutoGear\AutoGear.lua"]:2147: in function `AutoGearScanBags'
[string "@Interface\AddOns\AutoGear\AutoGear.lua"]:3072: in function `AutoGearMain'
[string "@Interface\AddOns\AutoGear\AutoGear.lua"]:176: in function <Interface\AddOns\AutoGear\AutoGear.lua:175>

Locals: class = "MAGE"
spec = "Givre"
(*temporary) = nil
(*temporary) = "MAGE"
(*temporary) = "Givre"
(*temporary) = "Givre"
(*temporary) = 2
(*temporary) = 64
(*temporary) = "Givre"
(*temporary) = "attempt to index upvalue 'weighting' (a nil value)"
weighting = nil
weapons = nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedlocalizationThis is a bug caused by only supporting English.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions