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: removing a race at character select  (Read 6478 times)

Portals

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 24
    • View Profile
Re: removing a race at character select
« Reply #15 on: January 05, 2014, 06:53:25 am »
Quote from: "Swampdog"
Quote from: "Portals"
Can someone do a tutorial like this for classes, I tried deleting a line from chrclasses.dbc but my wow crashes when I go to create a character.

Haven't seen one on removing a class but I have this one bookmarked for class creation..  It might give all the places you need to edit and such...

viewtopic.php?f=26&t=1840&hilit=Shell

Still no help I am really new to this shit haha.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

salagon

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 23
    • View Profile
Re: removing a race at character select
« Reply #16 on: January 20, 2014, 05:35:12 pm »
all those errors mean is you guys used an old version of the lua. Use either the ones from patch-enUS-3.MPQ or locale-enUS.MPQ.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: removing a race at character select
« Reply #17 on: January 26, 2014, 02:52:06 pm »
The button IDs map to the class/race DBC's, from what I remember. Or something similar. So when you have a button or class for that which doesn't exist in the DBFilesClient, the client crashes.

The Lua errors are quite clear. You are moaning about them but not reading them.

It tells you the line number and the error - a nil value means that it is trying to use something that doesn't exist. Look at that line of code and the code around it, you can use the "message" function to display debug information to the screen. Usually when you fix the error the rest of the code executes fine and it goes from completely non-functional to perfect instantly.

A tip would be to not rely on "reloadui" from console when doing changes. It does give you a quick look at what you changed but it seems to render it in a different order to when the char creation screen is first loaded up on a new instance of WoW. I had a lot of issues trying to figure out why it would only sometimes work until I realised this then quickly fixed the issues.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

caduceus

  • Registred Member
  • Race Changer
  • *****
  • Posts: 25
    • View Profile
Re: removing a race at character select
« Reply #18 on: February 21, 2015, 12:56:48 am »
[Solved]

So  I have the same issue.  Are the button ID's direct with the  CharRace.dbc ID's? Any help is greatly appreciated.



Code: [Select]
<CheckButton name="CharCreateRaceButton1" inherits="CharCreateRaceButtonTemplate" id="1">
<Anchors>
<Anchor point="TOP" x="-42" y="-110"/>
</Anchors>
</CheckButton>
<CheckButton name="CharCreateRaceButton2" inherits="CharCreateRaceButtonTemplate" id="2">
<Anchors>
<Anchor point="TOP" x="-42" y="-170"/>
</Anchors>
</CheckButton>

The above entries are attaching to the left column first & second buttons which is Allience Human & Dwarf.  
However if the id's are going by the CharRace.dbc, this whould be Human & Orc. I'm completely turned around.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »