Thread: Compiler Error

Results 1 to 7 of 7
  1. #1 Compiler Error 
    Registered Member
    Join Date
    Jul 2012
    Posts
    47
    Thanks given
    15
    Thanks received
    2
    Rep Power
    11
    I am getting this error
    Spoiler for Error:
    src\server\model\players\packets\ClickingButtons.j ava:3261: orphaned case
    case 114127:
    ^
    1 error


    This is the case
    Spoiler for Case:
    case 114127:
    if(c.isDonator >= 1) {
    if(c.specAmount < 10.0){
    if (c.specRestore > 0) {
    c.specRestore = 180;
    c.specAmount = 10.0;
    c.startAnimation(645);
    c.getItems().addSpecialBar(c.playerEquipment[c.playerWeapon]);
    c.sendMessage("Your special attack has been restored.");
    c.sendMessage("You can only do this every 3 minutes.");
    } else {
    c.sendMessage("You must wait at least 3 minutes!");
    }
    } else {
    c.sendMessage("You already have full special attack!");
    }
    return;
    } else {
    }
    break;


    If you require the whole class just ask
    EDIT - Fixed thanks to Korra
    Click above to get the cheapest WEB HOSTING options! We also provide VIRTUAL PRIVATE SERVERS (VPS) & DEDICATED SERVERS.
    Reply With Quote  
     

  2. #2  
    Registered Member Kristjan's Avatar
    Join Date
    Apr 2009
    Posts
    1,578
    Thanks given
    709
    Thanks received
    189
    Rep Power
    588
    This means your code is inside other method or unclosed method/break.
    Spoiler for Signature:
    Previously known as: 508gu
    Quote Originally Posted by SamSoft View Post
    Vouch for Korra Legit, First pin Sold So now the 9m is off the table.
    Quote Originally Posted by Zoltz View Post
    vouch, quick trade very smooth will trade w/ again.
    Quote Originally Posted by Bundy View Post
    Very Legit Seller, Bought 170k Already, Still Buying More Of Him, Cheap Prices!
    Quote Originally Posted by Bundy View Post
    Vouch, Very Good Guy, Purchased Again !
    Quote Originally Posted by eduber1 View Post
    vouch service went fast and smoothly
    Quote Originally Posted by Jinrake View Post
    vouch bru
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2012
    Posts
    47
    Thanks given
    15
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by Korra View Post
    This means your code is inside other method or unclosed method/break.
    I cant find it though, shall i put my whole class up?
    Click above to get the cheapest WEB HOSTING options! We also provide VIRTUAL PRIVATE SERVERS (VPS) & DEDICATED SERVERS.
    Reply With Quote  
     

  4. #4  
    Registered Member Kristjan's Avatar
    Join Date
    Apr 2009
    Posts
    1,578
    Thanks given
    709
    Thanks received
    189
    Rep Power
    588
    Quote Originally Posted by Sam! View Post
    I cant find it though, shall i put my whole class up?
    Yeah
    Spoiler for Signature:
    Previously known as: 508gu
    Quote Originally Posted by SamSoft View Post
    Vouch for Korra Legit, First pin Sold So now the 9m is off the table.
    Quote Originally Posted by Zoltz View Post
    vouch, quick trade very smooth will trade w/ again.
    Quote Originally Posted by Bundy View Post
    Very Legit Seller, Bought 170k Already, Still Buying More Of Him, Cheap Prices!
    Quote Originally Posted by Bundy View Post
    Vouch, Very Good Guy, Purchased Again !
    Quote Originally Posted by eduber1 View Post
    vouch service went fast and smoothly
    Quote Originally Posted by Jinrake View Post
    vouch bru
    Reply With Quote  
     

  5. #5  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,903
    Thanks given
    230
    Thanks received
    1,695
    Rep Power
    5000
    Download notepad++ and it'll spit the fix right in your face.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2012
    Posts
    47
    Thanks given
    15
    Thanks received
    2
    Rep Power
    11
    Quote Originally Posted by Korra View Post
    Yeah
    Its too long, shall i send it you through skype or you come on TV?
    Click above to get the cheapest WEB HOSTING options! We also provide VIRTUAL PRIVATE SERVERS (VPS) & DEDICATED SERVERS.
    Reply With Quote  
     

  7. #7  
    Registered Member Kristjan's Avatar
    Join Date
    Apr 2009
    Posts
    1,578
    Thanks given
    709
    Thanks received
    189
    Rep Power
    588
    Quote Originally Posted by Sam! View Post
    Its too long, shall i send it you through skype or you come on TV?
    I can come on TV, pm me the details.
    Spoiler for Signature:
    Previously known as: 508gu
    Quote Originally Posted by SamSoft View Post
    Vouch for Korra Legit, First pin Sold So now the 9m is off the table.
    Quote Originally Posted by Zoltz View Post
    vouch, quick trade very smooth will trade w/ again.
    Quote Originally Posted by Bundy View Post
    Very Legit Seller, Bought 170k Already, Still Buying More Of Him, Cheap Prices!
    Quote Originally Posted by Bundy View Post
    Vouch, Very Good Guy, Purchased Again !
    Quote Originally Posted by eduber1 View Post
    vouch service went fast and smoothly
    Quote Originally Posted by Jinrake View Post
    vouch bru
    Reply With Quote  
     

  8. Thankful user:



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. Need help please with compiler error
    By itzd0t in forum Help
    Replies: 9
    Last Post: 01-04-2013, 01:33 AM
  2. compiler error
    By azissus in forum Help
    Replies: 3
    Last Post: 12-29-2012, 05:14 AM
  3. Compiler Error
    By kiwishaun in forum Help
    Replies: 0
    Last Post: 07-08-2010, 03:51 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
  •