Thread: Necklace Teleport

Results 1 to 6 of 6
  1. #1 Necklace Teleport 
    Registered Member beard's Avatar
    Join Date
    Jun 2011
    Posts
    326
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    how do i make that when i rub my games necklace
    i get options to where i wanna teleport?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2011
    Posts
    422
    Thanks given
    88
    Thanks received
    21
    Rep Power
    22
    I believe either in ClickItem class or ActionHandler class you add:

    case IDOFNECKLACEHERE:
    // OPTIONS TO TELEPORT HERE
    break;
    “I'm always outnumbered but never outmanned.”
    Reply With Quote  
     

  3. #3  
    Registered Member beard's Avatar
    Join Date
    Jun 2011
    Posts
    326
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    Quote Originally Posted by BaBaDu1234 View Post
    I believe either in ClickItem class or ActionHandler class you add:

    case IDOFNECKLACEHERE:
    // OPTIONS TO TELEPORT HERE
    break;
    can you make an example?
    Reply With Quote  
     

  4. #4  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    use dialuge to make this like add clickitem.java

    Code:
    case thenecklageidshit
    c.getDH().sendDialogues(69, itemId);
    break;

    then go on Dialoguehandler java

    Code:
    case 69:
    sendOption5("location1", "location2", "location3", "location4", "location5");
    c.dialogueAction = 206;
    c.dialogueId =  206;
    c.teleAction = -1;
    break;

    then clicking buttons shit.
    Reply With Quote  
     

  5. #5  
    Registered Member beard's Avatar
    Join Date
    Jun 2011
    Posts
    326
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    Quote Originally Posted by 'Boss View Post
    use dialuge to make this like add clickitem.java

    Code:
    case thenecklageidshit
    c.getDH().sendDialogues(69, itemId);
    break;

    then go on Dialoguehandler java

    Code:
    case 69:
    sendOption5("location1", "location2", "location3", "location4", "location5");
    c.dialogueAction = 206;
    c.dialogueId =  206;
    c.teleAction = -1;
    break;

    then clicking buttons shit.
    i get errors could you do it for me on teamviewer
    Reply With Quote  
     

  6. #6  
    Astrect Developer

    Join Date
    Oct 2008
    Age
    28
    Posts
    1,936
    Thanks given
    369
    Thanks received
    212
    Rep Power
    591
    Quote Originally Posted by beard View Post
    i get errors could you do it for me on teamviewer
    Don't actually use that piece of code he put there, it was just used for an example like you asked for.
    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. [PI] Phoenix necklace
    By arrowzftw in forum Snippets
    Replies: 25
    Last Post: 08-04-2014, 05:03 PM
  2. pi berserker necklace
    By g0d 0f war in forum Help
    Replies: 1
    Last Post: 12-18-2011, 03:02 PM
  3. Berserker Necklace
    By Anton in forum Tutorials
    Replies: 19
    Last Post: 06-26-2008, 11:58 PM
  4. Dragon Necklace
    By -Rune-Glacer- in forum Configuration
    Replies: 4
    Last Post: 01-26-2008, 10:19 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
  •