Hello,
i added the lycan to my files and fixxed some little bugs, now i got a bug and have no idea what to do. I searched already on google and on m2dev for a reason, but found nothing.
My problem is that i cant add skillpoints to my skills, i can set them up with /setsk 170 40... I checked already the skill_proto on database and changed the type to 7, aswell with the client.
After this still nothing.
[Hidden Content]
[Hidden Content]
Then i checked the char_skill.cpp, i found this:
int idx = POINT_SKILL;
switch (pkSk->dwType)
{
case 0:
idx = POINT_SUB_SKILL;
break;
case 1:
case 2:
case 3:
case 4:
case 5:
idx = POINT_HORSE_SKILL;
break;
case 6:
idx = POINT_SKILL;
break;
default:
sys_err("Wrong skill type %d skill vnum %d", pkSk->dwType, pkSk->dwVnum);
return false;
}
I changed this to:
int idx = POINT_SKILL;
switch (pkSk->dwType)
{
case 0:
idx = POINT_SUB_SKILL;
break;
case 1:
case 2:
case 3:
case 4:
case 5:
idx = POINT_HORSE_SKILL;
break;
case 7:
idx = POINT_SKILL;
break;
default:
sys_err("Wrong skill type %d skill vnum %d", pkSk->dwType, pkSk->dwVnum);
return false;
}
Then i recompiled my game and reboot my server.
Still the same problem, i cant add skill points. If i set them up with /setsk 150 40 i can use all of them and the attacks make dmg (without purpur, i cant use it, in chat is get this msg: [Hidden Content])
Anyone a idea what i can try?