Hello guys, There is a bug in my server,which allows players to have multiple classes skills. For example,Saggitarius with Paladin skills.I know it's related to PHX. I tried this fix,but it just removed every skill:
public L2Skill addSkill(L2Skill newSkill, boolean store)
{
// Add a skill to the L2PcInstance _skills and its Func objects to the calculator set of the L2PcInstance
L2Skill oldSkill = super.addSkill(newSkill);
// Add or update a L2PcInstance skill in the character_skills table of the database
if (store)
storeSkill(newSkill, oldSkill, -1);
+ if(!SkillTreeTable.getInstance().getAllAvailableSkills(this, getClassId()).contains(newSkill))
+ removeSkill(newSkill,false);
return oldSkill;
}
L2Net is an in-game (IG) bot. I already have Adrenaline for that. I'm looking for an out-of-game (OOG) bot - one that doesn’t require the Lineage 2 client to run.
I came here to say something about ave but it seems i am late already
Note for people who might see this topic.
Use custom sources of updater, do it your self, learn do it on your time and schedule.
its only a how to build it in visual studio youtube video and you're done 90%
no time? pay to a pro like nevesoma.
its easy as fuck
Hello everyone, this is ADENA L2REBORN / LU4 / MASTERWORK
We also have items, epics, etc.
discord - adver745645
Our prices are reasonable, so have a nice shopping and a nice day.
Question
StealthyS4m
Hello guys,
There is a bug in my server,which allows players to have multiple classes skills.
For example,Saggitarius with Paladin skills.I know it's related to PHX.
I tried this fix,but it just removed every skill:
public L2Skill addSkill(L2Skill newSkill, boolean store) { // Add a skill to the L2PcInstance _skills and its Func objects to the calculator set of the L2PcInstance L2Skill oldSkill = super.addSkill(newSkill); // Add or update a L2PcInstance skill in the character_skills table of the database if (store) storeSkill(newSkill, oldSkill, -1); + if(!SkillTreeTable.getInstance().getAllAvailableSkills(this, getClassId()).contains(newSkill)) + removeSkill(newSkill,false); return oldSkill; }I am using acis 320
Edited by StealthyS4m11 answers to this question
Recommended Posts