Jump to content

Recommended Posts

Posted

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)
    {
+    	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;

I hope that I helped a little :)

 

yes fix stuck sa ! But new bug From IT ! StuckSubs ....

  • 2 weeks later...
Posted

u realize how stupid this code is? and that with phx(even with out) u can still do the subclass bug... right? xD

 

pff did you ever tested ?! when you try the multisub you get message you can do nothing while you are paralized or something like that...

and when you are paralized you cant use your weapons witch stats are stucking...

please just test and then judge me...

Posted

Its not retail like so its stupid to me.. And client packet often overlap (with phx) and they have no synchronization so this lil fix of yours is basically stupid.

1rst Idiotic thing you did (and the funnyest) = L2PcInstance player = getClient().getActiveChar(); -  You invoke getActiveChar() method from the players client (so ur invoking pcinstance inside pc instance? HA!) when you could simply use the default class methods..(or in ur case the invoker "this." since u cant do anything with out eclipse xD).

Secondly theres not even a try surrounding.. so ur player could just get 2 times paralyzed get two classes (the mutiskill bug) and then restart xD

 

Epilogue has fixed this problem retail like with a ReentrantLock. So.. do i need to continue?

Posted

Its not retail like so its stupid to me.. And client packet often overlap (with phx) and they have no synchronization so this lil fix of yours is basically stupid.

1rst Idiotic thing you did (and the funnyest) = L2PcInstance player = getClient().getActiveChar(); -  You invoke getActiveChar() method from the players client (so ur invoking pcinstance inside pc instance? HA!) when you could simply use the default class methods..(or in ur case the invoker "this." since u cant do anything with out eclipse xD).

Secondly theres not even a try surrounding.. so ur player could just get 2 times paralyzed get two classes (the mutiskill bug) and then restart xD

 

Epilogue has fixed this problem retail like with a ReentrantLock. So.. do i need to continue?

 

damn you are right ...

I removed the l2pcinstance ... and the epilogue fix couse in there realy is fixed...

and yes its not retail but its useful for interlude...

  • 1 month later...
  • 4 weeks later...
Posted

It is for epilogue i think..

Furthermore i tried the exact code for Gracia Final T2.3 latest revision but i failed...The error was for this:

(L2Character.ABNORMAL_EFFECT_HOLD_1)
 

It said that it could not recognize it...:o

SO i tried to change it a little for Gracia Final project..

(i don't know how to make a .diff file i am newbie with eclipse...sorry for that...  :'( )

 

 

||For Gracia Final T2.3|| ''NOT TESTED YET''

 

Go in L2PcInstance.java (...\java\net\sf\l2j\gameserver\model\actor\instance\L2PcInstance.java)

Find this line

import net.sf.l2j.gameserver.skills.l2skills.L2SkillSiegeFlag;

 

and after that insert this one

import net.sf.l2j.gameserver.skills.AbnormalEffect;

 

then find

       	if (getSubClasses().containsKey(classIndex))
       		return false;

 

and after that put this

       		startAbnormalEffect(AbnormalEffect.HOLD_1);
       		setIsParalyzed(true);
       		sendMessage("You are paralyzed until your subclass loads.");

 

next find

           if (Config.DEBUG)
               _log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");

 

and after that put

           			stopAbnormalEffect(AbnormalEffect.HOLD_1);
			setIsParalyzed(false);
			sendMessage("You are unparalized.");

 

And that would be all....I would be glad if someone could test it and post the results cause i am on vacation right now...   :(

If this altered version works i would be overjoyed because this is the first time i tried to do something and write it in java.... :-[  ;D

 

 

EDIT:

Well i tried testing it but.....when i changed sub two things happends; firstly it changed so fast that there is no way to see the effect and secondly when the sub is finished a new html box apears saying "Your sub is finished.Press ALT + T to check it. bla bla bla" so i can't make the bug easily furthermore to check if ti working.....

  • 1 month later...
  • 2 months later...
Posted

Guys Problem :/

 

[javac] symbol  : variable ABNORMAL_EFFECT_HOLD_1

    [javac] location: class com.l2jserver.gameserver.model.actor.L2Character

    [javac] stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);

    [javac]                               ^

    [javac] 2 errors

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
Reply to this topic...

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




  • Posts

    • the only thing you know how to do is to change drawings inside a lineage2 client and you decide to talk about the IQ of others? hahahaha
    • Web: https://cheatcenter.net/ Counter Strike 2 Nixware Hack With the Nixware cheat, you have powerful software in your hands for exciting battles in Counter-Strike 2! The perfect set of features for Rage and Semi-Rage games will provide you with confidence on the battlefield. Use antiaim to avoid being hit. Customize the world for yourself by adjusting the colors and the sky. Shoot through the walls and use other unique opportunities to defeat your rivals and become the leader of the team! Product Description LEGITBOT FOV Hitboxes Head Neck Chest Stomach Pelvis Smooth Shot delay Kill delay Lock target Lock mouse Draw FOV Disable when Smoke Flash Jump RAGEBOT Aimbot FOV changer Hitscan Head Neck Chest Stomach Pelvis HeadBody point scale Minimal damage Hitchance Force shoot PSilent Antiaim Autoscope Autostop (between shots) Bunnyhop Auto strafer with smooth adjustment Accurate walk ESP Box Glow Skeleton Footsteps Name Weapon name Health Health bar Ammo Chams Ragdoll chams Offscreen ESP Box Minimal and maximum radius customization Minimal and maximum size customization WORLD Bomb esp Timer Damage Name Weapons Icon Name Glow Grenades Color Trajectory Timer Grenade proximity warning SKINS Gloves Seed Paint kit Wear Knifes Seed Paint kit Wear Weapons Seed Paint kit Wear MISC View Model Editor View Model Chams Hand chams Glove chams Sleeve chams Weapon chams Auto Accept Show player money Spectator list World modulation (world, clouds, sky, sun) Spread circle TaserKnife range Hit markerHit effect Aspect ratio Third person REMOVALS Flash Smoke Visual recoil Scope borders Zoom Sniper crosshair check Team intro First person legs Model occlusion Shadows Fog Decals Particles Water effect Lightning  
    • Web: https://cheatcenter.net/ Counter Strike 2 Xone Hack Looking for a legit cheat for Counter-Strike 2? Xone is your perfect choice! Our product provides unsurpassed features that allow you to play legit and at the same time have an advantage over other players. Discover a new level of gaming efficiency with Xone! Product Description AIM Draw fov Draw target Only enemy Only visible Status Smooth Fov Hitbox Compensation Standalone Target switch Trigger Use aimbot Sticky mode Recoil compensation Delay Custom setting for all VISUAL Enable Box Skeleton Head Loot Health Weapon Name Defuser Bomb Visible check MISK Radar Only enemy Color Enemy/Team Scale Size Keybind Spectator list Bomb info  
    • Web: https://cheatcenter.net/ Apex Legends Phoenix Macro We are excited to introduce our new development, Phoenix private macros for Apex Legends. Recently, it has become harder to develop stable and undetectable cheats for Apex, so we decided to add a safer option to our range. Our macros offer a revolutionary solution in the world of Apex scripts and macros. Everything is launched and configured through a convenient menu and works with all weapons and computer mouse models. So, our program is very user-friendly. Phoenix Macros provide you with an advantage in the game while minimizing the risk of your account being banned. In addition, we offer our program at a very affordable price. If you don't want to risk using cheats, then Phoenix Macro is perfect for you! Product Description Weapon recoil control (Apex Macros) Enable - You can enable/disable the macro during the game Weapon - the choice of weapons with which the macro will work Works with all weapons in the game Scopes - works with all scopes in the game Attachments - works with all weapon mods in the game Control X / Y - adjustment of vertical and horizontal recoil Auto-detection of weapons in your arms Auto-detection of weapon modules Hipfire - macro works when you shoot from the hip (not aiming) Legit Mode - is a safer way to control recoil List of supported weapons (Script / Macros for All Weapons) R99 R301 Alternator RE45 Flatline Spitfire C.A.R. Hemlock Rampage Devotion Volt P2020 SCOUT G7 Havoc PDW L-Star w30-30 Nemesis List of supported modules for guns Double Tap Trigger Turbocharger 2x HCOG "Bruiser" 1x-2x Variable Holo 3x HCOG "Ranger" 2x-4x Variable AOG Barrel Stabilizer Laser Sight Add. Script Features (Phoenix Macro) Binds - bind keys to select the desired weapon Autodetection - automatic detection of weapons in hands when holding a key Selector Circle - a convenient window for selecting weapons (in the form of a circle / wheel) Anti OBS - hide the script window and menu on screenshots and when recording via OBS Languages - English, French, German, Italian, Polish, Portuguese (Brazilian), Russian, Spanish and Turkish Use Controller - phoenix macro for apex works with gamepads
  • Topics

×
×
  • Create New...