nemosminer / NemosMiner

NemosMiner multi algo profit switching NVIDIA miner
GNU General Public License v3.0
230 stars 105 forks source link

Divide by zero #313

Closed dragnmastr85 closed 6 years ago

dragnmastr85 commented 6 years ago

See screenshot below. I am getting a divide by zero error coming from the ps script. How can I fix this?

image

mynameisrich commented 6 years ago

I'm probably not the person to help, but which pools you are trying to load and is failing on might be useful to those who can help. Perhaps paste your .bat file. It looks like zpool and ahashpool are loading OK, but the third pool isn't.

valth0nis commented 6 years ago

I'm having the same issue with ahashpool and both the regular bat file and the plue bat file.

mynameisrich commented 6 years ago

Even if you just have one pool listed in the bat file? It might be worth pasting what your bat file looks like

valth0nis commented 6 years ago

This is what's in mine.

powershell -version 5.0 -noexit -executionpolicy bypass -windowstyle maximized -command "&.\NPlusMiner-v1.3.ps1 -SelGPUDSTM '0 1 2 3 4 5 6 7' -SelGPUCC '0,1,2,3,4,5,6,7' -Currency USD -Passwordcurrency BTC -Wallet 1HgEov9W4Jwh8MQq9sLGkcrsHweyZrGAEn -Location US -ActiveMinerGainPct 3 -PoolName ahashpool -WorkerName ID=NPlusMiner13 -Type nvidia -Algorithm xevan,hsr,phi,tribus,c11,lbry,skein,groestl,sib,bitcore,x17,Nist5,MyriadGroestl,Lyra2RE2,neoscrypt,blake2s,skunk

mynameisrich commented 6 years ago

I just tried running the same command with less gpu's and didn't have any errors. Possible A/V is stopping it perhaps? I already have the benchmarks done though.

dragnmastr85 commented 6 years ago

This is what mine looks like: powershell -version 5.0 -noexit -executionpolicy bypass -windowstyle maximized -command "&.\NPlusMiner-v1.3.ps1 -SelGPUDSTM '0 2' -SelGPUCC '0,2' -Currency USD -Passwordcurrency BTC -interval 60 -Wallet 17zxPhAtp4jwSE2NnA6NhAzkTjWA8o6H5J -Location US -ActiveMinerGainPct 3 -PoolName ahashpool,ahashpool24hr,hashrefinery,miningpoolhub,zpool,zpool24hr -Username dragnmastr85 -Workername gaming_rig -Type nvidia -Algorithm equihash,phi,hsr,xevan,tribus,c11,lbry,skein,groestl,sib,bitcore,blakecoin,Nist5,MyriadGroestl,Lyra2RE2,skunk,keccak,x11evo,hmq1725,x17,lyra2z,timetravel,polytimos,decred,yescrypt,neoscrypt

ghost commented 6 years ago

I have open the same issue yesterday nemo close it but i still have the issue with the last version :(

valth0nis commented 6 years ago

I've updated to the latest code and I'm still getting this error.

ArchetypeZ28 commented 6 years ago

Same issue here.

p7g commented 6 years ago

Do you guys have automatic payouts disabled? I know that on MPH you set it to 0 to disable it, but I am unsure of what the other pools do.

There is a part of the code there that divides your balance by your payout threshold, which would be 0 in this case, hence the error.

dragnmastr85 commented 6 years ago

The bug fix resolved the error message but doesnt address the undermining cause. I do not have automatic payouts disable in either hashrefinery or MPH. image

MrPlusGH commented 6 years ago

MPH and Hashrefinery are not supported for earnings tracker yet. See readme.

valth0nis commented 6 years ago

I'm using ahashpool is that supported? Right now it's not displaying any earning data for me.

valth0nis commented 6 years ago

I saw this was posted on nplusminer repo as well. Disregarding this thread.

valth0nis commented 6 years ago

@nemosminer testing now. i'll report back thanks.

nemosminer commented 6 years ago

@dragnmastr85 "-PoolName ahashpool,ahashpool24hr,hashrefinery,miningpoolhub,zpool,zpool24hr"

i only test and use this with single pool bat files i cant guarantee anything when your trying to run 6 different pools at once...

valth0nis commented 6 years ago

@nemosminer do i need to enter in anymore information besides the number of GPU's and the wallet address to get this working? Is there any other file I need to modify? Maybe the earning tracker bat file? Or enable the paremeters in the earningtrackerjob ps file? As of right now I'm still not getting any earnings for ahashpool. image

nemosminer commented 6 years ago

instructions:

edit startpoolname.bat

1.change BTC address to yours

2.select how many gpu's you have eg: (1gpu dstm 0 cc 0) (2gpu dstm 0 1 cc 0,1) (6gpu dstm 0 1 2 3 4 5 cc 0,1,2,3,4,5)

3.remove any algos you do not want to mine

4.save & run startpoolname.bat

valth0nis commented 6 years ago

Yeah that's what I'm doing but still not getting any information. I do get the balance to work if i fill out the startearningtracker.bat file with the payment threshold and the apiuri. But just filling out what the instructions say, i just get what i posted above. Does it matter if i'm using the plus version of the startpool bat?

nemosminer commented 6 years ago

have you just started mining with ahashpool with a new btc address it may take awhile for you balance to start showing while your balance is 0 it will display "Automatic Payouts disabled"

valth0nis commented 6 years ago

Ok I'll give it some time. And no I've been mining on ahashpool for about 3 months now with the same address. I'll let you know what I'm getting after a few hours.

valth0nis commented 6 years ago

@nemosminer The trust level is at 100% and still no change. image

nemosminer commented 6 years ago

try v2.5.1 : https://github.com/nemosminer/NemosMiner-v2.5.1/archive/master.zip

im testing it atm myself on 3 different test rigs single 1070gaming pc / 6x1070ti's / 6x1080tis

so far all is going well

nemosminer commented 6 years ago

@valth0nis try a different btc address from a different type of wallet...

valth0nis commented 6 years ago

Will do. I'll get back to you.

valth0nis commented 6 years ago

@nemosminer is there a specific wallet you recommend? Which one do you use?

nemosminer commented 6 years ago

https://bitcoin.org/en/choose-your-wallet

"Electrum"

valth0nis commented 6 years ago

That's the one I'm using now lol.

nemosminer commented 6 years ago

.... i don't know why it won't work... if you run with default btc address which is mine does it show you btc balance and all stats? its only stats at the end of the day not effecting hashing or profits..... you wont get the error message anymore just a normal message "can't retrieve info"

valth0nis commented 6 years ago

I get the same error with your BTC address. image

valth0nis commented 6 years ago

@nemosminer where is the payment threshold parameter being set?