Thread: PI starter command

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 PI starter command 
    Registered Member
    Join Date
    Jan 2012
    Posts
    63
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    can anyone send me a code for like example instead of

    c.getItems().addItem(995,20000000);


    like it goes in your bank and not your inventory.

    ---- what i mean is like you know how starters put items in your inventory on login how can u add items in there bank on login? I know it has been done before plz help!
    Reply With Quote  
     

  2. #2  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    dont think that's even possible
    i'll look around and try to find you a similar answer at least
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    you first need to make a void in order to make a command for banking.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    here
    public void bankItemWithouthReq(int itemId, int amount) {
    int toBankSlot = 0;
    boolean alreadyInBank = false;
    for (int i=0; i<Config.BANK_SIZE; i++) {
    if (c.bankItems[i] == itemId + 1) {
    alreadyInBank = true;
    toBankSlot = i;
    i=Config.BANK_SIZE+1;
    }
    }
    while (amount > 0) {
    if (alreadyInBank) {
    c.bankItemsN[toBankSlot] += 1;
    amount--;
    } else {
    c.bankItems[toBankSlot] = itemId + 1;
    c.bankItemsN[toBankSlot] += 1;
    amount--;
    }
    }
    resetTempItems();
    resetBank();
    }
    Reply With Quote  
     

  5. Thankful users:


  6. #5  
    Registered Member
    Join Date
    Jan 2012
    Posts
    63
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    Oh well what i ment was like not a command, you know how some servers have when you login all the items go in your bank not ur inventory thats what im trying to do.
    Reply With Quote  
     

  7. #6  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    Ya, to do that you first need a void so there it is lol. then you can change and put it to the bank instead of inven .
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Jan 2012
    Posts
    63
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    ok cool, but like how would i put it like instead of c.getItems().addItem(995,20000000);
    it would be like c.getItems().addBank(995,20000000);
    Reply With Quote  
     

  9. #8  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    bankItemWithouthReq(itemId, amount);
    Reply With Quote  
     

  10. #9  
    Banned
    Join Date
    Mar 2012
    Posts
    413
    Thanks given
    0
    Thanks received
    135
    Rep Power
    0
    no need for thanks thrs a thank button :3
    Reply With Quote  
     

  11. #10  
    Registered Member
    Join Date
    Jan 2012
    Posts
    63
    Thanks given
    0
    Thanks received
    1
    Rep Power
    11
    oh ok haha thanks alot! i'll rep u
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. Starter Command
    By CTucker in forum Help
    Replies: 7
    Last Post: 03-20-2010, 11:21 PM
  2. starter command glitch
    By dadabehh in forum Help
    Replies: 2
    Last Post: 08-16-2009, 11:09 PM
  3. [Useful] Starter Command
    By wh1p in forum Configuration
    Replies: 3
    Last Post: 05-18-2008, 02:21 PM
  4. Easy starter command
    By AlexMason in forum Tutorials
    Replies: 12
    Last Post: 11-12-2007, 01:15 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
  •