Jump to content

Welcome to DreamBot

VIP Enhancement

Want to upgrade your DreamBot experience? Consider signing up for VIP!
VIP allows you to run as many accounts as you want, view the forums ad-free, receive 10% off all script purchases, and so much more!
Visit the store to learn about all of these great features!

Upgrade to VIP Now
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS gold? You can purchase vouchers from another users
  • Try asking for help in the chatbox

DreamBot is the only Deadman Mode supported bot on the market!

Download the DreamBot client today!





Sign in to follow this  
Mojo

How to...?

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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... :[

 

Edited by Mojo

Share this post


Link to post
Share on other sites

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.

Edited by Mojo

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...