Thread: Do I need to add this in player.java?

Results 1 to 3 of 3
  1. #1 Do I need to add this in player.java? 
    Registered Member
    Join Date
    Jun 2009
    Posts
    67
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I keep getting the compile errors:
    Code:
    .\Clicking.java:3134: cannot find symbol
    symbol  : method keepItem1()
    location: class client
    c.keepItem1();
     ^
    .\Clicking.java:3259: cannot find symbol
    symbol  : method keepItem1()
    location: class client
    c.keepItem1();
     ^
    .\Clicking.java:3264: cannot find symbol
    symbol  : method keepItem2()
    location: class client
    c.keepItem2();
     ^
    .\Clicking.java:3269: cannot find symbol
    symbol  : method keepItem3()
    location: class client
    c.keepItem3();
     ^
    .\Clicking.java:3385: cannot find symbol
    symbol  : method keepItem4()
    location: class client
    c.keepItem4();
     ^
    That's the first part.

    And..
    Code:
    .\client.java:6989: cannot find symbol
    symbol  : method keepItemHandle()
    location: class client
                    keepItemHandle();
                    ^
    .\client.java:6992: cannot find symbol
    symbol  : method applyProtectItemProt()
    location: class client
                    applyProtectItemProt();
                    ^
    7 errors
    Press any key to continue . . .
    Do I need to add in my player class something like:
    Code:
    public int keepItem1
    Then item 2, 3, 4, etc..

    I unno guys. :/
    [Only registered and activated users can see links. ]
    He's hawt.
    Reply With Quote  
     

  2. #2  
    Registered Member
    LAMT's Avatar
    Join Date
    Jul 2007
    Posts
    1,120
    Thanks given
    45
    Thanks received
    10
    Rep Power
    716
    no.

    public void keepItem1() {
    //shit here
    }
    Reply With Quote  
     

  3. #3  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    what its saying is it cant locate the method. add a connection to it

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [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)


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
  •