NasDad* Posted October 26, 2009 Share Posted October 26, 2009 Cmon people help me how to fix this trade bug :/ http://www.maxcheaters.com/forum/index.php?topic=74584.0 ? Huh? Quote Link to comment Share on other sites More sharing options...
0 ExTrEmEDwarf Posted October 26, 2009 Share Posted October 26, 2009 http://www.maxcheaters.com/forum/index.php?topic=49180.0 PS: If u got problems with enchant trade bug then use this too: go to java/net/sf/l2j/gameserver/clientpackets/RequestEnchantItem.java then add this line to your imports: import net.sf.l2j.gameserver.serverpackets.ActionFailed; after find: if (item == null || scroll == null) return; and make a new line. then paste this: if (activeChar.getActiveTradeList() != null) { activeChar.sendMessage("You Cannot Enchant While Trading"); activeChar.sendPacket(new ActionFailed()); return; } and u will be fine. Quote Link to comment Share on other sites More sharing options...
0 NasDad* Posted October 26, 2009 Author Share Posted October 26, 2009 im sayng about the Wh trade bug http://www.maxcheaters.com/forum/index.php?topic=74584.0 Quote Link to comment Share on other sites More sharing options...
0 ExTrEmEDwarf Posted October 26, 2009 Share Posted October 26, 2009 java/net/sf/l2j/gameserver/clientpackets/SendWareHouseDepositList.java add these lines on imports: import net.sf.l2j.gameserver.util.IllegalPlayerAction; import net.sf.l2j.gameserver.util.Util; then find: // Alt game - Karma punishment , and ABOVE this add a line and paste this: if (player.getActiveEnchantItem() != null) { player.setAccessLevel(-100); Util.handleIllegalPlayerAction(player,"Player "+player.getName()+" Tried To Use Enchant Exploit , And Got Banned!", IllegalPlayerAction.PUNISH_KICKBAN); return; } Quote Link to comment Share on other sites More sharing options...
0 NasDad* Posted October 26, 2009 Author Share Posted October 26, 2009 java/net/sf/l2j/gameserver/clientpackets/SendWareHouseDepositList.java add these lines on imports: import net.sf.l2j.gameserver.util.IllegalPlayerAction; import net.sf.l2j.gameserver.util.Util; then find: // Alt game - Karma punishment , and ABOVE this add a line and paste this: if (player.getActiveEnchantItem() != null) { player.setAccessLevel(-100); Util.handleIllegalPlayerAction(player,"Player "+player.getName()+" Tried To Use Enchant Exploit , And Got Banned!", IllegalPlayerAction.PUNISH_KICKBAN); return; } Thanks Dude! Quote Link to comment Share on other sites More sharing options...
0 Setekh Posted October 26, 2009 Share Posted October 26, 2009 its not fixed, whats the enchant got to do with the trade + wh scam lol http://trac.assembla.com/L2J-Archid/changeset/1200 Theres the fix Quote Link to comment Share on other sites More sharing options...
0 kashiro Posted October 26, 2009 Share Posted October 26, 2009 its not fixed, whats the enchant got to do with the trade + wh scam lol http://trac.assembla.com/L2J-Archid/changeset/1200 Theres the fix Thanks for the link m8 Quote Link to comment Share on other sites More sharing options...
0 kashiro Posted October 26, 2009 Share Posted October 26, 2009 But I still can't get it work. I'm using L2Equal pack Quote Link to comment Share on other sites More sharing options...
0 ExTrEmEDwarf Posted October 26, 2009 Share Posted October 26, 2009 change the imports to net.sf Quote Link to comment Share on other sites More sharing options...
0 kashiro Posted October 27, 2009 Share Posted October 27, 2009 java/net/sf/l2j/gameserver/clientpackets/SendWareHouseDepositList.java add these lines on imports: import net.sf.l2j.gameserver.util.IllegalPlayerAction; import net.sf.l2j.gameserver.util.Util; then find: // Alt game - Karma punishment , and ABOVE this add a line and paste this: if (player.getActiveEnchantItem() != null) { player.setAccessLevel(-100); Util.handleIllegalPlayerAction(player,"Player "+player.getName()+" Tried To Use Enchant Exploit , And Got Banned!", IllegalPlayerAction.PUNISH_KICKBAN); return; } I just managed to edit this code and got it worked, if somebody will need it - just write me a PM. Quote Link to comment Share on other sites More sharing options...
0 Setekh Posted October 27, 2009 Share Posted October 27, 2009 just to make sure u all understand: Imports........... import net.sf.l2j.gameserver.util.IllegalPlayerAction; import net.sf.l2j.gameserver.util.Util; TradeDone.java + + if(player.getActiveWarehouse() != null) + { + Util.handleIllegalPlayerAction(player,"Player "+player.getName()+" was trying a trade exploit. While in active warehouse.", IllegalPlayerAction.PUNISH_KICK); + return; + } SendWareHouseDepositList.java + if(player.getActiveTradeList() != null) + { + Util.handleIllegalPlayerAction(player,"Player "+player.getName()+" was trying a wh exploit. While in active trade.", IllegalPlayerAction.PUNISH_KICK); + return; + } 2 files cus there 2 bugs not only 1, the bug can got he other way around :P Quote Link to comment Share on other sites More sharing options...
Question
NasDad*
Cmon people help me how to fix this trade bug :/ http://www.maxcheaters.com/forum/index.php?topic=74584.0
? Huh?
Link to comment
Share on other sites
10 answers to this question
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.