Skip to content

[Share] Java Force Bug Fix

Featured Replies

In my previous topic Fakoykas replied and his personal text reminded me this bug because many people say that it works in L][DeathWhisper.

 

I searched around this and other forums and I didnt find this code posted so I guess I am the first one who fixes this bug since it works in EVERY L2J server.

 

Source: http://www.maxcheaters.com/forum/index.php?topic=28314.0

 

Index: C:/Workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- C:/Workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 2746)
+++ C:/Workspace/L2_GameServer_It/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (working copy)

            getCubics().clear();
        }
+        
+        // Delete a force buff upon class change.
+        if(_forceBuff != null)
+			_forceBuff.delete();

+        // Stop casting for any player that may be casting a force buff on this l2pcinstance.
+		for(L2Character character : getKnownList().getKnownCharacters())
+		{
+			if(character.getForceBuff() != null && character.getForceBuff().getTarget() == this)
+				character.abortCast();
+		}
+
        for (L2Skill oldSkill : getAllSkills())
            super.removeSkill(oldSkill);

credits?soz but thats nothing more than c/p from a lineage2 dp(means not interlude)

In my previous topic Fakoykas replied and his personal text reminded me this bug because many people say that it works in L][DeathWhisper.

It doesn't work on deathwhisper, but anyway thanks for the share.

lol. this is fixed everywhere . archid / dot / equal has it fixed ( l2jserver / l2jfree / l2emu hasnt it fixed , cause IL is not supported anymore. )

 

also u are not the one that fixed it. the code is stolen from timelines. :)

 

better post credits :)

omg need this you are pro tanks

  • 1 month later...
  • 4 months later...

Thank for share, but i think that l2jequal has this bugg fixed yet

I think with the battle/magic force  ..... its more amazing    ^^    around 1.5k p attack more and 800 to 2k m attack ^^

  • 1 month later...

yeah you are right, it works perfectly

  • 3 weeks later...

that same code you can find in l2jserver interlude files but in function onDie()

  • 2 weeks later...

i test that script some time ago and that dont work, i need make another fix but now i havent that problem

btw dont spam, text like "nice share" is useless

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.