Thread: Compiling, Sorry im new.

Results 1 to 5 of 5
  1. #1 Compiling, Sorry im new. 
    Registered Member
    Join Date
    Dec 2015
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Trying to add a new command list.. Very new to all of this, Sorry

    src\server\model\players\packets\Commands.java:83: error: cannot find symbol
    if (c.playerPrayerBook) {
    ^
    symbol: variable playerPrayerBook
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:83: error: illegal start of type
    if (c.playerPrayerBook) {
    ^
    src\server\model\players\packets\Commands.java:84: error: cannot find symbol
    c.playerPrayerBook = false;
    ^
    symbol: variable playerPrayerBook
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:88: error: cannot find symbol
    c.playerPrayerBook = true;
    ^
    symbol: variable playerPrayerBook
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:100 : error: cannot find symbol
    c.expLock = !c.expLock;
    ^
    symbol: variable expLock
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:100 : error: cannot find symbol
    c.expLock = !c.expLock;
    ^
    symbol: variable expLock
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:101 : error: cannot find symbol
    c.sendMessage("Experience lock " + (c.expLock ? "activated." : "deactivated."));
    ^
    symbol: variable expLock
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:224 : error: cannot find symbol
    c2.sendMessage("@[email protected][STAFF CHAT]" + c.playerName + ": " + Misc.optimize(playerCommand.substring(6)));
    ^
    symbol: method optimize(String)
    location: class Misc
    src\server\model\players\packets\Commands.java:259 : error: cannot find symbol
    c2.sendMessage(c.getPA().getYellRank() + " " + c.playerName + ": " + Misc.optimize(playerCommand.substring(5)));
    ^
    symbol: method getYellRank()
    location: class PlayerAssistant
    src\server\model\players\packets\Commands.java:259 : error: cannot find symbol
    c2.sendMessage(c.getPA().getYellRank() + " " + c.playerName + ": " + Misc.optimize(playerCommand.substring(5)));
    ^
    symbol: method optimize(String)
    location: class Misc
    src\server\model\players\packets\Commands.java:274 : error: cannot find symbol
    c.donorTag = tag;
    ^
    symbol: variable donorTag
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:275 : error: cannot find symbol
    c.sendMessage("You have edited your tag to " + c.donorTag + ".");
    ^
    symbol: variable donorTag
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:286 : error: variable skill is already defined in method processPacket(Client,int,int)
    for (int skill = 0; skill < 7; skill++) {
    ^
    src\server\model\players\packets\Commands.java:291 : error: cannot find symbol
    c.constitution = 990;
    ^
    symbol: variable constitution
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:311 : error: variable skill is already defined in method processPacket(Client,int,int)
    for (int skill = 0; skill < 7; skill++) {
    ^
    src\server\model\players\packets\Commands.java:315 : error: cannot find symbol
    c.constitution = 990;
    ^
    symbol: variable constitution
    location: variable c of type Client
    src\server\model\players\packets\Commands.java:383 : error: cannot find symbol
    for (int i = 0; i < Config.UNSPAWNABLE.length; i++) {
    ^
    symbol: variable UNSPAWNABLE
    location: class Config
    src\server\model\players\packets\Commands.java:384 : error: cannot find symbol
    if (c.getItems().getItemName(newItemID).toLowerCase() .contains(Config.UNSPAWNABLE[i]) && c.playerRights != 3) {
    ^
    symbol: variable UNSPAWNABLE
    location: class Config
    src\server\model\players\packets\Commands.java:488 : error: cannot find symbol
    ((Client)Server.playerHandler.players[i]).pkp += 100;
    ^
    symbol: variable pkp
    location: class Client
    src\server\model\players\packets\Commands.java:508 : error: method handleHitMask in class Player cannot be applied to given types;
    c.handleHitMask(1000, Integer.parseInt(args[1]), 1, 0, false);
    ^
    required: int
    found: int,int,int,int,boolean
    reason: actual and formal argument lists differ in length
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    20 errors
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2011
    Posts
    2,094
    Thanks given
    0
    Thanks received
    1,012
    Rep Power
    3443
    errors are in plain english...

    also, use eclipse.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2015
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Omelete View Post
    errors are in plain english...

    also, use eclipse.
    Im new as hell to this shit, my first 20 mins lol. I will dl eclipse. Still not sure about errors.
    Reply With Quote  
     

  4. #4  
    Registered Member
    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,183
    Thanks given
    483
    Thanks received
    1,046
    Rep Power
    1490
    [Only registered and activated users can see links. ]
    ...
    Reply With Quote  
     

  5. #5  
    Registered Member
    Tommeh's Avatar
    Join Date
    Nov 2015
    Age
    20
    Posts
    1,937
    Thanks given
    310
    Thanks received
    996
    Rep Power
    5000
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 11-29-2011, 01:38 PM
  2. My userbarz...im new
    By JavaBoy in forum Showcase
    Replies: 8
    Last Post: 12-30-2007, 01:39 PM
  3. im only posting cuz im new and tons of ppl
    By kid rock in forum RS2 Server
    Replies: 0
    Last Post: 10-23-2007, 02:25 PM
  4. My newest sig(im new at gfx)
    By †ZerohControl† in forum Showcase
    Replies: 6
    Last Post: 09-09-2007, 10:07 AM
  5. Some of my work... (im new here)
    By Pancakebuddy in forum Showcase
    Replies: 1
    Last Post: 05-21-2007, 02:56 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
  •