Aeglen 369 Posted May 13, 2021 This Python program will allow those with access to QuickStart to effortlessly rotate a list of their accounts Tutorial (assumes Python is installed, YT messed up the audio): >> QuickStart requires Dreambot VIP or Scripter rank! << NOTE: If you get stuck on "Client is ready to launch" you're using the wrong .jar file! The license for this code: MIT License THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The code: #this program takes your accounts.csv file and rotates Master AIO F2P on them #implemented accounts.csv file formats #username:password #username:password:world #username:password:world:proxy_ip:proxy_port:proxy_username:proxy_password #you can modify the code to support other arguments including proxies etc path_to_accounts_file = "accounts.csv" mean_hours_per_account = 6 sd_hours_per_account = 1 dreambot_username = "USERNAME" dreambot_password = "PASSWORD" dreambot_path = r"C:\Users\Aeglen\DreamBot\BotData\client.jar" ###CODE### import csv import time from subprocess import Popen import random accounts = [] with open(path_to_accounts_file) as f: reader = csv.reader(f, delimiter=':') for line in reader: accounts.append(line) def generateCommand(account): user = account[0] pwd = account[1] world = None proxy_ip = None proxy_port = None proxy_username = None proxy_password = None if len(account) > 2: world = account[2] if len(account) > 3: proxy_ip = account[3] proxy_port = account[4] proxy_username = account[5] proxy_password = account[6] if proxy_ip != None: return "java -Xmx255M -jar " + dreambot_path + " -script \"Master AIO F2P\" -username " + dreambot_username + " -password " + dreambot_password + " -accountUsername " + user + " -accountPassword " + pwd + " -world " + world + " -proxyHost " + proxy_ip + " -proxyPort " + proxy_port + " -proxyUser " + proxy_username + " -proxyPass " + proxy_password + " -params nogui" elif world != None: return "java -Xmx255M -jar " + dreambot_path + " -script \"Master AIO F2P\" -username " + dreambot_username + " -password " + dreambot_password + " -accountUsername " + user + " -accountPassword " + pwd + " -world " + world + " -params nogui" else: return "java -Xmx255M -jar " + dreambot_path + " -script \"Master AIO F2P\" -username " + dreambot_username + " -password " + dreambot_password + " -accountUsername " + user + " -accountPassword " + pwd + " -params nogui" def individualizeTime(time, name): mult = 1 sum = 0 for char in name: sum += ord(char) * mult mult += 2 random.seed(sum) time *= random.uniform(0.8,1.2) return time while True: for account in accounts: print(generateCommand(account)) p = Popen(generateCommand(account)) runetime = random.gauss(mean_hours_per_account*3600,sd_hours_per_account*3600) time.sleep(individualizeTime(runetime, account[0])) p.terminate() Example accounts.csv: [email protected]:password:301:proxy_ip:proxy_port:proxy_username:proxy_password [email protected]:password:330 [email protected]:password
Aeglen 369 Author Posted May 17, 2021 3 hours ago, ChaosKilla said: Anyway to add proxies? Might add it later, but for now you'll need to code it in yourself
purepanic 48 Posted May 17, 2021 7 hours ago, ChaosKilla said: Anyway to add proxies? If you check his discord I have scripted in proxies
xokonik891 0 Posted May 18, 2021 tried this but your dreambot client looks different to mine. something i'm missing? mine just gets stuck here
Aeglen 369 Author Posted May 18, 2021 3 minutes ago, xokonik891 said: tried this but your dreambot client looks different to mine. something i'm missing? mine just gets stuck here this is not the correct .jar file
xokonik891 0 Posted May 18, 2021 Spoiler probably should have read more clearly that its for quickstart! thanks aeglen
Recommended Posts
Archived
This topic is now archived and is closed to further replies.