Thread: Server error for quest

Results 1 to 8 of 8
  1. #1 Server error for quest 
    Registered Member
    Join Date
    Jan 2013
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Feb 2011
    Posts
    1,143
    Thanks given
    544
    Thanks received
    108
    Rep Power
    87
    Looks about right, where are you placing this? (Don't just say "Player.java")

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2013
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    Quote Originally Posted by falconpunch View Post
    Looks about right, where are you placing this? (Don't just say "Player.java")
    I think that's my problem. I'm not sure where to place it.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    24
    Posts
    4,445
    Thanks given
    892
    Thanks received
    1,525
    Rep Power
    3206
    Quote Originally Posted by guitarfret66 View Post
    I think that's my problem. I'm not sure where to place it.
    In "Player.java" outside of a method is a fine place for it.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,820
    Thanks given
    889
    Thanks received
    1,434
    Rep Power
    2924
    Missing a bracket
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2013
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    Quote Originally Posted by Zivik View Post
    In "Player.java" outside of a method is a fine place for it.

    I tried putting at the bottom after everything and it still didn't work

    Quote Originally Posted by Faris View Post
    Missing a bracket
    I tried adding a bracket it didn't work either
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Feb 2011
    Posts
    1,143
    Thanks given
    544
    Thanks received
    108
    Rep Power
    87
    Quote Originally Posted by guitarfret66 View Post
    I tried putting at the bottom after everything and it still didn't work


    I tried adding a bracket it didn't work either
    At the top under the imports where the other public int's are.

    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2013
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    7
    [SPOIL]
    public int playerGameCount;
    public boolean ChangeDoor[] = new boolean[server.objectHandler.MaxObjects];

    }

    public int quest1; // This variable will contain what queststage the player is currently at
    public int rats; // This is optional. This variable will contain what amount of rats the player has killed[/SPOIL]

    The bracket was the ending of the code.
    I put in those lines at the end.

    I know I know I'm a noob, idk how to code and I've never done quests before.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 11-16-2013, 12:42 AM
  2. Replies: 3
    Last Post: 07-28-2013, 06:48 AM
  3. Replies: 1
    Last Post: 01-24-2012, 02:04 AM
  4. Replies: 3
    Last Post: 09-07-2011, 04:56 AM
  5. Java Error for logging in? (most servers???)
    By silabgarza in forum Help
    Replies: 6
    Last Post: 03-11-2010, 11:01 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
  •