Thread: Need help quick!!!

Results 1 to 3 of 3
  1. #1 Need help quick!!! 
    Fuckin PRO

    Damien's Avatar
    Join Date
    Feb 2008
    Age
    32
    Posts
    2,658
    Thanks given
    928
    Thanks received
    82
    Rep Power
    369
    Im trying add donator on server
    this is my error:

    .\Client.java:10702: cannot find symbol
    symbol : variable donator
    location: class Client
    donator = Intege
    r.parseInt(token2);
    ^
    .\Client.java:10902: cannot find symbol
    symbol : variable donator
    location: class Client
    characterfile.write(Integer.toString(donator), 0, Intege
    r.toString(donator).length());
    ^
    .\Client.java:10902: cannot find symbol
    symbol : variable donator
    location: class Client
    characterfile.write(Integer.toString(donator), 0, Intege
    r.toString(donator).length());

    ^
    .\Command.java:216: cannot find symbol
    symbol : variable Donator
    location: class Client
    if (c.Donator == 1) {
    ^
    Note: .\Stream.java uses or overrides a deprecated API.
    Note: Recompile with -Xlinteprecation for details.
    4 errors
    Press any key to continue . . .

    any help???
    Reply With Quote  
     

  2. #2  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    show you codes ( what all did you add )


    EDIT: did you add
    public int Donator = -1; or public static int Donator = -1;
    + You should change donator to Donator ( d to D )



    click banner to join gtracer!
    Reply With Quote  
     

  3. #3  
    Registered Member
    Enjoi's Avatar
    Join Date
    Sep 2008
    Posts
    2,451
    Thanks given
    566
    Thanks received
    282
    Rep Power
    1325
    yeh you need the int obviously.
    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
  •