Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: New build of Crafty available

Author: Dann Corbit

Date: 18:32:15 01/22/04

Go up one level in this thread


On January 22, 2004 at 12:34:07, Peter Skinner wrote:

>On January 22, 2004 at 04:35:26, Andreas Stabel wrote:
>
>>Thanks for your build of crafty.
>>I have one problem with it. I use crafty for analysing
>>positions in the console interface and in the latest versions,
>>yours included, I cannot anymore load a FEN postion with the epdlrec
>>command.
>>
>>Do you or anybody else know why ?
>>
>>Best regards
>>Andreas Stabel
>
>Hi Andreas,
>
>No I do not know why you wouldn't be able to. Maybe ask Robert if something has
>changed regarding that, as I do not see anything in the version history from
>main.c to suggest it has changed.

Did you compile with EPD defined?

From the top of Option.c:

...

int             Option(TREE * RESTRICT tree)
{

/*
 ************************************************************
 *                                                          *
 *   parse the input.  if it looks like a FEN string, don't *
 *   parse using "/" as a separator, otherwise do.          *
 *                                                          *
 ************************************************************
 */
    if (StrCnt(buffer, '/') >= 7)
        nargs = ReadParse(buffer, args, " 	;=");
    else
        nargs = ReadParse(buffer, args, " 	;=/");
    if (!nargs)
        return (1);
    if (args[0][0] == '#')
        return (1);
/*
 ************************************************************
 *                                                          *
 *   EPD implementation interface code.  EPD commands can   *
 *   not be handled if the program is actually searching in *
 *   a real game, and if Crafty is "pondering" this has to  *
 *   be stopped.                                            *
 *                                                          *
 ************************************************************
 */
#if defined(EPD)
    if (initialized) {
        if (EGCommandCheck(buffer)) {
            if (thinking || pondering)
                return (2);
            else {
                (void) EGCommand(buffer);
                return (1);
            }
        }
    }
#endif




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.