Jump to content

[Share]Target bug Exploit fix


Fanky

Recommended Posts

Well i think all peoples know about the target bug with /unstuck and then you restart and when you log in again none can targets you.

well i dont know if its share already,if yes delete it or junk it.

I know its kinda simple but okey,i think its usefull!

### Eclipse Workspace Patch 1.0
#P L2J
Index: Trunk/IT_Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestRestart.java
===================================================================
--- Trunk/IT_Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestRestart.java	(revision 0)
+++ Trunk/IT_Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestRestart.java	(working copy)
@@ -64,6 +64,14 @@
            return;
        }

+        if (player.isCastingNow()) 
+                             { 
+         	                             player.abortCast(); 
+                                           player.sendPacket(new ActionFailed()); 
+                                           player.sendMessage("You cant restart right now!"); 
+         		                     return;               
+                          } 
+        
        if (player.isInOlympiadMode() || Olympiad.getInstance().isRegistered(player))
        {
            player.sendMessage("You cant logout in olympiad mode");

 

Link to comment
Share on other sites

this bug has been fixed for quite a while now and i think there plently of shares

Well i try to find on forum and i didnt,and by the way if is already share someone lock it,

its just 5 lines code , nothing special...

btw

Link to comment
Share on other sites

Yes,btw your msn is stalker_wootoofoo@Hotmail.com?

Yes it is

Gj Fanky i will try it right now, really i want to see xd.

Thanks you.
Link to comment
Share on other sites

  • 6 months later...

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.



×
×
  • Create New...