This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Character creation screen  (Read 850 times)

Jameyboor

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 20
    • View Profile
[QUESTION] Character creation screen
« on: April 27, 2014, 12:43:32 pm »
Hey,

I edited the charactercreate.xml and lua files in GlueXML but now I'm getting a WoW error :


Now, usually when I edit the XML or the Lua files and something goes wrong I get an ingame error message.. something like ( attempted to initialize 'foo', a nil value ) for example.

This time however, as you can see, I'm getting a WoW error, this happens when I try to select the "Human" race, what could cause this crash?

What I've done:
* Removed every class except a custom one, set it's id to 1.
* commented out 9 out of 10 class buttons
* commented out 0 out of 10 race buttons , < and ^ both in the XML file
* Removed every charbaseinfo row instead of human<->custom class
* removed for-loops inside the CharacterCreateEnumerateClasses and CharacterCreateEnumerateRaces to only load 1 race and class.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] Character creation screen
« Reply #1 on: April 27, 2014, 02:22:34 pm »
The character creation screen is quite delicate because it maps the XML directly to some binary functions that handles DBC data.

This will be caused by one of the buttons. Race or class buttons. It is basically trying to get DBC data and not finding it or not getting it how it expects.

It's pretty much impossible to debug what broke it I find, so just start again and take it very slowly. Test each change.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »