Hello all.... I'm sorry that my first post can not be a tutorial or something
.
But I'm sure if I figure this out I will be writing a full fledged tutorial.
Anyways, I have been working on making a custom class. I have most spells done, and I am trying to make a new talent system.
I started to put in some of the improved abilities and stuff into the first tree, but when I put the first point into the talent tree and try to learn it, it crashes.
To test to see if it was the abilities I made I put the hunter spec into the first tree on my new class.
and it still crashed. so my best guess is that its something within the core, because I did all the dbc work in talent.dbc and have double, and triple checked
all the dbcs and its not coming from there. I edited player.h like this
Code:
static const uint32 TalentTreesPerClass[DRUID + 3][3] =
{
{ 401, 402, 403 }, // BATTLEMAGE
{ 161, 163, 164 }, // WARRIOR
{ 382, 383, 381 }, // PALADIN
{ 361, 363, 362 }, // HUNTER
{ 182, 181, 183 }, // ROGUE
{ 201, 202, 203 }, // PRIEST
{ 398, 399, 400 }, // DEATH KNIGHT
{ 261, 263, 262 }, // SHAMAN
{ 81, 41, 61 }, // MAGE
{ 302, 303, 301 }, // WARLOCK
{ 404, 405, 406 }, // GEOMANCER
{ 283, 281, 282 }, // DRUID
};
and I also tried adding the new specs instead of replacing the blank ones, and it had the same result.
my best guess at this point is that I have to add more files in
arcemu\src\scripts\src\SpellHandlers for my classes
because I already did the spellproc / spell / and battlemage.cpp / .h, and same for geomancer.
I also added it to the StdAfx and the cmake.
Im sorry for the long description. but I felt it was necessary to explain my problem in detail.