wowcheesestick
New Member
- Joined
- Jun 17, 2012
- Messages
- 141
- Reaction score
- 0
Tiny problem with batch, Cannot use ! in passwords.
LOL, now i know what your password is.
Tiny problem with batch, Cannot use ! in passwords.
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.
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!
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.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?
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![]()
: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...
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~!
: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...
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~!
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
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.
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 simultaneouslyShould be creating 4 batch files, 1 for each, right?
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.
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