Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Foereaper on March 03, 2014, 06:49:00 pm

Title: [QUESTION] Issue with custom race
Post by: Foereaper on March 03, 2014, 06:49:00 pm
Hello guys, for the past few days I have been battling this extremely annoying issue, which I hope I can receive some input on.

For learning sake I decided I wanted to try and create a custom race, in this case, worgen. After research, trial and error, I ended up figuring out which files to edit, did the necessary edits, and the race now works. However, whenever I click the new race button on the character creation screen, the client crashes.

If the new race is selected as the random character whenever you click the "Create character" button, the custom race can be created fine without issue, but if I try to choose another race, the client crashes as well.

Is this something anyone else has encountered, and/or, would you mind trying to give me some input on the matter? Harry has helped me a great lot trying to get this solved, however we haven't been able to figure it out.

Below is a link to the patch (This also includes the Worgen models, so it's a little big, do mind), if you want specific files in clear text over pastebin or have any specific questions, please let me know and I'll get on it asap!

- Foe

https://mega.co.nz/#!sht2iJDK!W3aGPEKhY ... N_nm8QxEu4 (https://mega.co.nz/#!sht2iJDK!W3aGPEKhYFr28C-DkhjzfI1D3-WY6f4ShN_nm8QxEu4" onclick="window.open(this.href);return false;)
Title: Re: [QUESTION] Issue with custom race
Post by: Gurluas on March 03, 2014, 09:32:41 pm
My guess is, that it's a LUA error.
Unfortunately I have no idea on how to further help you, as Lua is not my thing.
Title: Re: [QUESTION] Issue with custom race
Post by: Foereaper on March 03, 2014, 09:51:58 pm
It is indeed a Lua issue, I forgot to mention that if I comment out

SetSelectedRace(id);

then the client doesn't crash, but it won't switch between the characters obviously :P
Title: Re: [QUESTION] Issue with custom race
Post by: Romzarah on March 05, 2014, 01:46:43 pm
Can't look into your patch to see if anything is wrong or missing..
Title: Re: [QUESTION] Issue with custom race
Post by: Foereaper on March 05, 2014, 05:47:43 pm
Quote from: "Romzarah"
Can't look into your patch to see if anything is wrong or missing..

How come? Is it not opening? It should open fine with MPQEditor, and the DBC files open fine with MyDBCEditor, at least on my end.. If you want me to, I can take screenshots of all the edits I have done and post those?
Title: Re: [QUESTION] Issue with custom race
Post by: Romzarah on March 05, 2014, 09:45:29 pm
Quote from: "Foereaper"
Quote from: "Romzarah"
Can't look into your patch to see if anything is wrong or missing..

How come? Is it not opening? It should open fine with MPQEditor, and the DBC files open fine with MyDBCEditor, at least on my end.. If you want me to, I can take screenshots of all the edits I have done and post those?


MPQEditor says failed to open MPQ
Access is denied
Title: Re: [QUESTION] Issue with custom race
Post by: Romzarah on March 15, 2014, 02:59:28 pm
Also if I add the patch to the data folder, it crashes the client. You must have some patches I don't have or I have some that yours don't like.
Title: Re: [QUESTION] Issue with custom race
Post by: flagg78 on March 15, 2014, 04:50:18 pm
I have had similar issues when i had made some errors in the charsections dbc. it wouldnt crash all the time only on certain entries in the dbc for that race. another place you could check anyway.
Title: Re: [QUESTION] Issue with custom race
Post by: Gurluas on March 21, 2014, 04:21:54 pm
I have run into this same issue myself now when trying to make Worgen. If the race is selected randomly it works, but clicking it's button or switching gender causes a crash..