Originally Posted by
Coder Mark
Im getting these errors
starting...
src\com\rs\game\player\content\Pots.java:76: error: invalid method declaration;
return type required
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: illegal start of type
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: ')' expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: ';' expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: illegal start of type
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: <identifier> expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: ';' expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: illegal start of type
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: <identifier> expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: <identifier> expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: illegal start of type
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: <identifier> expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: ';' expected
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:76: error: illegal start of type
HUNTER_POTION(new int[] { 9998, 10000, 10002, 10004 },
^
src\com\rs\game\player\content\Pots.java:77: error: ';' expected
Effects.HUNTER_POTION),
^
src\com\rs\game\player\content\Pots.java:77: error: <identifier> expected
Effects.HUNTER_POTION),
^
src\com\rs\game\player\content\Pots.java:77: error: illegal start of type
Effects.HUNTER_POTION),
^
src\com\rs\game\player\content\Pots.java:79: error: illegal start of type
HUNTER_FLASK(new int[] { 23435, 23437, 23439, 23441 },
^
src\com\rs\game\player\content\Pots.java:79: error: ')' expected
HUNTER_FLASK(new int[] { 23435, 23437, 23439, 23441 },
^
src\com\rs\game\player\content\Pots.java:79: error: not a statement
HUNTER_FLASK(new int[] { 23435, 23437, 23439, 23441 },
^
src\com\rs\game\player\content\Pots.java:79: error: ';' expected
HUNTER_FLASK(new int[] { 23435, 23437, 23439, 23441 },
^
src\com\rs\game\player\content\Pots.java:79: error: illegal start of type
HUNTER_FLASK(new int[] { 23435, 23437, 23439, 23441 },
^
src\com\rs\game\player\content\Pots.java:79: error: ';' expected
HUNTER_FLASK(new int[] { 23435, 23437, 23439, 23441 },
^
src\com\rs\game\player\content\Pots.java:80: error: illegal start of type
Effects.HUNTER_POTION),
^
src\com\rs\game\player\content\Pots.java:80: error: ';' expected
Effects.HUNTER_POTION),
^
src\com\rs\game\player\content\Pots.java:82: error: invalid method declaration;
return type required
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: illegal start of type
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: ')' expected
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: ';' expected
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: illegal start of type
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: <identifier> expected
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: ';' expected
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: illegal start of type
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: <identifier> expected
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: ';' expected
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:82: error: illegal start of type
AGILITY_MIX(new int[] { 11461, 11463 },
^
src\com\rs\game\player\content\Pots.java:83: error: ';' expected
Effects.AGILITY_MIX),
^
src\com\rs\game\player\content\Pots.java:83: error: <identifier> expected
Effects.AGILITY_MIX),
^
src\com\rs\game\player\content\Pots.java:83: error: illegal start of type
Effects.AGILITY_MIX),
^
src\com\rs\game\player\content\Pots.java:85: error: illegal start of type
COMBAT_MIX(new int[] { 11445, 11447 },
^
src\com\rs\game\player\content\Pots.java:85: error: ')' expected
COMBAT_MIX(new int[] { 11445, 11447 },
^
src\com\rs\game\player\content\Pots.java:85: error: not a statement
COMBAT_MIX(new int[] { 11445, 11447 },
^
src\com\rs\game\player\content\Pots.java:85: error: ';' expected
COMBAT_MIX(new int[] { 11445, 11447 },
^
src\com\rs\game\player\content\Pots.java:85: error: illegal start of type
COMBAT_MIX(new int[] { 11445, 11447 },
^
src\com\rs\game\player\content\Pots.java:85: error: ';' expected
COMBAT_MIX(new int[] { 11445, 11447 },
^
src\com\rs\game\player\content\Pots.java:86: error: illegal start of type
Effects.COMBAT_MIX),
^
src\com\rs\game\player\content\Pots.java:86: error: ';' expected
Effects.COMBAT_MIX),
^
src\com\rs\game\player\content\Pots.java:88: error: invalid method declaration;
return type required
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: illegal start of type
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: ')' expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: ';' expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: illegal start of type
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: <identifier> expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: ';' expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: illegal start of type
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: <identifier> expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: <identifier> expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: illegal start of type
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: <identifier> expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: <identifier> expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: illegal start of type
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: <identifier> expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: ';' expected
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:88: error: illegal start of type
COMBAT_FLASK(new int[] { 23447, 23449, 23451, 23453, 23455, 2345
7 },
^
src\com\rs\game\player\content\Pots.java:89: error: ';' expected
Effects.COMBAT_MIX),
^
src\com\rs\game\player\content\Pots.java:89: error: <identifier> expected
Effects.COMBAT_MIX),
^
src\com\rs\game\player\content\Pots.java:89: error: illegal start of type
Effects.COMBAT_MIX),
^
src\com\rs\game\player\content\Pots.java:89: error: <identifier> expected
Effects.COMBAT_MIX),
^
src\com\rs\game\player\content\Pots.java:92: error: ';' expected
private int[] id;
^
src\com\rs\game\player\content\Pots.java:92: error: illegal start of type
private int[] id;
^
src\com\rs\game\player\content\Pots.java:92: error: <identifier> expected
private int[] id;
^
src\com\rs\game\player\content\Pots.java:92: error: ';' expected
private int[] id;
^
72 errors
Press any key to continue . . .