[Help] change sub bug fix
Posted: Wed Feb 10, 2010 12:11 am
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:3216
L2JDP Revision Number:6306
Is there any script for gracia that freezes the player for 10 secs when he changes sub, to avoid the bug with SA?
Edit: I found this
But this is for interlude can someone convert it to gracia? I know i should change net/sf/l2j to com/l2jserver/ but i think it needs more.
» Find Revision
L2J Revision Number:3216
L2JDP Revision Number:6306
Is there any script for gracia that freezes the player for 10 secs when he changes sub, to avoid the bug with SA?
Edit: I found this
Code: Select all
Index: /Server/IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java===================================================================--- /Server/IL_GS/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 345)+++ /Server/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) {+ L2PcInstance player = getClient().getActiveChar();+ if (getTotalSubClasses() == 3 || classIndex == 0) return false;@@ -8430,4 +8432,8 @@ if (getSubClasses().containsKey(classIndex)) return false;+ + player.startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);+ player.setIsParalyzed(true);+ player.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.");+ + player.setIsParalyzed(false);+ player.stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);+ player.sendMessage("You are unparalized."); return true;