Thread: Teleport above 20 wildy

Results 1 to 5 of 5
  1. #1 Teleport above 20 wildy 
    Registered Member
    Join Date
    Jul 2019
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Im having a problem fixing this Mage bank lever.. can someone give me right code to make this thing happen properly? When i try to pull the lever it says i cant tele above level 20 wildy.



    case 9707:
    c.objectDistance = 0;
    c.objectYOffset = -1;
    c.getPA().startTeleport(3106, 3956,0, "modern");


    P.S. And maybe someone knows how to code warning notification in chat box before teleporting to wildy?
    Reply With Quote  
     

  2. #2  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,628
    Thanks given
    165
    Thanks received
    270
    Rep Power
    497
    Your method c.getPA().startTeleport(3106, 3956,0, "modern"); have a check for wilderness. Either add a exception in the method or make a new method that teleport no matter what.


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

  3. #3  
    Registered Member
    Join Date
    Jun 2014
    Posts
    18
    Thanks given
    3
    Thanks received
    7
    Rep Power
    36
    Code:
    c.getPA().startTeleport(3106, 3956,0, "modern");
    use moveplayer instead of starttele
    Reply With Quote  
     

  4. #4  
    dragonps founder

    Join Date
    Feb 2019
    Posts
    13
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    case 9706:
    c.objectDistance = 0;
    c.objectXOffset = 1;
    c.getPA () .getMove(FIRST_CLICK, SECOND_CLICK);
    c.getPA().startTeleport(3106,3952,0, "modern");
    if (c.inWild())
    return;


    somthing like this???
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2019
    Posts
    53
    Thanks given
    14
    Thanks received
    11
    Rep Power
    17
    Quote Originally Posted by premjer View Post
    case 9706:
    c.objectDistance = 0;
    c.objectXOffset = 1;
    c.getPA () .getMove(FIRST_CLICK, SECOND_CLICK);
    c.getPA().startTeleport(3106,3952,0, "modern");
    if (c.inWild())
    return;


    somthing like this???
    That means you cant tp in wilderness. Can u post the startteleport method?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-28-2013, 05:50 AM
  2. Replies: 6
    Last Post: 06-24-2013, 07:14 AM
  3. [PI]Teleport Command In Wildy [SS]
    By // unique // in forum Help
    Replies: 2
    Last Post: 12-30-2010, 09:57 PM
  4. Above 20 wilderness coords.
    By Polaroid in forum Snippets
    Replies: 13
    Last Post: 10-09-2010, 01:44 PM
  5. [PI]Teleport out 20 wildy
    By cruelity in forum Help
    Replies: 3
    Last Post: 10-06-2010, 03:27 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
  •