Thread: [PI] How to add buy/sell sell 'x' or 50 etc? [PI]

Results 1 to 7 of 7
  1. #1 [PI] How to add buy/sell sell 'x' or 50 etc? [PI] 
    Registered Member
    Join Date
    Nov 2010
    Posts
    208
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    Does anyone know how?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Dec 2008
    Posts
    1,010
    Thanks given
    0
    Thanks received
    1
    Rep Power
    271
    There's a tutorial on this.
    Shouldn't be too hard to find.
    PS. It might be in the snippets section.
    In absence of a real father figure I looked to Dr House for guidance through my turbulent teenaged years.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2010
    Posts
    208
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    I searched but can't find it! Link?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2008
    Posts
    51
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Go to:
    src>server>model>player>packets>BankX1.java

    And find this line:
    Code:
    if (c.xInterfaceId == 3900) {
    c.getShops().buyItem(c.xRemoveId, c.xRemoveSlot, 20);//buy 20
    Where you see the red 20, change that to 50 and your players will be able to buy 50 at the same time.

    And about the buy X, there are a few tutorials.
    Ohai dere human!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2010
    Posts
    208
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    Thanks i changed it to 50, but when i click buy 10 it still only buys 10? Anyone know why?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Nov 2010
    Posts
    208
    Thanks given
    2
    Thanks received
    0
    Rep Power
    1
    Bump
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Apr 2013
    Posts
    20
    Thanks given
    2
    Thanks received
    0
    Rep Power
    11
    That's just changing the words on the interface, not changing the actual coding of clicking "buy 50".
    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. [req] Sell x how i do it?
    By Red Clown in forum Help
    Replies: 0
    Last Post: 04-02-2010, 01:51 PM
  2. Replies: 0
    Last Post: 03-28-2010, 04:50 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
  •