Bitcoin Forum
September 20, 2018, 05:46:43 PM *
News: ♦♦ Bitcoin Core users must update to 0.16.3 [Torrent]. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: JK's Manual Miner for zPool.ca V2.0  (Read 695 times)
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
January 24, 2018, 03:44:14 AM
 #1

Here it is finally.  This batch now has the ability to be updated remotely.  Designed in Windows 10.  Should work on Vista or later builds that have Powershell version >= 2.0.

I've hit a few speed bumps along the way but have finally been able to get a version that I can finally release that works as I expect it to.

Currently it's almost identical in function to the original manual farm control batch except for a few key points:

The miner package now has a name (mminer), and comes with all associated miner apps that I am presently using with it.
The batch can now update itself to a newly released version of the code; as well as download any needed/necessary miner applications required for the new updated version.
The batch now stores it's key variables in text files for ease of configuration and the ability to update the batch itself.


Please view README.txt in the application folder for more descriptions on the modifiable variables.


Future plans:
1) Incorporate the automatic algo switching functions into this batch.  So if for instance you would set your requested algo to be "auto", the miner would do the regular stratum controlled mining like my original automatic batch file does.   This is going to happen, but not started as of yet.
2) Add static variable for update URL for easier end-user updates; as well as disabling the update feature.
3) Get the project onto github for ease of file distribution as well as peace of mind.   My old tripod URL will only handle soo much traffic, and I know the second I have to upload a 30+Mb file to pass onto who knows how many miners;  things could get ugly quick.  I have not 100% fully tested a lack of internet connection to the miner, or lost connection at different times of the script running aside from updating.  Trying to figure out a reasonable amount of retires before starting over or simply bypassing the update features.
4) Add AMD Rx card support (Big thanks to phil for making this possible)
5) Combine all app variables into a single text file
6) Create auto-normalization script to only be run once;  This will only be for the automatic miner batch once its incorporated.  I am still considering making a template for each generation of card.  Looking for more user input on this.  My initial thoughts are to have the batch retrieve the hashrate results in a way that a 'grep' works in linux.  Currently researching Windows alternatives.


As always, I am always willing to update to a newer and better miner app;  just please provide me with a download link and the information about it (why its better, etc).   If it seems like the right route to go, I will incorporate it into an update to mminer after I get it tested for stability at least on one of my machines.

Download mminer 2.0 Here: https://mega.nz/#!VaYyib6Y!g5h51YtFFSOBwSl41ZxIXL1aVG9kakZ87dFGu98ZKj0

*NOTE:  If you are getting powershell errors and the miner never launches, download this updated mminer.bat, and replace the one in your mminer folder.  Should fix it.  If not, let me know.   This hotfix will be applied to all future versions: https://mega.nz/#!gPIj2BxK!DrKgS92Z68bdTCybLKVf8084AbLRjFO8QOgiXlELe_Y

Known issues:  
02/18/2018: Some ccminer variants included are not playing well with the new release of windows 10, or the new nvidia drivers.   I am seeking more versatile replacements for these apps.  Specifically ccminer180.exe.  In my next update, it will probably be superseded by ccminerxevan.exe as it has been working for me.

Mminer version history:
2.0:  Initial public release version.
1.9:  Final test of update to test heuristics. *was successful*
1.5:  First successful update
1.1:  second test update version
1.0:  Alpha version;  initial code for auto-updates

A link to the original batch and thread: Here.
A link to the second batch and thread: Here.
A link to the original manual control batch: Here.
A link to the xmr-stak-JK no-devfee build: Here

Donations not necessary but always welcomed: 1pz4yZ6DAjn4ho7x2FiEqE6VVEvefFxK9  I rarely check this address.

1537465603
Hero Member
*
Offline Offline

Posts: 1537465603

View Profile Personal Message (Offline)

Ignore
1537465603
Reply with quote  #2

1537465603
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
philipma1957
Legendary
*
Offline Offline

Activity: 2226
Merit: 1338


Avalon 841 rocks


View Profile
February 18, 2018, 10:02:10 AM
 #2

I will help for what little I can do.

I mine alt coins with https://simplemining.net...
I see BTC as the super highway and alt coins as taxis and trucks needed to move transactions.
MagicSmoker
Full Member
***
Offline Offline

Activity: 294
Merit: 133



View Profile
February 18, 2018, 11:10:22 AM
 #3

Same here - yesterday was a total disaster with all sorts of problems plaguing me from the moment I got up until I finally called it quits to watch a movie around 8p and by the time JK told me about his script I was in no mood for it.  Tongue

But the MrPlus fork of NemosMiner just crashed after spending another 8 hours stuck on X17 so why not try out some new and exciting ways to be vexed!?!

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 18, 2018, 05:45:55 PM
 #4

Hi Jared,

Just downloaded your batch but the README.txt is empty.

Am I missing something or not looking in the right place?
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 18, 2018, 05:47:30 PM
 #5

Hi Jared,

Just downloaded your batch but the README.txt is empty.

Am I missing something or not looking in the right place?

It must have been you that emailed me.

Please ignore any of the extra info added to the email that seem like they may not apply to you.  Ive been tossing words back and forth with a few people about it this morning.


README.txt:
Code:
Usage and configuration of this batch is simple.

You must edit the contents of these files to your desired configuration:

addy.txt: This is the payout address you are using to get paid to.  My address as the example is a BTC address.
pot.txt: This is the payout type you wish to select.  It's set to BTC in my example.
id.txt: This is your miner's rigname or identification string to be seen on the zpool.ca wallet site.
weburl1.txt: This is the URL to the web location you will control the batch from.  In my example it's a publically usable
URL if you wish to mine what the bulk of my machines are mining.  Just upload a plain text file to
a web location wherein you can change the contents of the text file when you wish to change algos on
all of your miners.   Use separate text files for different groups of miners.  The sky is the limit.
weburl2.txt: This is the failover for the first URL if it does not respond.  In my example it is the same as the
main URL.


Storing these variables in text files allows the batch to freely update itself with new changes, yet remain configured to your
own mining settings instead of editing a batch file every update.



If you get a powershell error, let me know asap. 

As long as I am still at home, ill make a revision and push it via the auto-update feature....   it's a simple change, but necessary on some machines I am just finding out.

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 18, 2018, 06:41:40 PM
 #6

Hi Jared,

Just downloaded your batch but the README.txt is empty.

Am I missing something or not looking in the right place?

It must have been you that emailed me.

Please ignore any of the extra info added to the email that seem like they may not apply to you.  Ive been tossing words back and forth with a few people about it this morning.


README.txt:
Code:
Usage and configuration of this batch is simple.

You must edit the contents of these files to your desired configuration:

addy.txt: This is the payout address you are using to get paid to.  My address as the example is a BTC address.
pot.txt: This is the payout type you wish to select.  It's set to BTC in my example.
id.txt: This is your miner's rigname or identification string to be seen on the zpool.ca wallet site.
weburl1.txt: This is the URL to the web location you will control the batch from.  In my example it's a publically usable
URL if you wish to mine what the bulk of my machines are mining.  Just upload a plain text file to
a web location wherein you can change the contents of the text file when you wish to change algos on
all of your miners.   Use separate text files for different groups of miners.  The sky is the limit.
weburl2.txt: This is the failover for the first URL if it does not respond.  In my example it is the same as the
main URL.


Storing these variables in text files allows the batch to freely update itself with new changes, yet remain configured to your
own mining settings instead of editing a batch file every update.



If you get a powershell error, let me know asap.  

As long as I am still at home, ill make a revision and push it via the auto-update feature....   it's a simple change, but necessary on some machines I am just finding out.

Wasn't me that emailed but thank you for such a fast reply.

Yes getting this error :

Quote
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
Checking for update...
DownloadFile : Exception calling "DownloadFile" with "2" argument(s): "Configuration system failed to initialize"
At line:1 char:40
+ (New-Object Net.Webclient).DownloadFile <<<< ('http://nomadpaintball.tripod.com/mminer/miner.version.txt', 'version.txt')
+CategoryInfo  : Notspecified: (Smiley [], MethodInvocationException
+FullyQualifiedErrorId : DotNetMethodException

http://nomadpaintball.tripod.com not responding...


Also my rig currently has 2x1080ti if that makes any difference or if there are any things you would recommend doing with your batch based on those GPUs.
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 18, 2018, 06:48:09 PM
 #7

looks like that change needs to happen.

Let me push a replacement .bat file for you to mega.  Give me about 5-10 min.

*edit*

Here it is: https://mega.nz/#!gPIj2BxK!DrKgS92Z68bdTCybLKVf8084AbLRjFO8QOgiXlELe_Y

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 18, 2018, 06:57:47 PM
 #8

Still getting this if I right click run as admin and if i manually execute through powershell.



Quote
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
Checking for update...
DownloadFile : Exception calling "DownloadFile" with "2" argument(s): "Configuration system failed to initialize"
At line:1 char:40
+ (New-Object Net.WebClient).DownloadFile <<<< ('http://nomadpaintball.tripod.com/mminer/miner.version.txt', 'version.t
xt')
    + CategoryInfo          : NotSpecified: (Smiley [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException


http://nomadpaintball.tripod.com not responding...

JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 18, 2018, 06:58:57 PM
 #9

The updated file is in the above post.   Tried to PM you, but the forum is not allowing me to; need to find out where the setting is to enable PM's from new members..... its a new feature.

Just replace mminer.bat with this new one, and it should be right as rain.

If any algos crash or do not work properly, tell me which algo and Ill do some quick testing.   Since I have been only minig ~3 different algos the last several months, I havent tried some of the other ones with the new windows and nvidia drivers I am using.


ccminer180 has issues, so I replaced it in this new version a week ago.  IF other algos offend, and im not available to push an update;  you can change it yourself via these parameters:

Reference parameters:
Code:
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerlbry1.exe
SET E=ccminerlbry.exe
SET F=ccminer.exe
SET G=ccminerxevan.exe
SET H=ccminerskunk.exe
SET POOL=mine.zpool.ca
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
SET A20=keccak
SET A21=myr-gr
SET A22=xevan
SET A23=skunk

and using the definitions, you can deduce which line is which algo, and which app is being used in each algo:
EXAMPLE:
IF %WHATTOMINE% == %A01% START "%DEV%:%A01%" /min %A% %DEV% -r 0 -a %A01% -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%,%WHATTOMINE%


%A01% is the algo;  being X13
%A% is the miner app to use; being ccminer180.exe


Im going to be leaving the house for a while;  hopefully all went well.


Don't run as admin;  it will execute the batch as if it was in the windows/system32 folder..... not good as it tried to call files that are in its own directory.

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 19, 2018, 10:57:21 AM
 #10

Downloaded the new miner file, verified that the file size in the folder is the same but still getting the same error when I try to run it.
(launches in cmd, not powershell aswell if that's relevant).
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 20, 2018, 01:00:01 AM
 #11

Downloaded the new miner file, verified that the file size in the folder is the same but still getting the same error when I try to run it.
(launches in cmd, not powershell aswell if that's relevant).

The filesize should be a bit smaller as it has several copies of  a string removed.  It looks like I #$@%#'d up again, so here it is for you to cut and paste into mminer.bat


This should be correct:

Code:
@echo off
SET VERSION=2.0
IF EXIST .\update.bat DEL update.bat
:STARTNEWALGO
CLS
SETLOCAL EnableExtensions
SET /P ADDY=<addy.txt
SET DEV=
SET /P ID=<id.txt
SET /P PAYOUTTYPE=<pot.txt
IF EXIST .\weburl1.txt SET /P ALGOLOC=<weburl1.txt
IF EXIST .\weburl1.txt SET /P ALGOLOC2=<weburl2.txt
SET ALGOFN=currentalgo.txt
SET LOC=http://nomadpaintball.tripod.com
SET VLOC=http://nomadpaintball.tripod.com/mminer/miner.version.txt
ECHO Checking for update...
SET NEWVERSION=NONE
IF EXIST .\version.txt DEL version.txt
powershell -Command "(New-Object Net.WebClient).DownloadFile('%VLOC%', 'version.txt')"
IF EXIST .\version.txt SET /P NEWVERSION=<version.txt
IF %NEWVERSION% == NONE ECHO %LOC% not responding...
IF %NEWVERSION% == NONE CHOICE /c · /n /t 5 /d ·
IF %NEWVERSION% == NONE GOTO STARTNEWALGO
IF %NEWVERSION% EQU %VERSION% ECHO Version is current: MMiner%VERSION%
IF %NEWVERSION% EQU %VERSION% DEL version.txt
IF %NEWVERSION% EQU %VERSION% GOTO CONTINUE
IF %NEWVERSION% GTR %VERSION% ECHO Update available....
IF %NEWVERSION% GTR %VERSION% CHOICE /c · /n /t 5 /d ·
IF %NEWVERSION% GTR %VERSION% GOTO UPDATE
:CONTINUE
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerlbry1.exe
SET E=ccminerlbry.exe
SET F=ccminer.exe
SET G=ccminerxevan.exe
SET H=ccminerskunk.exe
SET POOL=mine.zpool.ca
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
SET A20=keccak
SET A21=myr-gr
SET A22=xevan
SET A23=skunk
COLOR 0A
SET PASS=%ID%,c=%PAYOUTTYPE%
SET WHATTOMINE=NONE
IF EXIST .\%ALGOFN% DEL %ALGOFN%
IF EXIST .\nextalgo.txt DEL nextalgo.txt
:TOP1
CLS
ECHO Fetching current algorythm selection...
powershell -Command "(New-Object Net.WebClient).DownloadFile('%ALGOLOC%', '%ALGOFN%')"
IF EXIST .\%ALGOFN% SET /P WHATTOMINE=<%ALGOFN%
IF %WHATTOMINE% == NONE ECHO %ALGOLOC% failed to respond...  Trying %ALGOLOC2%
IF %WHATTOMINE% == NONE powershell -Command "(New-Object Net.WebClient).DownloadFile('%ALGOLOC2%', '%ALGOFN%')"
IF EXIST .\%ALGOFN% SET /P WHATTOMINE=<%ALGOFN%
IF %WHATTOMINE% == NONE ECHO %ALGOLOC2% failed to respond...  Retrying in 5 seconds... Mminer v%VERSION%
IF %WHATTOMINE% == NONE CHOICE /c · /n /t 5 /d ·
IF %WHATTOMINE% == NONE GOTO TOP1
ECHO %WHATTOMINE% selected.
REM SET /A NEXTALGO=%WHATTOMINE%
REM THE ABOBE LINE IS PRIOR TO A FAILOVER ALGO SELECTION URL ADDITION.
SET /A NEXTALGO=NONE
IF %WHATTOMINE% == %A01% START "%DEV%:%A01%" /min %A% %DEV% -r 0 -a %A01% -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A02% START "%DEV%:%A02%" /min %A% %DEV% -r 0 -a %A02% -o stratum+tcp://%A02%.%POOL%:3533 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A03% START "%DEV%:%A03%" /min %A% %DEV% -r 0 -a %A03% -o stratum+tcp://%A03%.%POOL%:4733 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A04% START "%DEV%:%A04%" /min %A% %DEV% -r 0 -a %A04% -o stratum+tcp://%A04%.%POOL%:3733 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A05% START "%DEV%:%A05%" /min %G% %DEV% -r 0 -a %A05% -o stratum+tcp://%A05%.%POOL%:4533 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A06% START "%DEV%:%A06%" /min %D% %DEV% -r 0 -a %A06% -o stratum+tcp://%A06%.%POOL%:4233 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A07% START "%DEV%:%A07%" /min %A% %DEV% -r 0 -a %A07% -o stratum+tcp://%A07%.%POOL%:5744 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A08% START "%DEV%:%A08%" /min %A% %DEV% -r 0 -a %A08% -o stratum+tcp://%A08%.%POOL%:5743 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A09% START "%DEV%:%A09%" /min %A% %DEV% -r 0 -a %A09% -o stratum+tcp://%A09%.%POOL%:3573 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A10% START "%DEV%:%A10%" /min %A% %DEV% -r 0 -a %A10% -o stratum+tcp://%A10%.%POOL%:4033 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A11% START "%DEV%:%A11%" /min %A% %DEV% -r 0 -a %A11% -o stratum+tcp://%A11%.%POOL%:5333 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A12% START "%DEV%:%A12%" /min %A% %DEV% -r 0 -a %A12% -o stratum+tcp://%A12%.%POOL%:5766 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A13% START "%DEV%:%A13%" /min %A% %DEV% -r 0 -a %A13% -o stratum+tcp://%A13%.%POOL%:3933 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A14% START "%DEV%:%A14%" /min %A% %DEV% -r 0 -a %A14% -o stratum+tcp://%A14%.%POOL%:3737 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A15% START "%DEV%:%A15%" /min %A% %DEV% -r 0 -a %A15% -o stratum+tcp://%A15%.%POOL%:3833 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A16% START "%DEV%:%A16%" /min %F% %DEV% -r 0 -a %A16% -o stratum+tcp://%A16%.%POOL%:4933 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A17% START "%DEV%:%A17%" /min %A% %DEV% -r 0 -a %A17% -o stratum+tcp://%A17%.%POOL%:5033 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A18% START "%DEV%:%A18%" /min %B% %DEV% -r 0 -a %A18% -o stratum+tcp://%A18%.%POOL%:3553 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A19% START "%DEV%:%A19%" /min %E% %DEV% -r 0 -a %A19% -o stratum+tcp://%A19%.%POOL%:3334 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A20% START "%DEV%:%A20%" /min %E% %DEV% -r 0 -a %A20% -o stratum+tcp://%A20%.%POOL%:5133 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A21% START "%DEV%:%A21%" /min %F% %DEV% -r 0 -a %A21% -o stratum+tcp://%A21%.%POOL%:5433 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A22% START "%DEV%:%A22%" /min %G% %DEV% -r 0 -a %A22% -o stratum+tcp://%A22%.%POOL%:3739 -u %ADDY% -p %PASS%,%WHATTOMINE%
IF %WHATTOMINE% == %A23% START "%DEV%:%A21%" /min %H% %DEV% -r 0 -a %A23% -o stratum+tcp://%A23%.%POOL%:8433 -u %ADDY% -p %PASS%,%WHATTOMINE%
:WAITAGAIN
CLS
ECHO Mminer v%VERSION% loaded and mining %WHATTOMINE%.  Waiting for algo change or miner app to close.
SET ISRUNNING=FALSE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %A% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %B% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %C% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %D% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %E% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %F% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %G%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %G% SET ISRUNNING=TRUE
IF %ISRUNNING% == TRUE GOTO TRUE
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %H%" /FI "WINDOWTITLE eq %DEV%:%WHATTOMINE%"') DO IF %%x == %H% SET ISRUNNING=TRUE
IF %ISRUNNING% == FALSE GOTO RESTART
:TRUE
CHOICE /c · /n /t 20 /d ·
REM        Check URL every x minutes for an algo selection change or update(60s x 5Min == 300), etc.
REM
powershell -Command "(New-Object Net.WebClient).DownloadFile('%ALGOLOC%', 'nextalgo.txt')"
IF EXIST .\nextalgo.txt SET /P NEXTALGO=<nextalgo.txt
IF %NEXTALGO% == NONE ECHO %ALGOLOC% failed to respond...
IF %NEXTALGO% == NONE powershell -Command "(New-Object Net.WebClient).DownloadFile('%ALGOLOC2%', 'nextalgo.txt')"
IF EXIST .\nextalgo.txt SET /P NEXTALGO=<nextalgo.txt
IF %NEXTALGO% == NONE ECHO %ALGOLOC2% failed to respond...  Still mining %WHATTOMINE%
IF %NEXTALGO% == %WHATTOMINE% ECHO No change detected.  Still mining %WHATTOMINE%.
IF EXIST .\version.txt DEL version.txt
powershell -Command "(New-Object Net.WebClient).DownloadFile('%VLOC%', 'version.txt')"
IF EXIST .\version.txt SET /P NEWVERSION=<version.txt
IF %NEWVERSION% == NONE ECHO %LOC% not responding...
IF %NEWVERSION% == NONE CHOICE /c · /n /t 5 /d ·
IF %NEWVERSION% == NONE GOTO STARTNEWALGO
IF %NEWVERSION% EQU %VERSION% ECHO Version is current: MMiner%VERSION%
IF %NEWVERSION% EQU %VERSION% DEL version.txt
IF %NEWVERSION% EQU %VERSION% GOTO CONTINUE
IF %NEWVERSION% GTR %VERSION% ECHO Update available....
IF %NEWVERSION% GTR %VERSION% CHOICE /c · /n /t 5 /d ·
IF %NEWVERSION% GTR %VERSION% GOTO UPDATE
:CONTINUE
IF %ISRUNNING% == FALSE GOTO RESTART
CHOICE /c · /n /t 2 /d ·
IF %NEXTALGO% == %WHATTOMINE% GOTO WAITAGAIN
:RESTART
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%"') DO IF %%x == %A% TASKKILL /F /IM %A%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%"') DO IF %%x == %B% TASKKILL /F /IM %B%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%"') DO IF %%x == %C% TASKKILL /F /IM %C%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%"') DO IF %%x == %D% TASKKILL /F /IM %D%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%"') DO IF %%x == %E% TASKKILL /F /IM %E%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%"') DO IF %%x == %F% TASKKILL /F /IM %F%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %G%"') DO IF %%x == %G% TASKKILL /F /IM %G%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %H%"') DO IF %%x == %H% TASKKILL /F /IM %H%
SET /P WHATTOMINE=<nextalgo.txt
GOTO STARTNEWALGO
:UPDATE
SET US1=FALSE
SET US2=FALSE
:US1_
powershell -Command "(New-Object Net.WebClient).DownloadFile('%LOC%/mminer/mminer%NEWVERSION%.txt', 'mminer%NEWVERSION%.bat')"
IF EXIST .\mminer%NEWVERSION%.bat SET US1=TRUE
IF %US1% == FALSE ECHO Download failed, retrying...
IF %US1% == FALSE GOTO US1_
IF %US1% == TRUE IF EXIST .\update.bat DEL update.bat
:US2_
powershell -Command "(New-Object Net.WebClient).DownloadFile('%LOC%/mminer/update%NEWVERSION%.txt', 'update.bat')"
IF EXIST .\update.bat SET US2=TRUE
IF %US2% == FALSE ECHO Download of update.bat failed.  Retrying...
IF %US2% == FALSE GOTO US2_
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%"') DO IF %%x == %A% TASKKILL /F /IM %A%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%"') DO IF %%x == %B% TASKKILL /F /IM %B%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%"') DO IF %%x == %C% TASKKILL /F /IM %C%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%"') DO IF %%x == %D% TASKKILL /F /IM %D%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%"') DO IF %%x == %E% TASKKILL /F /IM %E%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%"') DO IF %%x == %F% TASKKILL /F /IM %F%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %G%"') DO IF %%x == %G% TASKKILL /F /IM %G%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %H%"') DO IF %%x == %H% TASKKILL /F /IM %H%
START update.bat
EXIT



REM JK's nVidia zPool Miner "Manual" Batch V2.0
REM 2.0: Added auto-updates feature to batch; lots of changes
REM 1.2: Added failover algo selection URL


Specifically these type of powershell lines can't contain this text [ -version 2.0 ] in some windows 10 installs.  Why, I have no clue:
Code:
powershell -version 2.0 -Command "(New-Object Net.WebClient).DownloadFile('%VLOC%', 'version.txt')"

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 20, 2018, 01:49:16 AM
 #12

That got it going! Mining Xevan.

Thank you very much for your help.

JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 20, 2018, 02:14:18 AM
 #13

That got it going! Mining Xevan.

Thank you very much for your help.



No prob at all.

If you have a website you can put a text file onto to control it;  you can choose your own algo by modifying the text files mentioned in the readme post above.


Presently xevan has been the most reliable the last few months for me.

NIST5 can be up and down;  more down that up recently.


Ill soon update the original package when I can get to a location to upload and replace the main mega link quickly.

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 20, 2018, 03:57:29 AM
 #14

"User 'JaredKaragen' has not chosen to allow messages from newbies. You should post in their relevant thread to remind them to enable this setting."

(don't think i will be able to pm anyone for a very long time lol.. is there a post requirement to get out of the newbie bracket?)

What GPUs you use, i remember reading you had a couple of 1070s.

If I leave the urls unchanged in the text files of the batch does that mean I am mining what you are mining?
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 20, 2018, 04:27:09 AM
 #15

"User 'JaredKaragen' has not chosen to allow messages from newbies. You should post in their relevant thread to remind them to enable this setting."

(don't think i will be able to pm anyone for a very long time lol.. is there a post requirement to get out of the newbie bracket?)

What GPUs you use, i remember reading you had a couple of 1070s.

If I leave the urls unchanged in the text files of the batch does that mean I am mining what you are mining?

correct;  you will be mining what I am mining on my home GPU's.

The default address wallet is: https://zpool.ca/?address=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP   And I set up all of my workernames as to denote what cards are connected on what machines.  There are used as well (except for one) so they go on and offline when I am using them for games/rendering/whatever.

I need to find the setting to enable newb PM post.... but right now im juggling trying to get an 18 wheeler to pick up a truckload of speakers to go sell....   I get things like this falling into my lap alot.  One of the curses of having soo many connections.    Newb pm used to be enabled;  I have no idea when that changed.

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 20, 2018, 05:15:06 AM
 #16

Oh very cool.

Any plans to expand on your existing GPUs or just making use of them during down time for a lil extra?
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 20, 2018, 07:42:54 AM
 #17

Oh very cool.

Any plans to expand on your existing GPUs or just making use of them during down time for a lil extra?


Yep;  I am building a 100% satellite system that will all be self contained in one box;  just give it power.  It will have a cellular modem built in....  The Onda B250-D8P has an msata slot;  which could be repurposed to hold a WWAN card.....

As soon as I get one more 10 series card at home, all my 9 series gear will go offline and probably into friends computers.

I just got a huge lot of EV speakers to pick up and sell;  so I expect a free ~10K+ easily to fall in my hand soon.....  They are EV SL10-2V, and there's 76 of em.....

J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 20, 2018, 12:07:16 PM
 #18

Nice! Looking forward to the rigs you put together once that settles!
J4CKT
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 20, 2018, 12:14:43 PM
 #19

Sorry for the newbie questions. My 2x1080ti are pulling 11-11.25mh. How do I convert that into daily earnings?
JaredKaragen
Legendary
*
Offline Offline

Activity: 1064
Merit: 1036


★YoBit.Net★ 350+ Coins Exchange & Dice


View Profile
February 20, 2018, 11:56:23 PM
 #20

Sorry for the newbie questions. My 2x1080ti are pulling 11-11.25mh. How do I convert that into daily earnings?

zpool.ca wallet page.

look on right.  see your algo and 24 hour estimates.

multiply total hashrate by estimate(s) seen, and you can see your rough profitability on that algo.

Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!