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: Problem with adding custom races in Trinity  (Read 2395 times)

elireth

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Problem with adding custom races in Trinity
« 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)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: Problem with adding custom races in Trinity
« Reply #1 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).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

MR. Farrare

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 963
    • View Profile
Re: Problem with adding custom races in Trinity
« Reply #2 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

elireth

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: Problem with adding custom races in Trinity
« Reply #3 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Problem with adding custom races in Trinity
« Reply #4 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

elireth

  • Registred Member
  • MS Paint Freak
  • *****
  • Posts: 4
    • View Profile
Re: Problem with adding custom races in Trinity
« Reply #5 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: Problem with adding custom races in Trinity
« Reply #6 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »