Thread: Question

Results 1 to 7 of 7
  1. #1 Question 
    Registered Member
    Join Date
    Mar 2014
    Posts
    131
    Thanks given
    0
    Thanks received
    3
    Rep Power
    30
    How would i make it so if ur in the wildy and have certain items on, or in your inventory itll instantly put them in your bank?
    Reply With Quote  
     

  2. #2  
    Donator

    Chief Sosa's Avatar
    Join Date
    Jun 2012
    Posts
    1,163
    Thanks given
    49
    Thanks received
    234
    Rep Power
    83
    Pretty sure i saw a tutorial some where but it had a dupe can't find it atm

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2014
    Posts
    131
    Thanks given
    0
    Thanks received
    3
    Rep Power
    30
    Does anyone know how to do this?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jan 2014
    Posts
    813
    Thanks given
    69
    Thanks received
    47
    Rep Power
    9
    Quote Originally Posted by Arithium View Post
    in itemhandler i think
    Code:
    public void createGroundItem(
    under
    Code:
    if(itemId > 0) {
    add
    Code:
    if (itemId == 6570) {
         return;
    }
    and in the givelife method add
    Code:
    c.getItems().addItem(6570,1);
    first part should null out the firecape when u die. second part will add the item when u spawn. although ur going to want to make a check. for example

    Code:
    public boolean hasFCape = false;
    in player.java
    Code:
    if (c.playerHasItem(6570,1) || c.playerEquipment[c.playerCape] == 6570) {
         hasFCape = true;
    }
    in the applydead method. this is to determine if they actually have the cape. and instead put
    Code:
    if (hasFCape) {
    c.getItems().addItem(6570,1);
    c.hasFCape = false;
    }
    in givelife
    There
    Reply With Quote  
     

  5. #5  
    Middle Finger is Here


    Join Date
    Feb 2012
    Age
    31
    Posts
    2,546
    Thanks given
    377
    Thanks received
    502
    Rep Power
    162
    Do you mean "when player walks into wildy or teleports into wildy it sends certain items to bank " or "items are sent to bank upon death".?
    Hi
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2014
    Posts
    131
    Thanks given
    0
    Thanks received
    3
    Rep Power
    30
    whenever there simply "inwild" so teleportd or walks.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Mar 2014
    Posts
    131
    Thanks given
    0
    Thanks received
    3
    Rep Power
    30
    Does anyone know how to do this?
    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. My clientframe + question.
    By The kw in forum Graphics
    Replies: 14
    Last Post: 11-13-2007, 05:20 AM
  2. A Client Question
    By Mr Blah Man in forum RS2 Client
    Replies: 4
    Last Post: 10-27-2007, 10:38 AM
  3. A question
    By Fallen Azn SinZ in forum RS2 Client
    Replies: 2
    Last Post: 09-15-2007, 03:12 AM
  4. Ask your GFX Questions in this forum!
    By Bullet in forum General
    Replies: 0
    Last Post: 07-20-2007, 05:48 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
  •