- Dec 11, 1999
- 16,661
- 4,603
- 75
I've put together a couple of batch files, so you shouldn't need to worry about VLARs anymore!
Batch 1 for use with Seti Driver - point to it instead of the seti client:
rem Name your 3.03 cli client "seti.exe" and your 3.08 client "seti308.exe"
:start
rem First, maybe, get a WU.
if not exist work_unit.sah goto getwu
rem Now check the angle_range
findstr /B /C:"angle_range= 0.0" work_unit.sah
rem For non-NT, replace the above with the following almost-as-good code:
rem find "angle_range= 0.0" work_unit.sah
if errorlevel 1 goto normal
rem This is a VLAR.
seti308 -stop_after_process
goto nextwu
:normal
rem This is a normal work unit.
seti -stop_after_process
goto nextwu
:getwu
seti -stop_after_xfer -proxy 127.0.0.1:5517
if exist stop_after_send.txt goto quit
:nextwu
rem Insert the following line if not using Seti Driver
goto start
rem Also remove all ..\'s in front of the seti calls:
:[/b]Quit[/quote]Note that you'll have to modify which proxy, if any, it points to.
Hope this helps everyone!
P.S. "find" instead of "findstr" works for pre-NT systems, but might get confused by "true_angle_range=".
Edit: there is a shocking problem with :Quit!
Batch 1 for use with Seti Driver - point to it instead of the seti client:
Batch 2, for those not using Seti Driver:rem Choose the best program to run SETI.rem Choose the best program to run SETI.
rem Name your 3.03 cli client "seti.exe" and your 3.08 client "seti308.exe"
:start
rem First, maybe, get a WU.
if not exist work_unit.sah goto getwu
rem Now check the angle_range
findstr /B /C:"angle_range= 0.0" work_unit.sah
rem For non-NT, replace the above with the following almost-as-good code:
rem find "angle_range= 0.0" work_unit.sah
if errorlevel 1 goto normal
rem This is a VLAR.
..\seti308 -stop_after_process
goto nextwu
:normal
rem This is a normal work unit.
..\seti -stop_after_process
goto nextwu
:getwu
rem use "seti -stop_after_xfer -proxy xxx.x.xxx:yyyy" if not using seti driver.
..\seti %1 %2 %3 %4
if exist stop_after_send.txt goto quit
:nextwu
rem Insert the following line if not using Seti Driver
rem goto start
rem Also remove all ..\'s in front of the seti calls:
:[/b]Quit
rem Name your 3.03 cli client "seti.exe" and your 3.08 client "seti308.exe"
:start
rem First, maybe, get a WU.
if not exist work_unit.sah goto getwu
rem Now check the angle_range
findstr /B /C:"angle_range= 0.0" work_unit.sah
rem For non-NT, replace the above with the following almost-as-good code:
rem find "angle_range= 0.0" work_unit.sah
if errorlevel 1 goto normal
rem This is a VLAR.
seti308 -stop_after_process
goto nextwu
:normal
rem This is a normal work unit.
seti -stop_after_process
goto nextwu
:getwu
seti -stop_after_xfer -proxy 127.0.0.1:5517
if exist stop_after_send.txt goto quit
:nextwu
rem Insert the following line if not using Seti Driver
goto start
rem Also remove all ..\'s in front of the seti calls:
:[/b]Quit[/quote]Note that you'll have to modify which proxy, if any, it points to.
Hope this helps everyone!
P.S. "find" instead of "findstr" works for pre-NT systems, but might get confused by "true_angle_range=".
Edit: there is a shocking problem with :Quit!