Jump to content

Recommended Posts

Posted

hallo all.. i search for this fix in forum and i don't have see this..

 

Exploit:

[English]: http://maxcheaters.com/forum/index.php?topic=2826.0

[Greek]: http://maxcheaters.com/forum/index.php?topic=176746.0

 

The Fix Code:

Index: /trunk/Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestHennaEquip.java
===================================================================
--- /trunk/Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestHennaEquip.java (revision 14)
+++ /trunk/Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestHennaEquip.java (revision 18)
@@ -19,5 +19,7 @@
package net.sf.l2j.gameserver.clientpackets;

+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.datatables.HennaTable;
+import net.sf.l2j.gameserver.datatables.HennaTreeTable;
import net.sf.l2j.gameserver.model.L2HennaInstance;
import net.sf.l2j.gameserver.model.L2ItemInstance;
@@ -27,4 +29,5 @@
import net.sf.l2j.gameserver.serverpackets.SystemMessage;
import net.sf.l2j.gameserver.templates.L2Henna;
+import net.sf.l2j.gameserver.util.Util;

/**
@@ -69,4 +72,22 @@
     	L2HennaInstance temp = new L2HennaInstance(template);
     	int _count = 0;
+    	
+		/**
+		 *  Prevents henna drawing exploit: 
+		 * 1) talk to L2SymbolMakerInstance 
+		 * 2) RequestHennaList
+		 * 3) Don't close the window and go to a GrandMaster and change your subclass
+		 * 4) Get SymbolMaker range again and press draw
+		 * You could draw any kind of henna just having the required subclass...
+		 */
+    	boolean cheater = true; 
+    	for (L2HennaInstance h : HennaTreeTable.getInstance().getAvailableHenna(activeChar.getClassId())) 
+    	{ 
+    		if (h.getSymbolId() == temp.getSymbolId())  
+    		{ 
+    			cheater = false; 
+    			break; 
+    		} 
+    	}       

		try{
@@ -75,5 +96,5 @@
		catch(Exception e){}

-		if ((_count >= temp.getAmountDyeRequire())&& (activeChar.getAdena()>= temp.getPrice()) && activeChar.addHenna(temp))
+		if (!cheater && (_count >= temp.getAmountDyeRequire())&& (activeChar.getAdena()>= temp.getPrice()) && activeChar.addHenna(temp))
		{
			SystemMessage sm = new SystemMessage(SystemMessageId.S1_DISAPPEARED);
@@ -98,4 +119,6 @@
         {
			activeChar.sendPacket(new SystemMessage(SystemMessageId.CANT_DRAW_SYMBOL));
+			if ((!activeChar.isGM()) && (cheater))
+				Util.handleIllegalPlayerAction(activeChar, "Exploit attempt: Character "+activeChar.getName()+" of account "+activeChar.getAccountName()+" tryed to add a forbidden henna.",Config.DEFAULT_PUNISH);
		}
	}

 

Credits: Fafoukas

 

Posted

hallo all.. i search for this fix in forum and i don't have see this..

 

Exploit:

[English]: http://maxcheaters.com/forum/index.php?topic=2826.0

[Greek]: http://maxcheaters.com/forum/index.php?topic=176746.0

 

The Fix Code:

Index: /trunk/Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestHennaEquip.java
===================================================================
--- /trunk/Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestHennaEquip.java (revision 14)
+++ /trunk/Gameserver/java/net/sf/l2j/gameserver/clientpackets/RequestHennaEquip.java (revision 18)
@@ -19,5 +19,7 @@
package net.sf.l2j.gameserver.clientpackets;

+import net.sf.l2j.Config;
import net.sf.l2j.gameserver.datatables.HennaTable;
+import net.sf.l2j.gameserver.datatables.HennaTreeTable;
import net.sf.l2j.gameserver.model.L2HennaInstance;
import net.sf.l2j.gameserver.model.L2ItemInstance;
@@ -27,4 +29,5 @@
import net.sf.l2j.gameserver.serverpackets.SystemMessage;
import net.sf.l2j.gameserver.templates.L2Henna;
+import net.sf.l2j.gameserver.util.Util;

/**
@@ -69,4 +72,22 @@
     	L2HennaInstance temp = new L2HennaInstance(template);
     	int _count = 0;
+    	
+		/**
+		 *  Prevents henna drawing exploit: 
+		 * 1) talk to L2SymbolMakerInstance 
+		 * 2) RequestHennaList
+		 * 3) Don't close the window and go to a GrandMaster and change your subclass
+		 * 4) Get SymbolMaker range again and press draw
+		 * You could draw any kind of henna just having the required subclass...
+		 */
+    	boolean cheater = true; 
+    	for (L2HennaInstance h : HennaTreeTable.getInstance().getAvailableHenna(activeChar.getClassId())) 
+    	{ 
+    		if (h.getSymbolId() == temp.getSymbolId())  
+    		{ 
+    			cheater = false; 
+    			break; 
+    		} 
+    	}       

		try{
@@ -75,5 +96,5 @@
		catch(Exception e){}

-		if ((_count >= temp.getAmountDyeRequire())&& (activeChar.getAdena()>= temp.getPrice()) && activeChar.addHenna(temp))
+		if (!cheater && (_count >= temp.getAmountDyeRequire())&& (activeChar.getAdena()>= temp.getPrice()) && activeChar.addHenna(temp))
		{
			SystemMessage sm = new SystemMessage(SystemMessageId.S1_DISAPPEARED);
@@ -98,4 +119,6 @@
         {
			activeChar.sendPacket(new SystemMessage(SystemMessageId.CANT_DRAW_SYMBOL));
+			if ((!activeChar.isGM()) && (cheater))
+				Util.handleIllegalPlayerAction(activeChar, "Exploit attempt: Character "+activeChar.getName()+" of account "+activeChar.getAccountName()+" tryed to add a forbidden henna.",Config.DEFAULT_PUNISH);
		}
	}

 

Credits: Fafoukas

 

Posted

this fix was on l2jarchid... i remember it wen i fix it... rofl

 

 

p.s: booter get lost ... :)

Sure..Also I remember when you C/P from L2JServer oO

Posted

this fix was on l2jarchid... i remember it wen i fix it... rofl

 

 

p.s: booter get lost ... :)

Sure..Also I remember when you C/P from L2JServer oO

Posted

Sure..Also I remember when you C/P from L2JServer oO

 

Rofl? you remember that day?

 

p.s: i dont couse i was bussy with you moma. :)

Posted

Sure..Also I remember when you C/P from L2JServer oO

 

Rofl? you remember that day?

 

p.s: i dont couse i was bussy with you moma. :)

Posted

Sure..Also I remember when you C/P from L2JServer oO

 

sure allso i remember you c/p from L2JFree oO

 

 

 

 

 

:D

 

 

Rofl? you remember that day?

 

p.s: i dont couse i was bussy with you moma. :)

shoe fetish?!?

 

http://www.zalando.de/boots-poncho-maya-mo312h003-701.html?cg=03&ch=03&wmc=AFF_7801&wt_cc1=148030

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Is there tutorial how to make this effects? Thanks in Advance  
    • https://pastebin.com/UJcX7rXH    
    • Does anyone have more information about bugs and errors in the Frozen review? Any ideas? Any help is welcome!   Modifications and corrections made   https://pastebin.com/vqYjM8ZH   Sorry if this is the wrong area.
    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock