I guess the issue is on the id field. Id field is only optional. If the
request has no id field, the response should not have it either.

In your code example, it seems you always reply back with an id field.


On Nov 27, 2007 1:40 PM, Harri Salakoski <[EMAIL PROTECTED]>
wrote:

> command         genmove w 300000
> reply                =300000 E3
> cgos replys       gameover 2007-11-27 B+Illegal do not understand syntax
>
> GTP specc says : Success Responses - A successful response has one of the
> syntaxes
> =id response\n\n
> =id\n\n
> = response\n\n
> =\n\n
>
> code is:
> return "=" + id + " " + s + "\n\n";
>
> stream is written using PrintWriter:
> myToServer.println(line);
>
> Anybody used java with cgos could help or if it is otherway obivious.
>
> t.Harii
>
>
> 27.11.2007 20:30:14 narugo.util.MyLog log
> INFO: Server:gameover 2007-11-27 B+Illegal do not understand syntax
> ----- Original Message -----
> From: "Harri Salakoski" <[EMAIL PROTECTED]>
> To: "computer-go" <computer-go@computer-go.org>
> Sent: Tuesday, November 27, 2007 6:32 PM
> Subject: [computer-go] CGOS down? Java client
>
>
> > Hmm, I am not sure as only trying to make Java bot connect CGOS, but it
> > seems to be down.
> > It seems that it does not give feedback after password. Also I found
> cgos
> > email list "cgos-developers" is it also for users or is this list ok?
> >
> > t. harri
> > _______________________________________________
> > computer-go mailing list
> > computer-go@computer-go.org
> > http://www.computer-go.org/mailman/listinfo/computer-go/
>
> _______________________________________________
> computer-go mailing list
> computer-go@computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>
_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to