Thread: what the hell?

Results 1 to 6 of 6
  1. #1 what the hell? 
    Member
    Join Date
    Oct 2010
    Posts
    142
    Thanks given
    2
    Thanks received
    10
    Rep Power
    0
    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 . . .
    Reply With Quote  
     

  2. #2  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,147
    Thanks given
    2,656
    Thanks received
    3,731
    Rep Power
    5000
    You can't have hyphens in identifiers in Java. Try replacing it with an underscore (i.e. character_tutorial).
    .
    Reply With Quote  
     

  3. #3  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,278
    Thanks given
    1,059
    Thanks received
    1,465
    Rep Power
    5000
    characterTutorial = false;
    Reply With Quote  
     

  4. #4  
    Member
    Join Date
    Oct 2010
    Posts
    142
    Thanks given
    2
    Thanks received
    10
    Rep Power
    0
    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 . . .
    Reply With Quote  
     

  5. #5  
    Member what the hell? Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    post the whole thing here

    Attached imageAttached image
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2011
    Posts
    279
    Thanks given
    5
    Thanks received
    20
    Rep Power
    3
    Add code tags as well, you're making my eyesight worse.
    But you need semicolons in the first 2 errors.
    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

Similar Threads

  1. Hell PVP
    By Leanbow in forum Advertise
    Replies: 5
    Last Post: 10-03-2009, 02:51 AM
  2. hell pvp 508
    By Leanbow in forum Advertise
    Replies: 15
    Last Post: 07-23-2009, 07:01 PM
  3. What the hell is this?
    By Ed in forum Help
    Replies: 23
    Last Post: 07-17-2009, 03:33 PM
  4. What the hell?
    By JoshB in forum Help
    Replies: 3
    Last Post: 07-14-2009, 01:07 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
  •