Jump to content
  • 0

[help] java error


Question

Posted

hi there!

I'm tying to apply a java script in my l2jserver/epilogue server but i get an error!

What should i do to fix the error and make it work?

 

The java script:

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.[color=red]ABNORMAL_EFFECT_HOLD_1[/color]);
+        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.[color=red]ABNORMAL_EFFECT_HOLD_1[/color]);
+        sendMessage("You are unparalized.");

         return true;

 

The "ABNORMAL_EFFECT_HOLD_1" is the error!

 

please help!

2 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.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   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...