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

Tried this last night myself and it didnt work for me, :(. i found that DB's high level rules works but it will pickup potions and jewel blacksmith tomes so i deleted those out in the xml. i edited the potion to mythic

i do not know about u but everything works great with gile's stash..

althoug,it cant identify the giles new combat routine!!i tried everything but nothing says that does not find such a routine..
 
Hi, I have 2 questions, I run the demonbuddy as administrator, but it bat file doesn't seem to click that, so it doesn't work at all. Also, the bat file will not imput the password at all, I wonder where could be the problem? Thank you.
 
Hi guys.
I'm working on a way to get this working. Will keep u guys posted when it's ready.

:)
 
I?m posting here a file where i use the comand sleep instead of timeout since timeout is not available to windows xp sp3.

View attachment sleepversion.zip

There must be several reasons by wich this file doesn?t work but it gives an idea of how this relogger should work on windows xp.
 
Hello.

Thank you for all the effort, I've never seen such a professionally written batch file previously.
It works pretty much flawlessly, except one minor bug:

If you set a schedule, it will ignore the begin-schedule upon the first startup. So, if you start the bot at say 10.00 when you've set the schedule to begin at 11.00, it will just start anyway. It stops and starts just fine after that though, so it's only an issue upon the first time.
 
Hello.

Thank you for all the effort, I've never seen such a professionally written batch file previously.
It works pretty much flawlessly, except one minor bug:

If you set a schedule, it will ignore the begin-schedule upon the first startup. So, if you start the bot at say 10.00 when you've set the schedule to begin at 11.00, it will just start anyway. It stops and starts just fine after that though, so it's only an issue upon the first time.

Roger! Thanks for letting me know. I'll check this out.

Thanks for your support :)
 
I have a weird problem. The log windows said plugins, profiles and combine routines are loaded. Using latest DB

However, when the bot started, it just run to the end and cast town portal. No attack or casting any skill.
 
Hi, I still have the problem that it wont input the pw, maybe Im just be nooby but I followed everything there, do you have any suggestions? Thank you!

Hi guys.
I'm working on a way to get this working. Will keep u guys posted when it's ready.

:)
 
Anyway you can make it to where it will make D3 run in the foreground and not background? I noticed that it runs in the foreground (is the active window) at the start, then I check it later and it will be running in the background (not the active window). This makes gph suffer b/c the runs are slower when it runs like this.
 
Hi, I still have the problem that it wont input the pw, maybe Im just be nooby but I followed everything there, do you have any suggestions? Thank you!

Check your configurations of the batch file for any exclamation marks (!) and change them to this format (^^!)
 
Anyway you can make it to where it will make D3 run in the foreground and not background? I noticed that it runs in the foreground (is the active window) at the start, then I check it later and it will be running in the background (not the active window). This makes gph suffer b/c the runs are slower when it runs like this.

It should not change much even if d3 is running in the background. Make sure u adjust the bg frame rate in your d3 options to 60 and above.
 
Is it possible somehow (with some other plugins perhaps) to use this that bot will run for a 3 hours and then take 3 hours break, but if got crash while runing it relog immiedietly not reseting schedule ? I got it set like that :

set min_minutes=200 ----> Do not to set the min_minutes to less than 3 minutes or your DB session may still be locked. I would recommend about 5. (in minutes only)
set max_minutes=200 ----> Don't set this less than your min_minutes value. The min and max minutes will be used to calculate the random breaktime that your bot will take in between reload cycles. (in minutes only)

set Scheduler=0 ----> 0=Off, 1=On
set start_hours=5 ----> Start Hour in 24 Hour format. Please remove the leading zero. (Put 5 instead of 05)
set start_minutes=25 ----> Start Minutes in 24 Hour format. Please DO NOT remove the leading zero. (Put 06 instead of just 6)
set stop_hours=23 ----> Stop Hour in 24 Hour format. Please remove the leading zero. (Put 5 instead of 05)
set stop_minutes=30 ----> Start Minutes in 24 Hour format. Please DO NOT remove the leading zero. (Put 06 instead of just 6)

set min_restart_minutes=180 ----> The number of minutes the bot will run before it restarts DB and D3 totally.
set max_restart_minutes=180 ----> The number of minutes the bot will run before it restarts DB and D3 totally

But if diablo crashes it wits 200 minutes to relog as if compleated scheduled 180 minutes run.
 
It should not change much even if d3 is running in the background. Make sure u adjust the bg frame rate in your d3 options to 60 and above.

Yeah yeah yeah!!! my foreground was over 150 but my background was just 8!!! lol. That was the problem! Thank you!
 
Last edited:
Is it possible somehow (with some other plugins perhaps) to use this that bot will run for a 3 hours and then take 3 hours break, but if got crash while runing it relog immiedietly not reseting schedule ? I got it set like that :

set min_minutes=200 ----> Do not to set the min_minutes to less than 3 minutes or your DB session may still be locked. I would recommend about 5. (in minutes only)
set max_minutes=200 ----> Don't set this less than your min_minutes value. The min and max minutes will be used to calculate the random breaktime that your bot will take in between reload cycles. (in minutes only)

set Scheduler=0 ----> 0=Off, 1=On
set start_hours=5 ----> Start Hour in 24 Hour format. Please remove the leading zero. (Put 5 instead of 05)
set start_minutes=25 ----> Start Minutes in 24 Hour format. Please DO NOT remove the leading zero. (Put 06 instead of just 6)
set stop_hours=23 ----> Stop Hour in 24 Hour format. Please remove the leading zero. (Put 5 instead of 05)
set stop_minutes=30 ----> Start Minutes in 24 Hour format. Please DO NOT remove the leading zero. (Put 06 instead of just 6)

set min_restart_minutes=180 ----> The number of minutes the bot will run before it restarts DB and D3 totally.
set max_restart_minutes=180 ----> The number of minutes the bot will run before it restarts DB and D3 totally

But if diablo crashes it wits 200 minutes to relog as if compleated scheduled 180 minutes run.

At this moment, I don't think so... Mine is designed to repeat the sequence everytime there is a crash etc...

Sorry mate~!
 
Yeah yeah yeah!!! my foreground was over 150 but my background was just 8!!! lol. That was the problem! Thank you!

No problem! I kinda had that problem when I first started out :P

Cheers mate!
 
2 accounts can be done. You'll need to have two sets of everything: 2 x DB, 2 x D3 and 2 x Batchfile. Configure the batch file so that each batch file controls one separate bot.

Cheers~!

I did this but it still does not work for me. When I try to run the 2nd batch file while the 1st one is already running, the 2nd one closes the first one automatically and then I'm left with only one batch file running.

UPDATE: I got it working. It was because I copied the DB folder exactly as my 2nd one and it still had the d3pid, dbpid files in it and therefore were the same and the batch files didn't like it lol. So deleted all that and both instances running like a charm now.

My next question lol: How do you go about making the instances of Diablo not starting on top of one another when they restart? Both are running fine but both windows are on top of each other after a restart.
 
Last edited:
I did this but it still does not work for me. When I try to run the 2nd batch file while the 1st one is already running, the 2nd one closes the first one automatically and then I'm left with only one batch file running.

UPDATE: I got it working. It was because I copied the DB folder exactly as my 2nd one and it still had the d3pid, dbpid files in it and therefore were the same and the batch files didn't like it lol. So deleted all that and both instances running like a charm now.

My next question lol: How do you go about making the instances of Diablo not starting on top of one another when they restart? Both are running fine but both windows are on top of each other after a restart.

Ahh.... this batch file is unable to do that unfortunately... It cant manipulate window positions. Sorry mate~!
 
Ahh.... this batch file is unable to do that unfortunately... It cant manipulate window positions. Sorry mate~!

Yeah I just thought maybe there is some sort of windows setting that would make them restart in the same locations they closed. Anyone else figure out how to do this? Or does everyone just let all their windows run on top of each other all the time? lol
 
Back
Top