Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: nicepants on February 23, 2011, 07:28:27 pm

Title: Max Charcaters problem <FIXED>
Post by: nicepants on February 23, 2011, 07:28:27 pm
(http://i407.photobucket.com/albums/pp156/cchheessee123/Untitled-5.png)

i have 20 races and it shows this when i go to char screen

i have MAX_RACES = 20 and when i put 21 it just crashes, what am i doing wrong?

Patch-enUS-2.MPQ

CharacterCreate.lua: http://pastebin.com/sc5fiQ3N (http://pastebin.com/sc5fiQ3N" onclick="window.open(this.href);return false;)
CharacterCreate.xml: http://pastebin.com/rHExmKcB (http://pastebin.com/rHExmKcB" onclick="window.open(this.href);return false;)

Patch-enUS-3.MPQ

GlueParent.lua: http://pastebin.com/bKDBex6u (http://pastebin.com/bKDBex6u" onclick="window.open(this.href);return false;)
GlueStrings.lua: http://pastebin.com/j3zny7Dq (http://pastebin.com/j3zny7Dq" onclick="window.open(this.href);return false;)

fix: ...had "12" playable set on fel orc in ChrRaces.dbc
Title: Re: CharacterCreate.xml <Help>
Post by: Eluo on February 23, 2011, 09:33:36 pm
Do you use a patched wow exe for removed xml check?
Title: Re: CharacterCreate.xml <Help>
Post by: nicepants on February 23, 2011, 10:59:29 pm
Quote from: "Eluo"
Do you use a patched wow exe for removed xml check?

yes, ive done it before but now when i added some more new races its all messed
Title: Re: CharacterCreate.xml <Help>
Post by: Steff on February 24, 2011, 09:17:06 am
Did you also make the core changes for rhe new races. If you click creat the client ask the server for the race data. If the server dont know the race wow crash.
Title: Re: CharacterCreate.xml <Help>
Post by: nicepants on February 24, 2011, 07:57:09 pm
Quote from: "Steff"
Did you also make the core changes for rhe new races. If you click creat the client ask the server for the race data. If the server dont know the race wow crash.

yes i did, i mean when your at the character selection and you click "Create new character" it crashes
not while making the character
Title: Re: CharacterCreate.xml <Help>
Post by: Steff on February 24, 2011, 07:59:58 pm
Then go back to an earlyer version of your xml and change step by step.
Title: Re: CharacterCreate.xml <Help>
Post by: nicepants on February 24, 2011, 08:37:03 pm
found out its not because of CharacterCreate.xml, when i change in CharacterCreate.lua to 25 races it crashes and when i put to 10 it just says too many races...anyone know whats going on?

i can change my characters in the DB to the new races and they work fine, its just when i want to make a new character it does this
Title: Re: CharacterCreate.xml <Help>
Post by: Buddiman on February 24, 2011, 09:32:09 pm
I think the thing is that you not have 10 races neither 25, instead you have 20. Maybe try it with this number.
Title: Re: CharacterCreate.xml <Help>
Post by: nicepants on February 24, 2011, 10:03:30 pm
Quote from: "Buddiman"
I think the thing is that you not have 10 races neither 25, instead you have 20. Maybe try it with this number.

tried that, i put in 20 then it says too many races update max_races then i put 21 and it just crashes...
Title: Re: Max Charcaters problem <FIXED>
Post by: Buddiman on February 25, 2011, 12:34:15 am
To be clearly, what did you change? I'm talking of MAX_RACES = RACECOUNT; line 2 in CharCreate.lua.
Title: Re: Max Charcaters problem <FIXED>
Post by: nicepants on February 25, 2011, 12:44:17 am
Quote from: "Buddiman"
To be clearly, what did you change? I'm talking of MAX_RACES = RACECOUNT; line 2 in CharCreate.lua.

its MAX_RACES = 20

i had 21 races by accident in my ChrRaces.dbc, fel orc was marked as playable (the 21st race which made me crash)