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] "Custom" class not showing up  (Read 1356 times)

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
[QUESTION] "Custom" class not showing up
« on: August 01, 2015, 06:46:55 pm »
Hey!
I duplicated the death knight entry in the ChrClasses.dbc, giving it a new id and a different name. After Ive set a character to use the "new" class (in MySQL), he disappeared from the char selection list.
How can I solve that?

P.S.Server is 4.3.4 Trinity, pre-compiled (means no serverside cpp editing), client version 15595.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] "Custom" class not showing up
« Reply #1 on: August 07, 2015, 01:39:53 pm »
Anyone?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] "Custom" class not showing up
« Reply #2 on: August 07, 2015, 02:39:20 pm »
I never actually did a wholy new class so I am not entirely sure hiw many things are needed to be done for making it work, but just a guess, did you create a new class' settings in database? In world database, there are tables like player_classlevelstats, player_levelstats, playercreateinfo, playercreateinto_skills... Uh, and btw, SkillRaceClassInfo.dbc should interrest you as well. And of course, CharBaseInfo.dbc.

There are plenty od DB and DBC tables reffering to classes, their spells, skills... Its pretty big system. Good luck, you aren't doing anything simple. It won't be one ctrl+c and ctrl+v in one table, don't expect that. Most of those tables I mentioned are just critical for either working class (and even server emu itself), or for being actually able to play that character (that means that you can cast spell, attack, chat and so on).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Смердокрыл

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 445
    • View Profile
Re: [QUESTION] "Custom" class not showing up
« Reply #3 on: August 07, 2015, 04:33:43 pm »
Im not trying to create a new class, but rather to have an absolutely identical class to deathknights, but with a different name. Thats it.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
or no.
At least I tried.

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] "Custom" class not showing up
« Reply #4 on: August 07, 2015, 06:22:51 pm »
Does it have different ID than 1, 2, 3, 4, 5, 6, 7, 8, 9, 11 (or 10 in MoP+)? If it does, you will have to go through everything I wrote and possibly even more. Client and emu give no shit about how different or similiar classes are. IDs are what matter.

If your races don't have your class unlocked, it won't work. If server doesn't know which stats should it set to your all combinations of your new class and all races which can have it, it won't work. If your character won't know any spells, you won't be even able to write GM command into chat pannel, not even mentioning chatting. You won't be able to even auto attack, possibly. So you have to either overwrite existing class, or read my previous post once again ;).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz