Issue information

Issue ID
#6907
Status
Needs more Info
Severity
None
Started
Hercules Elf Bot
Nov 15, 2012 18:07
Last Post
Hercules Elf Bot
Nov 15, 2012 18:30
Confirmation
Yes (0)
No (1)

Hercules Elf Bot - Nov 15, 2012 18:07

Originally posted by [b]Keops[/b]
Many chars of my server had this problem. When they logs out, their skills dissapear, and skill points became 0. So, the char stays with no skills and 0 skill points... I need to calculate all the jobs and give the points directly from the mysql...

Hercules Elf Bot - Nov 15, 2012 18:30

Originally posted by [b]Cookie[/b]
Which skills disappear? I know there's an issue where [i]some[/i] permanent skills aren't re-applied upon re-login due to the checking of the skill tree and erasing of IDs prior to re-application of the skill tree.

[b]pc_calc_skilltree function:[/b]
[code]
for( i = 0; i < MAX_SKILL; i++ )
{
if( sd->status.skill[i].flag != SKILL_FLAG_PLAGIARIZED ) //Don't touch plagiarized skills
sd->status.skill[i].id = 0; //First clear skills.
}
[/code]

[bug=5018] is the bug report.

This post has been edited by Cookie on Nov 15, 2012 18:32