Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Autoplayer in a LAN

Author: Stefan Meyer-Kahlen

Date: 07:47:23 05/07/98

Go up one level in this thread



On May 07, 1998 at 08:24:38, Robert Hyatt wrote:

>On May 07, 1998 at 08:21:46, Stefan Meyer-Kahlen wrote:
>
>>
>>This is a follow up of a posting in rgcc (auto232).
>>
>>The windows autoplayer code I wrote and which is already included in
>>Shredder2 works fine in a LAN with WinNT. You don't need a serial cable
>>any longer, although you can use it for the reason of compatibility with
>>other programs supporting auto232.
>>Unfortunaly Shredder2 is the only program supporting this right now,
>>but the source code is available for free so I hope that there will be
>>more programs soon. (Nimzo98 already uses my code but Chrilly has
>>decided to discard the network option).
>>
>>I also hope that those programs will be released with the autoplayer
>>included!
>>
>>To Bob Hyatt and anybody else who is interested:
>>It should be no problem and not much work (<< 1 day) to include
>>this autoplayer code in the WinNT version of Crafty. It makes the
>>autoplayer much easier to use than the noname.com DOS driver which
>>is included in the auto232 package.
>>Most (>99%) of all the timing problems will be gone.
>>
>>If anybody is interested we can discuss more implementation details.
>>
>>Stefan Meyer-Kahlen
>
>
>1.  how different is the format?

The protocol is the same. The difference is that you have to include
the driver of the serial port (my source code) into your program. In DOS
you are sending and receiving messages from the driver (noname.com
= TSR program) which is then controlling the serial port.

Here is an illustration how it works:

With the DOS driver:
   Crafty <----> noname.com <----> serial cable <---> ........

With my driver:
   Crafty <---> serial cable <---> ......

You can also replace the serial cable with a LAN connection. You can
even play with two programs on one machine.  All is done  with the same
software and protocol.

>2.  is there a write-up somewhere?  IE I already have auto232 hooks at
>the right places... I assume that I simply delete the auto232 stuff and
>replace it?

You have to start from scratch, although the places where to hook in the
autoplayer calls are the same most of the times (e.g. after Crafty has
computed a move).

>3.  where is the sample source?  I'm willing to give it a try...

See other follow-up.
If you need help, please let me know.

Stefan



This page took 0 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.