|
Whenever I run GameLauncher.java I get this.
LoginLauncher.java I get this...Code:USE: worldid(int) debug(boolean) hosted(boolean) pvpworld(boolean) hammershield_enabled(boolean)
Code:USE: debug(boolean) hosted(boolean)
Comment them out? This is the code for it.
Code:public static void main(String[] args) throws Exception { if (args.length < 5) { System.out.println("USE: worldid(int) debug(boolean) hosted(boolean) pvpworld(boolean) hammershield_enabled(boolean)"); return; } Settings.WORLD_ID = Integer.parseInt(args[0]); Settings.DEBUG = Boolean.parseBoolean(args[1]); Settings.HOSTED = Boolean.parseBoolean(args[2]); Settings.SPAWN_WORLD = Boolean.parseBoolean(args[3]); Settings.CX_HAMMERSHIELD_ENABLED = Boolean.parseBoolean(args[4]); Settings.init();
Like thatCode:public static void main(String[] args) throws Exception { /*if (args.length < 5) { System.out.println("USE: worldid(int) debug(boolean) hosted(boolean) pvpworld(boolean) hammershield_enabled(boolean)"); return; } Settings.WORLD_ID = Integer.parseInt(args[0]); Settings.DEBUG = Boolean.parseBoolean(args[1]); Settings.HOSTED = Boolean.parseBoolean(args[2]); Settings.SPAWN_WORLD = Boolean.parseBoolean(args[3]); Settings.CX_HAMMERSHIELD_ENABLED = Boolean.parseBoolean(args[4]);*/ Settings.init();
Then I get this error..
Code:[Launcher] Initing File System... ERROR! THREAD NAME: main java.io.FileNotFoundException: Bad location at minifs.MiniFS.open(MiniFS.java:150) at com.rs.utils.SerializableFilesManager.init(SerializableFilesManager.java:36) at com.rs.GameLauncher.main(GameLauncher.java:84) Exception in thread "main" java.lang.Error: Failed to load file system. at com.rs.utils.SerializableFilesManager.init(SerializableFilesManager.java:47) at com.rs.GameLauncher.main(GameLauncher.java:84)
removing the arguments that loads the game would just continue throwing errors, lol
if you're using Eclipse (i certainly hope you are, if not, download it) open the file in the workspace, click the 'Run' menu > 'Run Configurations' > 'Arguments' > and then add the arguments in there. World ID will probably be 1, debug is unnecessary unless you know what it does, do you want the server hosted or local-host, is it a pvp world, and is hammershield enabled. so for example, the arguments should look like: 1 false false false false. add those arguments a click apply and then run, then do the same thing for the login launcher.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |