You can't have hyphens in identifiers in Java. Try replacing it with an underscore (i.e. character_tutorial).
|
src\server\model\players\Player.java:37: ';' expected
character-tutorial = false,
^
src\server\model\players\Player.java:37: <identifier> expected
character-tutorial = false,
^
2 errors
Press any key to continue . . .
You can't have hyphens in identifiers in Java. Try replacing it with an underscore (i.e. character_tutorial).
changed it to charactertutorial but i get these errors now
src\server\model\players\PlayerSave.java:302: cannot find symbol
symbol : method toString(boolean)
location: class java.lang.Integer
characterfile.write(Integer.toString(p.charactertu torial
), 0, Integer.toString(p.charactertutorial).length());
^
src\server\model\players\PlayerSave.java:302: cannot find symbol
symbol : method toString(boolean)
location: class java.lang.Integer
characterfile.write(Integer.toString(p.charactertu torial
), 0, Integer.toString(p.charactertutorial).length());
^
src\server\model\players\packets\ClickingButtons.j ava:26: cannot find symbol
symbol : method quest1()
location: class server.model.players.PlayerAssistant
c.getPA().quest1();
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
Press any key to continue . . .
Add code tags as well, you're making my eyesight worse.
But you need semicolons in the first 2 errors.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |