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: Enabling nonstandard class/race combos in trinitycore repack  (Read 7543 times)

aerizanthar

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Enabling nonstandard class/race combos in trinitycore repack
« on: April 28, 2016, 05:33:41 am »
To clarify, I use Jeuties blizzlike repack. I started a new server with his newest release, and cannot for the life of me get any ARAC packs working. My main desire for these is mainly mught wlf mages and warlocks, blood elf warriors, human hunters, and a few others. It is usually sompler to just aplly the ARAC fix i used previously. His older revisions (revision 0.9 and older methinks) seemed to have no trouble using it. I fear something has changed since then and now it doesn't work. Applying the ARAC patch causes the world.exe to crash at loading player spell data. I tried enabling the class race combos i wanted by editing the dbc files but i am doing something wrong. I dont plan on allowing these custom classes to be made outside of sql database modifications (example replacing 1 for human with 4 for might elf on a single warlock) so i dont plan on needing client side modifications, but i cannot seem to get the server to agree with me. What have i missed?

If there is any additional info you need please let me know, and how to get that info. I'm fairly intelligent but also oblivious half the time.

Finally i appreciate any and all help. Thanks!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #1 on: April 28, 2016, 12:53:48 pm »
CharBaseInfo.dbc

world.playercreateinfo.db (insert coords for creating a new character)
world.player_levelstats.db (insert at least stats for level 1).

This 1 DBC and 2 DB tables are all you need to just enable race/class combination. There may be few more things you might want to edit as well, but these are required to actually make that new combination work on both server and client side.
« 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

aerizanthar

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #2 on: April 28, 2016, 07:11:40 pm »
I edited the charbasinfo.dbc adding a line with 4 for race (nightelf) and 9 for class (warlock) using taliis, saved it and since i've had some issues with taliis before i reopened it to make sure the changes stuck (they stayed) then entered the two database sections you listed and duplicated the the standard stuff for night elves to test if it would work, but the worldserver.exe still won't let the character load, which doesnt make sense to me. its almost like there's something else entirely blocking it. I may just compile my own core to avoid all this with the repack (never compiled my own core before but it cant be that hard....... right?)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #3 on: April 29, 2016, 07:45:23 am »
Thats rather strange. The last thing which comes into my mind - where is a point where character should be created? Is it somewhere on some continent? Never put player creation point to BGs/Raids/Dungeons. That doesn't work (server even tends to refuse to create character there).
« 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

megamoocow

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #4 on: April 30, 2016, 09:11:46 am »
You need to edit the playercreateinfo.dbc then load world database up and edit playercreateinfo entry in the database and player_levelstats there also. it takes a ton of hand editing but you won't have to touch the core since you only do that if you want to add new class or race etc. Below i have added the class/race id's you will need to know these for all the ones you want to unlock. Really it's all copy another race/class entry and then paste it, then change race/class id for the new one. this goes for both the DBC and the entry in world database.

Race Ids:
1 - Human
2 - Orc
3 - Dwarf
4 - Nightelf
5 - Undead
6 - Tauren
7 - Gnome
8 - Troll
9 - Goblin
10 - Bloodelf
11 - Draenei

Class Ids:
1 - Warrior
2 - Paladin
3 - Hunter
4 - Rogue
5 - Priest
6 - Death knight
7 - Shaman
8 - Mage
9 - Warlock
10- Unused

I would also recommend making a patch to hold the dbc files encase you have to start over and also backup world database.

P.S ditch Taliis go grab http://www.model-changing.net/files/ Wow Dev kit it has better editors for DBC's
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #5 on: April 30, 2016, 02:26:58 pm »
I use the very last Trinity core with a ton shit of custom change but I haven't touched this part, I did nothing more than you to activate some combo r/c and it's work. (In fact there is some additional change for the spells etc but you shouldn't have the core error at this point, try with your own compiled core.)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

aerizanthar

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #6 on: May 05, 2016, 08:10:53 pm »
Quote from: "Makpptfox"
I use the very last Trinity core with a ton shit of custom change but I haven't touched this part, I did nothing more than you to activate some combo r/c and it's work. (In fact there is some additional change for the spells etc but you shouldn't have the core error at this point, try with your own compiled core.)

This confirms my fear that there's something in my repack that i didnt want. I'm going to compile my own now.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

aerizanthar

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #7 on: May 07, 2016, 02:50:35 pm »
SO as it turns out I apparently can't compile a server. My PC complains about it every time I try, errors out when going thru compiling the code built by cmake, but i have no problems up to that point... Really annoying since i'm very nubbish at this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore re
« Reply #8 on: May 08, 2016, 01:27:10 pm »
Usually, I'd refer to TC forum for that kind of support.
However, what is the error cmake prints ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

modnerv

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore repack
« Reply #9 on: November 08, 2018, 09:12:16 pm »
Hi,

With my DBC editor (taliis) I can't open some DBC such as CharBaseInfo or CharStartOutfit because "Could not load file. error : byte packed DBC file not supported" it seems that I can't work with this DBC editor so? Because I can open some others, do you have a clue of what I have to do?

modnerv

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 9
    • View Profile
Re: Enabling nonstandard class/race combos in trinitycore repack
« Reply #10 on: December 09, 2018, 07:43:44 pm »
Hi,
Under the last version of TC right now, I tried to edit the CharBaseInfo.dbc and edited playercreateinfo & player_statlevel but I still can't choose what I want (undead paladin or gnome priest)
Do someone know if I failed a part?