Looking for a russian developer!
Hi there, i need help from some russian friends.
My AddOn BgDBM-Skin works fine in the western world as far as i can say, but a russian user has a error: Code:
Message: Interface\AddOns\DBM-StatusBarTimers\DBT.lua:135: attempt to index field '?' (a nil value) Does anyone have a clue and can help me so the russian users can use my addon too? thanks in advance basso |
It probably caused because you're using a non-localized table value:
class - The localized name of the unit's class, or the unit's name if the unit is an NPC (string) classFileName - A non-localized token representing the class (string) local class, classFileName = UnitClass("unit") Edit: Nevemind, i tought you're using a diffrenet colortable. But found the issue: You misspelled ROGUE / ROUGE on the table. :) So the addon would drop this bug to any rogue. |
Yeah thats the thing im already using the non localized token, the classFileName as you labeled it.
local _, playerClass = UnitClass("player") Nothing localized :( |
Quote:
|
Quote:
Thank you, what a stupid mistake. |
Quote:
|
Also, believe me, you aren't the first and you won't be the last [to make a silly, obvious, head-desk mistake]. ;) :p :D
|
Quote:
A few years ago, I remember contemplating on making just one big thread where I'd ask questions but I decided against it. It felt silly having 2-3 active threads at once under my name. |
All times are GMT -6. The time now is 10:09 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI