Thread: Compile error

Results 1 to 7 of 7
  1. #1 Compile error 
    Registered Member Cyradis's Avatar
    Join Date
    Aug 2009
    Posts
    70
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    can anyone help me with this?

    client.java:8889: illegal start of
    public void debug(String t
    ^
    1 error
    Files Compiled Successfully!
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jul 2009
    Posts
    915
    Thanks given
    1
    Thanks received
    10
    Rep Power
    0
    in your client.java go to line 8889 and post it here.
    Reply With Quote  
     

  3. #3  
    Registered Member Cyradis's Avatar
    Join Date
    Aug 2009
    Posts
    70
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    public void debug(String text) {
    if (debug)
    sM(text);
    }
    public void declineTrade() {
    declineTrade(true);
    }
    public void declineTrade(boolean tellOther) {
    closeInterface();
    client other = getClient(trade_reqId);
    if (tellOther && validClient(trade_reqId)) {
    //other.sM("Other player has declined the trade.");
    other.declineTrade(false);
    }
    the first line is line 8889
    Reply With Quote  
     

  4. #4  
    Austin_
    Guest
    public void debug (String text) {
    Reply With Quote  
     

  5. #5  
    Registered Member Cyradis's Avatar
    Join Date
    Aug 2009
    Posts
    70
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    err, but how do i fix it?
    Reply With Quote  
     

  6. #6  
    Austin_
    Guest
    Grr, replace yours with mine.

    Code:
    public void debug (String text) {
    if (debug)
    sM(text);
    }
    public void declineTrade() {
    declineTrade(true);
    }
    public void declineTrade(boolean tellOther) {
    closeInterface();
    client other = getClient(trade_reqId);
    if (tellOther && validClient(trade_reqId)) {
    //other.sM("Other player has declined the trade.");
    other.declineTrade(false);
    }
    Reply With Quote  
     

  7. #7  
    Registered Member Cyradis's Avatar
    Join Date
    Aug 2009
    Posts
    70
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Actually no it works now thanks tonnes
    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
  •