Thread: [DELTA] Dupe Fixes - 10$ - 317

Results 1 to 2 of 2
  1. #1 [DELTA] Dupe Fixes - 10$ - 317 
    Registered Member
    Join Date
    Dec 2010
    Posts
    30
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    well i just need help fixing each dupe for a 317,

    the telekinetic grab with blood runes
    The trade one, where you accept and decline really fast
    Theres a duel arena one
    Dieing in the wild and right before you die, you log out.
    basically all of themmm... so 10$ to whoever fixes them all 100%. (:

    skype: kalebmere
    msn: [email protected]
    Reply With Quote  
     

  2. #2  
    Registered Member Da D4v1nci C0de's Avatar
    Join Date
    Jul 2010
    Posts
    422
    Thanks given
    128
    Thanks received
    30
    Rep Power
    56
    1st one is easy,
    client.java:
    search for
    Code:
    case 181:
    somewhere under it you should see:
    Code:
     if ((playerHasItemAmount(563, 1) == true)
                                && (playerHasItemAmount(556, 5) == true)
                                        || (HasAirStaff())) {
    or something, it wont be exact.
    and somewhere under it, add:
    Code:
    if (ItemHandler.itemExists(magicOnItemID, magicOnItemX, magicOnItemY)) {
    now, search for
    Code:
    resetItems(3214);
    then under it add:
    Code:
     } else {
                    sM("The Item is either gone, or somebody has already picked it up.");
            }
    for the trade dupe:
    in client.java search for case 130 and add this:
    Code:
     // Clicking stuff ingame trade dupe fix
                            int interfaceID = inStream.readSignedByte();
                            if (inTrade) {
                                    try{
                                            client other = getClient(trade_reqId);
                                            if(tradeConfirmed2){
                                                    antidupe();
                                                    other.antidupe();
                                                    sM("[Dupe-System] Dupe detected!");
    yell("["+playerName+"] has just tryed to dupe");
    writeLog(playerName, "dupetraders");
                                                    other.sM("[Dupe-System] Dupe detected!");
                                            }else{
                                                    other.declineTrade();
                                                    declineTrade();
                                                    sM("You have declined the trade.");
                                                    other.sM("The other player has declined the trade.");
                                            }
                                    }catch (Exception e) {
                                    }
                            }
    add these voids:
    Code:
    public void checkDupe() {
                    if (playerRights >= 1)
                            return;
                    if (playerHasItem(36, 5) || playerHasItem(995, 300000000)) {
                            appendToDupe(playerName);
                    }
                    if (playerCheckBank(36, 5) || playerCheckBank(995, 300000000)) {
                            appendToDupe(playerName);
                    }
            }
    public void antidupe() {
                    client other = getClient(trade_reqId);
                    if (validClient(trade_reqId)) {
                            closeInterface();
                            tradeResetNeeded = true;
                    }
            }
    NOTE: You might need this, im pretty sure you dont but oh well
    Code:
     public void declineTrade(boolean tellOther) {
                    closeInterface();
                    client other = getClient(trade_reqId);
                    if (tellOther && validClient(trade_reqId)) {
                            //other.sM("Other player has declined the trade.");
                            other.declineTrade(false);
                    }
    
                    for (GameItem item : offeredItems) {
                            if (item.amount < 1)
                                    continue;
                            if (item.stackable) {
                                    addItem(item.id, item.amount);
                            } else {
                                    for (int i = 0; i < item.amount; i++) {
                                            addItem(item.id, 1);
                                    }
                            }
                    }
    No.3: Explain the dupe?

    Wildy dupe is like, so simple
    its like you cant logout in the pestcontrol or fightpits, etc

    in clickingMost.java under case 9154 (logout button) add:
    Code:
    if (c.isInWilderness) {
    c.sM("You can't log out in the wilderness");
    
    break;
    }
    dont know any other dupes, lol
    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]More Dupe Fixes!
    By Division in forum Snippets
    Replies: 31
    Last Post: 09-18-2011, 07:11 AM
  2. $20 For PI Dupe fixes
    By The Situationist in forum Help
    Replies: 4
    Last Post: 09-05-2010, 02:23 AM
  3. Paying for PI dupe fixes
    By Fant in forum Requests
    Replies: 2
    Last Post: 07-06-2010, 06:19 AM
  4. PI Dupe fixes
    By Arithium in forum Help
    Replies: 2
    Last Post: 06-12-2010, 11:10 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •