Thread: wilderness tele block

Results 1 to 3 of 3
  1. #1 wilderness tele block 
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    im using final devo 2.4, and im making some teleports in the emote tab, and i have this
    Code:
    case 168: //first emote
    				sendMessage("Welcome home.");
    				teleportToX = 3088 - misc.random(3);
    				teleportToY = 3500 - misc.random(3);
    				
    				if(!isInWilderness(absX, absY, 1)) {
    				sendMessage("You cannot teleport under level 20 wilderness.");
    				return;
    				}
    				break;
    and whenever i teleport out of wildy, it returns and gives the messege, but when im in wildy, it does the teleport. how do i make it the opposite? i tried many other things..

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  2. #2  
    Registered Member Crash's Avatar
    Join Date
    Feb 2009
    Posts
    383
    Thanks given
    6
    Thanks received
    1
    Rep Power
    49
    case 168: //first emote
    if(isInWilderness(absX, absY, 1)) {
    sendMessage("You cannot teleport under level 20 wilderness.");
    return;
    } else {
    sendMessage("Welcome home.");
    teleportToX = 3088 - misc.random(3);
    teleportToY = 3500 - misc.random(3);
    }
    break;


    Reply With Quote  
     

  3. #3  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    thanks, worked

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •