Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Topic started by: salagon on August 22, 2012, 08:03:22 pm
-
Hello,
I followed the guide on here on how to make a custom class shell. However, I saw a fork in the road when in comes to core editing. I edited as much as I could in the core but it keeps giving me a character create error. Can someone tell me what files I need to edit and what I need to edit them to in my Trinity core to make the custom class be accessible. So far I edited SharedDefines.cpp and added in my custom class with the value 12 to it. What other things do I need to edit besides SharedDefines.cpp?
-
Trinity loads the most stuff from DBCs and not form a MySQL table like arcemu/ascent. So cahnge the DBCs and re upload to your server.
-
Tried it, same thing as alwasy. Error
(http://img444.imageshack.us/img444/5006/wow2012082411552804.png)
-
And? Did you cehck your server logfile?
-
You'll need to modify the database tables (I can't remember which ones exactly) in order to actually create the character.
-
I compiled my own core but my worldserver.exe wasnt working so I just took that from a trinity repack i found, would that effect it? Heres my log:
http://pastebin.com/Btem70CT (http://pastebin.com/Btem70CT" onclick="window.open(this.href);return false;)
-
database seams to be very dirty. There arr tonns of errers.
-
Did you include every changed dbc in your server files ? This sounds to me like one of the more likely reasons
-
Die you realy read the log?
player_classlevelstats is a MySQL table in world DB.
This table defines your mana and HP basd on your class.
12-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
2012-08-24 16:10:57 ERROR: Wrong class 12 in `player_classlevelstats` table, ignoring.
Seams that you need to do core changes.
-
I compiled my own core but my worldserver.exe wasnt working so I just took that from a trinity repack
Thats the answer. You need your compiled worldserver.
-
however, my biggest concern comes from the idea that when i compiled my core, it didnt spit out a worldserver and auth.exe, so how do I exactly get mine when they dont even make them in the complimation
-
Then you perhaps dont compile the full project. DOnt look at the right place or dont look at errors in log of compiler.
-
it's very simple you have to put in clas_levelstats all the levels begin 1 to 80 writing the stats of the class the same in another table
and yes you have to create a playercreateinfo, if you don't have this the class crash
-
however, my biggest concern comes from the idea that when i compiled my core, it didnt spit out a worldserver and auth.exe, so how do I exactly get mine when they dont even make them in the complimation
If you followed the guide, made the class .cpp and .h, redid cmake, ran build solution tehn ran install project and it's not spitting out the worldserver, you are clearly getting critical errors when building the core and it's not being successful.
Try recompiling and then look at the log as it's building.
Edit: Also a good trick is to use the search function. Hit CTRL-F and search for Shaman and just keep searching till it's run out of new searches. Then look through it all to see what needs to be added.