Thread: [Vencillio] Teleportation by using an item (Max Cape)

Results 1 to 9 of 9
  1. #1 [Vencillio] Teleportation by using an item (Max Cape) 
    Anguish Founder
    Rowley's Avatar
    Join Date
    Sep 2016
    Posts
    78
    Thanks given
    12
    Thanks received
    18
    Rep Power
    27
    Where/how would I do this? I want the right click "Operate" to teleport to x, y.

    ItemPackets?
    Reply With Quote  
     

  2. #2  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    optionaction in itempackets im guessing, never worked with vencilio.

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  3. #3  
    Anguish Founder
    Rowley's Avatar
    Join Date
    Sep 2016
    Posts
    78
    Thanks given
    12
    Thanks received
    18
    Rep Power
    27
    Quote Originally Posted by Brett the Don View Post
    optionaction in itempackets im guessing, never worked with vencilio.
    Here's a simple one click teleport (first click)
    Code:
    case 10952:// slayer bell
    				player.getMagic().teleport(2441, 9806, 0, TeleportTypes.SPELL_BOOK);
    				player.send(new SendMessage("The magic from the bell teleports you."));
    				break;
    What would I have to do to make it the 2nd, or 3rd, etc?
    Reply With Quote  
     

  4. #4  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    There should be another method for secondclick or secondoption scroll down in the class file.

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  5. #5  
    Anguish Founder
    Rowley's Avatar
    Join Date
    Sep 2016
    Posts
    78
    Thanks given
    12
    Thanks received
    18
    Rep Power
    27
    Quote Originally Posted by Brett the Don View Post
    There should be another method for secondclick or secondoption scroll down in the class file.
    Ive added that code under case 75 and 16, 16 being operate, and 75 second click. replaced with maxcape id. Nothing.
    Reply With Quote  
     

  6. #6  
    WhiteDownMb | HYBRID JEFE
    Brett the Don's Avatar
    Join Date
    Dec 2009
    Posts
    2,117
    Thanks given
    349
    Thanks received
    556
    Rep Power
    2540
    post your class file

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself




    Reply With Quote  
     

  7. #7  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    If you have it added client sided, it should be one of your 'option on interface' packet.


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  8. #8  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    4,419
    Thanks given
    1,184
    Thanks received
    757
    Rep Power
    3098
    It would be item container options not item clicking options
    Reply With Quote  
     

  9. #9  
    nice


    Join Date
    Jul 2014
    Posts
    740
    Thanks given
    382
    Thanks received
    562
    Rep Power
    4239
    ItemPackets class find case 16 ( For 2nd option )

    Code:
    			switch(itemId) {
    			case 6570:
    				player.getMagic().teleport(3333,  3333, 3333, TeleportTypes.SPELL_BOOK);
    			}
    (The switch statement isn't needed u can just do if itemId equals to this id, 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. Using an item on a player?
    By Tando in forum Help
    Replies: 2
    Last Post: 03-29-2012, 01:57 AM
  2. Using an item on another. [PI]
    By Vivvvid in forum Help
    Replies: 1
    Last Post: 03-24-2012, 08:30 PM
  3. Replies: 5
    Last Post: 10-06-2009, 08:25 AM
  4. Replies: 2
    Last Post: 10-05-2009, 09:34 PM
  5. I could use an item dump
    By T in forum Requests
    Replies: 3
    Last Post: 07-11-2008, 08:14 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
  •