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: [TrinityCore 3.3.5a] Error creating a custom race character.  (Read 5592 times)

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
So, I've experienced a problem. I've created 2 new custom races for my private server: Fel Orc and Broken. I go to character creation screen and then I'm trying to create for example a Fel Orc Warrior. So I did all stuff like change skin color and put a name, but when I click accept, it says "Error creating a character". Same with Broken or/and other classes, doesn't happen with blizzard already implemented races. Help would be appreciated.          http://prntscr.com/brmjx1
« Last Edit: July 14, 2016, 07:35:51 pm by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #1 on: July 12, 2016, 11:15:40 am »
Its very likely that you have forgotten to add something on server side. First of all, check server.log. There might be some kind of hint there (and in such cases usually is). Also check your database, especially world database, tables playercreateinfo and player_levelstats (and other playersomething tables in general as well, but these are the most important). Haven't you forgotten to add data for new races there? And btw, position for creating character in playercreateinfo must NOT be in any kind of instance, otherwise you will get this error as well. And ofc, have you updated DBCs on server side? I guess you did, but just make double sure.
« 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

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #2 on: July 12, 2016, 12:17:08 pm »
When I open Worldserver.exe, after some time it says "Wrong race 12 in 'player_levelstats" AND not one time but many times like 20, but the Worldserver.exe doesn't force close though. Anyway to fix this? And yes, I defined the  races in SharedDefines.h, and updated the DBC server-side and client-side but that error still appears. Anyway to fix this? The first error happens aswell.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #3 on: July 13, 2016, 08:30:49 am »
And those database tables I've mentioned? They are essential. Btw, which DBCs have you edited. "I've done DBCs correctly!". Well, good for you, but if you haven't, noone has now any means by which he would judge if you actually did everything correctly. Provide also list of DBCs you have edited and in general, what you have done. Server encountered error while trying to make this race playable and that can be caused by huge variety of reasons.
« 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

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #4 on: July 13, 2016, 10:30:48 am »
Ok, all DBCs/XML/Lua files that I've updated:
CharacterCreate.LUA
CharacterCreate.XML
CharBaseInfo.DBC
CharStartOutfit.DBC
ChrRaces.DBC
Faction.DBC
GlueParent.LUA
GlueStrings.LUA
SkillLineAbility.DBC
SkillRaceClassInfo.DBC

And yes, I've checked Player_LevelStats and PlayerCreateInfo databases, PlayerCreateInfo is good, but not sure about Player_LevelStats. Can you help me through a teamviewer? I've been following this tutorial on how to make custom races: http://emudevs.com/showthread.php/121-H ... stom-Races!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #5 on: July 13, 2016, 04:56:49 pm »
There's nothing difficult about player_levelstats. You just need to enter base stats there for each class of race you are adding. You don't need to fill all 80 levels, but you must enter stats for level 1. TC will use lower level's base stats for each character level which doesn't have base stats set here, but that, obviously, can't work for level 1. You can add higher level base stats later, when you get this to work.
« 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

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #6 on: July 13, 2016, 08:31:43 pm »
I already put the base stats for Race Broken (id 14) and Race Fel Orc (id 12) in player_levelstats database, even put them to level 80 and for other classes aswell, not just Warrior, but I'm still getting that error, I'm not sure what I did wrong. Here's 2 screenshots showing that I've put the base stats in that database http://prntscr.com/bshyuc, http://prntscr.com/bsi2eo.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #7 on: July 14, 2016, 10:17:24 am »
It doesn't really matter what do those stats really look like, its just needed to have at least something there. As long as you have stats for all classes of your races defined in CharBaseInfo.dbc for their level 1, it should be OK. If you have that, well, I am not sure what else could go wrong. The best would be if someone really went though your code, DB and DBCs. I am not really the most suitable person for that, because while I know how stuff like this generally works, I've never really added new custom race and also can't code in core or C++ whatsoever. I just know most of things which can go wrong whenever one touches classes and races in general (even those existing ones).
« 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

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #8 on: July 14, 2016, 07:13:47 pm »
Well, I've went to CharBaseInfo.dbc, there was two exact same rows, I deleted one row and kept one. So, I've opened WoW and then it just says the same error when I try to create a character. (Yes, I've did replaced the edited CharBaseInfo.dbc server-side and client-side aswell). Do you maybe have some friends that can help me then?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [TrinityCore 3.3.5a] How do I fix this error?
« Reply #9 on: July 14, 2016, 07:32:02 pm »
I don't have any real "friends" who did this already before, but there are plenty of guys around who should know a thing or two about adding new races to WoW. I'm quite surprised noone wrote here yet. Maybe rename topic, "How do I fix this error" isn't really descriptive. Something like "[TC 3.3.5a] Error creating custom race character" would be better.
« 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

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] Error creating a custom race charac
« Reply #10 on: July 14, 2016, 08:40:45 pm »
Well, thanks anyways, have a nice day.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [TrinityCore 3.3.5a] Error creating a custom race charac
« Reply #11 on: July 14, 2016, 09:14:56 pm »
worldserver most likly has an error output for an unknown class race combination that is flagged as cheating. Make sure to add the combination into any relevant player_ table. Also, check for the error. If you checked every player_ table in world and do not know what to do with the error, post here.

Consider changing worldserverconfig logging to debug.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] Error creating a custom race charac
« Reply #12 on: July 15, 2016, 09:09:39 am »
I already checked all playercreateinfo tables and they were fine. How do I change the worldserver.conf into debug mode?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [TrinityCore 3.3.5a] Error creating a custom race charac
« Reply #13 on: July 15, 2016, 08:56:18 pm »
Should actually display an error on default. Press create and check worldserver. Is there a printout ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kestus0756

  • Registred Member
  • Race Changer
  • *****
  • Posts: 26
    • View Profile
Re: [TrinityCore 3.3.5a] Error creating a custom race charac
« Reply #14 on: July 17, 2016, 01:31:42 pm »
Where is that "create" button?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »