Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: elireth on June 29, 2013, 05:04:11 pm

Title: Problem with adding custom races in Trinity
Post by: elireth on June 29, 2013, 05:04:11 pm
I've done everything you need to take active race, and all is right in that sense, but for some reason will not let me create it, I have the idea that the problem is in SharedDefines.h so I'll leave it here and hope someone can help.

Player::Create: Possible hacking-attempt: Account 1 tried creating a character named 'gix' with an invalid race/class pair (9/1) - refusing to do so.

(I try to activate the goblin race)

(Sorry for my bad english)
Title: Re: Problem with adding custom races in Trinity
Post by: XxXGenesisXxX on June 30, 2013, 07:31:52 am
It's because your database isn't set up correctly. It's trying to create a character that doesn't have any starting stats or starting location. Check the player_create_info tables (or whatever they are called).
Title: Re: Problem with adding custom races in Trinity
Post by: MR. Farrare on July 04, 2013, 08:17:25 am
ye the man is right maybe the sql database is the problem i have a patch that show worgen pandaren goblin fel orc ..... but when i try to create a character it say error if your problem is the same as mine then i thing its the sql
Title: Re: Problem with adding custom races in Trinity
Post by: elireth on July 05, 2013, 12:58:46 pm
Quote from: "raeef"
ye the man is right maybe the sql database is the problem i have a patch that show worgen pandaren goblin fel orc ..... but when i try to create a character it say error if your problem is the same as mine then i thing its the sql

Yes, closely I realized that it is the DB, the new architecture in TrinityCore database is what makes having these errors.

Thanks for the reply, I will seek some solution and fails over here
Title: Re: Problem with adding custom races in Trinity
Post by: Ascathos on July 06, 2013, 10:41:06 am
Quote from: "elireth"
Quote from: "raeef"
ye the man is right maybe the sql database is the problem i have a patch that show worgen pandaren goblin fel orc ..... but when i try to create a character it say error if your problem is the same as mine then i thing its the sql

Yes, closely I realized that it is the DB, the new architecture in TrinityCore database is what makes having these errors.

Thanks for the reply, I will seek some solution and fails over here
The TC database itself works. I successfully ported my own to the new structure. It's a bit more restricting, but it works once you figure out how things are supposed to be.
Title: Re: Problem with adding custom races in Trinity
Post by: elireth on July 06, 2013, 08:40:11 pm
Yes, finally achieved, doing some things manually could be done effectively.

At this time I have a problem with a custom skill, because the idea is to change the display ID (I'm using the skill shadow form) but when the player uses a skill itself loses shape change, I have no idea how to change that.

I suppose I should put this in another post, right?

Anyway, thanks for the help guys.
Title: Re: Problem with adding custom races in Trinity
Post by: XxXGenesisXxX on July 10, 2013, 10:53:59 pm
Firstly, just a note for future references, in a community like this based on technical terms, the term Skill and Spell hold very different and specific meanings and you meant Spell. :p It's important to make sure you use the right ones.

But anyway, the problem is, the character you created is a certain race, that race has a default DisplayID in the dbc files. When you create a character it grabs the race info from the dbc, but it changes the DisplayID to what was put in the database. However the default DisplayID in the dbc file remains the same. When you use the database method it is effectively giving it a mask over the top of your models DisplayID.

When Shadow Form is cast or cancelled, rather than it returning you to your previous DisplayID, it gets and sets you to your races default DisplayID (set in the dbc), not the pretend one given in the database.