Is there a Linux binary (CentOS) for icsDrone available for download somewhere? I tried to install it from source, but the source contains errors, so it won't compile.
(In particular *(((u_char *) dest)++) is not valid C; casts are not lvalues.)
icsDrone
Moderator: Ras
-
Michel
- Posts: 2292
- Joined: Mon Sep 29, 2008 1:50 am
Re: icsDrone
Which version of icsdrone is this? I tried to find that snippet butI tried to install it from source, but the source contains errors, so it won't compile.
(In particular *(((u_char *) dest)++) is not valid C; casts are not lvalues.)
the special characters +)* make that rather difficult.
I run icsdrone on CentOS myself and do not have any problems compiling it.
The latest version of icsdrone is on sourceforge:
http://sourceforge.net/projects/icsdrone/
-
hgm
- Posts: 28464
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsDrone
OK, thanks. This one (0.26) did work. I don't know what the other was; the source was already on the machine when I tried to install it.
-
hgm
- Posts: 28464
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsDrone
There still seems to be a problem using this new version on my ICS, though. When I wanted to resume a 1 0 unrated game that was adjourned after a disconnect, it refused it with the message that it only played regular chess. I am not sure if his is the ICS's fault, but when I used XBoard in stead, it had no trouble resuming the game.
-
Michel
- Posts: 2292
- Joined: Mon Sep 29, 2008 1:50 am
Re: icsDrone
Do you have the snippet from the log file where it does that? Then I can see what's wrong (resuming works on FICS and ICS but probably icsdrone depends on something that is specific for those ICS's).There still seems to be a problem using this new version on my ICS, though. When I wanted to resume a 1 0 unrated game that was adjourned after a disconnect, it refused it with the message that it only played regular chess. I am not sure if his is the ICS's fault, but when I used XBoard in stead, it had no trouble resuming the game.
-
Michel
- Posts: 2292
- Joined: Mon Sep 29, 2008 1:50 am
Re: icsDrone
Code: Select all
if ((sscanf(line, "Challenge: %30s (%30[^)])%30s (%30[^)])%30s%30s",
name,rating,name2,rating2,rated,variant) == 6)
||
(sscanf(line,"Challenge: %30s (%30[^)]) [%30[^]]] %30s (%30[^)])%30s%30s",
name,rating,color,name2,rating2,rated,variant)==7)
) {
// ICC and FICS have different variant names; we need a more generic
// solution for this...
if(strcmp(variant,"lightning") &&
strcmp(variant,"blitz") &&
strcmp(variant,"standard") &&
strcmp(variant,"Bullet") &&
strcmp(variant,"Blitz") &&
strcmp(variant,"Standard")
){
logme(LOG_INFO,"Rejected variant %s", variant);
SendToIcs("tell %s Sorry I only play regular chess.\n",name);
SendToIcs("decline %s\n", name);
return TRUE;
}I will have a look.
What is the ip of your server? I know I would be able to find it by searching, but searching is no fun on this forum.
-
hgm
- Posts: 28464
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsDrone
The IP is 80.100.28.169 .
I will look if I can find the log. This was actually done on another server (using the same code on a VPS, where icsDrone was also running).
I will look if I can find the log. This was actually done on another server (using the same code on a VPS, where icsDrone was also running).
-
Michel
- Posts: 2292
- Joined: Mon Sep 29, 2008 1:50 am
Re: icsDrone
I guess I also need a human account since a guest would forfeit his game when disconnecting.
-
hgm
- Posts: 28464
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: icsDrone
Good point!
I made an account 'Michel'; it should have sent the password to your uhasselt e-mail account.
I made an account 'Michel'; it should have sent the password to your uhasselt e-mail account.
-
Michel
- Posts: 2292
- Joined: Mon Sep 29, 2008 1:50 am
Re: icsDrone
I managed to reproduce the problem. The reason is that the challenge on your ICS presented after an adjourned game looks as follows
On FICS the corresponding Challenge is
The variant "non-standard" is bizarre here. Is it really meant to be this way?Challenge: Michel (----) GnuCheese (1792) rated non-standard 2 12 Loaded from blitz/0 (adjourned).
On FICS the corresponding Challenge is
Challenge: IOEO (1441) GnuCheese (2497) unrated lightning 1 0 (adjourned).