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

Hi there!

Lol, no worries! Just download the file and open it in notepad. The configurations are in there and not in a separate file. Should be within the first two pages of the codes. Follow the guide on the first post and you'll be fine :)


Cheers!

Heh thx mate. But with other files when I right click i have the option open with: Now with this file, I do not have this option! what do? :P

edit: Nvm found a way!
 
Last edited:
Heh thx mate. But with other files when I right click i have the option open with: Now with this file, I do not have this option! what do? :P

edit: Nvm found a way!

Glad for you bro~! Lemme know if you hit a wall again :)


Cheers~!
 
Hello teivovo. The batch file worked for some time (on my old profiles - i used http://www.thebuddyforum.com/demonb.../act-1/59343-a1-inferno-champion-farming.html )
But it hasn't worked for that profile lately, and I've tried running Sarkoth now with agb plugin, but your script doesn't detect diablo crash anymore, nor does it start/resume game after logging into the character.

This is the log from your bat.
View attachment DB_Run_(17-07-2012_15-46-04,20).txt

This is my config
Code:
::------------------------------------------------------------------------------
::CONFIGURATIONS: Change ONLY the following parameters (No quotes (") required)
::------------------------------------------------------------------------------

set min_minutes=3
set max_minutes=5
set restart_minutes=120
set D3Name=Diablo III.exe
set DBName=Demonbuddy.exe
set DBDrive=C:
set D3Path=C:\Diablo III\
set DBPath=C:\Users\Jim\Downloads\Demonbuddy 1.0.729.180\
set DBKey=xxxxxxxxxxxxxxxxxxx
set [email protected]
set BNetPwd=xxxxxxxxxx
set Profile=C:\Users\Jim\Downloads\Demonbuddy 1.0.729.180\Profiles\[A1 - Inferno] Champion-Farming 1.5 by 5avage.xml
set CombatRoutine=AGB - Nullcombat

This is the first couple of lines from the [A1 Inferno] profile:
Code:
<Profile>
  <Name>[Act1 - Inferno] Champion-Farming 1.4beta r5 by 5avage</Name>
  <GameParams quest="72095" step="51" act="A1" difficulty="Inferno" resumeFromSave="True" isPrivate="True" numGames="-1"  />
  <Order>

(I changed quest id to sarcoth and set resumefromsave to true, the rest shouldnt matter should it?

And this is written in DemonBuddy until it gets 'stuc':
[17:17:00.707 N] Demonbuddy v1.0.729.180 started
[17:17:00.806 N] Logging in...
[17:17:01.413 N] Attached to Diablo III with pid: xxxx
[17:17:05.250 N] Current bot set to Order Bot
[17:17:05.252 N] Loaded profile [Act1 - Inferno] Champion-Farming 1.4beta r5 by 5avage
[17:17:05.320 N] Chose AGB - Nullcombat as your combat routine.
[17:17:05.684 N] Loaded profile [Act1 - Inferno] Champion-Farming 1.4beta r5 by 5avage
[17:17:05.990 N] Logging into game
[17:17:14.457 N] Enabled AGB
[17:17:14.457 N] Instanciated
[17:17:14.457 N] Instanciated UnitManager
[17:17:14.457 N] Modules Starting
[17:17:14.457 N] Starting: Lobby
[17:17:14.457 N] Starting: Arms
[17:17:14.457 N] Starting: Face
[17:17:14.457 N] Starting: Legs
[17:17:14.457 N] Starting: CerebralCortex
[17:17:14.457 N] Starting: FrontalLobe
[17:17:14.487 N] [GilesStashReplacer 1.2] Enabled! Now replacing DB's stash routine.

If I manually clic resume game, the bot starts and runs perfectly.

I can't get it to automatically restart d3/db when I manually close either of them either. :(
 
Last edited:
Hello teivovo. The batch file worked for some time (on my old profiles - i used http://www.thebuddyforum.com/demonb.../act-1/59343-a1-inferno-champion-farming.html )
But it hasn't worked for that profile lately, and I've tried running Sarkoth now with agb plugin, but your script doesn't detect diablo crash anymore, nor does it start/resume game after logging into the character.

This is the log from your bat.
View attachment 48371

This is my config
Code:
::------------------------------------------------------------------------------
::CONFIGURATIONS: Change ONLY the following parameters (No quotes (") required)
::------------------------------------------------------------------------------

set min_minutes=3
set max_minutes=5
set restart_minutes=120
set D3Name=Diablo III.exe
set DBName=Demonbuddy.exe
set DBDrive=C:
set D3Path=C:\Diablo III\
set DBPath=C:\Users\Jim\Downloads\Demonbuddy 1.0.729.180\
set DBKey=xxxxxxxxxxxxxxxxxxx
set [email protected]
set BNetPwd=xxxxxxxxxx
set Profile=C:\Users\Jim\Downloads\Demonbuddy 1.0.729.180\Profiles\[A1 - Inferno] Champion-Farming 1.5 by 5avage.xml
set CombatRoutine=AGB - Nullcombat

This is the first couple of lines from the [A1 Inferno] profile:
Code:
<Profile>
  <Name>[Act1 - Inferno] Champion-Farming 1.4beta r5 by 5avage</Name>
  <GameParams quest="72095" step="51" act="A1" difficulty="Inferno" resumeFromSave="True" isPrivate="True" numGames="-1"  />
  <Order>

(I changed quest id to sarcoth and set resumefromsave to true, the rest shouldnt matter should it?

And this is written in DemonBuddy until it gets 'stuc':


If I manually clic resume game, the bot starts and runs perfectly.

I can't get it to automatically restart d3/db when I manually close either of them either. :(

Hi Jaimay,

You've got PM :)

Cheers~!
 
Hi guys,

Just a gentle reminder, if you're not using English OS, please set the options in the International language configuration within the batch file. DB_Run currently supports only English, German and Czech. If you wish to use it on a different language OS, drop me a PM and I'll help you out :)


Cheers~!
 
There is a bug in the IF statement for ISBoxerStart or not:

Line 218:
Code:
IF ISBoxer EQU 1 (GOTO :ISBoxerStart) ELSE (GOTO :NoISBoxer)

Should be:
Code:
IF %ISBoxer% EQU 1 (GOTO :ISBoxerStart) ELSE (GOTO :NoISBoxer)

Then there is a bug in the ISBoxerStart function.

Line 221:
Code:
:ISBoxerStart
ECHO %Date% %Time% - Launching ISBoxer Link. >> %Log_File%
START "D3Run" "%D3Path%%ISBoxerLinkName%"
ECHO Waiting for ISBoxer...

Since you are asking for the fullpath of the ISBoxer link in the config it should be:

Code:
:ISBoxerStart
ECHO %Date% %Time% - Launching ISBoxer Link. >> %Log_File%
START "D3Run" "%ISBoxerLinkName%"
ECHO Waiting for ISBoxer...

Now it starts my ISBoxer clients fine. Going to test the rest of the script, thanks for sharing!
 
There is a bug in the IF statement for ISBoxerStart or not:

Line 218:
Code:
IF ISBoxer EQU 1 (GOTO :ISBoxerStart) ELSE (GOTO :NoISBoxer)

Should be:
Code:
IF %ISBoxer% EQU 1 (GOTO :ISBoxerStart) ELSE (GOTO :NoISBoxer)

Then there is a bug in the ISBoxerStart function.

Line 221:
Code:
:ISBoxerStart
ECHO %Date% %Time% - Launching ISBoxer Link. >> %Log_File%
START "D3Run" "%D3Path%%ISBoxerLinkName%"
ECHO Waiting for ISBoxer...

Since you are asking for the fullpath of the ISBoxer link in the config it should be:

Code:
:ISBoxerStart
ECHO %Date% %Time% - Launching ISBoxer Link. >> %Log_File%
START "D3Run" "%ISBoxerLinkName%"
ECHO Waiting for ISBoxer...

Now it starts my ISBoxer clients fine. Going to test the rest of the script, thanks for sharing!

Hi Hyshakt,

Yes you are right~! Thanks for highlighting it mate... I haven't had the chance to test out the ISBoxer portion of the new version coz I don't run ISBoxer myself. Lemme know if you run into any problems ok? I will be uploading the amended files now.


Thanks for the heads up mate~!



Cheers~!
 
Trying to get it running smoothly with the latest AGB 0.7 and DB 180. I have random townrun problems and am trying Giles townrun as well.
Just wondering what added plugins people use for AGB with this relog script.

Main problem is that it won't start the game right when you first login. I am trying AntiIdle with results, but it takes ages to restart. Any other plugin that works better?

It kinda works so far, so I'm happy with it :)

Also trying DRelog and don't know which I like the best I need to see how they each handle different crashes
 
Trying to get it running smoothly with the latest AGB 0.7 and DB 180. I have random townrun problems and am trying Giles townrun as well.
Just wondering what added plugins people use for AGB with this relog script.

Main problem is that it won't start the game right when you first login. I am trying AntiIdle with results, but it takes ages to restart. Any other plugin that works better?

It kinda works so far, so I'm happy with it :)

Also trying DRelog and don't know which I like the best I need to see how they each handle different crashes

I personally use Profilerestarter and NotificationOKClicker. Some of the guys found that AntiIdle runs better on their machines, other NotificationOKClicker. So its really up to your machine mate. Try both and see what works for your. Some don't even use ProfileRestarter.

Swap around and see what works for you :) Once you find its sweet spot for your machine, it'll run and run and run... I'm now afk for more than 2 months already.... :)

Oh and btw, I don't think Giles Townrun will help in AGB. Coz AGB has its own townrun sequence. Check their threads, there are some mentions of this.


Cheers~!
 
I am using NotificationOKClicker alone and it works perfect for starting the game after login.

What are you using ProfileRestarter for? Thanks!!
 
Hi there, I'm kinda using it as an unstucker. Coz it is rather customizable. And it sort of forces a reload of the profile rather than just running the same profile again.

:)
 
ok will try it and see if it does anything bad :)
Also, would it be bossible for the script to also awnser the secret question at login when asked? Would be a great feature! Thanks
 
ok will try it and see if it does anything bad :)
Also, would it be bossible for the script to also awnser the secret question at login when asked? Would be a great feature! Thanks

Yup, that would indeed be a great feature... but... this script is unable to manipulate D3 and DB in any manner... so sorry about that... :(
 
Yup, that would indeed be a great feature... but... this script is unable to manipulate D3 and DB in any manner... so sorry about that... :(

Ah it would need to come from a plugin, right :) Well let's hope someone finds interest in coding one as it is beyond my skill level :)
 
Ah it would need to come from a plugin, right :) Well let's hope someone finds interest in coding one as it is beyond my skill level :)

Yep... and beyond mine too.. hence DB_Run is only a black screen lol... but it works fine for me :)
 
Ok I have a suggestion for you, make it so that the location of the command prompt window is saved, just like DB window is. Would make it so much easier to have it all layed out from the start :)

edit: looks like this is not something possible in batch ;(
 
Last edited:
Ok I have a suggestion for you, make it so that the location of the command prompt window is saved, just like DB window is. Would make it so much easier to have it all layed out from the start :)

edit: looks like this is not something possible in batch ;(

Lol... yep... I guess not... I was busy looking for someway lol... I'll let you know if I find one yah? :)
 
Ok I had it run all evening just fine, went to bed and maybe 1 hour later something must have happened...

When I woke up all clients were at the login screen. As soon as I typed in my password the bots picked it up again... I am thinking I would need a plugin that would relog me in... I will try AntiIdle again who has this function
 
Back
Top