Thread: Compiling error

Results 1 to 4 of 4
  1. #1 Compiling error 
    Registered Member
    Join Date
    Feb 2011
    Posts
    359
    Thanks given
    10
    Thanks received
    9
    Rep Power
    10
    Code:
    src\server\model\mobile\players\PlayerAssistant.java:1733: error: cannot find sy
    mbol
            if(PlayerHandler.players[c.followId] == null || PlayerHandler.players[c.
    followId].isDead) {
                                      ^
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1733: error: cannot find sy
    mbol
            if(PlayerHandler.players[c.followId] == null || PlayerHandler.players[c.
    followId].isDead) {
                                                                                   ^
    
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1734: error: cannot find sy
    mbol
                c.followId = 0;
                 ^
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1743: error: cannot find sy
    mbol
            int otherX = PlayerHandler.players[c.followId].getX();
                                                ^
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1744: error: cannot find sy
    mbol
            int otherY = PlayerHandler.players[c.followId].getY();
                                                ^
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1752: error: cannot find sy
    mbol
                c.followId = 0;
                 ^
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1774: error: cannot find sy
    mbol
            c.faceUpdate(c.followId+32768);
                          ^
      symbol:   variable followId
      location: variable c of type Client
    src\server\model\mobile\players\PlayerAssistant.java:1828: error: cannot find sy
    mbol
            c.faceUpdate(c.followId+32768);
                          ^
      symbol:   variable followId
      location: variable c of type Client
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    8 errors
    Press any key to continue . . .
    8 Errors, any tell me how I can fix them?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2012
    Posts
    175
    Thanks given
    32
    Thanks received
    47
    Rep Power
    35
    In client.java, somewhere outside of a method add this:

    public int followId;
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Feb 2011
    Posts
    359
    Thanks given
    10
    Thanks received
    9
    Rep Power
    10
    Quote Originally Posted by Bauer24 View Post
    In client.java, somewhere outside of a method add this:

    public int followId;
    Thanks will try right now.

    EDIT: Worked thanks again.
    Reply With Quote  
     

  5. #4  
    Donator


    Join Date
    May 2012
    Age
    26
    Posts
    2,473
    Thanks given
    400
    Thanks received
    279
    Rep Power
    131
    still need?
    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. Please help me, compiling error :)
    By frisky in forum Help
    Replies: 3
    Last Post: 08-01-2011, 06:27 AM
  2. Compiling Error
    By Rs-exposed in forum Help
    Replies: 3
    Last Post: 02-14-2011, 11:16 AM
  3. getting error while compiling
    By defest in forum Help
    Replies: 3
    Last Post: 12-19-2009, 10:57 PM
  4. error while compiling
    By dagron12 in forum Help
    Replies: 0
    Last Post: 02-26-2009, 07:23 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
  •