Search found 899 matches

by Ras
Sun Jul 07, 2019 4:50 pm
Forum: Computer Chess Club: General Topics
Topic: UCI_Elo
Replies: 60
Views: 8611

Re: UCI_Elo

Does anyone know of what is the base engine and rating of UCI_Elo? In my case (CT800), it's basically a hack to get some sort of throttling. I did some tests for figuring out elo vs. speed and settled for about 56 Elo per doubling above 2100 and 80 Elo below that. This is because going from 5 plies...
by Ras
Sat Jul 06, 2019 9:05 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xboard, CECP, how to handle long inits
Replies: 20
Views: 3208

Re: Xboard, CECP, how to handle long inits

The UCI equivalent of 'feature done=1' is 'uciok'. No, it isn't. "uciok" is only meant for acknowledging UCI mode, not for doing init. Therefore, "uciok" has to appear quickly after the GUI sent "uci", and lengthy init stuff is not allowed. "isready" is meant as ping/pong replacement AND feature do...
by Ras
Mon Jun 17, 2019 9:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10988

Re: UCI2WB 4.0

I usually do this through polling during the search with PeekNamedPipe(), and I don't see how I would need to do that any different to handle UCI. Well yeah, that will also work, and probably via ioctl() under Linux. You'll need some sort of node based internal timer anyway to avoid checking the cl...
by Ras
Mon Jun 17, 2019 4:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10988

Re: UCI2WB 4.0

This is all handled in the common code of WinBoard and XBoard Oh, I didn't realise it's a common base, though that makes sense of course. but of a engine is hanging, using CPU, what can you do? Shouldn't happen with UCI because isready and stop need to be evaluated during search, and the only clean...
by Ras
Mon Jun 17, 2019 2:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10988

Re: UCI2WB 4.0

I guess a command-line parameter of the adapter could be used to request the engine priority I'd still guess that this isn't necessary on Windows at all because you get that dynamic priority boost upon mouse / keyboard events, or whenever a thread wakes up from some wait (on event, network, I/O or ...
by Ras
Sun Jun 16, 2019 10:04 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10988

Re: UCI2WB 4.0

I also don't like the lowering of engine priorities to be applied to the adapter, but I don't know how it can be applied by the GUI to the engine without applying it to the adapter first. Is it the adaptor that actually launches the engine process for UCI engines? If so, you could start the adaptor...
by Ras
Sun Jun 16, 2019 8:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Explanation of the Cute Chess message 'connection stalls'
Replies: 15
Views: 2308

Re: Explanation of the Cute Chess message 'connection stalls'

When I look at alouette.pas, the parser for the "go" command is not really implementing the UCI spec. The order of arguments is not specified, but you rely on it in utils.pas. Also, the case where wtime, btime, winc, binc AND movestogo is given seems to be missing. I'd suggest that you do a WordPres...
by Ras
Fri Jun 14, 2019 1:30 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI2WB 4.0
Replies: 82
Views: 10988

Re: UCI2WB 4.0

Perhaps it floods WinBoard with unintended output which overruns some buffer. A function like this (from UCI2WB) looks like a buffer overflow waiting to happen: int ReadLine (FILE *f, char *line) { int x, i = 0; while((x = fgetc(f)) != EOF && (line[i] = x) != '\n') i++; line[++i] = 0; return (x != ...
by Ras
Mon Jun 10, 2019 11:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Hash collision?
Replies: 42
Views: 6482

Re: Hash collision?

The total size of the table only comes in when the the table only gets partly filled. Yeah I have to agree. In that case, my objection was wrong. (you tacitly assume that by taking it for granted that a key length of 64 bits is enough to have no key collisions) That's an unrelated issue for the pro...
by Ras
Sat Jun 08, 2019 1:38 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Is this hard ?
Replies: 13
Views: 2406

Re: Is this hard ?

My engine has this: 2/04 0:00 +4.78 1.g6 Rg1+ 2.Kf5 Rg3 (908) 4 TB:4 3/04 0:00 +4.79 1.g6 Kd6 2.h5 Kd5 (1.552) 7 TB:10 4/07 0:00 +4.84 1.g6 Rg1+ 2.Kf5 Rh1 3.g7 Rf1+ 4.Kg6 (5.136) 23 TB:22 5/07 0:00 +4.46 1.g6 Rg1+ 2.Kf4 Rxg6 3.f8Q+ Kxf8 4.Bxg6 (15.311) 69 TB:62 6/07 0:00 +4.46 1.g6 Rg1+ 2.Kf4 Rxg6 3...