From 19411d4e7ec666a631d52164ac1de6614020de65 Mon Sep 17 00:00:00 2001 From: Acrefawn Date: Wed, 5 Jan 2022 15:13:16 +0200 Subject: [PATCH] Add files via upload --- Bmnrautorun.bat | 6 +++--- CCautorun.bat | 2 +- Castautorun.bat | 6 +++--- ClayETHautorun.bat | 2 +- ClayNSautorun.bat | 2 +- ClayXMRautorun.bat | 2 +- ClayZECautorun.bat | 2 +- Dstmautorun.bat | 2 +- Ethrautorun.bat | 2 +- Ewbfautorun.bat | 6 +++--- Gmnrautorun.bat | 6 +++--- Nbmautorun.bat | 6 +++--- Phnxautorun.bat | 10 ++++----- Trexautorun.bat | 54 ++++++++++++++++++++++++++++++++++++---------- 14 files changed, 70 insertions(+), 38 deletions(-) diff --git a/Bmnrautorun.bat b/Bmnrautorun.bat index 7a55346..f12e67b 100644 --- a/Bmnrautorun.bat +++ b/Bmnrautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Bmnr SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% -uri.*-logfile %log%.*-max-temperature.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% -uri -logfile %log% -max-temperature* options added to the miners command line in this order." "Ensure %minerpath% -uri -logfile %log% -max-temperature options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% -uri.*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% -uri* option added to the miners command line in first order." "Ensure %minerpath% -uri option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... diff --git a/CCautorun.bat b/CCautorun.bat index d5b49e6..fece733 100644 --- a/CCautorun.bat +++ b/CCautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Cmnr SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/Castautorun.bat b/Castautorun.bat index f947f15..49ad646 100644 --- a/Castautorun.bat +++ b/Castautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Cast SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% -S.*--log %log%.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% -S --log %log%* options added to the miners command line in this order." "Ensure %minerpath% -S --log %log% options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% -S.*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% -S* option added to the miners command line in first order." "Ensure %minerpath% -S --log %log% option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... diff --git a/ClayETHautorun.bat b/ClayETHautorun.bat index 3635198..c24a12d 100644 --- a/ClayETHautorun.bat +++ b/ClayETHautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Clay SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/ClayNSautorun.bat b/ClayNSautorun.bat index b5c0b4d..5ba6283 100644 --- a/ClayNSautorun.bat +++ b/ClayNSautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Clay SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/ClayXMRautorun.bat b/ClayXMRautorun.bat index 96373b3..9ac22de 100644 --- a/ClayXMRautorun.bat +++ b/ClayXMRautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Clay SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/ClayZECautorun.bat b/ClayZECautorun.bat index 7adf22d..51c31cc 100644 --- a/ClayZECautorun.bat +++ b/ClayZECautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Clay SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/Dstmautorun.bat b/Dstmautorun.bat index 70f5e83..048374a 100644 --- a/Dstmautorun.bat +++ b/Dstmautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Dstm SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/Ethrautorun.bat b/Ethrautorun.bat index c3c31f0..4cafcfd 100644 --- a/Ethrautorun.bat +++ b/Ethrautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Ethr SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A diff --git a/Ewbfautorun.bat b/Ewbfautorun.bat index 36522b1..28c2e2e 100644 --- a/Ewbfautorun.bat +++ b/Ewbfautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Ewbf SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% --server.*--log 2.*--templimit.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% --server --log 2 --templimit* options added to the miners command line in this order." "Ensure %minerpath% --server --log 2 --templimit options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% --server.*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% --server* option added to the miners command line in first order." "Ensure %minerpath% --server option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... diff --git a/Gmnrautorun.bat b/Gmnrautorun.bat index 906dabd..c228cb6 100644 --- a/Gmnrautorun.bat +++ b/Gmnrautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Gmnr SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% -s .* --logfile %log%.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% -s --logfile %log%* options added to the miners command line in this order." "Ensure %minerpath% -s --logfile %log% options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% -s .*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% -s* option added to the miners command line in first order." "Ensure %minerpath% -s option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... diff --git a/Nbmautorun.bat b/Nbmautorun.bat index ac0c58c..79a5637 100644 --- a/Nbmautorun.bat +++ b/Nbmautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Nbm SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% -o.*--log-file %log%.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% -o --log-file %log%* options added to the miners command line in this order." "Ensure %minerpath% -o --log-file %log% options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% -o.*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% -o* option added to the miners command line in first order." "Ensure %minerpath% -o option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... diff --git a/Phnxautorun.bat b/Phnxautorun.bat index 13af201..511e48c 100644 --- a/Phnxautorun.bat +++ b/Phnxautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Phnx SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -82,7 +82,7 @@ SET tpr=C8go_jp8%tprt% SET /A num=(3780712+3780711)*6*9 SET errorscancel=/C:".*Connected.*" SET criticalerrorslist=/C:".*CUDA-capable.*" /C:".*CUDA error.*" /C:".*Fatal error detected.*" -SET errorslist=/C:".*GPU .* hangs.*" /C:".*Thread.*not.*responding.*" +SET errorslist=/C:".*GPU .* hangs.*" /C:".*Thread.*not.*responding.*" /C:"Incorrect.*share from.*" SET interneterrorslist=/C:"Can.*t resolve.*" /C:".*Unable to read pool response.*" /C:".*Reconnecting.*" /C:".*Connection closed.*" IF %cmddoubleruncheck% EQU 1 ( tasklist.exe /V /NH /FI "imagename eq cmd.exe"| findstr.exe /V /R /C:".*%mn%_autorun(%dt0%)"| findstr.exe /R /C:".*%mn%_autorun.*" 2>NUL 1>&2 && ( @@ -281,7 +281,7 @@ SET chatid=%chatid: =% SET gpus=%gpus: =% SET hashrate=%hashrate: =% IF %tempcheck% EQU 1 SET errorslist=%errorslist% /C:".* [0-5]C .*" -IF %globaltempcheck% EQU 1 SET warningslist=/C:".*reached.*" +IF %globaltempcheck% EQU 1 SET warningslist=/C:".*is stopped because it has temperature.*" IF %environments% EQU 1 FOR %%a IN ("GPU_FORCE_64BIT_PTR 0" "GPU_MAX_HEAP_SIZE 100" "GPU_USE_SYNC_OBJECTS 1" "GPU_MAX_ALLOC_PERCENT 100" "GPU_SINGLE_ALLOC_PERCENT 100") DO SETX %%~a 2>NUL 1>&2 && ECHO %%~a. IF %environments% EQU 0 FOR %%a IN ("GPU_FORCE_64BIT_PTR" "GPU_MAX_HEAP_SIZE" "GPU_USE_SYNC_OBJECTS" "GPU_MAX_ALLOC_PERCENT" "GPU_SINGLE_ALLOC_PERCENT") DO REG DELETE HKCU\Environment /F /V %%~a 2>NUL 1>&2 && ECHO %%~a successfully removed from environments. FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt1=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% -pool.*-log 1 -logfile %log%.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% -pool -log 1 -logfile %log%* options added to the miners command line in this order." "Ensure %minerpath% -pool -log 1 -logfile %log% options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% -pool.*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% -pool* option added to the miners command line in first order." "Ensure %minerpath% -pool option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... diff --git a/Trexautorun.bat b/Trexautorun.bat index 959b117..1c7ff8f 100644 --- a/Trexautorun.bat +++ b/Trexautorun.bat @@ -5,7 +5,7 @@ pushd "%~dp0" SETLOCAL EnableExtensions EnableDelayedExpansion MODE CON cols=70 lines=40 shutdown.exe /A 2>NUL 1>&2 -SET ver=2.1.7 +SET ver=2.1.8 SET mn=Trex SET firstrun=0 FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A @@ -280,8 +280,8 @@ SET secondoclaunch=0 SET chatid=%chatid: =% SET gpus=%gpus: =% SET hashrate=%hashrate: =% -IF %tempcheck% EQU 1 SET errorslist=%errorslist% /C:".* [0-5]C .*" -IF %globaltempcheck% EQU 1 SET warningslist=/C:".*reached.*" +IF %tempcheck% EQU 1 SET errorslist=%errorslist% /C:".* [0-5]C.*" +IF %globaltempcheck% EQU 1 SET warningslist=/C:".*is overheated.*" IF %environments% EQU 1 FOR %%a IN ("GPU_FORCE_64BIT_PTR 0" "GPU_MAX_HEAP_SIZE 100" "GPU_USE_SYNC_OBJECTS 1" "GPU_MAX_ALLOC_PERCENT 100" "GPU_SINGLE_ALLOC_PERCENT 100") DO SETX %%~a 2>NUL 1>&2 && ECHO %%~a. IF %environments% EQU 0 FOR %%a IN ("GPU_FORCE_64BIT_PTR" "GPU_MAX_HEAP_SIZE" "GPU_USE_SYNC_OBJECTS" "GPU_MAX_ALLOC_PERCENT" "GPU_SINGLE_ALLOC_PERCENT") DO REG DELETE HKCU\Environment /F /V %%~a 2>NUL 1>&2 && ECHO %%~a successfully removed from environments. FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt1=%%A @@ -409,8 +409,8 @@ IF NOT EXIST "%log%" ( CALL :inform "1" "false" "%log% is missing. Probably %minerprocess% hangs..." "1" "1" GOTO restart ) ELSE ( - findstr.exe /R /C:".*%minerprocess% -o.*-l %log%.*" %bat% 2>NUL 1>&2 || ( - CALL :inform "1" "false" "Ensure *%minerpath% -o -l %log%* options added to the miners command line in this order." "Ensure %minerpath% -o -l %log% options added to the miners command line in this order." "2" + findstr.exe /R /C:".*%minerprocess% -o.*" %bat% 2>NUL 1>&2 || ( + CALL :inform "1" "false" "Ensure *%minerpath% -o* option added to the miners command line in first order." "Ensure %minerpath% -o option added to the miners command line in first order." "2" ) ECHO log monitoring started. ECHO Collecting information. Please wait... @@ -650,20 +650,52 @@ FOR /L %%A IN (!startcount!,1,!gpus!) DO ( SET curtemp=Temp: ) SET tempdata=null + SET tempdatae=null SET speeddata=null - FOR /F "tokens=2,4 delims=-.," %%a IN ('findstr.exe /R /C:".*GPU .*%%A:.*-.*MH/s.*" %log%') DO ( + FOR /F "tokens=2,5,6,7,8 delims=-,/[]" %%a IN ('findstr.exe /R /C:"GPU .*%%A:.*-.*MH/s.*" %log%') DO ( SET speeddata=%%a - SET speeddata=!speeddata:~1! SET tempdata=%%b - SET tempdata=!tempdata:~4,-1! - IF "!tempdata!" NEQ "null" IF !tempdata! GEQ 0 IF !tempdata! LSS 70 SET tempdata=!tempdata! - IF "!tempdata!" NEQ "null" IF !tempdata! GEQ 70 SET tempdata=*!tempdata!* + SET tempdatae=%%e + SET tempdata=!tempdata:~0,3! + SET tempdatae=!tempdatae:~2,1! + IF "!speeddata!" NEQ "null" ( + IF !speeddata!==DISABLED ( + SET speeddata=Disabled + SET tempdata=Disabled + ) ELSE ( + SET speeddata=!speeddata:~1,-6! + ) + ) + IF "!tempdata!" NEQ "null" IF "!tempdata!" NEQ "Disabled" ( + IF !tempdata!==LHR ( + IF !tempdatae!==C ( + SET tempdata=%%e + SET tempdata=!tempdata:~0,-1! + ) ELSE ( + SET tempdata=%%d + SET tempdata=!tempdata:~2,-1! + ) + ) ELSE ( + SET tempdata=%%b + SET tempdata=!tempdata:~-1! + IF !tempdata!==C ( + SET tempdata=%%b + SET tempdata=!tempdata:~2,-1! + ) ELSE ( + SET tempdata=%%c + SET tempdata=!tempdata:~0,-1! + ) + ) + IF "!tempdata!" NEQ "null" IF !tempdata! GEQ 0 IF !tempdata! LSS 70 SET tempdata=!tempdata! + IF "!tempdata!" NEQ "null" IF !tempdata! GEQ 70 SET tempdata=*!tempdata!* + ) ) IF "!speeddata!" NEQ "null" ( IF !speeddata! EQU 0 SET /A minhashrate+=1 SET curspeed=!curspeed! G%%A !speeddata!, ) - IF "!tempdata!" NEQ "null" SET curtemp=!curtemp! G%%A !tempdata!C, + IF "!tempdata!" NEQ "null" IF "!tempdata!" NEQ "Disabled" SET curtemp=!curtemp! G%%A !tempdata!C, + IF "!tempdata!" EQU "Disabled" SET curtemp=!curtemp! G%%A !tempdata!, IF !minhashrate! GEQ 99 GOTO passaveragecheck IF %%A EQU !gpus! ( IF "!curspeed!" EQU "Speed:" SET curspeed=unknown