Thread: 1 Error help please

Results 1 to 6 of 6
  1. #1 1 Error help please 
    Banned
    Join Date
    Nov 2012
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Do I need to add something to server.java or what?
    My imports are all there.

    Reply With Quote  
     

  2. #2  
    Registered Member KANYE WEST's Avatar
    Join Date
    Oct 2011
    Posts
    178
    Thanks given
    9
    Thanks received
    61
    Rep Power
    44
    I'm assuming that you've imported the Server class. If you haven't, do that, but if you have, then you need to check if there's an actual "getCycleEventManager" instance in the Server class.
    Come back when you have done all of that and give me an update.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Nov 2012
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Yes iv'e imported the server class. There is no "getCycleEventManager" in the server class.
    Reply With Quote  
     

  4. #4  
    Registered Member KANYE WEST's Avatar
    Join Date
    Oct 2011
    Posts
    178
    Thanks given
    9
    Thanks received
    61
    Rep Power
    44
    Well based on my knowledge, the CycleEvent classes utilize static fields.

    So I want you to try out:

    Code:
    CycleEventHandler.getSingleton().addEvent()
    instead of

    Code:
    Server.getCycleEventManager().addEvent()
    If that doesn't work, then you obviously need to create the method in your Server class.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Nov 2012
    Posts
    19
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Gave me 100 errors, for importing the server class what would be the right piece of code?
    Reply With Quote  
     

  6. #6  
    Registered Member KANYE WEST's Avatar
    Join Date
    Oct 2011
    Posts
    178
    Thanks given
    9
    Thanks received
    61
    Rep Power
    44
    Quote Originally Posted by Yambar View Post
    Gave me 100 errors, for importing the server class what would be the right piece of code?
    Forget about the eariler post, you need to add a getCycleEventManager() method in your Server class.
    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. Replies: 11
    Last Post: 10-18-2012, 10:50 AM
  2. ERROR K4rn4ge 634 model header error
    By DeeJay in forum Help
    Replies: 0
    Last Post: 03-17-2012, 03:17 PM
  3. Replies: 2
    Last Post: 01-26-2012, 03:38 PM
  4. Replies: 9
    Last Post: 10-20-2011, 07:52 AM
  5. Replies: 6
    Last Post: 09-15-2010, 04:20 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •