Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Chikittin on October 31, 2014, 05:12:03 pm

Title: Problem with Custom races(HELP PLEASE)
Post by: Chikittin on October 31, 2014, 05:12:03 pm
Hi everyone, I created two new custom races but when I create a character happens this:
[attachment=0:3fyz4qp1]WoWScrnShot_103114_153746.jpg[/attachment:3fyz4qp1]
"Error creating the character"
I changed PlayerCreateInfo, PLayerCreateInfo_action, PlayerCreateInfo_spell and Player_levelstats.
What is the problem? I already activate the Race:
[attachment=1:3fyz4qp1]1.PNG[/attachment:3fyz4qp1]
[attachment=2:3fyz4qp1]2.PNG[/attachment:3fyz4qp1]
[attachment=3:3fyz4qp1]3.PNG[/attachment:3fyz4qp1]
Errors:
Wrong race 16 in `playercreateinfo` table, ignoring.
Wrong race 17 in `playercreateinfo` table, ignoring.
[attachment=4:3fyz4qp1]4.PNG[/attachment:3fyz4qp1]

Any suggestions?
It seems that the race is not on, does not recognize the ID 16 and 17 but did not know what else I can change
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: coronelo on November 10, 2014, 07:47:32 pm
I might miss you change your sql server.

-palyercreateinfo
-player_levelstats
-player_classlevelstats
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: phantomx on November 10, 2014, 08:44:42 pm
You didn't set your ShardDefines.h correctly.

http://pastebin.com/hnLxd8dD
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: Chikittin on November 16, 2014, 04:40:01 am
Happens the same. I´ve copied your ShardDefines.h

Wrong race 16 in `playercreateinfo` table, ignoring.
Wrong race 17 in `playercreateinfo` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Wrong race 17 in `player_levelstats` table, ignoring.
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: Amaroth on November 16, 2014, 10:52:53 am
Is that shitstorm of errors the only one you are getting? Or is something another related to this problem before it?
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: phantomx on November 16, 2014, 11:14:29 am
Alright since I've done this for my server some ways back I'll share my SQL script with you to enable all but deathknights for race 17.

http://pastebin.com/AJW9aTT5

If this doesn't fix it then you messed something up in the dbc files.
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: Chikittin on November 20, 2014, 09:01:12 pm
Only these problems about wrong races.
In my ChrRaces.dbc 16 and 17 correspond yo Vrykul and Tuskarr. They are already activated
I´ve change the SQL but the problem is "Wrong Race", below he show me all the problems about de Sql: Player_lvlstats... Etc
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: Amaroth on November 20, 2014, 10:26:09 pm
Did you set base stats in player_levelstats for character level 1? YOu wrote you changed that DB table, but if you don't have stats for level 1, server will crash on startup, even if stats for some higher level are set. Well, I actually have no other ideas. I never did this.
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: Chikittin on November 20, 2014, 10:34:42 pm
Yes...
Player_createinfo:
[attachment=1:1mbjne6i]2.PNG[/attachment:1mbjne6i]
Player_lvlstats:
[attachment=0:1mbjne6i]1.PNG[/attachment:1mbjne6i]
Title: Re: Problem with Custom races(HELP PLEASE)
Post by: phantomx on November 20, 2014, 10:37:23 pm
Like I said in one of my posts if the SQL script didn't work it's very likely a DBC problem both server and client side.