+cs.tribal Posted October 8, 2010 Posted October 8, 2010 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! Quote
0 +cs.tribal Posted October 8, 2010 Author Posted October 8, 2010 Search in L2Character the effects ... search for what? i'm a really newbie with java... i only started today! Quote
Question
+cs.tribal
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:
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.