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

On futher testing i dont know if this is right or not or a bug

Checking if DB or D3 is NOT RESPONDING..
Diablo III Status...
ERROR: Invalid argument/option - 'No'.
Type "Tasklist /?" for usage.
Error: The Search filter cannot be recognized.
Ok...
Demonbuddy status....
Ok...
All OK. Checking in another min.

Is that okay or error with ur params for that section for D3?
 
Tiny problem with batch, Cannot use ! in passwords.

Other than that 100% up and running after modding a little to run ISBoxer with it.

Now im configuring auto Injection startup for RU lang packet change before it launches DB so when it logs in it swaps RU client to english and we are all good!

Lol! Yep, I mentioned that in an earlier post. Actually you can use ! But in the batch file you'll need to put it as ^^!

If password = password!
Then in batch file input it as password^^!


Cheers! :)
 
On futher testing i dont know if this is right or not or a bug



Is that okay or error with ur params for that section for D3?
Hmmm... I do not have this problem. The code is fine. What you could do is to re download a fresh copy of the script and see if there were any accidental changes made to the code especially the errString1 and errString2 parameters and the 4 lines referring to them at the end. Quotes " may have been accidentally deleted.


Cheers~!
 
it was a fresh download, only edited some files and added window params to db
 
Hi there, I'm doing a check now. Will let you know real soon :)

Hi Dtrick,

The code is is fine as far as I have checked. Please verify the following lines:

Line 27 set errString1="INFO: No tasks"
Line 28 set errString2="SUCCESS"

Lines 153 to 168 should be in this exact manner:

Code:
:CHECKD3
ECHO Diablo III Status...
TASKLIST /FI "IMAGENAME eq %D3Name%" /FI "PID eq %D3PID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%D3Name%" /FI "PID eq %D3PID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...

:CHECKDB
ECHO Demonbuddy Status...
TASKLIST /FI "IMAGENAME eq %DBName%" /FI "PID eq %DBPID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%DBName%" /FI "PID eq %DBPID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...


Next thing that you could do is to go into the folder that you store the batch file and remove these two files: D3PID.txt and DBPID.txt. Then run the batch file again. See if clearing the cache helps.


Cheers~!
 
Hi Dtrick,

The code is is fine as far as I have checked. Please verify the following lines:

Line 27 set errString1="INFO: No tasks"
Line 28 set errString2="SUCCESS"

Lines 153 to 168 should be in this exact manner:

Code:
:CHECKD3
ECHO Diablo III Status...
TASKLIST /FI "IMAGENAME eq %D3Name%" /FI "PID eq %D3PID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%D3Name%" /FI "PID eq %D3PID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...

:CHECKDB
ECHO Demonbuddy Status...
TASKLIST /FI "IMAGENAME eq %DBName%" /FI "PID eq %DBPID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%DBName%" /FI "PID eq %DBPID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...


Next thing that you could do is to go into the folder that you store the batch file and remove these two files: D3PID.txt and DBPID.txt. Then run the batch file again. See if clearing the cache helps.


Cheers~!


my file
Code:
:CHECKD3
ECHO Diablo III Status...
TASKLIST /FI "IMAGENAME eq %D3Name%" /FI "PID eq %D3PID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%D3Name%" /FI "PID eq %D3PID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...


:CHECKDB
ECHO Demonbuddy Status...
TASKLIST /FI "IMAGENAME eq %DBName%" /FI "PID eq %DBPID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%DBName%" /FI "PID eq %DBPID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...

ill try clearing them.
 
my file
Code:
:CHECKD3
ECHO Diablo III Status...
TASKLIST /FI "IMAGENAME eq %D3Name%" /FI "PID eq %D3PID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%D3Name%" /FI "PID eq %D3PID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...


:CHECKDB
ECHO Demonbuddy Status...
TASKLIST /FI "IMAGENAME eq %DBName%" /FI "PID eq %DBPID%" | findstr /c:%errString1% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
TASKKILL /F /FI "STATUS eq NOT RESPONDING" /IM "%DBName%" /FI "PID eq %DBPID%" | FINDSTR /c:%errString2% > NUL 2>&1
IF NOT ERRORLEVEL==1 GOTO :DETECTED
ECHO OK...

ill try clearing them.

Hi DTrick,

I've looked through your script and find no problems with it. But I do find it weird that the script you are running is giving out errors because "> NUL 2>&1" suppresses all output display onto the console screen. In the case of any error, it should not show on the script window while its running.

Did clearing off the cache work for you?

While you're at it, can you tell me what your settings for D3Name is?


Cheers~!
 
Hi DTrick,

I've looked through your script and find no problems with it. But I do find it weird that the script you are running is giving out errors because "> NUL 2>&1" suppresses all output display onto the console screen. In the case of any error, it should not show on the script window while its running.

Did clearing off the cache work for you?

While you're at it, can you tell me what your settings for D3Name is?


Cheers~!

set D3Name=Bot 1.lnk

Have not cleared yet.

This is so i can run ISBoxer, refer here: http://www.thebuddyforum.com/demonb...ide-isboxer-batch-file-db_run.html#post618097
 
set D3Name=Bot 1.lnk

Have not cleared yet.

This is so i can run ISBoxer, refer here: http://www.thebuddyforum.com/demonb...ide-isboxer-batch-file-db_run.html#post618097

Hi DTrick,

Great to see that you have created a guide on this! :)

I don't run ISBoxer as I do not have that many accounts botting so if its possible, could you help me check one thing?

In the Windows Task Manager, can you tell me what is the process name for your ISBoxer window? I'm thinking that it may not be "Bot 1.lnk"

That may be the cause of your problem.

If it is, then I may need to modify the script a little to cater for ISBoxer peeps.


Thanks in advance :)
 
It changes the window title not the application image name

So its still

Diablo III.exe as Image Name
In the Taskbar it shows up as : is1 Diablo - Bots

is2 Diablo2 - Bots = my second diablo 3 window. etc etc

it adds a increasing number after is and after diablo.

If u can understand how im wrting this out.
 
It changes the window title not the application image name

So its still

Diablo III.exe as Image Name
In the Taskbar it shows up as : is1 Diablo - Bots

is2 Diablo2 - Bots = my second diablo 3 window. etc etc

it adds a increasing number after is and after diablo.

If u can understand how im wrting this out.

Yup, no worries. You got pm :)
 
Running 4 of these for 4 accounts. Does each batch file/batch shortcut need to be renamed (differentiated) from all the others? having some trouble with this trying to make 4 separate tasks in the task scheduler to be run simultaneously :D Should be creating 4 batch files, 1 for each, right?
 
Running 4 of these for 4 accounts. Does each batch file/batch shortcut need to be renamed (differentiated) from all the others? having some trouble with this trying to make 4 separate tasks in the task scheduler to be run simultaneously :D Should be creating 4 batch files, 1 for each, right?

Yes.

You got PM Teivovo with the config, thx for your help.
 
Teivovo, do you know how i can get this running via Teamviewer?
I want to start the batch from my work, but using an RDP connection doesn't work cause when i disconnect the RDP session, the screen locks and D3/DB stops.

I try to use teamviewer now (D3 settings are on Windowed mode), but as soon as the batch starts D3, i'm getting an error about D3D (Graphics thingy), and therefore DB can't attach to D3.
When i'm at home and i run the Task, it works perfectly tho!

Anything i could do to resolve this?
 
Teivovo, do you know how i can get this running via Teamviewer?
I want to start the batch from my work, but using an RDP connection doesn't work cause when i disconnect the RDP session, the screen locks and D3/DB stops.

I try to use teamviewer now (D3 settings are on Windowed mode), but as soon as the batch starts D3, i'm getting an error about D3D (Graphics thingy), and therefore DB can't attach to D3.
When i'm at home and i run the Task, it works perfectly tho!

Anything i could do to resolve this?

Woah... this is something I'm really not too sure about bro... I'm using teamviewer too and it has worked thus far... If you have a smartphone (IOS or Android) you could try Splashtop and see i it works for you.
 
Woah... this is something I'm really not too sure about bro... I'm using teamviewer too and it has worked thus far... If you have a smartphone (IOS or Android) you could try Splashtop and see i it works for you.

You think it might me because i'm using 2 monitors (extended mode)? If you want, could you post your D3Prefs.txt? This one is normally located in: C:\Users\<user>\Documents\Diablo III\D3Prefs.txt
 
You think it might me because i'm using 2 monitors (extended mode)? If you want, could you post your D3Prefs.txt? This one is normally located in: C:\Users\<user>\Documents\Diablo III\D3Prefs.txt

I don't seem to have that file inside my pc bro.. :(
 
Back
Top