Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Undertrey committed Apr 17, 2021
1 parent d580323 commit e9e4c83
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 33 deletions.
14 changes: 7 additions & 7 deletions Bmnrautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Bmnr
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand All @@ -29,11 +29,11 @@ SET gpurestart=1
SET hashrate=0
SET minerprocess=bminer.exe
SET minerpath=%minerprocess%
SET commandserver1=%minerpath% -uri ethash://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver2=%minerpath% -uri ethash://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver3=%minerpath% -uri ethash://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver4=%minerpath% -uri ethash://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver5=%minerpath% -uri ethash://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver1=%minerpath% -uri ethproxy://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver2=%minerpath% -uri ethproxy://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver3=%minerpath% -uri ethproxy://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver4=%minerpath% -uri ethproxy://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET commandserver5=%minerpath% -uri ethproxy://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
SET ocprogram=0
SET profile=0
SET additionalprofile=0
Expand Down Expand Up @@ -375,7 +375,7 @@ IF EXIST "%log%" (
>> %bat% ECHO REM Configure the miners command line in %config% file. Not in %bat% - any values in %bat% will not be used.
IF %queue% GEQ 1 IF %queue% LEQ %serversamount% >> %bat% ECHO !commandserver%queue%!
REM Default pool server settings for debugging. Will be activated only in case of mining failed on all user pool servers, to detect errors in the configuration file. Will be deactivated automatically in 30 minutes and switched back to settings of main pool server. To be clear, this will mean you are mining to my address for 30 minutes, at which point the script will then iterate through the pools that you have configured in the configuration file. I have used this address because I know these settings work. If the script has reached this point, CHECK YOUR CONFIGURATION FILE or all pools you have specified are offline. You can also change the address here to your own.
IF %queue% EQU 0 >> %bat% ECHO %minerpath% -uri ethash://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
IF %queue% EQU 0 >> %bat% ECHO %minerpath% -uri ethproxy://0x4a98909270621531dda26de63679c1c6fdcf32ea.%ver:.=%@eu1.ethermine.org:4444 -logfile %log% -max-temperature 80
>> %bat% ECHO EXIT
timeout.exe /T 3 /nobreak >NUL
START "%bat%" "%bat%" && (
Expand Down
2 changes: 1 addition & 1 deletion CCautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Cmnr
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion Castautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Cast
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion ClayETHautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Clay
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion ClayNSautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Clay
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion ClayXMRautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Clay
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion ClayZECautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Clay
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion Dstmautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Dstm
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion Ethrautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Ethr
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion Ewbfautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Ewbf
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
2 changes: 1 addition & 1 deletion Phnxautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Phnx
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down
29 changes: 13 additions & 16 deletions Trexautorun.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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.2
SET ver=2.1.3
SET mn=Trex
SET firstrun=0
FOR /F "tokens=1 delims=." %%A IN ('wmic.exe OS GET localdatetime^|Find "."') DO SET dt0=%%A
Expand Down Expand Up @@ -599,7 +599,7 @@ IF %ap% EQU 1 (
)
IF %firstrun% EQU 0 (
timeout.exe /T %cputimeout% /nobreak >NUL
FOR /F "delims=" %%A IN ('findstr.exe /R /C:".*GPU.* using .*" %log%') DO SET /A gpucount+=1
FOR /F "tokens=6 delims= " %%A IN ('findstr.exe /R /C:".*CUDA devices available. [0-9]*.*" %log%') DO SET gpucount=%%A
IF !gpucount! EQU 0 SET gpucount=1
IF %gpus% EQU 0 SET gpus=!gpucount!
)
Expand Down Expand Up @@ -636,23 +636,20 @@ FOR /F "tokens=5 delims=.[]- " %%A IN ('findstr.exe /R /C:".*OK.*MH/s.*GPU.*" %l
IF !minhashrate! GEQ 99 GOTO passaveragecheck
)
timeout.exe /T %cputimeout% /nobreak >NUL
FOR /F "tokens=2 delims=-" %%A IN ('findstr.exe /R /C:".*GPU.*MH/s.*" %log%') DO SET curcache=%%A
IF DEFINED curcache (
FOR /F "tokens=2,3 delims=#-" %%A IN ('findstr.exe /R /C:".*GPU.*MH/s.*" %log%') DO (
SET gpunum=%%A
SET gpunum=!gpunum:~0,2%!
SET gpunum=!gpunum::=!
SET curcache=%%B
)
IF DEFINED gpunum IF DEFINED curcache (
FOR /F "tokens=1,3 delims=.,MH/s[]:TCPWFEkR " %%a IN ("!curcache!") DO (
SET curtemp=Temp:
SET curspeed=Speed:
SET gpunum=0
FOR %%A IN ("%%a %%b") DO (
IF !gpunum! LSS %gpus% (
FOR /F "tokens=1,2 delims= " %%B IN (%%A) DO (
IF "%%B" NEQ "" IF %%B GEQ 0 SET curspeed=!curspeed! G!gpunum! %%B,
IF "%%C" NEQ "" IF %%C GEQ 0 (
IF %%C LSS 70 SET curtemp=!curtemp! G!gpunum! %%CC,
IF %%C GEQ 70 SET curtemp=!curtemp! G!gpunum! *%%CC*,
)
SET /A gpunum+=1
)
)
IF "%%a" NEQ "" IF %%a GEQ 0 SET curspeed=!curspeed! G!gpunum! %%a,
IF "%%b" NEQ "" IF %%b GEQ 0 (
IF %%b LSS 70 SET curtemp=!curtemp! G!gpunum! %%bC,
IF %%b GEQ 70 SET curtemp=!curtemp! G!gpunum! *%%bC*,
)
IF "!curtemp!" EQU "Temp:" SET curtemp=unknown
IF "!curtemp!" NEQ "unknown" SET curtemp=!curtemp:~0,-1!
Expand Down

0 comments on commit e9e4c83

Please sign in to comment.