Thread: [PI] Arrow Dupe

Results 1 to 3 of 3
  1. #1 [PI] Arrow Dupe 
    OoO Donor <3
    Rockstar Jax's Avatar
    Join Date
    Mar 2011
    Age
    27
    Posts
    608
    Thanks given
    77
    Thanks received
    78
    Rep Power
    21
    so you have two different type of arrows
    you weild the one your going to dupe
    then you withdraw another one of the same kind or get another one of that kind from somewhere
    you then weild the different arrows
    that allows you to have two spaces of arrows of the same type
    go into a trade on the (one arrow) you click x and type in the amount in the other pile
    and there it doubled


    anyone know a fix?

    <-- amateur sig skills dont hate
    Reply With Quote  
     

  2. #2  
    Extreme Donator


    Join Date
    Oct 2006
    Posts
    1,370
    Thanks given
    64
    Thanks received
    197
    Rep Power
    426
    This dupe has been around for so long, and been fixed so many times..

    Use the search function.


    ~flow@hacking . rs
    Reply With Quote  
     

  3. #3  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    So the easiest fix for this is to find this in TradeAndDuel:
    Code:
    if(Item.itemStackable[itemID] || Item.itemIsNote[itemID]) {
    			boolean inTrade = false;
    			for(GameItem item : offeredItems) {
    				if(item.id == itemID) {
    					inTrade = true;
    					item.amount += amount;
    					c.getItems().deleteItem(itemID, c.getItems().getItemSlot(itemID), amount);
    					o.getPA().sendFrame126("Trading with: " + c.playerName+" who has @gre@"+c.getItems().freeSlots()+" free slots" ,3417);	
    					break;	
    				}
    			}
    and change
    Code:
    c.getItems().deleteItem(itemID, c.getItems().getItemSlot(itemID), amount);
    to
    Code:
    c.getItems().deleteItem2(itemID, amount);
    there's already a method in itemAssistant that handles the two argument deleteItem, so this is all you need to do.

    Woops, forgot to include on last thing:

    change
    Code:
    if(!inTrade) {
    				offeredItems.add(new GameItem(itemID, amount));
    				c.getItems().deleteItem(itemID, fromSlot, amount);
    				o.getPA().sendFrame126("Trading with: " + c.playerName+" who has @gre@"+c.getItems().freeSlots()+" free slots" ,3417);	
    			}
    to
    Code:
    if(!inTrade) {
    				offeredItems.add(new GameItem(itemID, amount));
    				c.getItems().deleteItem2(itemID, amount);
    				o.getPA().sendFrame126("Trading with: " + c.playerName+" who has @gre@"+c.getItems().freeSlots()+" free slots" ,3417);	
    			}
    it should work now

    Credits to itz fannypak
    next time use the search button
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] Arrow Dupe Fix
    By itz fannypak in forum Snippets
    Replies: 24
    Last Post: 10-13-2013, 02:23 PM
  2. [PI] Arrow\Bolt Dupe, Stackables Dupe [SS]
    By Linksbro in forum Tutorials
    Replies: 11
    Last Post: 07-13-2013, 02:26 PM
  3. PI arrow dupe please?
    By jake3393 in forum Help
    Replies: 3
    Last Post: 11-12-2010, 02:25 AM
  4. Arrow Dupe
    By Goro in forum Help
    Replies: 31
    Last Post: 08-10-2010, 09:35 PM
  5. PI arrow dupe fix
    By Arithium in forum Help
    Replies: 8
    Last Post: 08-06-2010, 10:57 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •