Thread: Shard Revolutions - Fishing

Results 1 to 7 of 7
  1. #1 Shard Revolutions - Fishing 
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    So I decided to totally break down the Fishing skill in Shard Revolutions to make my own off a base I made out of it.

    Here's what I got

    package com.rs2.content.skills - Anonymous - xgxQJfxM - Pastebin.com

    I get these errors though and I'm pretty stuck on them. Any help would be appreciated.

    Code:
    src\com\rs2\content\skills\Fishing.java:259: illegal start of expression
                    public static int getFishLevel(int id) {
                    ^
    src\com\rs2\content\skills\Fishing.java:259: illegal start of expression
                    public static int getFishLevel(int id) {
                           ^
    src\com\rs2\content\skills\Fishing.java:259: ';' expected
                    public static int getFishLevel(int id) {
                                 ^
    src\com\rs2\content\skills\Fishing.java:259: '.class' expected
                    public static int getFishLevel(int id) {
                                                       ^
    src\com\rs2\content\skills\Fishing.java:259: ';' expected
                    public static int getFishLevel(int id) {
                                                         ^
    src\com\rs2\content\skills\Fishing.java:272: illegal start of expression
                    public static boolean isFishFishingRod(int id) {
                    ^
    src\com\rs2\content\skills\Fishing.java:272: illegal start of expression
                    public static boolean isFishFishingRod(int id) {
                           ^
    src\com\rs2\content\skills\Fishing.java:272: ';' expected
                    public static boolean isFishFishingRod(int id) {
                                 ^
    src\com\rs2\content\skills\Fishing.java:272: '.class' expected
                    public static boolean isFishFishingRod(int id) {
                                                               ^
    src\com\rs2\content\skills\Fishing.java:272: ';' expected
                    public static boolean isFishFishingRod(int id) {
                                                                 ^
    src\com\rs2\content\skills\Fishing.java:276: illegal start of expression
                    public static boolean checkBait(Client client) {
                    ^
    src\com\rs2\content\skills\Fishing.java:276: illegal start of expression
                    public static boolean checkBait(Client client) {
                           ^
    src\com\rs2\content\skills\Fishing.java:276: ';' expected
                    public static boolean checkBait(Client client) {
                                 ^
    src\com\rs2\content\skills\Fishing.java:276: ')' expected
                    public static boolean checkBait(Client client) {
                                                          ^
    src\com\rs2\content\skills\Fishing.java:276: illegal start of expression
                    public static boolean checkBait(Client client) {
                                                                 ^
    src\com\rs2\content\skills\Fishing.java:276: ';' expected
                    public static boolean checkBait(Client client) {
                                                                  ^
    src\com\rs2\content\skills\Fishing.java:317: reached end of file while parsing
    }
     ^
    src\com\rs2\content\skills\Fishing.java:406: reached end of file while parsing
    →
    ^
    18 errors
    Press any key to continue . . .
    Thanks.
    Reply With Quote  
     

  2. #2  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    Looks like it's the same thing as 100 errors. The way 100 errors works is that if you are missing a bracket then it will use the next one and so on. 100 errors is the maximum errors the compiler will show. Therefor if the file isn't big enough to hold 100+ brackets then it won't show up as 100 errors, maybe 18 instead.]

    EDIT: Btw I'm pretty sure that's how 100 errors work, but not for sure. Also that might not be the same thing, Just trying to help. No flame pl0x


    Spoiler for different picture now:
    Reply With Quote  
     

  3. #3  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Quote Originally Posted by shoes48 View Post
    Looks like it's the same thing as 100 errors. The way 100 errors works is that if you are missing a bracket then it will use the next one and so on. 100 errors is the maximum errors the compiler will show. Therefor if the file isn't big enough to hold 100+ brackets then it won't show up as 100 errors, maybe 18 instead.]

    EDIT: Btw I'm pretty sure that's how 100 errors work, but not for sure. Also that might not be the same thing, Just trying to help. No flame pl0x
    I appreciate your help, but I know about 100 errors. The thing about 100 errors is it would usually show a lot more then that one method. That's not the problem. Thanks anyways.

    Anyone else?
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Feb 2007
    Age
    28
    Posts
    6,414
    Thanks given
    354
    Thanks received
    323
    Rep Power
    5000
    look at line 33
    Reply With Quote  
     

  5. #5  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    What about it?
    Reply With Quote  
     

  6. #6  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
    Eclipse Downloads

    Download the java version not java EE, it will provide the actual error not the javac output
    Reply With Quote  
     

  7. #7  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    27
    Posts
    2,612
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    Rofl it is the 100 errors thing I posted, Look at line 210 + the opening bracket for line 213 connects with the closing bracket at the end of the file. Coulda listened =\


    Spoiler for different picture now:
    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
  •