[Archive] [Trinity] Problem with new skills (forbidden race/class combination)
[Archive] [Trinity] Problem with new skills (forbidden race/class combination)
Archived author: Athris • Posted: 2016-10-11T20:50:25+00:00
Original source
Hello!
I use a Trinity Core 3.3.5a (fresh release) and i create only a single class (class id = 1 warrior). This class has every weapon skill (for example sword, bow, wand, etc.), but if i log in my core create this error message:
Player::_LoadSkills: Player '%s' (%s, Race: %u, Class: %u) has forbidden skill %u for his race/class combination
This message appears when the core load the skill 163 (Wand). Is it possible to add the skills to the class? Do you know where?
Archived author: TheMoneyHater • Posted: 2016-10-11T21:17:21+00:00
Original source
You change it inside SkillRaceClassInfo.dbc
Archived author: Athris • Posted: 2016-10-12T05:31:44+00:00
Original source
But i dont understand the dbc: https://wowdev.wiki/DB/SkillRaceClassInfo
Where i say: "This skill number 12345 is allow to race -1 and class 1"?
Archived author: Athris • Posted: 2016-10-26T05:26:10+00:00
Original source
Does anybody has an idea?
Archived author: Kaev • Posted: 2016-10-27T05:21:22+00:00
Original source
ID: New id in the DBC
SkillLine: Id of the skill line (i also like the name skill family for it) in the SkillLine.dbc
ChrRaces: -1 (Allow for every race)
ChrClasses: 1 (Allow for warrior)
Flags: Check what other weapons skill have, probably 0
RequLvl: 1 (Level requirement)
SkillTierId: Id of the skill tier in the SkillTiers.dbc
SkillCostId: Id of the skill cost in the SkillCostsData.dbc
Sadly it's not as easy as "give class X skill id Y on creation" anymore when using DBC files.
Quote: On 12. 10. 2016 at 7:31 AM, Athris said:It really is in this DBC though.:
But i dont understand the dbc: https://wowdev.wiki/DB/SkillRaceClassInfo
Where i say: "This skill number 12345 is allow to race -1 and class 1"?
Archived author: Amaroth • Posted: 2016-10-27T13:30:33+00:00
Original source
Quote: On 12. 10. 2016 at 7:31 AM, Athris said:It really is in this DBC though.:
But i dont understand the dbc: https://wowdev.wiki/DB/SkillRaceClassInfo
Where i say: "This skill number 12345 is allow to race -1 and class 1"?
Archived author: Athris • Posted: 2016-10-29T12:48:33+00:00
Original source
Okay i understand but how do you know the connection between the skill id in log and the skill id in dbc?
Trinity write in log that skill with id 163 is not possible for this race/class combination, but you look for skill id 144. How?
? Well, if you did, you likely just missed thats there's a 1st when 0-based, 2nd when 1-based field which contains (on that row 144) value 228. Thats an ID of wands skill (at least as far as I know, my Skill* DBCs are edited and translated and stuff like that a lot). Its even written here as well:Archived author: Amaroth • Posted: 2016-10-29T17:57:47+00:00
Original source
Nah, have you even opened SkillRaceClassInfor.dbc and took a look at its 144 row
? Well, if you did, you likely just missed thats there's a 1st when 0-based, 2nd when 1-based field which contains (on that row 144) value 228. Thats an ID of wands skill (at least as far as I know, my Skill* DBCs are edited and translated and stuff like that a lot). Its even written here as well:
https://wowdev.wiki/DB/SkillRaceClassInfo
1
- SkillLine -
iRefID -
Ref to SkillLine.dbc
SkillLine.dbc contains main definitions of skills, and its IDs are used to identify skills in all other DBCs, DB tables, logs... So don't confuse IDs of skills with IDs of rows in DBC which just reffers to skill IDs. Btw, if that DBC was using IDs of skills as IDs of its rows, it wouldn't be able to contain multiple rows for the same skill.