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: Class button grayed out  (Read 1854 times)

Ohai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 172
    • View Profile
Class button grayed out
« on: November 28, 2016, 04:51:29 am »
I think I've set up everything right on my 4.3.4 to enable a custom class, I've put UD paladin overwrote UD warrior at places and UD warrior creation gives an error(was counting on that) but the paladin class button is still grayed out. Do I have to enable that button somewhere else?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Class button grayed out
« Reply #1 on: November 28, 2016, 10:35:14 am »
The only one thing on WotLK required to enable new race/class combination on !client! side is adding a new row into CharBaseInfo.dbc. I wouldn't expect it to be too different on Cata.
« 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

Ohai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 172
    • View Profile
Re: Class button grayed out
« Reply #2 on: November 28, 2016, 10:51:11 am »
Quote from: "Amaroth"
The only one thing on WotLK required to enable new race/class combination on !client! side is adding a new row into CharBaseInfo.dbc. I wouldn't expect it to be too different on Cata.

Hey, but I didn't add a new row in charbaseinfo, just overwrite the 0501 part with 0502 in 010editor, what kind of row u mean was it with the new class/race info or just blank? And CharBaseInfo.dbc in 4.3.4 can only be edited with 010, 335 had a normal DBC right?

I think wow.exe might be blocking it, I checked in 010 it has 'race_class_only allowed' inside, is there any tool that reads the whole exe script?

And I'm doing this on some half ass ancient cata repack mashed with some extra quest SQLs I downloaded ages ago, does it matter if its a repack not compiled by me, I mean I've put the DBCs in a patch(Data) and in release/bin../dbc changed all SQLs, dunno
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: Class button grayed out
« Reply #3 on: November 28, 2016, 01:01:29 pm »
Auuuuhm. First of all, CharBaseInfo.:
https://wowdev.wiki/DB/CharBaseInfo
Simply allows which combinations of races and classes are allowed. Which means that you simply do want to add a new row there - with UD race ID (don't remember which one is that now) and class ID 2.

And about editor... MyDBCEditor can't open that DBC, but for example Taliis can. And while I absolutely hate Taliis and discourage everyone from ever using it for anything, this is probably the only exception I use Taliis for. And I'd be surprised if for example this new DBC editor:
viewtopic.php?f=59&t=10692
wasn't able to open and edit that DBC.
« 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

Ohai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 172
    • View Profile
Re: Class button grayed out
« Reply #4 on: November 28, 2016, 02:14:13 pm »
Quote from: "Amaroth"
Auuuuhm. First of all, CharBaseInfo.:
https://wowdev.wiki/DB/CharBaseInfo
Simply allows which combinations of races and classes are allowed. Which means that you simply do want to add a new row there - with UD race ID (don't remember which one is that now) and class ID 2.

And about editor... MyDBCEditor can't open that DBC, but for example Taliis can. And while I absolutely hate Taliis and discourage everyone from ever using it for anything, this is probably the only exception I use Taliis for. And I'd be surprised if for example this new DBC editor:
viewtopic.php?f=59&t=10692
wasn't able to open and edit that DBC.

Simply no, you obviously haven't ever opened that cata file you would see theres no simply anything there anywhere lol
They can both open it Taliis and WDBX but both show different values and columns :?:
Thats why I said only 010 is viable(supposedly) and I dont have to add a row neither would I know where to add it there. Just switching 05 01(ud warr) to 05 02(UDpal) is handier with such a mess of a file, but.. nvm seems its not working even like that.
Dunno maybe I'll investigate this further later but considering it came out long time ago and no one still hasn't cracked any custom race-class anything post WOTLK I might just give this a rest till I find more time.

EDIT. but I'm still suspicious of the exe, the exe was blocking everything custom on 4.3.4 I'm thinking this might also be affected, someone hack the shit out of that exe please just make it start the fcking game. and slap it, then kick it down the stairs !!1
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Class button grayed out
« Reply #5 on: November 28, 2016, 09:33:07 pm »
Avoid using Tallis for the most part.

I tend to edit CharBaseInfo with an hex editor like 010 editor.
Each byte should contain one combination.
RRCCRRCC - example, 01010102 would be race 1 with class 1, race 1 with class 2 (-> Human warrior, human paladin) in 16 bytes.

There is a documentation on the bottom that I wrote.

== Editing CharBaseInfo.dbc ==
It should still be valid. If not, please provide a screenshot of the hex. I do not have a cata client around.



EDIT:
Ah, thanks schlumpf for actually correcting the technical stuff.  :D It was not entirely correct, even if the "idea behind it" was right.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ohai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 172
    • View Profile
Re: Class button grayed out
« Reply #6 on: November 28, 2016, 10:56:52 pm »
Hey Ascathos Cage, I dont think the problem is in the CharBaseInfo.dbc  I've changed the values there, but here take a look, my edited ss https://gyazo.com/b99f03a6d9a79378764165ab36c30a11 but this old Rangorns SS is actually better http://puu.sh/f0jP5/7b310d4a01.jpg

I think this is ok, I mean pretty clear its races and classes there but something else is blocking it. Damn makes me want to compile a new Cata now just to check. I'm guessing I would have to recompile it because its behaving almost exactly like it did before all these changes except for the UD warrior creation error. I deleted UD warr's starting outfit playercreate actions but its still showing the outfit and the warrior intro attack spell so its reading it from somewhere.

EDIT actually just found I patched it with wrong start outfit info, gonna check that *fingers crossed
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ohai

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 172
    • View Profile
Re: Class button grayed out
« Reply #7 on: November 28, 2016, 11:44:25 pm »
WORKING http://media0.giphy.com/media/Qh5dZDCFqr1dK/giphy.gif

Nerds and gentlenerds, I'm proud to present the first ever post Wotlk race class hack combo (thats my rl name btw) https://gyazo.com/89ef8ce51dccdaf2c7a195c7360fadf3

so epic, fail repack doesnt have agatha removing rigor mortis so he just lieing there with agatha flapping her wings lol, but this is awsome, I really love myself and I would like to thank myself for this.. unbelivable :'/
« Last Edit: January 01, 1970, 01:00:00 am by Admin »