Thread: Disabling drop in trade [pi]

Results 1 to 5 of 5
  1. #1 Disabling drop in trade [pi] 
    Super Donator
    Haskell Curry's Avatar
    Join Date
    Nov 2009
    Posts
    850
    Thanks given
    602
    Thanks received
    247
    Rep Power
    0
    Hello,

    How can u disable drop on the trade screen in PI,
    So when your intrade u cant drop items,
    As it caues a dupe...
    Reply With Quote  
     

  2. #2  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Code:
    if(c.inTrade)
        return;
    In DropItem.java after it reads the packet...
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Oct 2009
    Posts
    1,595
    Thanks given
    100
    Thanks received
    50
    Rep Power
    232
    in dropitem.java
    if(c.inTrade) {
    c.sendMessage("You can't drop items while trading!");
    return;
    }

    Quote Originally Posted by iVariable View Post
    Code:
    if(c.inTrade)
        return;
    In DropItem.java after it reads the packet...
    aww didn't saw u posted before me.

    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jan 2009
    Posts
    2,178
    Thanks given
    135
    Thanks received
    158
    Rep Power
    0
    what is the dupe?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Division's Avatar
    Join Date
    Dec 2009
    Age
    29
    Posts
    2,208
    Thanks given
    41
    Thanks received
    78
    Rep Power
    97
    Quote Originally Posted by Genc View Post
    in dropitem.java





    aww didn't saw u posted before me.
    Lol genc thats my text
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •