Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A problem in printing information under winboard

Author: Lieven Clarisse

Date: 11:26:09 01/13/03

Go up one level in this thread


On January 13, 2003 at 13:46:45, Uri Blass wrote:

>I decided to change my printpv to print information better
>
>This is my new printpv
>I added pv_length= because there was a case when movei printed information with
>no pv and I wanted to see what was the problem.
>
>For some reason winboard has no problem to print pv at small depth but at big
>depth it can print only the first move.
>
>void printpv(int k,int x)
>{
>	int j;
>	if (UseBook==0)
>	{
>	printf("depth= %d score= %d time= %d nodes= %d",k, x, (get_ms() - start_time) /
>10, nodes);
>	printf("pv_length=%d",pv_length[0]);
>	for (j = 0; j < pv_length[0]; ++j)
>		printf(" %s", move_str(pv[0][j].b));
>	printf("\n");
>	}
>	else
>		printf("book\n");
>	fflush(stdout);
>}
>
>Uri

The problem *might* be that the string is too long, and winboard trunctates the
string. You could try splitting up the string in smaller ones.



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.