Reply
 
LinkBack Thread Tools Display Modes
  #1   Report Post  
Old September 20th 06, 01:00 PM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Aug 2006
Posts: 58
Default castling on freechess

Hi,

I'm using icsDrone to interface my chess-program (POS) to FreeChess.
Now some problems occur:
- sometimes I receive o for short castling and oo for long castling
- then sometimes I receive o- for long castling (not sure what I'll get
then for short)
and maybe other variants as well.
Can someone please tell me which variants are possible? Or is there a
document on the web somewhere (that I did not find using google) describing
the possible move-formats?

  #2   Report Post  
Old September 20th 06, 01:36 PM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Apr 2005
Posts: 2,598
Default castling on freechess

Folkert van Heusden wrote:
I'm using icsDrone to interface my chess-program (POS) to FreeChess.
Now some problems occur:
- sometimes I receive o for short castling and oo for long castling
- then sometimes I receive o- for long castling (not sure what I'll get
then for short)
and maybe other variants as well.
Can someone please tell me which variants are possible? Or is there
a document on the web somewhere (that I did not find using google)
describing the possible move-formats?


I'd have thought that asking the FICS admins directly would be more
likely to work. Do post the answers here, though, if you find them!


Dave.

--
David Richerby Homicidal Vomit (TM): it's like a pile
www.chiark.greenend.org.uk/~davidr/ of puke but it wants to kill you!
  #3   Report Post  
Old September 21st 06, 04:32 PM posted to rec.games.chess.computer
external usenet poster
 
First recorded activity by ChessBanter: Aug 2006
Posts: 58
Default castling on freechess

I'm using icsDrone to interface my chess-program (POS) to FreeChess.
Now some problems occur:
- sometimes I receive o for short castling and oo for long castling
- then sometimes I receive o- for long castling (not sure what I'll get
then for short)
and maybe other variants as well.
Can someone please tell me which variants are possible? Or is there
a document on the web somewhere (that I did not find using google)
describing the possible move-formats?

I'd have thought that asking the FICS admins directly would be more
likely to work. Do post the answers here, though, if you find them!


Found the problem: there's a small bug in icsDrone v1.5.0 which corrupts
castling moves when you use it in 'long move notation' mode.
This patch fixes it (hopefully - at least the castling):

diff -uNrBbd icsDrone/utils.c icsDrone-new/utils.c
--- icsDrone/utils.c 2001-10-09 20:27:41.000000000 +0200
+++ icsDrone-new/utils.c 2006-09-21 16:38:41.000000000 +0200
@@ -103,6 +103,8 @@
/* Converts move from ICS SPECIAL to COMPUTER LAN */
void ConvIcsSpecialToComp(char *move)
{
+ if (strcasecmp(move, "o-o") != 0 && strcasecmp(move, "o-o-o") != 0)
+ {
/* P/fr-fr=P -- frfr=p */
move[0] = move[2];
move[1] = move[3];
@@ -115,6 +117,7 @@
} else {
move[4] = '\0';
}
+ }
}

static FILE* logfile = NULL;

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PGN FEN and Chess960 Ep rec.games.chess.computer (Computer Chess) 8 February 10th 06 09:30 AM
Castling Rights question - Knight matt -`;'- rec.games.chess.analysis (Chess Analysis) 9 October 28th 05 03:01 AM
Right to Castling - relative value? tdiedwards rec.games.chess.analysis (Chess Analysis) 10 October 18th 05 04:24 AM
Oppsite-side castling The Man Behind The Curtain rec.games.chess.analysis (Chess Analysis) 11 October 16th 05 01:23 AM
Kingside vs. Queenside castling elrond alt.chess (Alternative Chess Group) 1 July 31st 03 03:51 AM


All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ChessBanter.
The comments are property of their posters.
 

About Us

"It's about Chess"

 

Copyright © 2017