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

Yes WackJagon, u are right. This thread is pretty much dead and I have not been able to support it any longer coz my accounts have been banned.

The changes that you have done is correct! There were still some bugs with the last version that was released. Didn't have sufficient time to fix them and thoroughly test them.

I'm surprised that you guys are still using this though lol! There must be way better reloggers out there now right?


I use this because I'm a die hard old school techie and I am actually quite impressed with this code! Man that's some awesome batch scripting!

I have also been reading a lot of issues with YAR lately. I also just stumbled upon your profile randomizer (and that you were looking to integrate this into a future version of DBRun ) :cool:

I think this is very close to being perfected and not having to worry about new versions of Trinity or DB causing issues with relogging is also quite attractive IMO. I for one would like to see this work continue ;):p
 
I use this because I'm a die hard old school techie and I am actually quite impressed with this code! Man that's some awesome batch scripting!

I have also been reading a lot of issues with YAR lately. I also just stumbled upon your profile randomizer (and that you were looking to integrate this into a future version of DBRun ) :cool:

I think this is very close to being perfected and not having to worry about new versions of Trinity or DB causing issues with relogging is also quite attractive IMO. I for one would like to see this work continue ;):p

Lol, yeah it was close but still had a lot of work to be done to perfect it. The profile randomizer had a lot of trial and errors put into it. Basically it just makes sure that no two runs were ever the same haha.

Honestly, I don't know which version you guys are using now. Maybe if you can pm me with the file, I could see what I can do with it. BUT will need you guys to test it out though..
 
Lol, yeah it was close but still had a lot of work to be done to perfect it. The profile randomizer had a lot of trial and errors put into it. Basically it just makes sure that no two runs were ever the same haha.

Honestly, I don't know which version you guys are using now. Maybe if you can pm me with the file, I could see what I can do with it. BUT will need you guys to test it out though..

I have been running the stock 2.4 on post 1, as well as the isboxer script. The only modifications I have made are to the PIDs which I mentioned earlier.

I want to make sure that I accurately identify issues that I feel are specific to the DBRun script and not confuse other issues that may be related to DB or Trinity, but may need some clarification or help along the way :)

First, I don't know if I am alone here but I really like the idea of a re-logger that is independent of DB or plugins within. I just don't want to have to worry about tinkering with my re-logger if I want to play with a new beta or something. I have honestly NEVER USED YAR so I can't provide a comparison but I see a "if it isn't broke, don't fix it" here. I think DBRun is really close to perfect.

I also like the scheduler and the ability to randomize some things here. You actually highlighted the potential for some really good things to be incorporated as well. Your profile randomization and the scheduler are ways to contribute to bot detection. This is solid stuff here. Who knows how many more ideas along those lines could be integrated.

I am definitely more than happy to help test! :)

My list of issues is actually pretty short. Is 2.4 the latest version out there (not sure if there was any other work done outside this post)?

Thanks!

EDIT: Just a thought, as far as the PID issue, I bet it could be easily resolved with a few "IF EXIST" statements were added to check for the presence of the text files and if found, jump to an alternate variable when running multiple copies of DBRun on the same machine.
 
AMAZING Script - THX :D

since i am not really good at c+... could u please help me.

when i got a disconnect he restarts/relogs in around 350sec. How can i change it that he does it much faster?
when i start the .dat file he opens d3 but before login in he waits around 10-20secs. How can i change it that he does it much faster?

thanks again
 
AMAZING Script - THX :D

since i am not really good at c+... could u please help me.

when i got a disconnect he restarts/relogs in around 350sec. How can i change it that he does it much faster?
when i start the .dat file he opens d3 but before login in he waits around 10-20secs. How can i change it that he does it much faster?

thanks again

First question: Please clarify what you are asking.

Second question: If you are referring to the wait time between Diablo 3 starting and the time that DB starts, this is intentional. If you attempt to load Demon Buddy too quickly it may have difficulty connecting to the Diablo 3 game instance an DB could crash. This delay may be adjustable if you have a super fast computer but I have found that the delay is necessary to ensure reliability for AFK use. You don't need to understand the batch script (it is not C+ fyi) I have highlighed the time values in red.

Within this script there are a few locations where there are intentional delays/pauses but this is the location I think you are referring to. Feel free to experiment with the values (they are in seconds) but expect problems if the value is set too low.

:NoISBoxer
START "D3Run" "%D3Path%%D3Name%" -launch
TIMEOUT /T 40 /NOBREAK > NUL 2>&1
TASKLIST /FI "IMAGENAME eq %D3Name%" /fo csv /nh > D3After.txt
fc D3Before.txt D3After.txt > D3Diff.txt
for /f "eol=; tokens=2,3* delims=," %%i in (D3Diff.txt) do (set m=%%i)
SET m=%m:"=%
SET D3PID=%m%
ECHO %m% > D3PID.txt
ECHO %Date% %Time% - Diablo III is using PID %m% for this run. >> %Log_File%
DEL /F D3Before.txt D3After.txt D3Diff.txt
ECHO Waiting for Diablo III to load.
timeout /t 15 /NOBREAK > NUL 2>&1
ECHO.
ECHO.

TASKLIST /FI "IMAGENAME eq %DBName%" /fo csv /nh > DBBefore.txt
ECHO Starting Demonbuddy


EDIT: Also, this may answer your first question. If anything goes wrong (DB crashes or Diablo crashes), this script can detect that. It will then restart the script as if it ended normally. At that point the schedule will apply (if you use one) and also this setting:

::Setting Breaktimes in between Total Bot Restarts
set min_minutes=5
set max_minutes=15

The time will be randomly selected between those 2 values.

PS. I ABSOLUTELY LOVE THIS SCRIPT! I HAVE BEEN AFK FOR WEEKS RUNNING 4 BOTS ON ONE MACHINE! :cool:
 
I was using this at the start of DB and now that im back into botting i was wondering what plugins should i get to make this work 100% AFK?

I made your changes Wack to make it work on 3 bots/3instances and it's working great thanks btw :)
Also i see There will be x more mins until total bot restart, what's the point of making it restart, is it mandatory? If not how can i change it?


EDIT: Also how can i set the current path of the logs? Because the batchs are on my desktop and it's getting quickly crowded lol
Thanks
 
I was using this at the start of DB and now that im back into botting i was wondering what plugins should i get to make this work 100% AFK?

I made your changes Wack to make it work on 3 bots/3instances and it's working great thanks btw :)
Also i see There will be x more mins until total bot restart, what's the point of making it restart, is it mandatory? If not how can i change it?

EDIT: Also how can i set the current path of the logs? Because the batchs are on my desktop and it's getting quickly crowded lol
Thanks

(1) I only use Trinity and Questtools and it is 100% AFK. They key is getting the schedules set right so they don't overlap (very small chance) and try to start 2 bots at the same time.
TRINITY - http://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/93720-trinity-download-here.html
QUESTTOOLS (can't find official link) - http://www.thebuddyforum.com/demonb...-3/100340-a3-inferno-act-3-inferno-rrrix.html

(2) The timer between bot restarts is to help simulate a human. A human cannot play constantly with no breaks. :)

(3) Move your batch files to the folder where you want the logs. Then create a shortcut for each batch file on your desktop. Easy fix :) Don't bother with the "Start in" parameter of the shortcut because you'll end up with logs in 2 different folders.

EDIT: Don't forget to change the icon for the shortcuts on your desktop. I just browse to the Diablo3.exe or DB.exe and use that icon. :cool:
 
(1) I only use Trinity and Questtools and it is 100% AFK. They key is getting the schedules set right so they don't overlap (very small chance) and try to start 2 bots at the same time.
TRINITY - http://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/93720-trinity-download-here.html
QUESTTOOLS (can't find official link) - http://www.thebuddyforum.com/demonb...-3/100340-a3-inferno-act-3-inferno-rrrix.html

(2) The timer between bot restarts is to help simulate a human. A human cannot play constantly with no breaks. :)

(3) Move your batch files to the folder where you want the logs. Then create a shortcut for each batch file on your desktop. Easy fix :) Don't bother with the "Start in" parameter of the shortcut because you'll end up with logs in 2 different folders.

EDIT: Don't forget to change the icon for the shortcuts on your desktop. I just browse to the Diablo3.exe or DB.exe and use that icon. :cool:

(1) What happens if they overlap? Thanks for the links :)

(2) True i forgot about that ^^

(3) Good idea :D

Lol I like the batch icon :p Thanks for your quick reply man. Have a nice night.
 
(1) What happens if they overlap? Thanks for the links :)

(2) True i forgot about that ^^

(3) Good idea :D

Lol I like the batch icon :p Thanks for your quick reply man. Have a nice night.

If they overlap you will find instances of Diablo 3 with no attached DB, consuming resources. You may also find an extra copy of DB running. It doesn't usually fix itself, I need to close all and restart but once I found the right times I haven't had the problem since.
 
Simplefollow Plugin Starter?

Greetings all! I need a little bit of help making my bots more afkable. I know that most (maybe all) of these reloggers are not supported anymore, but I am hoping someone can help me here... I live in a rural area so my connection is not the most stable, it doesn't usally go down completely, but it has the occasional hiccup and bump me offline/back to the diablo login screen. I need something to relog me back into the game and sometimes start my demonbuddy if needed. Sometimes I lose connection less than an hour or after I leave for work and get home 12hours later to see them sitting at login screen. The problem is I use simplefollow on my bots so they party together. The relogger cannot load the simplefollow profile because the plugin needs to be loaded first. So if I use Pluginproblems=1 / empty profile it will load properly but then I have to manually stop the bot/load the simplefollow profile/ and start it, but that only works on the initial start, when it does disconnect it reloads empty profile and sits at character selection not knowing what to do(yes I know that is what empty profile is suppose to do). Is there a way to make it start with empty profile so it can get the bot and plugins loaded then stop/load simplefollow/start?

Does anyone have a solution, advise, or another plugin i should use to relog and continue to party my bots together?

Thanks..


PS - I started the below forum in the main DB folder - Maybe if enough people request it they might be able to build it in. :)
http://www.thebuddyforum.com/demonbuddy-forum/150562-implement-relogger-into-demonbuddy.html
 
Can anyone update the original batch file? It seems Diablo's new file system has broken it.
 
yeah after the blizz patch today it cannot find d3's .build.info file and the data folder :(
would really like to use but no clue how to fix.
 
Error

Application Initialization failure
Diablo III was unable to find either your .build.info file or your Data folder.
what should I do?
 
not running start diablo III.
It runs the only battle net.
If the battle net run error.

Application Initialization failure
Diablo III was unable to find either your .build.info file or your Data folder.

blizzard changed launch Diablo.
Now it does not run separately Diablo. Any launch first opens BattleNet
 
Last edited:
for chinese running
must do some modify
line 272 maybe change to [ START "D3Run" /d "%D3Path%" "%D3Name%" -launch ]
line 450 maybe change to [ Ping www.baidu.com -n 1 | findstr /c:"TTL" > NUL 2>&1 ]
cause any reasons, google was banned by gov, such as Finding out the location of the user.


i trying to read the bat file to wriete a EXE files by delphi.
now testing in my circle of friends , soon be online;
 
Back
Top