Jump to content

[Exploit] Certification Exploit


Recommended Posts

Alright, it seems that this exploit works on Freya servers. I got a little fix here for it for whoever is interested:

 

Credits go to Nik and everyone at L2J.

 

 

### Eclipse Workspace Patch 1.0
#P L2J_Server
Index: java/com/l2jserver/gameserver/network/clientpackets/RequestAcquireSkill.java
===================================================================
--- java/com/l2jserver/gameserver/network/clientpackets/RequestAcquireSkill.java    (revision 4549)
+++ java/com/l2jserver/gameserver/network/clientpackets/RequestAcquireSkill.java    (working copy)
@@ -94,7 +94,10 @@
        if (!Config.ALT_GAME_SKILL_LEARN)
            player.setSkillLearningClassId(player.getClassId());
        
-       if (player.getSkillLevel(_id) >= _level && _skillType != 3)
+       // If current skill lvl + 1 is not equal to the skill lvl you wanna learn (eg: You have Aggression lvl 3 and the packet sends info that
+       // you want to learn Aggression lvl 5, thus skipping lvl 4.) or the packet sends the same level or lower (eg: Aggression lvl 3 and the
+       // packet sends info that you want to learn Aggression level 3).
+       if (Math.max(player.getSkillLevel(_id), 0) + 1 != _level && _skillType != 3)
        {
            // already knows the skill with this level
            return;

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...