icsDrone

Discussion of chess software programming and technical issues.

Moderator: Ras

Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

in case icsDrome also handles crazyhouse:
No icsdrone does not support any variants....

The main issue I guess is matching the FICS variant names to the engine variant names. I have not gotten around writing that code.
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

I pushed some changes which makes icsdrone not asking the movelist when the engine wants LAN and we are not on FICS.

git clone git://icsdrone.git.sourceforge.net/gitroot/icsdrone/icsdrone

I have tested it a littlebit but not very thorougly.

Oh yes: resuming seems to work.
jdart
Posts: 4420
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: icsDrone

Post by jdart »

If the server is sending the position, not the moves, for a resumed game it is very broken, since as you note, 3-fold repetition will not be correct then.

--Jon
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

If the server is sending the position, not the moves, for a resumed game it is very broken,
The thing is: you can always get the moves from the server but ICS's only want to send it in SAN format (FICS is an exception) and the engine may want it in LAN format (if does not send san=1).

icsdrone cannot convert between LAN and SAN as it has no chess knowledge. So in that particular situation it must ignore the movelist to be compliant with the protocol.

On the other hand I think it would be an exageration to call that "very broken".
Adjournments are rare and threefold repetitions across adjournments should be even rarer. Finally it is only an issue for engines that do not understand SAN move input.
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

BTW the current HEAD is somewhat buggy. Do not bother with it.
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

Latest HEAD has now some wild support (option -allowWild to activate). There is no validation of the variant so if you stumble into a variant your engine does not support things will become unpleasant quickly.

git clone git://icsdrone.git.sourceforge.net/gitroot/icsdrone/icsdrone
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

Hmm the server 80.100.28.169 still has some bugs....

I am trying to resume a wild/4 game (which is ordinary chess).
However the server always returns an illegal board.... (note the piece "A").
Fri Aug 31 14:45:10 2012:DEBUG:ics->icsdrone: Creating: Michel (1558) GnuCheese (1882) rated wild/4 2 120\012\015
Fri Aug 31 14:45:10 2012:DEBUG:Detected start of game: Michel (1558) vs GnuCheese (1882) rated wild/4 2 120
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->engine: memory 680\012
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->ics: tell Michel Michel 1558 vs GnuCheese 1882 rated wild/4 2 120 started.\012
Fri Aug 31 14:45:10 2012:WARNING:Server doesn't support long algebraic move lists.
Fri Aug 31 14:45:10 2012:WARNING:Do not ask for movelist.
Fri Aug 31 14:45:10 2012:DEBUG:ics->icsdrone: \012\015
Fri Aug 31 14:45:10 2012:DEBUG:ics->icsdrone: {Game 1 (Michel vs. GnuCheese) Continuing rated wild/4 match.}\012\015
Fri Aug 31 14:45:10 2012:INFO:Current game has ID: 1
Fri Aug 31 14:45:10 2012:DEBUG:ics->icsdrone: \012\015
Fri Aug 31 14:45:10 2012:DEBUG:ics->icsdrone: <12> ranrbrbk pppppppp -------- -------- ----P--- -------- PPPP-PPP BRRRAKBN B 4 1 1 1 1 0 1 Michel GnuCheese 1 2 12 40 40 120 120 1 P/e2-e4 (0:00) e4 1 0\012\015
Fri Aug 31 14:45:10 2012:INFO:I'm playing black.
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->engine: setboard ranrbrbk/pppppppp/8/8/4P3/8/PPPP1PPP/BRRRAKBN b KQkq e3 0 1\012
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->engine: level 0 2 12\012
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->engine: hard\012
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->engine: random\012
Fri Aug 31 14:45:10 2012:DEBUG:Deleting NULL timer. Ignoring.
Fri Aug 31 14:45:10 2012:DEBUG:Deleting NULL timer. Ignoring.
Fri Aug 31 14:45:10 2012:DEBUG:Deleting NULL timer. Ignoring.
Fri Aug 31 14:45:10 2012:DEBUG:Deleting NULL timer. Ignoring.
Fri Aug 31 14:45:10 2012:DEBUG:icsdrone->engine: time 12000\012otim 12000\012
Fri Aug 31 14:45:10 2012:ERROR:Illegal argument for piece_to_12
Fri Aug 31 14:45:10 2012:INFO:Killing computer
Michel
Posts: 2292
Joined: Mon Sep 29, 2008 1:50 am

Re: icsDrone

Post by Michel »

I also can apparently kill the server reliably by issueing a simple "sought" command....
User avatar
hgm
Posts: 28454
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: icsDrone

Post by hgm »

Yes, I noticed that, in the log this morning. This is what must be causing the occasional mysterious crashes (which made me write everything all users type to a log file). The previous crash, a month ago, was also after a 'sought'. But when I tried 'sought' myself, there wasn't any problem. I will debug that tomorrow.
User avatar
hgm
Posts: 28454
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: icsDrone

Post by hgm »

Michel wrote:Hmm the server 80.100.28.169 still has some bugs....

I am trying to resume a wild/4 game (which is ordinary chess).
However the server always returns an illegal board.... (note the piece "A").
Oh, I must have configured it wrong, and enabled the Capablanca pieces in wild/4. I moved all game properties (board size, wheter there can be drops, if the board has a palace, whether Pawns have a double step, etc.) to the board files that also give the initial positions, and must have written some wrong options there.