Thread: Lots Of Compile Errors

Results 1 to 6 of 6
  1. #1 Lots Of Compile Errors 
    Registered Member Gingie's Avatar
    Join Date
    Mar 2014
    Posts
    95
    Thanks given
    2
    Thanks received
    0
    Rep Power
    19
    Code:
    src\com\rs\game\player\content\Commands.java:2075: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2075: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2080: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                                            "You've been unmuted by
    "+Utils.formatPlayerNameForDisplay(player.getUsername())+".");
    
                                       ^
    src\com\rs\game\player\content\Commands.java:2081: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2092: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2104: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2105: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2105: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2111: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage("You
     have banned 48 hours: "+target.getDisplayName()+".");
                                            ^
    src\com\rs\game\player\content\Commands.java:2115: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                                    player.getPackets().sendGameMess
    age(
                                                    ^
    src\com\rs\game\player\content\Commands.java:2123: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2131: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2132: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2132: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2140: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                                            "You've been Jailed for
    24 hours by "+Utils.formatPlayerNameForDisplay(player.getUsername())+".");
    
                                                   ^
    src\com\rs\game\player\content\Commands.java:2141: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2153: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2165: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2166: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2166: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2169: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2174: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    player.getPackets().sendGameMessage("You have ki
    cked: "+target.getDisplayName()+".");
                                    ^
    src\com\rs\game\player\content\Commands.java:2179: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2180: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            message += cmd[i] + ((i == cmd.length -
    1) ? "" : " ");
                                                       ^
    src\com\rs\game\player\content\Commands.java:2180: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            message += cmd[i] + ((i == cmd.length -
    1) ? "" : " ");
                                                                       ^
    src\com\rs\game\player\content\Commands.java:2181: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    sendYell(player, Utils.fixChatMessage(message),
    true);
                                             ^
    src\com\rs\game\player\content\Commands.java:2186: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2187: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2187: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2190: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2195: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    player.getPackets().sendGameMessage("You have ki
    cked: "+target.getDisplayName()+".");
                                    ^
    src\com\rs\game\player\content\Commands.java:2199: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    if (player.getControlerManager().getControler()
    != null) {
                                        ^
    src\com\rs\game\player\content\Commands.java:2200: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage("You
     cannot hide in a public event!");
                                            ^
    src\com\rs\game\player\content\Commands.java:2203: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    player.getAppearence().switchHidden();
                                    ^
    src\com\rs\game\player\content\Commands.java:2204: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    player.getPackets().sendGameMessage("Hidden? " +
     player.getAppearence().isHidden());
    
     ^
    src\com\rs\game\player\content\Commands.java:2204: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    player.getPackets().sendGameMessage("Hidden? " +
     player.getAppearence().isHidden());
                                    ^
    src\com\rs\game\player\content\Commands.java:2209: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2210: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2210: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2217: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                                            "You've been unjailed by
     "+Utils.formatPlayerNameForDisplay(player.getUsername())+".");
    
                                        ^
    src\com\rs\game\player\content\Commands.java:2218: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2229: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2240: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    if (player.isLocked() || player.getControlerMana
    ger().getControler() != null) {
                                        ^
    src\com\rs\game\player\content\Commands.java:2240: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                    if (player.isLocked() || player.getControlerMana
    ger().getControler() != null) {
                                                             ^
    src\com\rs\game\player\content\Commands.java:2241: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage("You
     cannot tele anywhere from here.");
                                            ^
    src\com\rs\game\player\content\Commands.java:2245: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2246: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    src\com\rs\game\player\content\Commands.java:2246: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                                    ^
    src\com\rs\game\player\content\Commands.java:2249: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.getPackets().sendGameMessage(
                                            ^
    src\com\rs\game\player\content\Commands.java:2252: cannot find symbol
    symbol  : variable player
    location: class com.rs.game.player.content.Commands
                                            player.setNextWorldTile(target);
                                            ^
    src\com\rs\game\player\content\Commands.java:2256: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                    for (int i = 1; i < cmd.length; i++)
                                                        ^
    src\com\rs\game\player\content\Commands.java:2257: cannot find symbol
    symbol  : variable cmd
    location: class com.rs.game.player.content.Commands
                                            name += cmd[i] + ((i == cmd.length - 1)
    ? "" : " ");
                                                    ^
    100 errors
    8 warnings
    If no errors occured the compile has been finished.
    Press any key to continue . . .
    Any idea on how to fix?
    If you're the smartest one in the room, then you're in the wrong room. - Anonymous
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2013
    Posts
    4,409
    Thanks given
    59
    Thanks received
    478
    Rep Power
    138
    You're missing a } somewhere
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Aug 2014
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    wanna start a server with me any1?
    Reply With Quote  
     

  4. #4  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,903
    Thanks given
    230
    Thanks received
    1,695
    Rep Power
    5000
    variable cmd & player is not found.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Apr 2014
    Posts
    869
    Thanks given
    515
    Thanks received
    202
    Rep Power
    0
    Quote Originally Posted by twosync View Post
    wanna start a server with me any1?
    How is that relevant to this Topic ??
    Reply With Quote  
     

  6. #6  
    Registered Member Gingie's Avatar
    Join Date
    Mar 2014
    Posts
    95
    Thanks given
    2
    Thanks received
    0
    Rep Power
    19
    Quote Originally Posted by Situations View Post
    variable cmd & player is not found.
    I know the player.java is in the right spot, but how do i fix the variable cmd?
    If you're the smartest one in the room, then you're in the wrong room. - Anonymous
    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: 16
    Last Post: 02-19-2013, 11:31 PM
  2. Lots of anti leech errors , plz help
    By kjwcraft in forum Help
    Replies: 1
    Last Post: 06-19-2012, 11:02 PM
  3. How to make sense of compiling errors (4 teh nubs)
    By Ambient in forum Configuration
    Replies: 12
    Last Post: 09-22-2011, 06:24 AM
  4. Lot of 562 server errors.
    By Darkknightlt in forum Help
    Replies: 0
    Last Post: 07-04-2010, 04:15 PM
  5. Replies: 4
    Last Post: 04-18-2010, 01:09 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
  •