Line 110:
[64] = {31801},
You're missing a comma. So obviously you did something wrong The error log is always fairly self explanatory, it tells you what line the error is on and what is wrong, so check that if you have more issues
Its Death Knight, not DeathKnight.
Puladin wouldnt work for Paladin either.
Its Death Knight, not DeathKnight.
Puladin wouldnt work for Paladin either.
Thank you for updating it and posting + leaving credits!
lua_scripts/learnspellonlevelup.lua:519: attempt to index field '?' (a nil value)
local classString = self:GetClassAsString();
local classString = self:GetClassAsString(0);
local spells = Classes[classString][oldlevel] or {};
Hello I used the script on my server and i get this error.
I checked the code and see
If someone use other dbcs language it will work?
So i changed to
That's the line where the problem exists
Because I am using a french dbc, but the problem still exists, any help?
give me the name of the class in french, so if i want to use this script i have to change the english name in table or uselocal classString = self:GetClassAsString(2);
instead?local classID = self:GetClass();
Yeah I ve checked, only
give me the name of the class in french, so if i want to use this script i have to change the english name in table or use instead?
The script has the names in english.
Does self:GetClassAsString(0); give you english or not?
local Classes = {
["Warrior"] = {
local Classes = {
[1] = { -- WARRIOR
local classString = self:GetClass();