Thread: Where do i look for this...?

Results 1 to 6 of 6
  1. #1 Where do i look for this...? 
    Registered Member
    Rainaka's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,391
    Thanks given
    273
    Thanks received
    89
    Rep Power
    870
    Code:
                                ^
    NPCHandler.java:1634: ';' expected
        public static int worldmap[][] = {
                                      ^
    NPCHandler.java:1637: not a statement
                 /* 01 */           3252, 3453, 3252, 3453, 3252, 3253, 3254, 3252,
    3253,
                                    ^
    NPCHandler.java:1637: ';' expected
                 /* 01 */           3252, 3453, 3252, 3453, 3252, 3253, 3254, 3252,
    3253,
                                        ^
    NPCHandler.java:1786: illegal start of expression
            },
             ^
    NPCHandler.java:1789: not a statement
                 /* 01 */           3404, 3404, 3403, 3403, 4302, 4302, 4302, 3401,
    3401,
                                    ^
    NPCHandler.java:1789: ';' expected
                 /* 01 */           3404, 3404, 3403, 3403, 4302, 4302, 4302, 3401,
    3401,
                                        ^
    NPCHandler.java:1937: illegal start of expression
            },
             ^
    NPCHandler.java:1944: illegal start of expression
        public static int worldmap2[][] = {
        ^
    NPCHandler.java:1944: illegal start of expression
        public static int worldmap2[][] = {
               ^
    NPCHandler.java:1944: ';' expected
        public static int worldmap2[][] = {
                     ^
    NPCHandler.java:1944: not a statement
        public static int worldmap2[][] = {
                                   ^
    NPCHandler.java:1944: ';' expected
        public static int worldmap2[][] = {
                                       ^
    NPCHandler.java:1947: not a statement
                /* 01 */            3257, 3258, 3260, 3261, 3261, 3262, 3261, 3262,
    3257, 3258,
                                    ^
    NPCHandler.java:1947: ';' expected
                /* 01 */            3257, 3258, 3260, 3261, 3261, 3262, 3261, 3262,
    3257, 3258,
                                        ^
    NPCHandler.java:1952: illegal start of expression
            },
             ^
    NPCHandler.java:1955: not a statement
                /* 01 */            3256, 3256, 3256, 3256, 3266, 3266, 3267, 3267,
    3270, 3270,
                                    ^
    NPCHandler.java:1955: ';' expected
                /* 01 */            3256, 3256, 3256, 3256, 3266, 3266, 3267, 3267,
    3270, 3270,
                                        ^
    NPCHandler.java:1960: illegal start of expression
            },
             ^
    NPCHandler.java:1963: illegal start of expression
        public int remove = 2; // 1 = removes equipment, 2 = doesn't remove - *****c
    heez
        ^
    NPCHandler.java:1964: illegal start of expression
        public static int removeschaos[] = { 1, 2, 2, 2};
        ^
    NPCHandler.java:1964: illegal start of expression
        public static int removeschaos[] = { 1, 2, 2, 2};
               ^
    NPCHandler.java:1964: ';' expected
        public static int removeschaos[] = { 1, 2, 2, 2};
                     ^
    NPCHandler.java:1964: not a statement
        public static int removeschaos[] = { 1, 2, 2, 2};
                                      ^
    NPCHandler.java:1964: ';' expected
        public static int removeschaos[] = { 1, 2, 2, 2};
                                        ^
    NPCHandler.java:1964: not a statement
        public static int removeschaos[] = { 1, 2, 2, 2};
                                             ^
    NPCHandler.java:1964: ';' expected
        public static int removeschaos[] = { 1, 2, 2, 2};
                                              ^
    NPCHandler.java:1966: illegal start of expression
        public static int randomremoveschaos() {
        ^
    NPCHandler.java:1966: illegal start of expression
        public static int randomremoveschaos() {
               ^
    NPCHandler.java:1966: ';' expected
        public static int randomremoveschaos() {
                     ^
    NPCHandler.java:1966: ';' expected
        public static int randomremoveschaos() {
                                              ^
    NPCHandler.java:1970: illegal start of expression
        public void gfxAll(int id, int Y, int X) {
        ^
    NPCHandler.java:1970: illegal start of expression
        public void gfxAll(int id, int Y, int X) {
               ^
    NPCHandler.java:1970: ';' expected
        public void gfxAll(int id, int Y, int X) {
                          ^
    NPCHandler.java:1970: <identifier> expected
        public void gfxAll(int id, int Y, int X) {
                                  ^
    NPCHandler.java:1970: not a statement
        public void gfxAll(int id, int Y, int X) {
                                       ^
    NPCHandler.java:1970: ';' expected
        public void gfxAll(int id, int Y, int X) {
                                        ^
    NPCHandler.java:1970: ';' expected
        public void gfxAll(int id, int Y, int X) {
                                               ^
    NPCHandler.java:1984: illegal start of expression
        public int GetNPCBlockAnim(int id) {
        ^
    NPCHandler.java:1984: ';' expected
        public int GetNPCBlockAnim(int id) {
                                  ^
    NPCHandler.java:1984: ';' expected
        public int GetNPCBlockAnim(int id) {
                                         ^
    NPCHandler.java:2017: illegal start of expression
        public boolean AttackPlayerRanged(int NPCID) {
        ^
    NPCHandler.java:2017: ';' expected
        public boolean AttackPlayerRanged(int NPCID) {
                                         ^
    NPCHandler.java:2017: ';' expected
        public boolean AttackPlayerRanged(int NPCID) {
                                                   ^
    NPCHandler.java:2142: illegal start of expression
        public boolean AttackPlayer(int NPCID) {
        ^
    NPCHandler.java:2142: ';' expected
        public boolean AttackPlayer(int NPCID) {
                                   ^
    NPCHandler.java:2142: ';' expected
        public boolean AttackPlayer(int NPCID) {
                                             ^
    NPCHandler.java:2317: illegal start of expression
        public boolean AttackPlayerMage(int NPCID) {
        ^
    NPCHandler.java:2317: ';' expected
        public boolean AttackPlayerMage(int NPCID) {
                                       ^
    NPCHandler.java:2317: ';' expected
        public boolean AttackPlayerMage(int NPCID) {
                                                 ^
    NPCHandler.java:2403: illegal start of expression
        public boolean AttackNPCMage(int NPCID) {
        ^
    NPCHandler.java:2403: ';' expected
        public boolean AttackNPCMage(int NPCID) {
                                    ^
    NPCHandler.java:2403: ';' expected
        public boolean AttackNPCMage(int NPCID) {
                                              ^
    NPCHandler.java:2467: illegal start of expression
        public boolean AttackNPC(int NPCID) {
        ^
    NPCHandler.java:2467: ';' expected
        public boolean AttackNPC(int NPCID) {
                                ^
    NPCHandler.java:2467: ';' expected
        public boolean AttackNPC(int NPCID) {
                                          ^
    NPCHandler.java:2514: illegal start of expression
        public boolean ResetAttackNPC(int NPCID) {
        ^
    NPCHandler.java:2514: ';' expected
        public boolean ResetAttackNPC(int NPCID) {
                                     ^
    NPCHandler.java:2514: ';' expected
        public boolean ResetAttackNPC(int NPCID) {
                                               ^
    NPCHandler.java:2525: illegal start of expression
        public int getLevelForXP(int exp) {
        ^
    NPCHandler.java:2525: ';' expected
        public int getLevelForXP(int exp) {
                                ^
    NPCHandler.java:2525: ';' expected
        public int getLevelForXP(int exp) {
                                        ^
    NPCHandler.java:2540: illegal start of expression
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
        ^
    NPCHandler.java:2540: ';' expected
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
                                   ^
    NPCHandler.java:2540: <identifier> expected
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
                                                ^
    NPCHandler.java:2540: not a statement
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
                                                     ^
    NPCHandler.java:2540: ';' expected
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
                                                            ^
    NPCHandler.java:2540: <identifier> expected
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
                                                                          ^
    NPCHandler.java:2540: not a statement
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
                                                                               ^
    NPCHandler.java:2540: ';' expected
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
    
      ^
    NPCHandler.java:2540: ';' expected
        public boolean GoodDistance(int objectX, int objectY, int playerX, int playe
    rY, int distance) {
    
                    ^
    NPCHandler.java:2561: illegal start of expression
        public boolean ResetAttackPlayer(int NPCID) {
        ^
    NPCHandler.java:2561: ';' expected
        public boolean ResetAttackPlayer(int NPCID) {
                                        ^
    NPCHandler.java:2561: ';' expected
        public boolean ResetAttackPlayer(int NPCID) {
                                                  ^
    NPCHandler.java:2571: illegal start of expression
        public boolean loadAutoSpawn(String FileName) {
        ^
    NPCHandler.java:2571: ';' expected
        public boolean loadAutoSpawn(String FileName) {
                                    ^
    NPCHandler.java:2571: ';' expected
        public boolean loadAutoSpawn(String FileName) {
                                                    ^
    NPCHandler.java:2640: illegal start of expression
        public int GetNpcListHP(int NpcID) {
        ^
    NPCHandler.java:2640: ';' expected
        public int GetNpcListHP(int NpcID) {
                               ^
    NPCHandler.java:2640: ';' expected
        public int GetNpcListHP(int NpcID) {
                                         ^
    NPCHandler.java:2651: illegal start of expression
        public boolean loadNPCList(String FileName) {
        ^
    NPCHandler.java:2651: ';' expected
        public boolean loadNPCList(String FileName) {
                                  ^
    NPCHandler.java:2651: ';' expected
        public boolean loadNPCList(String FileName) {
                                                  ^
    NPCHandler.java:2713: illegal start of expression
        public boolean loadNPCDrops(String FileName) {
        ^
    NPCHandler.java:2713: ';' expected
        public boolean loadNPCDrops(String FileName) {
                                   ^
    NPCHandler.java:2713: ';' expected
        public boolean loadNPCDrops(String FileName) {
                                                   ^
    NPCHandler.java:2785: illegal start of expression
        public int GetNPCDropArrayID(int NPCID, int DropType) {
        ^
    NPCHandler.java:2785: ';' expected
        public int GetNPCDropArrayID(int NPCID, int DropType) {
                                    ^
    NPCHandler.java:2785: <identifier> expected
        public int GetNPCDropArrayID(int NPCID, int DropType) {
                                               ^
    NPCHandler.java:2785: not a statement
        public int GetNPCDropArrayID(int NPCID, int DropType) {
                                                    ^
    NPCHandler.java:2785: ';' expected
        public int GetNPCDropArrayID(int NPCID, int DropType) {
                                                            ^
    NPCHandler.java:2797: illegal start of expression
        public void println(String str) {
        ^
    NPCHandler.java:2797: illegal start of expression
        public void println(String str) {
               ^
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,328
    Thanks given
    14
    Thanks received
    19
    Rep Power
    416
    NPCHandler.java.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Apr 2009
    Posts
    568
    Thanks given
    2
    Thanks received
    10
    Rep Power
    0
    Quote Originally Posted by I R Ryan View Post
    NPCHandler.java.
    yes. and he either misplaced a bracket, a semi-colon, or forgot ( ) or a " somewere in his code.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Rainaka's Avatar
    Join Date
    Nov 2008
    Age
    29
    Posts
    1,391
    Thanks given
    273
    Thanks received
    89
    Rep Power
    870
    Guys, I meant WHERE or which line do i go to, cuz none of these are wrong..
    Reply With Quote  
     

  5. #5  
    Registered Member
    ~Josh's Avatar
    Join Date
    Mar 2008
    Age
    31
    Posts
    542
    Thanks given
    0
    Thanks received
    16
    Rep Power
    278
    it says in the error: NPCHandler.java:####: errorhere.


    the number (####) Is the line, or a line close to the error. If you forgot { or } then it could be anywhere, considering it reads almost every line as an error.
    Reply With Quote  
     

  6. #6  
    Registered Member Crash's Avatar
    Join Date
    Feb 2009
    Posts
    383
    Thanks given
    6
    Thanks received
    1
    Rep Power
    49
    You will have to search for it. When you get 100 errors it ussually won't show you the exact error. Try looking right before the first error it gives you in the compiler.


    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
  •