Thread: [PI] Item with multiple teleport options.

Results 1 to 4 of 4
  1. #1 [PI] Item with multiple teleport options. 
    Registered Member blood barrage's Avatar
    Join Date
    Mar 2012
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Hey, I need some help with making an item have multiple teleports when you click on it. I've made the item operatable, but I want to know what to put so they give me different options.

    Thank you in advance,
    Mitch
    Reply With Quote  
     

  2. #2  
    Registered Member jackd019's Avatar
    Join Date
    Aug 2011
    Posts
    431
    Thanks given
    5
    Thanks received
    8
    Rep Power
    11
    So like a Ring Of dueling right?

    Firstly Go to your client , add the options in for the item like
    "wear"
    "castle wars"
    "duel arena"

    Then go Compile W.e Run the client
    Run the server
    Then click on it and it will show in the Run.Bat << server runbat ofc
    And the go to Clicking Buttons
    make a new case .


    And your Done Simple as that
    Reply With Quote  
     

  3. #3  
    Donator
    Ed17's Avatar
    Join Date
    Jun 2011
    Posts
    296
    Thanks given
    42
    Thanks received
    14
    Rep Power
    10
    in itemclick3.java:

    add this case:
    case ####://your item
    c.getPA().handleGlory(itemId);
    break;
    in PlayerAsssistance.java
    public void handleGlory(int gloryId) {
    c.getDH().sendOption4("Edgeville", "Al Kharid", "Karamja", "Mage Bank");
    c.usingGlory = true;
    }
    ClickingButtons.java, under case 9181, 9178, 9179, 9180.
    if (c.usingGlory)
    c.getPA().startTeleport(Config.MAGEBANK_X, Config.MAGEBANK_Y, 0, "modern");
    Reply With Quote  
     

  4. #4  
    Registered Member blood barrage's Avatar
    Join Date
    Mar 2012
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Ed17 View Post
    in itemclick3.java:

    add this case:


    in PlayerAsssistance.java


    ClickingButtons.java, under case 9181, 9178, 9179, 9180.
    Thank you very much dude, Much Appreciated.
    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: 20
    Last Post: 03-11-2017, 02:48 AM
  2. Replies: 16
    Last Post: 06-23-2016, 11:45 PM
  3. [PI] Making home teleport have multiple options
    By 4ces0fsp4des in forum Help
    Replies: 8
    Last Post: 02-24-2012, 10:28 PM
  4. Replies: 0
    Last Post: 08-02-2011, 05:02 PM
  5. Replies: 10
    Last Post: 10-27-2009, 10:27 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
  •