Thread: Tut For X Amount???

Results 1 to 4 of 4
  1. #1 Tut For X Amount??? 
    Banned
    Join Date
    Feb 2012
    Posts
    275
    Thanks given
    22
    Thanks received
    2
    Rep Power
    0
    is there a tut for puting in x amount of stuff like i wanna buy x amount of stuff from one the the stops???
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Mar 2011
    Posts
    4,062
    Thanks given
    194
    Thanks received
    689
    Rep Power
    0
    When entering an amount, the packet is handled in BankX2

    Here's an example from my old PI BoB System:

    Code:
    case 2700: //Storage - Take X From BoB
    				if (c.getStorage().isStoringItems)
    					c.getStorage().withdrawItem(c.xRemoveId, c.xRemoveSlot, Xamount);
    			break;
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Feb 2012
    Posts
    275
    Thanks given
    22
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by relex lawl View Post
    When entering an amount, the packet is handled in BankX2

    Here's an example from my old PI BoB System:

    Code:
    case 2700: //Storage - Take X From BoB
    				if (c.getStorage().isStoringItems)
    					c.getStorage().withdrawItem(c.xRemoveId, c.xRemoveSlot, Xamount);
    			break;
    so in bankx2 i would just have to add

    if (c.getStorage().isStoringItems)
    c.getStorage().withdrawItem(c.xRemoveId, c.xRemoveSlot, Xamount);
    break;
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Feb 2012
    Posts
    275
    Thanks given
    22
    Thanks received
    2
    Rep Power
    0
    im guessing no...
    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. Replies: 1
    Last Post: 09-26-2010, 07:01 PM
  2. Replies: 1
    Last Post: 10-17-2009, 08:10 AM
  3. Replies: 7
    Last Post: 06-26-2008, 09:41 AM
  4. [tut]how to add a safe pk spot[tut]1st tut
    By jad_scape in forum Tutorials
    Replies: 35
    Last Post: 06-20-2008, 04:03 AM
  5. [TUT] Change Buy/Sell Amount.
    By vinceishere in forum Tutorials
    Replies: 8
    Last Post: 04-20-2008, 04:13 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
  •