Mojo 8 Posted April 13, 2019 How can I launch another dreambot instance through a script? I want to have bot manager running but will then launch several other clients according to the settings in the GUI? Any snippets would be appreciated.
Roma 2221 Posted April 13, 2019 Runtime.getRuntime().exec("java -jar client.jar"); Pretty sure that you can use quickstart by adding the params after the .jar path.
yeeter 539 Posted April 13, 2019 14 minutes ago, Roma said: Runtime.getRuntime().exec("java -jar client.jar"); Pretty sure that you can use quickstart by adding the params after the .jar path. YUP That is how I recently did it for a script a friend had me write for tracking statuses of his bots.
Mojo 8 Author Posted April 14, 2019 String cmd = "java -jar -Xbootclasspath/p:C:\\\\Users\\Jon\\DreamBot\\BotData\\client.jar C:\\\\Users\\Jon\\DreamBot\\BotData\\client.jar -proxyHostArg ip -proxyPortArg 1080 -script Script -params user pass"; Process pr = rt.exec(cmd); pr.getInputStream(); It runs fine through a bat file, but when I try to open it from a java instance it just says 'Attempting to quickstart' Not sure what I could be messing up on... :[
Mojo 8 Author Posted April 15, 2019 What would I do to get the console log to be outputted into a GUI. Or just label each of them and save their logs somehow. One way im thinking is to have temp log files for each account and just read from there but that seems a bit too much, should be an easier way.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.