`Rοmeο Posted January 28, 2010 Posted January 28, 2010 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 :):) Quote
~xLunatiCx Posted January 28, 2010 Posted January 28, 2010 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 ... Quote
Kràtos Posted January 28, 2010 Posted January 28, 2010 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 ;] Quote
~xLunatiCx Posted January 28, 2010 Posted January 28, 2010 you can add it w/e you want ;] yep i m just sayin he should mention :P anyway thnx for the tip cobra and thnx for sharing skylancer :D Quote
Alexi Posted January 28, 2010 Posted January 28, 2010 Just perfect, its working... +1 Karma by me (a Mod correct me if i am wrong) Quote
RєVєnGeR^ Posted January 28, 2010 Posted January 28, 2010 Yeah this was in Eminence too, it works ^^ Quote
Coyote™ Posted January 28, 2010 Posted January 28, 2010 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? Quote
RєVєnGeR^ Posted January 28, 2010 Posted January 28, 2010 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. Quote
Alexi Posted January 28, 2010 Posted January 28, 2010 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... Quote
Jimaras22 Posted February 7, 2010 Posted February 7, 2010 How can i make it to paralize when they are changing too? Quote
Kràtos Posted February 7, 2010 Posted February 7, 2010 L2Villagemaster.java and search for the change add subclass line Quote
Coyote™ Posted February 7, 2010 Posted February 7, 2010 where is this file located? model actor instance >_> Quote
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.