lolwat 41 Posted October 31, 2022 (edited) BotBuddy Source on BotBuddy GitLab This thread is currently a work in progress.. please see the screenshots or visit the Discord listed at the bottom of the thread while I compose something accurate for the current state of this project. Now supporting Jagex account linking. My Discord is here if you are interested by this project. Edited June 22 by lolwat Aeglen, una_maquina, kermiit and 8 others 9 2
lolwat 41 Author Posted November 1, 2022 Tonight I crushed all the bugs that I've encountered.. dashboard will now correctly grab every instance that is running windows server (all windows?) won't display the bot in Tasklist unless it's touched manually, so i've got a script to pop the client to ensure this happens logs will now correctly take screenshots of the client, on demand (but with a 15 second cooldown) due to so many clients running and being interacted with, bot windows were resizing themselves? patched this by forcing the client to it's correct window resolution when a screenshot is requested windows will be bugged out sometimes but the user will never notice as its always correctly sized when they need it to be dashboard will now display if a bot needs a bond or is banned suite is now fully mobile friendly, used it all day at work was quite fantastic Thank you for the comments. If any DB staff or reputable scripters want to give it a test out let me know..
pakmijdan 0 Posted November 3, 2022 On 11/1/2022 at 6:13 AM, lolwat said: Tonight I crushed all the bugs that I've encountered.. dashboard will now correctly grab every instance that is running windows server (all windows?) won't display the bot in Tasklist unless it's touched manually, so i've got a script to pop the client to ensure this happens logs will now correctly take screenshots of the client, on demand (but with a 15 second cooldown) due to so many clients running and being interacted with, bot windows were resizing themselves? patched this by forcing the client to it's correct window resolution when a screenshot is requested windows will be bugged out sometimes but the user will never notice as its always correctly sized when they need it to be dashboard will now display if a bot needs a bond or is banned suite is now fully mobile friendly, used it all day at work was quite fantastic Thank you for the comments. If any DB staff or reputable scripters want to give it a test out let me know.. I can test seems epic man legend.
lolwat 41 Author Posted November 6, 2022 (edited) Today I worked on some QOL and added bot/instance groups. I figured out that starting 20 bots, despite having nice dedicated hardware, will cause the CPU to go insane. Server sounded like a rocket ship for a couple minutes there. Can be stopped/started by group or as a whole. Both online and offline account sections will always have a category for "All accounts", for emergencies. Currently working on the page to add/modify/remove groups. They are fully customizable. Edited November 6, 2022 by lolwat holic 1
lolwat 41 Author Posted January 25, 2023 Hello, this project is not abandoned. I have been recoding it in golang to make it much more versatile and so I can feel comfortable releasing it to the public. I anticipate having a proper beta in mid-Feb. Discord is here for anybody interested. https://discord.gg/HKHk7NkaB6
lolwat 41 Author Posted January 29, 2023 (edited) I had nothing to do today but smoke up and have a party of one so I essentially completed the porting of this project from PHP to Golang. nvm about this I finished it There is a background thread that runs and makes sure everything runs as it should, scheduling, etc. Example snippet func StartFromDbRows(rows *sql.Rows, userId int) { go func() { defer func(rows *sql.Rows) { err := rows.Close() if err != nil { } }(rows) for rows.Next() { var botId int err := rows.Scan(&botId) if err != nil { fmt.Println(err) return } botPid, logFile := StartBotFromId(userId, botId) err = UpdateBotStatus(botId, botPid, logFile) if err != nil { fmt.Println(err) return } time.Sleep(3 * time.Second) // mass starts wait an additional 3 seconds to make sure they get the logfile } }() } Edited January 30, 2023 by lolwat pharaoh 1
lolwat 41 Author Posted February 19, 2023 (edited) I have been upgrading the panel a little lately. automatically replace banned accounts, on a per-script level automatically replace finished accounts on AB's, if they report their success to logfile staggering launching of instances is now possible Small example of the handiwork: if config.BannedAction != 0 { Helpers.KillBot(id, customer) if config.BannedAction == -1 { _, err = Storage.GetDb().Exec("DELETE FROM accounts WHERE id = ?", id) if err != nil { fmt.Println("Daemon:", err) } } else if config.BannedAction == -2 { // something but i forgot } else if config.BannedAction > 0 { _, err = Storage.GetDb().Exec("UPDATE accounts SET schedule = 0, proxy_id = 0, group_id = ? WHERE id = ?", config.BannedAction, id) if err != nil { fmt.Println("Daemon:", err) } } fmt.Println("Daemon:", name, "has been tagged as banned") botsClosed++ } if Helpers.Replenish(scriptId, groupId, schedule, customer) { botsStarted++ } Edited February 19, 2023 by lolwat Realistic and Pandemic 2
pharaoh 135 Posted February 19, 2023 12 hours ago, lolwat said: I have been upgrading the panel a little lately. automatically replace banned accounts, on a per-script level automatically replace finished accounts on AB's, if they report their success to logfile staggering launching of instances is now possible Small example of the handiwork: if config.BannedAction != 0 { Helpers.KillBot(id, customer) if config.BannedAction == -1 { _, err = Storage.GetDb().Exec("DELETE FROM accounts WHERE id = ?", id) if err != nil { fmt.Println("Daemon:", err) } } else if config.BannedAction == -2 { // something but i forgot } else if config.BannedAction > 0 { _, err = Storage.GetDb().Exec("UPDATE accounts SET schedule = 0, proxy_id = 0, group_id = ? WHERE id = ?", config.BannedAction, id) if err != nil { fmt.Println("Daemon:", err) } } fmt.Println("Daemon:", name, "has been tagged as banned") botsClosed++ } if Helpers.Replenish(scriptId, groupId, schedule, customer) { botsStarted++ } epic work! its cool seeing this being worked and updated still. provides inspiration.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now