Forum > Serverside Modding
CharacterCreate.lua Problem
(1/1)
Skt16:
Hi all , I come with the hope that you can help me with a problem driving me crazy... I do a tutorial for make custom races to my server and i did too well, i can play my new races without problems but... When i will create a character the character menu its bugged a lot.
This is the error:
This is what i edited on SharedDefines.h: http://pastebin.com/ee2XwUr7 This is the XML: http://pastebin.com/C0hqX8kH And this is the Lua: http://pastebin.com/cXWnrXDc
The Interface files was extracted from: World of Warcraft 3.3.5DataxxXXlocale-xxXX.MPQ because patch-xxXX-2.MPQ make crash when i click the character create button.
What im doing bad?
I got a TrinityCore server with expansion 3.3.5a.
If I can provide more information let me know, thanks and best regards!.
Grymskvll:
According to the error popup, this part is causing the error:
--- Code: --- for i=1, MAX_RACES, 1 do local button = getglobal("CharacterCreateRaceButton"..i); button:Enable(); SetButtonDesaturated(button, false) end --- End code ---
You have
--- Code: ---MAX_RACES = 22; --- End code ---
And your XML file only creates up to and including CharacterCreateRaceButton12.
Skt16:
--- Quote from: "Grymskvll" ---According to the error popup, this part is causing the error:
--- Code: --- for i=1, MAX_RACES, 1 do local button = getglobal("CharacterCreateRaceButton"..i); button:Enable(); SetButtonDesaturated(button, false) end --- End code ---
You have
--- Code: ---MAX_RACES = 22; --- End code ---
And your XML file only creates up to and including CharacterCreateRaceButton12. --- End quote ---
I fixed all the problems, thanks to you!
Navigation
[0] Message Index
|