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

[Batch File] DB_Run: Command-line based Anti-Crash and Relogger

hey teivovo,

no prolbem :)
i have watched some strange behaviour of your batch...i had an internet disconnect and your batch only shut down the two d3 instances but not DB....after that he didnt launch anything new. Any idea?

Yeah... just realized that the errors thrown by the taskkill command are a little weird... had that fixed up already... will be uploaded soon.... v1.3... pheew...
 
Hi guys,

v1.3 is out~! Should fix most of the stuff you guys requested... Now, it will detect NOT RESPONDING states and if DB and D3 crashes i.e.: process not in existence.

I seem to have a simpler solution the AGB issue. Thanks to masterjeff for his ideas.

It somehow does not require the modification of the the ProfileRestarter plugin anymore. It was due to AGB requiring the active folder to be the Demonbuddy folder. Long story short... just follow the additional steps below:

Additional instructions for v1.3 - Mainly for running AGB:

1. Be sure to amend LINE 62 to your Demonbuddy path (or AGB will not execute properly).
2. Make sure that you point profile to empty.xml instead of AGBLoader.xml --> Thanks to masterjeff~!
3. Be sure to put "AGB - Nullcombat" as the combat profile.
4. No additional modifications to ProfileRestarter required.



To all the DH users of DB_Run, PLEASE kindly test this out for me as I can't do a thorough test coz I'm botting a barb... But I can see AGB trying to use DH skills already.

Paging for masterjeff and vesparion!!



Cheers~!
 
Last edited:
Good job - thanks a lot :)
I will try it this evening with my dh and will report later on.
 
For me its working fine. I tested it with my demonhunter AGB config - loaded the empty profile, but because the plugin is active it will run anyway, cause the AGB-routine is the profile itself :D
Maybe u did not activated the plugin before using the batch? U have to run it one time "normaly"
 
Last edited:
For me its working fine. I tested it with my demonhunter AGB config - loaded the empty profile, but because the plugin is active it will run anyway, cause the AGB-routine is the profile itself :D
Maybe u did not activated the plugin before using the batch? U have to run it one time "normaly"

can you show me what the config param you use? Of course, take out the account and key... What profile do you load, because you need it for it to start?
 
can you show me what the config param you use? Of course, take out the account and key... What profile do you load, because you need it for it to start?
Look at the first post of this thread. At the end of the post read the green print...you need to load the empty.xml instead of the agb.xml! You can download it there too.

Thats how it should look like (i have 2 accounts, so i doubled it!)

::Change the following line to the path of your Demonbuddy working directory. -> Don't ask me why, but it's something required by AGB...
cd C:\Users\Jeff\Desktop\B2

::Change the following line to suit your needs (Pathing, user accounts, password, keys, etc)
START "DB_Running2" "C:\Users\Jeff\Desktop\xxx\Demonbuddy.exe" -key xxxx -bnetaccount xxxx -bnetpassword xxxx -d3path="F:\xxx\Diablo III\Diablo III.exe" -profile="C:\Users\Jeff\Desktop\xxxx\empty.xml" -routine="AGB - Nullcombat" -autostart -noflash
::second acc!
START "DB_Running" "C:\Users\Jeff\Desktop\xxx\Demonbuddy.exe" -key xxxx -bnetaccount xxxx -bnetpassword xxxx -d3path="F:\xxx\D3_2\Diablo III\Diablo III.exe" -profile="C:\Users\Jeff\Desktop\xxxx\empty.xml" -routine="Mammon All-in-One Ver.1.0.0.23" -autostart -noflash

ECHO Waiting to commence DB and D3 checks...
timeout /t 300 /NOBREAK

My second account (barb) runs a ECM-config...thats why i have to load an empty profile for this acc too!
 
Last edited:
even with the updated db_run and line 62 mod, you still need to click resume game for it to work the first time...
 
even with the updated db_run and line 62 mod, you still need to click resume game for it to work the first time...
what? resume game? o.O Never had this problem...for me its loading d3 and db and after that it logs in and starts db, thats all...no need to click anywhere O.o
 
Edit: Working perfectly with AGB :) If someone could find a solution with the Demonbuddy Timeout this is uber :D
 
Last edited:
Another Question.. From what I can see, the script checks every 1min if D3 freezed or not... Does it restart automaticly then, or just after the schedule? If it starts directly so I dont need the schedule?
 
Perfection, I got it to work.

Now only if you can submit HTTP request to auth buddy to kill the session that has been disabled, that would be pure perfection.
 
Another Question.. From what I can see, the script checks every 1min if D3 freezed or not... Does it restart automaticly then, or just after the schedule? If it starts directly so I dont need the schedule?

Hi there! The script will restart DB and D3 automatically after a random period within your configured min and max timer. Indeed you will not need the task scheduler for most errors now but I still prefer to set it so for that "just in case" moment that something goes wrong, so that my max downtime will be only 1 hour.

Down to your own preference bro.


Cheers~!
 
Perfection, I got it to work.

Now only if you can submit HTTP request to auth buddy to kill the session that has been disabled, that would be pure perfection.

Glad that it's working for you now. :)

Lemme look into the buddy auth part. I think there may be a way.... No guarantees though! :P
 
Thanks for helping with the testing guys! I'm really happy that AGB and EMC is working now. Lemme know if you guys have any other issues.

Have fun! :)
 
Perfection, I got it to work.

Now only if you can submit HTTP request to auth buddy to kill the session that has been disabled, that would be pure perfection.

How? :) I got problem that bot starts before im logged waiting on resume. Then it only waits there for miracle.
 
What do you recommend we set the conditions to? (in task manager) I am guessing this is the "If DB or D3 freezes for whatsoever reason, it will only freeze for max of 1 hour (depending on what duration you set in Task Scheduler) before everything is restarted again." part. Sorry if I am way off!

Edit: I was way off. This is done under settings right? I hope not even further way off. Also how could i make this run/stop running for a variable amount of time. IE mock realism of the ability of a human to play Like 12 hrs a day with breaks, kinda thing, or am I totally dumb for thinking it could do this?
 
Last edited:
What do you recommend we set the conditions to? (in task manager) I am guessing this is the "If DB or D3 freezes for whatsoever reason, it will only freeze for max of 1 hour (depending on what duration you set in Task Scheduler) before everything is restarted again." part. Sorry if I am way off!

Edit: I was way off. This is done under settings right? I hope not even further way off. Also how could i make this run/stop running for a variable amount of time. IE mock realism of the ability of a human to play Like 12 hrs a day with breaks, kinda thing, or am I totally dumb for thinking it could do this?

Hi, you could simulate that. You could set the min_minutes and max_minutes portion of the batch file. Let's say you set it to 30 - 60 minutes. So upon each taskscheduler run of the batch file, it would take a break of anywhere between 30 to 60 minutes.

You could also set a variety of other things inside the task scheduler. Try them to find your liking :) Simulating human "playtime" is totally possible.
 
Back
Top