Thread: [317] PI 1 compiling error!

Results 1 to 7 of 7
  1. #1 [317] PI 1 compiling error! 
    Registered Member
    Join Date
    Jul 2012
    Age
    25
    Posts
    51
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    this is the error i get

    src\server\model\players\packets\Commands.java:301 6: error: <identifier> expecte
    d
    Public Void; void DonatorCommands(Client); c StringplayerCommand;
    ^
    1 error
    Press any key to continue . . .


    And this is the line where the error comes from

    }

    Public Void; void DonatorCommands(Client); c StringplayerCommand;
    {

    }
    }



    help please!
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Apr 2012
    Posts
    764
    Thanks given
    390
    Thanks received
    76
    Rep Power
    99
    Did you write that yourself, Follow a tutorial or was it already in the source?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2012
    Age
    25
    Posts
    51
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    already in source
    there were alot more errors, but it told me to like put in ';' or put parenthasees around it or something. yakno?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2010
    Posts
    49
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Vexare View Post
    this is the error i get

    src\server\model\players\packets\Commands.java:301 6: error: <identifier> expecte
    d
    Public Void; void DonatorCommands(Client); c StringplayerCommand;
    ^
    1 error
    Press any key to continue . . .


    And this is the line where the error comes from

    }

    Public Void; void DonatorCommands(Client); c StringplayerCommand;
    {

    }
    }



    help please!

    when you changed your "pub lic void; void DonatorCommands(client); c StringplayerCommand;" either change this or delete the command all together.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Apr 2012
    Posts
    764
    Thanks given
    390
    Thanks received
    76
    Rep Power
    99
    Replace this:
    Code:
    Public Void; void DonatorCommands(Client); c StringplayerCommand;
    With this:
    Code:
    public void DonatorCommands(Client c, String playerCommand)
    Might work just try it.
    If it doesn't work just tell me, try using an IDE such as 'Netbeans' or 'Eclipse' they're free.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2012
    Age
    25
    Posts
    51
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    omfg. thank you man! and whut do netbean/eclipse do exactly? and how do i thank you?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Apr 2012
    Posts
    764
    Thanks given
    390
    Thanks received
    76
    Rep Power
    99
    [Only registered and activated users can see links. ]

    Netbeans is an IDE, it is owned by Oracle it's free developing software for Java.
    It helps you with errors etc. It'll tell you exactly what's wrong with your code.

    Also it can help you code easier for example:
    You type:
    Code:
      {
    It'll automatically do a

    Code:
      }
    It'll close it for you
    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. Compiling error
    By Shawn_ in forum Help
    Replies: 3
    Last Post: 08-17-2012, 09:11 AM
  2. 317 pi vote4cash compiling error
    By krisnka in forum Help
    Replies: 2
    Last Post: 03-16-2012, 09:44 PM
  3. compiling error! need help asap PI 317
    By yuioplok in forum Help
    Replies: 5
    Last Post: 12-26-2011, 09:32 AM
  4. Synergy-Pkz 317 COMPILING ERROR LOG
    By martix in forum Help
    Replies: 0
    Last Post: 03-22-2010, 04:01 PM
  5. Compiling error [317]
    By MetalGear in forum Help
    Replies: 9
    Last Post: 05-04-2009, 09:35 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
  •