Jump to content

Recommended Posts

Posted

Hello.

I whanna share you again one simple script that is very useful !

This script will fix the SA Stuck exploit.

Index: /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 345)
+++ /Server/SkyLanceR's_IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 346)
@@ -8425,4 +8425,6 @@
    public boolean addSubClass(int classId, int classIndex)
    {
    	if (getTotalSubClasses() == 3 || classIndex == 0)
    		return false;
@@ -8430,4 +8432,8 @@
    	if (getSubClasses().containsKey(classIndex))
    		return false;
+    	
+    	startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+    	setIsParalyzed(true);
+    	sendMessage("You are paralized untill your subclass load.");

    	// Note: Never change _classIndex in any method other than setActiveClass().
@@ -8492,4 +8498,8 @@
        if (Config.DEBUG)
            _log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");
+        
+        setIsParalyzed(false);
+        stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+        sendMessage("You are unparalized.");

        return true;


I hope that I helped a little :):)

 

 

Posted

I kinda think that this paralizes the player only in "add subclass" or in "cancel current subclass bla bla" :P

not in "change sublass" part ...

 

you can add it w/e you want ;]

Posted

Quite helpful, added at the AIO but..

 

Just perfect, its working...

+1 Karma by me (a Mod correct me if i am wrong)

 

 

+1 karma for that?

 

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

    player.setIsParalyzed(true);

 

-

 

player.setIsParalyzed(false);

       player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

 

 

Well, it would be insane if we gave karma for each 3 lines restriction we added, wouldn't it?

Posted

Quite helpful, added at the AIO but..

 

+1 karma for that?

 

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

    player.setIsParalyzed(true);

 

-

 

player.setIsParalyzed(false);

       player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

 

 

Well, it would be insane if we gave karma for each 3 lines restriction we added, wouldn't it?

+1, we don't give karma for java strings.

Karma restored.

Posted

Quite helpful, added at the AIO but..

 

+1 karma for that?

 

player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

    player.setIsParalyzed(true);

 

-

 

player.setIsParalyzed(false);

        player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

 

 

Well, it would be insane if we gave karma for each 3 lines restriction we added, wouldn't it?

Yeah but i have seen a lot of "silly" karma on forum thats why i gave him a +1,it was my first "false" karma and the last, thnx for correcting it...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock