Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess servers and auto reconnect: my elegant solution

Author: Sune Fischer

Date: 01:37:34 12/08/02

Go up one level in this thread


On December 07, 2002 at 11:34:30, Edward Seid wrote:

Hi I tried your three bat file approach.

There seem to be a small problem. It opens and closes, opens and closes every 30
seconds. :)

-S.

>If disconnecting is your problem, I'd like to share my elegant (IMO) solution.
>
>For my automatic chess server activities, I use 3 files.
>
>1)  A batch file to start everything.
>FRENZEE.BAT
>-----------
>REM --
>REM -- Start WinBoard in Zippy mode, and restart it each time it exits.
>REM --
>
>sleep 30
>:loop
>start /w winboard -debug @Frenzee.ini
>sleep 30
>goto loop
>
>2) A seperate .ini file which loads AFTER (and overrides) the default
>winboard.ini
>FRENZEE.INI
>-----------
>/zp
>/zippyPassword apasswordhere
>/zippyPassword2 anotherpasswordhere
>
>;ICC
>/ics
>/icshost chessclub.com
>/icsport 5000
>/icshelper timestamp
>/icslogon FRENZEE.logon
>
>; Frenzee
>/fd=G:\Fischer\Chess\Frenzee\Frenzee_ICC
>/fcp=Frenzee
>
>/saveGameFile=G:\Fischer\Chess\Frenzee\Frenzee_ICC\FRENZEE_ICC.pgn
>/autoSaveGames=true
>
>/xtop
>/xanimate
>
>/autoCallFlag=false
>/xexit
>/zippyMaxGames 10
>/zippyReplayTimeout 3600
>
>/zippyGameEnd='seek 10 0 f m\nseek 15 0 f m\nseek 25 0 f m\nresume\naway\n'
>
>3) A file with the account login info
>FRENZEE.LOGON
>-------------
>HandleHere
>PasswordHere
>seek 10 0 f m
>seek 15 0 f m
>seek 25 0 f m
>resume
>
>The only other thing you need is the Sleep utility which can be found at
>http://download.com.com/3000-2094-10121017.html?tag=lst-0-4
>
>FRENZEE.BAT will pause 30 seconds, then attempt to connect to ICC.  If it ever
>disconnects, it will wait 30 seconds and try to reconnect.
>
>If you ever want to stop playing, just close out the DOS console that is running
>FRENZEE.BAT, and issue the 'exit' command in the Winboard/ICC console.
>
>I hope that helps.



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.