What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] BreakTaker - Takes Breaks (Orly)

no1knowsy

Well-Known Member
Joined
Feb 28, 2010
Messages
3,927
Reaction score
57
You guys requested. Here it is.


Due to limitations in my programming skills, knowledge of .net, or lack there of, and missing references...
There is no config window.
But don't let that get you down.


This is the part of the file you guys can edit to adjust things for your own liking.
Code:
        // All values are in minutes.  So 1 hour = 60 minutes.  3 hours = 180. etc...        // The next lines are the importart ones to you guys until I find out how to work their damned config popup button.


        // These ones will be how long your breaks will last, and it will be somewhere between these two options.
        // Suggested Value: 60 - 120 minutes (equivalent to 1-2 hours)
        public static int minBreakTime = 180;
        public static int maxBreakTime = 420;


        // These ones will be how the bot should go between breaks, and as above it will be somewhere between these two options.
        // Suggested Value: 60 - 120 (equivalent to 1-2 hours)
        public static int minBetweenTime = 240;
        public static int maxBetweenTime = 360;


        // How often to print a message to the log stating how long until the next break. Set to -1 to disable.
        public static int logTimer = 20;


        //We would prefer to be in a good place if we're going to take a break. If once it's break time we're not in town or do not leave a game for this long then force a town portal and quit.
        public static int forceTimer = 2;

That is taken right out of the BreakTaker.cs file, and starts on line 31.
It kind of explains itself... sorta.

To edit these just right click the file, and open with whatever you use as a text editor.

It should also not do anything if there are any "targets" around. This includes monsters and objects (chests, jars).

Any problems/requests should be posted in this thread.





Now, if anyone knows how to add in a working config with the WPF System.Windows.Window they are using instead of the OnButtonPressed() like they did in Honorbuddy I'd be very happy if you could help me out in getting a working configuration window.




Credit to: eax (http://www.thebuddyforum.com/members/144149-eax.html)
Credit to: ChunkyMonkey (http://www.thebuddyforum.com/members/59489-chunkymonkey.html) - Updated to 1.0.6 & 1.0.7 - Added a bunch of functionality including taking a break in a safer place, SimpleRelogger support, among other great stability additions.

Created Date: 12June2012





Thanks, and enjoy,
Panda.
 

Attachments

Last edited:
Thanks for this :D it could come in handy once there are some good profiles that you can actually leave running for 4hrs+ xD
 
Now, if anyone knows how to add in a working config with the WPF System.Windows.Window they are using instead of the OnButtonPressed() like they did in Honorbuddy I'd be very happy if you could help me out in getting a working configuration window.

I'll install VS today so I can post an example of using a WPF window. I don't think there's anything stopping you from just straight up using System.Windows.Forms and loading up a GUI on OnEnabled().
 
i hope u code more for us :)

i donate (spend) for the best profile here in thebuddyforum and for the best plugin :) i wait 2 weeks :)
 
Should just get the reset plugin to take a couple minute break when you get stuck...Frustration break for bot confusion :D.

Then again on some runs that could mean a break every 20 minutes. :D
 
I'll install VS today so I can post an example of using a WPF window. I don't think there's anything stopping you from just straight up using System.Windows.Forms and loading up a GUI on OnEnabled().
Tried that, and it was... unreliable.
When DB gets an update for the US locale I'll look into it more.
I had to borrow an EU friends time just to get it this far.

i hope u code more for us :)

i donate (spend) for the best profile here in thebuddyforum and for the best plugin :) i wait 2 weeks :)
We'll see. I could make the same thing I did for Honorbuddy, just remake it for Demonbuddy. It's in the signature. That took plenty of time, but would be easier this time around.

Should just get the reset plugin to take a couple minute break when you get stuck...Frustration break for bot confusion :D.

Then again on some runs that could mean a break every 20 minutes. :D
You could do that. Just edit his code to Sleep() longer. But with how much it resets me in the Core I wouldn't get 20k/hr.
 
yeah i know :D im a hb user^^

i want to try, people more code and better code :) thats the reason i say i spend money for the best :)

sorry guys, i have only school skills in english^^
 
Great Plugin. Somebody know if this works with "Unstucker" Plugin ?
 
Would it be possible to log out when taking a break and log back in after the break? (could be in combination with relogger plugin)
 
I'm not sure if anyone has noticed this or if it is just me. When I use BreakTaker after the first "break" it takes. DB starts to take up more then 70-80,000k memory. However if I don't use it it stays within the 50-60 range. Examples:

With: 1 "break" (@ 70 runs) = Memory > 80,000k
Without: 365 Sark runs = Memory < 60,000k

Am I the only one noticing this?

Edit: By the way. I find this VERY useful! Thanks for the hard work making it!
 
hmm this plugin basically makes the character take a break in the same? i was hoping to have similiar plugin but taking a break at the menu section (character choosing) for like 1 hr then only continue to bot again after like 4 hours?
 
Once the Buddy Team gets the config window for the plugins working I'll be handling a scheduling plugin for it.


Would it be possible to log out when taking a break and log back in after the break? (could be in combination with relogger plugin)
I'll talk to the relogger guy.
 
I hadn't seen a request thread for this so I'm just a bit curious about the what the purpose of this plugin is. Is it to seem more legit or is it something else?
 
This plugin is currently useless as DB wont run for long time without game DC or having a popup error
 
is there a point in taking different breaks on characters running on the same machine non VM? it doesnt look legit anyways cuz its 3 chars on one hardware id
 
Not my problem... so why inform me of your current issues?

If you can too i spoke to hawker and he siad he would be adding support for ISBoxer because the window titles are not standard diablo III, so he has to add support for them in the bot. If at all possible if your doing a shutdown / restart diablo can you look into adding ISBoxer reload support on it?

You can make shortcuts to load specific Character sets that load all your windows at once, by using commands like the following:

Set Character Group - Loads all of the clients in the set
"C:\Program Files (x86)\InnerSpace\InnerSpace.exe" run isboxer -launch "Bots"

Or

Set Character per Slot - Individual bot client load
"C:\Program Files (x86)\InnerSpace\InnerSpace.exe" run isboxer -launchslot "Bots" 1

I know this will work with the batch script once DB new patch comes if the fix is in it as hawker said it could come out with "hopefully."
 
I can't tell if my private message sent or not... I basically rewrote most of this addon making it compatible with Relogger (which would restart the bot as soon as it stopped) and tweaked so it would prefer to quit while in town rather than immediately so that it wouldn't get instagibbed as it tried to town portal while surrounded by a mob of evil zombies. I made some quick optimizations as well. Anyway let me know if you want me to send you a copy or if you want me to maintain it on my own separately. I've been testing it for a few hours on 2 minute botting/1 minute break rotations and it appears to be working perfectly.

@spexXx yes it appears to work just fine with Unstucker.

Edit: Yeop confirmed it's working beautifully. With the relogger plugin I now bot constantly with breaks. I've got a version I'm playing with that also logs out for breaks I'm playing with now. Appears to work 90% of the time but still trying to figure out why it doesn't re login that last 10% of the time.
 
Last edited:
Back
Top