Thread: 718/742 - ::tele X Y command not working, please help?

Results 1 to 5 of 5
  1. #1 718/742 - ::tele X Y command not working, please help? 
    Registered Member
    Join Date
    Mar 2013
    Age
    22
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I don't know if this is in the right catagory if not then i'm sorry.

    But on my server my ::tele CoordinateX and CoordinateY isn't working. Could someone fix it for me please?

    Add me on Skype if you'd rather chat through there.

    Skype:LauraBabee-x
    Reply With Quote  
     

  2. #2  
    Author of the first public OSRSPS

    Shadowy's Avatar
    Join Date
    Sep 2009
    Age
    23
    Posts
    1,498
    Thanks given
    461
    Thanks received
    237
    Discord
    summit#6514
    Rep Power
    269
    What Source are you using? What revision + find the code in your commands file & post it. maybe it's ::teleport instead of ::tele

    + yeah, wrong section xD


    [Only registered and activated users can see links. ] [Closed]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2013
    Age
    22
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I'm using Rune-Evolutions Source.

    && heres the code;

    public static boolean processCommand(final Player player, String[] cmd, boolean console, boolean clientCommand) {
    if (clientCommand) {
    if (cmd[0].equals("tele")) {
    cmd = cmd[1].split(",");
    int plane = Integer.valueOf(cmd[0]);
    int x = Integer.valueOf(cmd[1]) << 6 | Integer.valueOf(cmd[3]);
    int y = Integer.valueOf(cmd[2]) << 6 | Integer.valueOf(cmd[4]);
    player.setNextWorldTile(new WorldTile(x, y, plane));
    return true;
    }

    & you mean by revision?o.o i'm using a 718 client with 742 cache i think..
    Reply With Quote  
     

  4. #4  
    Author of the first public OSRSPS

    Shadowy's Avatar
    Join Date
    Sep 2009
    Age
    23
    Posts
    1,498
    Thanks given
    461
    Thanks received
    237
    Discord
    summit#6514
    Rep Power
    269
    Quote Originally Posted by xLadyLaura View Post
    I'm using Rune-Evolutions Source.

    && heres the code;

    public static boolean processCommand(final Player player, String[] cmd, boolean console, boolean clientCommand) {
    if (clientCommand) {
    if (cmd[0].equals("tele")) {
    cmd = cmd[1].split(",");
    int plane = Integer.valueOf(cmd[0]);
    int x = Integer.valueOf(cmd[1]) << 6 | Integer.valueOf(cmd[3]);
    int y = Integer.valueOf(cmd[2]) << 6 | Integer.valueOf(cmd[4]);
    player.setNextWorldTile(new WorldTile(x, y, plane));
    return true;
    }

    & you mean by revision?o.o i'm using a 718 client with 742 cache i think..
    Sorry I have no clue straight up how that's suppost to work, er before if(clientCommand) put
    Code:
    System.out.println("cmd: "+cmd);
    and do a command ingame and tell me what it prints out


    [Only registered and activated users can see links. ] [Closed]

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2013
    Age
    22
    Posts
    3
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Oh, i fixed it. Thank you
    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: 3
    Last Post: 03-03-2012, 06:55 AM
  2. Run server not working, please help?
    By Haledam in forum Help
    Replies: 2
    Last Post: 06-29-2011, 12:23 AM
  3. portforward not working please help
    By T-Sex in forum Help
    Replies: 7
    Last Post: 07-26-2010, 04:23 AM
  4. making commands not work in wildy
    By Jared1220 in forum Requests
    Replies: 9
    Last Post: 11-10-2008, 06:37 PM
  5. Yell command not working
    By mitch123hoff in forum Help
    Replies: 7
    Last Post: 10-31-2008, 06:42 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
  •