Finaly it's working for me with many algo
i have add SGMiner-5.3.1 of miningpoolhub :
https://github.com/miningpoolhub/sgminer/releases/latesti put it in my application folder.
i create a start.bat file in this folder :
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
sgminer.exe -k groestlcoin -I 24 -o stratum+tcp://hub.miningpoolhub.com:12004 -u . -p x --no-retry
sgminer.exe -k skeincoin -I 24 -o stratum+tcp://hub.miningpoolhub.com:12016 -u . -p "d=1" --no-retry
sgminer.exe -k vanilla -I 24 -o stratum+tcp://hub.miningpoolhub.com:12019 -u . -p x --no-retry
sgminer.exe -k myriadcoin-groestl -I 24 -o stratum+tcp://hub.miningpoolhub.com:12005 -u . -p x --no-retry
i make a symlink on my desktop :
SGMiner => C:\Users\elgi\Applications\SGMiner-mph\start.bat
and i update my switch bat file :
:start
ZCashMiner.lnk
SGMiner.lnk
EthMiner.lnk
timeout 1
goto start
On miningpoolhub.com,
go to "hub workers"
define the good job for my worker.
now my rig mine the most profitable coin on multi-algo, 6 algo for now
Uing your code I still am not getting any mining on my ethereum. when sgminer fails it sure moves to zcash though. Zcash mining starts fine but ethereum connects to stratum but nothing happens after that. Any idea?
My Starthub.bat
Taskkill /IM WattTool.exe /F
Taskkill /IM ZecMiner64.exe /F
Taskkill /IM EthDcrMiner64.exe /F
cd "C:\Users\m\Desktop\sgminer"
start "" WattTool reset0.ini reset6.ini reset12.ini reset18.ini reset24.ini reset30.ini
timeout 5
:start
sgminer.lnk
ETH.lnk
ZEC.lnk
timeout 1
goto start
ETH.bat
Taskkill /IM WattTool.exe /F
Taskkill /IM ZecMiner64.exe /F
Taskkill /IM EthDcrMiner64.exe /F
timeout 5
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
cd "C:\Users\m\Desktop\sgminer\Claymore's Dual ETH"
start "" WattTool 0_eth.ini 6_eth.ini 12_eth.ini
timeout 5
#For autoswitch with sgminer
EthDcrMiner64.exe config.txt
config.txt for ETH.bat
-epool hub.miningpoolhub.com:12020
-ewal maxmad.max1
-epsw x
-esm 0
-mode 1
-dbg -1
-allpools 1
-allcoins 1
-retrydelay -1
ZEC.bat
Taskkill /IM WattTool.exe /F
Taskkill /IM ZecMiner64.exe /F
Taskkill /IM EthDcrMiner64.exe /F
timeout 4
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
cd "C:\Users\m\Desktop\sgminer\Claymore's ZCash"
Start "" WattTool 0.ini 2.ini 8.ini 6.ini 12.ini
timeout 2
GPU_FORCE_64BIT_PTR 1
GPU_MAX_HEAP_SIZE 100
GPU_USE_SYNC_OBJECTS 1
GPU_MAX_ALLOC_PERCENT 100
GPU_SINGLE_ALLOC_PERCENT 100
ZecMiner64.exe config.txt
pause
config.txt for ZEC.bat
-zpool hub.miningpoolhub.com:12023
-zwal maxmad.max1
-zpsw x
-allpools 1
-dbg -1
-i 6
-retrydelay -1
Sgminer.bat is exactly same as yours and I have seen that it works perfectly