Are you initializing world class and rs2server class?
|
So whenever I want to start my server it loads fine, up until "INFO: Waiting for pending background loading tasks...". That's where it just gets stuck and it doesn't give me any errors. I tried disabling background tasks however that didn't work. I honestly have no idea what is causing the error.
Are you initializing world class and rs2server class?
Sorry but I have no idea what that means
in server.javaDo you have this under void main?Code:World.getWorld(); try { new RS2Server().start(); } catch (Exception ex) { System.out.println("Error starting the server..."); ex.printStackTrace(); System.exit(1); }
I think,
Code:public static void main(String[] args) { serverlistenerPort = 43594; logger.info("Starting RSWorld..."); logger.info("Initiating shutdown hooks..."); Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { logger.info("Saving players..."); logger.fine("Shutting down."); } }); /* * Starts the background loading */ World.getWorld(); /* * Loads objects & regions * Clipped npcs & player following */ ObjectDef.loadConfig(); Region.load(); try { new RS2Server().start(); /* * Loads the API */ EventManager.initialise(); new Thread(new HttpListener()).start(); while (true) { Cycle(); } } catch (Exception ex) { ex.printStackTrace(); } }
Debug it, or check your last updates to see what you have done wrong.
Fixed it already, thanks anyways.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |