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!