Computer Chess Club Archives


Search

Terms

Messages

Subject: Help with EGTB's pleaseeeeeeeeee - Can anyone test this?

Author: José Carlos

Date: 03:53:06 10/28/01


  I managed to make EGTB's work properly except in positions with pawn/s. I
checked the tablebases by making crafty think in some positions; it worked
perfectly. For example, in the following position it returns draw:

[D]8/7k/5K2/8/2B5/8/7P/8 b - - 0 31

  Now, my program says black is checkmated!
  I tested lots of positions without pawns, and worked fine, so I guess I have a
bug somewhere related to pawns, but tracing the program I can't see anything
strange.
  Can anyone please try this position and trace it?
  My numbers:
    IDescFindFromCounters (rgiCounters) returns 24
    PfnIndCalc(iTb,side) (psqW,psqB,sqEnP,fInvert) returns 1557728
    L_TbtProbeTable (iTb,side,ind) returns 32766 (the checkmate!!)

  Do you guys get the same numbers? Anyone got a clue what I'm doing wrong?
Should I post some code so you can check?

  Thanks in advance,

  José C.



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.