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: [TUTORIAL] Creating a shell of a class!  (Read 36949 times)

Jameyboor

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 20
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #30 on: December 20, 2012, 09:48:37 am »
So, I managed to do the dbc part through taliis, problem now is when I use the cracker on my wow.exe it says its succesfull, though I dont got the interface/gluexml folder, I am kind of noobish when it comes to client editting so sorry if it's a dumb question.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #31 on: December 20, 2012, 11:54:26 am »
Quote from: "Jameyboor"
So, I managed to do the dbc part through taliis, problem now is when I use the cracker on my wow.exe it says its succesfull, though I dont got the interface/gluexml folder, I am kind of noobish when it comes to client editting so sorry if it's a dumb question.
I don't get what you need. It's successful - at least that's what you say.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #32 on: December 20, 2012, 12:32:14 pm »
Quote from: "Jameyboor"
So, I managed to do the dbc part through taliis, problem now is when I use the cracker on my wow.exe it says its succesfull, though I dont got the interface/gluexml folder, I am kind of noobish when it comes to client editting so sorry if it's a dumb question.

I'm assuming you mean the gluexml folder isn't showing up. You have to extract it from the local patches. Extract all the GlueXML folders from these patches in this order:

locale-enXX.MPQ
patch-enXX.MPQ
patch-enXX-2.MPQ
patch-enXX-3.MPQ

The XX is the client region type like, enUS, enGB, enEU etc... In other words mine is the US version and looks like this:

locale-enUS.MPQ
patch-enUS.MPQ
patch-enUS-2.MPQ
patch-enUS-3.MPQ
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Jameyboor

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 20
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #33 on: December 20, 2012, 01:03:05 pm »
Quote from: "XxXGenesisXxX"
Quote from: "Jameyboor"
So, I managed to do the dbc part through taliis, problem now is when I use the cracker on my wow.exe it says its succesfull, though I dont got the interface/gluexml folder, I am kind of noobish when it comes to client editting so sorry if it's a dumb question.

I'm assuming you mean the gluexml folder isn't showing up. You have to extract it from the local patches. Extract all the GlueXML folders from these patches in this order:

locale-enXX.MPQ
patch-enXX.MPQ
patch-enXX-2.MPQ
patch-enXX-3.MPQ

The XX is the client region type like, enUS, enGB, enEU etc... In other words mine is the US version and looks like this:

locale-enUS.MPQ
patch-enUS.MPQ
patch-enUS-2.MPQ
patch-enUS-3.MPQ

this is what I meant, thank you.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Sentinel

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 20
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #34 on: January 24, 2013, 02:40:39 am »
Thanks for tutorial, but let me ask you for another tutorial about talents?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Diemen

  • Registred Member
  • Race Changer
  • *****
  • Posts: 37
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #35 on: January 28, 2013, 11:50:14 pm »
Is there a way to Change the Character Creation Background like they did with Death Knights ?

I made some Custom Classes and i can't seem to change the background.



Any idea how to do that ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

lawrytrix

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
    • http://www.sunrising-network.de/
Re: [TUTORIAL] Creating a shell of a class!
« Reply #36 on: January 29, 2013, 03:28:47 pm »
When I try to create a new character and I choose the new class there appears a wow-error.



And yes, I have cracked the wow.exe ^^
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Diemen

  • Registred Member
  • Race Changer
  • *****
  • Posts: 37
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #37 on: January 29, 2013, 05:52:55 pm »
Did you check your dbc for errors ? This was the problem for me wehn i created a new class/race
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #38 on: January 29, 2013, 06:01:12 pm »
Quote from: "Diemen"
Is there a way to Change the Character Creation Background like they did with Death Knights ?

I made some Custom Classes and i can't seem to change the background.

Any idea how to do that ?

Not yet, I have a friend staying over at the moment, but when they leave I will look into it, cause I would like to know this myself. Pressumably it has something to do with updating the the background model based on the FILESTRING name variable.

Quote from: "lawrytrix"
When I try to create a new character and I choose the new class there appears a wow-error.



And yes, I have cracked the wow.exe ^^

There are too many reasons for WoW errors to occur, I wouldn't know what is causing it, without knowing what you did step by step. Also there is a thread specifically for error 132 issues.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

lawrytrix

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
    • http://www.sunrising-network.de/
Re: [TUTORIAL] Creating a shell of a class!
« Reply #39 on: January 30, 2013, 12:49:24 pm »
Thanks for the answer. The thing is: only if I want to create the new class with a blood elf the error appears. When I try it with a human the error does not appear but something different.



The background of the character-creation window gets black and I can´t do anything.
I don´t know what to do with this error.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Diemen

  • Registred Member
  • Race Changer
  • *****
  • Posts: 37
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #40 on: January 30, 2013, 01:03:59 pm »
I think you need to look into your Class.dbc  for the Bloodelf line. Looks like there is an error in it.
And also this error you see gibes alot of information about the problem.
Take a look at your xml file.
When i'm home i can take a look for you if you like.

Also look into your server database Table PlayerCreateinfo
Maybe you didn't add a line for Bloodelfs.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #41 on: January 30, 2013, 03:19:44 pm »
Quote from: "lawrytrix"
Thanks for the answer. The thing is: only if I want to create the new class with a blood elf the error appears. When I try it with a human the error does not appear but something different.



The background of the character-creation window gets black and I can´t do anything.
I don´t know what to do with this error.

That error means the class works but you haven't set it up to display the icon on the button for the create screen. It means you have to add a new line at the bottom of this:

Code: [Select]
CLASS_ICON_TCOORDS = {
["WARRIOR"] = {0, 0.25, 0, 0.25},
["MAGE"] = {0.25, 0.49609375, 0, 0.25},
["ROGUE"] = {0.49609375, 0.7421875, 0, 0.25},
["DRUID"] = {0.7421875, 0.98828125, 0, 0.25},
["HUNTER"] = {0, 0.25, 0.25, 0.5},
["SHAMAN"] = {0.25, 0.49609375, 0.25, 0.5},
["PRIEST"] = {0.49609375, 0.7421875, 0.25, 0.5},
["WARLOCK"] = {0.7421875, 0.98828125, 0.25, 0.5},
["PALADIN"] = {0, 0.25, 0.5, 0.75},
["DEATHKNIGHT"] = {0.25, 0.49609375, 0.5, 0.75},

So for example if I had a necromancer class and I wanted to use the warriors icon I would use this:

Code: [Select]
CLASS_ICON_TCOORDS = {
["WARRIOR"] = {0, 0.25, 0, 0.25},
["MAGE"] = {0.25, 0.49609375, 0, 0.25},
["ROGUE"] = {0.49609375, 0.7421875, 0, 0.25},
["DRUID"] = {0.7421875, 0.98828125, 0, 0.25},
["HUNTER"] = {0, 0.25, 0.25, 0.5},
["SHAMAN"] = {0.25, 0.49609375, 0.25, 0.5},
["PRIEST"] = {0.49609375, 0.7421875, 0.25, 0.5},
["WARLOCK"] = {0.7421875, 0.98828125, 0.25, 0.5},
["PALADIN"] = {0, 0.25, 0.5, 0.75},
["DEATHKNIGHT"] = {0.25, 0.49609375, 0.5, 0.75},
["NECROMANCER"] = {0, 0.25, 0, 0.25},

If you look back at the CharacteCreate.lua section of the guide it covers this and how to make your own custom icon for it.

As for the Blood Elf, I could bet money that the background isn't just black, but in the bottom left corner there will be a blue and white checkered box. I have had that a few times when using the Death Knight class ID in previous attempts. What is the "Filestring" name  of your class in the CharClasses.dbc? The class name in Capitals. Also does it only do it to Blood Elves for your custom class or all? Test if it's any other class and/or Death Knight that does it as well.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

lawrytrix

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
    • http://www.sunrising-network.de/
Re: [TUTORIAL] Creating a shell of a class!
« Reply #42 on: January 30, 2013, 04:47:59 pm »
Okay, I got that but now there is a new error-.-*  :D

« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [TUTORIAL] Creating a shell of a class!
« Reply #43 on: January 30, 2013, 06:45:13 pm »
When posting stuff that has a line number can you please also copy and past the line itself. Cause your line 319 would be different to mine due to the fact I have different amounts of added lines to you. If you haven't got a text editor that shows line numbers, I highly recommend Notepad++. I use it for all my XML/lua work.

Quote from: "Diemen"
Also look into your server database Table PlayerCreateinfo
Maybe you didn't add a line for Bloodelfs.

This won't effect the character creation screen, this is activated upon clicking the accept button of the character creation screen.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

lawrytrix

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 22
    • View Profile
    • http://www.sunrising-network.de/
Re: [TUTORIAL] Creating a shell of a class!
« Reply #44 on: January 30, 2013, 07:59:21 pm »
I´m using Notepad++ since the first day of my modding "career" :D

Here is the line:

Quote
CharacterCreateClassIcon:SetTexCoord(coords[1], coords[2], coords[3], coords[4]);
« Last Edit: January 01, 1970, 01:00:00 am by Admin »