Thread: error while trying to add in a command "symbol cannot be found"

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 error while trying to add in a command "symbol cannot be found" 
    Registered Member
    Join Date
    Nov 2008
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    [Only registered and activated users can see links. ]

    I'm trying to add in a mypos command into iClarity, this is the full code i have

    Code:
    private void customCommand(String command) {
    
    	if (command.startsWith("mypos") && playerRights >= 2) 
    { 
    	sendMessage("AbsX "+playerAbsX+" AbsY "+playerAbsY+""); 
    	}                            ^                           ^
    }
    The arrows are where the errors are.
    No matter what, you can't catch a person. Sorry.
    Nuff said
    Reply With Quote  
     

  2. #2  
    Registered Member Ghost`'s Avatar
    Join Date
    May 2010
    Posts
    416
    Thanks given
    10
    Thanks received
    13
    Rep Power
    2
    Should it be like c.playerAbsX? Because there's something missing there.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2008
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    I'll try it
    No matter what, you can't catch a person. Sorry.
    Nuff said
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Quote Originally Posted by ShadowGhost View Post
    Should it be like c.playerAbsX? Because there's something missing there.
    Why would be it like that idiot? It's clearly in the client class, hence sendMessage and playerRights.

    @OP: You're using the wrong variable name. Learn to code.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2008
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    i got the same 2 errors just its pointing to the c now
    LOL colby, are you going to help me or just flame on someone that was trying to help?
    No matter what, you can't catch a person. Sorry.
    Nuff said
    Reply With Quote  
     

  6. #6  
    Registered Member Ghost`'s Avatar
    Join Date
    May 2010
    Posts
    416
    Thanks given
    10
    Thanks received
    13
    Rep Power
    2
    Quote Originally Posted by Colby View Post
    Why would be it like that idiot? It's clearly in the client class, hence sendMessage and playerRights.

    @OP: You're using the wrong variable name. Learn to code.
    Well sorry, want a cookie for figuring it out?
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Jan 2008
    Age
    28
    Posts
    1,380
    Thanks given
    76
    Thanks received
    384
    Rep Power
    962
    absX, absY
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Nov 2008
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Vielz, that doesn't make sense if you don't even tell me what you're applying that to.
    No matter what, you can't catch a person. Sorry.
    Nuff said
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jul 2008
    Age
    26
    Posts
    5,826
    Thanks given
    1,301
    Thanks received
    197
    Rep Power
    0
    Quote Originally Posted by giggadude View Post
    i got the same 2 errors just its pointing to the c now
    LOL colby, are you going to help me or just flame on someone that was trying to help?
    Read the rest of my post?

    Quote Originally Posted by ShadowGhost View Post
    Well sorry, want a cookie for figuring it out?
    Sure? READ the code before replying.

    Quote Originally Posted by giggadude View Post
    Vielz, that doesn't make sense if you don't even tell me what you're applying that to.
    If you can't understand his post, go back to kindergarten.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Nov 2008
    Posts
    81
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Sorry, and I just can't get what i'm doing wrong.. I don't understand why it could be the wrong variable name.. atleast give me a hint?
    No matter what, you can't catch a person. Sorry.
    Nuff said
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •