Share

icsDrone

Code

Programming Languages: C

License: BSD License

Repositories

browse code, statistics, last commit on 2007-03-16 cvs -d:pserver:anonymous@icsdrone.cvs.sourceforge.net:/cvsroot/icsdrone login

cvs -z3 -d:pserver:anonymous@icsdrone.cvs.sourceforge.net:/cvsroot/icsdrone co -P modulename

Show:

What's happening?

  • don't compile

    $ make gcc -DPRODUCTNAME=\"icsDrone\" -DPRODUCTVERSION=\"1.5.0\" -Wall -O2 -c -o utils.o utils.c utils.c: In function 'bytezero': utils.c:43: error: invalid lvalue in increment utils.c: In function 'bytecopy': utils.c:51: error: invalid lvalue in increment utils.c:51: error: invalid lvalue in increment utils.c: In function 'stringcat': utils.c:56: error: invalid lvalue in increment...

    2008-06-02 08:01:08 UTC by nobody

  • polyglot doesn't work

    Attached is my patch to allow polyglot to work. Regardless of the commandline, craftyMode gets set. This happens because icsDrone receives sigint=0 from polyglot. I don't know enough about this project to determine if craftyMode should or shouldn't be set when using polyglot, so my patch does not address this issue. 1) I added a routine, polyglot() for determining if the engine is...

    2007-08-09 19:56:42 UTC by emwine

  • Comment: Doesn't detect new game

    File Added: detect.patch.

    2007-08-09 19:43:56 UTC by emwine

  • Doesn't detect new game

    in fics.c, the line: if (sscanf(line, "Creating: %s (%s) %s (%s) %*s %s %c", will not parse correctly using the standard C library with ubuntu 7.04, gcc 4.2.1. In order to work correctly, it must be changed to: if (sscanf(line, "Creating: %s (%[-+0-9]) %s (%[-+0-9]) %*s %s %c", I'm assuming that the (%s) syntax does work on some compiler/environment setup, otherwise it would never...

    2007-08-07 16:37:28 UTC by emwine

  • Comment: cant play as or against guests (wont start with white)

    previous was buggy -- it left the trailing ')' character. Here is an updated one: void update_rating_str(char *rating) { char *p; if ((p=strchr(rating, ')')) != NULL) *p = '\0'; if (*rating == '(') memmove(rating, rating + 1, strlen(rating + 1) + 1); }.

    2007-08-07 02:28:31 UTC by emwine

  • Comment: cant play as or against guests (wont start with white)

    A little poking around and it's clear it's not the specific string "(++++)" that is the cause. (ie: playing as or against guest isn't relevant) It looks like it shouldn't have ever detected the string, unless sscanf() behaves differently in different environments. The above fix still works, but to be accurate, you'll have to strip out the parenthesis from the two rating variables after...

    2007-08-07 02:19:10 UTC by emwine

  • cant play as or against guests (wont start with white)

    When playing as or against guests on FICS, icsDrone is unable to detect the game creation line because their rating is (++++). The obvious symptom of this is the engine won't start playing when given white. This might cause incorrect initializations, regardless of color. My local fix of changing the sscanf line in fics.c: if (sscanf(line, "Creating: %s (%s) %s (%s) %*s %s %c", to...

    2007-08-06 23:15:31 UTC by emwine

  • icsDrone

    night0wl committed patchset 37 of module icsDrone to the icsDrone CVS repository, changing 2 files.

    2007-03-16 03:04:52 UTC by night0wl

  • icsDrone

    night0wl committed patchset 36 of module icsDrone to the icsDrone CVS repository, changing 2 files.

    2007-03-16 02:55:29 UTC by night0wl

  • Comment: icsDrone 1.5.0 - problem with castling

    Fixed in the version in CVS.

    2007-03-16 02:44:39 UTC by night0wl

Our Numbers