Thread: Kept On Death [PI]

Results 1 to 8 of 8
  1. #1 Kept On Death [PI] 
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    How can I make it to where you can keep firecape on death all of the time and it just goes straight to your inventory?]
    Anyone have the code for this?
    Reply With Quote  
     

  2. #2  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,108
    Thanks given
    2,402
    Thanks received
    2,825
    Rep Power
    4604
    [Only registered and activated users can see links. ]

    Enjoy
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    I think i have tried that one and it didnt work out so well.
    Reply With Quote  
     

  4. #4  
    Registered Member remcowp's Avatar
    Join Date
    Jan 2011
    Posts
    651
    Thanks given
    57
    Thanks received
    37
    Rep Power
    12
    Quote Originally Posted by Jason View Post
    [Only registered and activated users can see links. ]

    Enjoy
    Could u make an tutorial of that, im not so good at doing the snippets lol.
    Would be awesome .

    Remco
    Release of Divine Syndicate v2:
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,108
    Thanks given
    2,402
    Thanks received
    2,825
    Rep Power
    4604
    Quote Originally Posted by remcowp View Post
    Could u make an tutorial of that, im not so good at doing the snippets lol.
    Would be awesome .

    Remco
    No, it's a three step procedure. Im not going to lay my fucking balls on the table for you so you can suck them, U gotta work for it.
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    I understand how to do it, but this one part.. I don't have c.getItems().addItemToBank

    I dont have the boolean...
    Reply With Quote  
     

  8. #7  
    Registered Member

    Join Date
    May 2012
    Age
    25
    Posts
    1,556
    Thanks given
    415
    Thanks received
    231
    Rep Power
    81
    Quote Originally Posted by i am here View Post
    I understand how to do it, but this one part.. I don't have c.getItems().addItemToBank

    I dont have the boolean...
    Quote Originally Posted by Jason View Post
    Code:
    	public void addItemToBank(int itemId, int amount) {
    		for (int i = 0; i < Config.BANK_SIZE; i++) {
    			if (c.bankItems[i] <= 0 || c.bankItems[i] == itemId + 1
    					&& c.bankItemsN[i] + amount < Integer.MAX_VALUE) {
    				c.bankItems[i] = itemId + 1;
    				c.bankItemsN[i] += amount;
    				resetBank();
    				return;
    			}
    		}
    	}
    Read the following posts.
    Inactive.


    Spoiler for FirstDesign:
    Reply With Quote  
     

  9. #8  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    Yes, but what do I do for imports?
    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. Items kept on death[PI]
    By Bank in forum Help
    Replies: 3
    Last Post: 04-20-2012, 02:42 AM
  2. [REQ] Item Kept On Death [PI]
    By americanboyg in forum Help
    Replies: 0
    Last Post: 06-13-2011, 01:58 PM
  3. [Pi] fix items kept on death 10m rsgp
    By turm0ilz in forum Requests
    Replies: 10
    Last Post: 05-03-2011, 05:20 PM
  4. [PI] items kept on death [paying 4m rsgp]
    By turm0ilz in forum Requests
    Replies: 2
    Last Post: 03-27-2011, 12:44 PM
  5. A better Items Kept On Death [PI]
    By Scim in forum Tutorials
    Replies: 9
    Last Post: 10-17-2010, 01:35 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
  •