Idk if anyone else had this issue but considering run.bats are disgusting to me i used an IDE
well when trying to run the server i got http://prntscr.com/f8jgt3 this problem,
Note this probably isnt the best way to do it but it worked for me.
in your launcher.java look for this line.
Delete these linesCode:public static void main(String[] args) throws Exception { if (args.length < 3) { System.out.println("USE: guimode(boolean) debug(boolean) hosted(boolean)"); return; } Settings.HOSTED = Boolean.parseBoolean(args[2]); Settings.DEBUG = Boolean.parseBoolean(args[1]); long currentTime = Utils.currentTimeMillis(); if (Settings.HOSTED) { } Logger.log("Launcher", "Running Server..."); Cache.init(); ItemsEquipIds.init();
it now runs in eclipse.Code:if (args.length < 3) { System.out.println("USE: guimode(boolean) debug(boolean) hosted(boolean)"); return; } Settings.HOSTED = Boolean.parseBoolean(args[2]); Settings.DEBUG = Boolean.parseBoolean(args[1]); if (Settings.HOSTED) { }
http://prntscr.com/f8jiao
if anyone wants to make that better im still learning. thanks.