# Check players for non-allowed skills
# Default: False
SkillCheckEnable = True
# If true, remove invalid skills from player and database.
# Report only, if false.
# Default: False
SkillCheckRemove = True
# Check also GM characters (only if SkillCheckEnable = True)
# Default: True
SkillCheckGM = True
problem is that I installed the AIO mod / / setaio there when the player enters the server log out and he loses the skills anyone have any idea how I change it to this mod does not delete the skills of the player aio
L2PcInstance.java
if (Config.SKILL_CHECK_ENABLE && (!canOverrideCond(PcCondOverride.SKILL_CONDITIONS) || Config.SKILL_CHECK_GM))
{
if (!SkillTreesData.getInstance().isSkillAllowed(this, skill))
{
Util.handleIllegalPlayerAction(this, "Player " + getName() + " has invalid skill " + skill.getName() + " (" + skill.getId() + "/" + skill.getLevel() + "), class:" + ClassListData.getInstance().getClass(getClassId()).getClassName(), 1);
if (Config.SKILL_CHECK_REMOVE)
{
removeSkill(skill);
}
}
}
}
rset.close();
}
catch (Exception e)
{
_log.log(Level.WARNING, "Could not restore character " + this + " skills: " + e.getMessage(), e);
}
}
Question
nery
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.