Re: [computer-go] Can't get on CGOS

2009-03-28 Thread Don Dailey
Brian,  I hope some people here will help you because I am limited in my
ability to help with windows - I just know that it does work and there
are bunch of windows go program running on cgos.

I'll answer what I can here.

You don't need an account.   Just make up a name and a password less
than 18 character (I think, or is it 16?)   The first time you
successfully log on to cgos, your name will be associated with your
password so that nobody else will accidental use the same name.   That's
the only purpose for having the password.The name is what appears on
the CGOS page and uniquely identifies your program.   So you will need
to make sure it's not the same name as another program.

Also, I think you will have better success using the tclkit designed for
the console, you are trying to use the TK version, which is for creating
nice GUI applications and this is not a GUI.So find a tclkit for
your platform called something like tclsh or similar.   I have heard
that the TK version can work, but I had trouble with it when I tried to
make it work on my wife's windows computer as a test.  

If it runs in gogui, I'm pretty sure CGOS is covered.  I tried to limit
myself to the minimal subset of gtp commands so that it would work on
CGOS with minimal problems from the GTP end of things.   

Beyond this,  I think there will be people here who run windows and will
be happy to help you get this working. 

If someone is willing to document well what windows users need to do, as
well as what the pitfalls are,  I would be happy to add a section to the
web page to make this whole process easier for windows users.I think
it's easier for unix because I basically designed it on a linux system
and thus windows users suffer needlessly.


- Don



-Original Message-
From: Brian Sheppard sheppar...@aol.com
Reply-To: computer-go computer-go@computer-go.org
To: computer-go@computer-go.org
Subject: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 10:14:00 -0400

I am having trouble connecting to CGOS. I have Windows/Vista, and I am
trying to follow the instructions on page http://cgos.boardspace.net/.
 
First: after downloading a tclkit from www.equi4.com, I renamed the
executable as tcl.exe, and then ran it. This produced something like a
Unix shell window. I presume that I am supposed to run the cgos script
in there. Is that right?
 
Second: the instructions imply that if I just run the script then I will
get something self-explanatory. But when I do so it only works to a
point:
 
(Pebbles) 1 % cgosGtp.exe
 
cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey
 
Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
-k KILL_FILE  -p PLAYER_FIRST -s
 
   -c specified name of config file - this is MANDATORY
   -k sepcifies a file to create which will stop client after
current game
   -p specifies which player plays first game
   -s display a sample configuration file to stdout and
exit
 
Now I should try the -s option, right? So I do, and I get the same
response:
 
(Pebbles) 1 % cgosGtp.exe -s
 
cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey
 
Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
-k KILL_FILE  -p PLAYER_FIRST -s
 
   -c specified name of config file - this is MANDATORY
   -k sepcifies a file to create which will stop client after
current game
   -p specifies which player plays first game
   -s display a sample configuration file to stdout and
exit
 
Third: I dug through archives and found what I thought might be a valid
configuration file. Its contents are shown below:
 
# config file for testing various version of Pebbles
# 
 
%section server
server cgos.boardspace.net
port 6867
 
%section player
name  Pebbles
password  mypwd
invoke../Release/Pebbles.exe
priority  1

 
Now I really am not sure what the specified name and password mean. Is
this the name of the program on CGOS? Or is this the login name of the
account that is registered on CGOS?
 
Fourth: I looked for instructions about how to get an account on CGOS,
but I did not find any. Am I supposed to create an account on
boardspace.net, and use that account?
 
Fifth: I tried to use the supplied config file, and I got a peculiar
error message:
 
(Pebbles) 6 % cgosGtp.exe -c cgos-config.txt -k kill.txt -p Pebbles
child process exited abnormally

 
Also, a dialog box titled Error in TclKit popped up with the following
message:
 
this isn't a Tk applicationbad window path name cgos-config.txt
 
 
I probably should have asked just one question: how do I get my program
on CGOS? But then someone would have pointed me to
http://cgos.boardspace.net/. :-)
 
Background info: I am using GoGui as front end, and I have 

Re: [computer-go] Can't get on CGOS

2009-03-28 Thread Don Dailey
I might add one thing.  Make sure the server is active and that games
are being played.   (One way to do this is to put an additional test
program up.)   If there are an odd number of players you may get
connected but not play a game right away.

I don't see anyone currently playing on CGOS, so I will put something up
there for you to play against.


- Don





-Original Message-
From: Brian Sheppard sheppar...@aol.com
Reply-To: computer-go computer-go@computer-go.org
To: computer-go@computer-go.org
Subject: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 10:14:00 -0400

I am having trouble connecting to CGOS. I have Windows/Vista, and I am
trying to follow the instructions on page http://cgos.boardspace.net/.
 
First: after downloading a tclkit from www.equi4.com, I renamed the
executable as tcl.exe, and then ran it. This produced something like a
Unix shell window. I presume that I am supposed to run the cgos script
in there. Is that right?
 
Second: the instructions imply that if I just run the script then I will
get something self-explanatory. But when I do so it only works to a
point:
 
(Pebbles) 1 % cgosGtp.exe
 
cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey
 
Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
-k KILL_FILE  -p PLAYER_FIRST -s
 
   -c specified name of config file - this is MANDATORY
   -k sepcifies a file to create which will stop client after
current game
   -p specifies which player plays first game
   -s display a sample configuration file to stdout and
exit
 
Now I should try the -s option, right? So I do, and I get the same
response:
 
(Pebbles) 1 % cgosGtp.exe -s
 
cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey
 
Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
-k KILL_FILE  -p PLAYER_FIRST -s
 
   -c specified name of config file - this is MANDATORY
   -k sepcifies a file to create which will stop client after
current game
   -p specifies which player plays first game
   -s display a sample configuration file to stdout and
exit
 
Third: I dug through archives and found what I thought might be a valid
configuration file. Its contents are shown below:
 
# config file for testing various version of Pebbles
# 
 
%section server
server cgos.boardspace.net
port 6867
 
%section player
name  Pebbles
password  mypwd
invoke../Release/Pebbles.exe
priority  1

 
Now I really am not sure what the specified name and password mean. Is
this the name of the program on CGOS? Or is this the login name of the
account that is registered on CGOS?
 
Fourth: I looked for instructions about how to get an account on CGOS,
but I did not find any. Am I supposed to create an account on
boardspace.net, and use that account?
 
Fifth: I tried to use the supplied config file, and I got a peculiar
error message:
 
(Pebbles) 6 % cgosGtp.exe -c cgos-config.txt -k kill.txt -p Pebbles
child process exited abnormally

 
Also, a dialog box titled Error in TclKit popped up with the following
message:
 
this isn't a Tk applicationbad window path name cgos-config.txt
 
 
I probably should have asked just one question: how do I get my program
on CGOS? But then someone would have pointed me to
http://cgos.boardspace.net/. :-)
 
Background info: I am using GoGui as front end, and I have implemented
enough GTP to play go using GoGui. Is that enough for CGOS also?
 
Help would be appreciated.
 
Thanks,
Brian
 
___
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/


Re: [computer-go] Can't get on CGOS

2009-03-28 Thread Magnus Persson

Ok, here is what I do to connect to CGOS using Windows XP.

This citation is from the a box on the CGOS page:

A note for Windows users:  If you choose the Multi-platform starkit  
route, please note that there are 2 types of tclkit's for your  
platform. One is built with TK support (for GUI application) and is  
probably not the one you want, although it can be made to work if you  
know what you are doing. The one you want will have a name like  
tclkitsh instead of tclkit or some variation of this. 


So one want to use the file tclkitsh for windows and nothing else.

I have a single line .bat file that look like this, which enable me to  
stop the client by creating the file Quit.txt (with a second file  
Quit.bat that copies itself to Quit.txt) and all activity is logged to  
log.txt:


tclkitsh cgosGtp.kit -c config9.txt -k Quit.txt   log.txt

The file config9.txt look like this:

%section server
server cgos.boardspace.net
port 6867

%section player
 name  Valkyria3.2.7
 password  
 invoke..\\..\\ValhallGTP.exe time threadengine ponder
 priority  7

You need to use '\\' instead of '/' in the path to your program I think.

Note that as far as I know the 9x9 server has not been running for  
over a week, so this is of course also a reason for not beeing able to  
connect to it...


I find it useful to use the viewer for testing if CGOS is running, and  
the log file is also immediately helpful.



I hope this will help.

Also, since the 9x9 server is down, some programs are actually playing  
13x13 right now so it would be fun if more programs did that, since it  
is so rare that any programs at all play 13x13.


Magnus


Quoting Don Dailey dailey@gmail.com:


Brian,  I hope some people here will help you because I am limited in my
ability to help with windows - I just know that it does work and there
are bunch of windows go program running on cgos.

I'll answer what I can here.

You don't need an account.   Just make up a name and a password less
than 18 character (I think, or is it 16?)   The first time you
successfully log on to cgos, your name will be associated with your
password so that nobody else will accidental use the same name.   That's
the only purpose for having the password.The name is what appears on
the CGOS page and uniquely identifies your program.   So you will need
to make sure it's not the same name as another program.

Also, I think you will have better success using the tclkit designed for
the console, you are trying to use the TK version, which is for creating
nice GUI applications and this is not a GUI.So find a tclkit for
your platform called something like tclsh or similar.   I have heard
that the TK version can work, but I had trouble with it when I tried to
make it work on my wife's windows computer as a test.

If it runs in gogui, I'm pretty sure CGOS is covered.  I tried to limit
myself to the minimal subset of gtp commands so that it would work on
CGOS with minimal problems from the GTP end of things.

Beyond this,  I think there will be people here who run windows and will
be happy to help you get this working.

If someone is willing to document well what windows users need to do, as
well as what the pitfalls are,  I would be happy to add a section to the
web page to make this whole process easier for windows users.I think
it's easier for unix because I basically designed it on a linux system
and thus windows users suffer needlessly.


- Don



-Original Message-
From: Brian Sheppard sheppar...@aol.com
Reply-To: computer-go computer-go@computer-go.org
To: computer-go@computer-go.org
Subject: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 10:14:00 -0400

I am having trouble connecting to CGOS. I have Windows/Vista, and I am
trying to follow the instructions on page http://cgos.boardspace.net/.

First: after downloading a tclkit from www.equi4.com, I renamed the
executable as tcl.exe, and then ran it. This produced something like a
Unix shell window. I presume that I am supposed to run the cgos script
in there. Is that right?

Second: the instructions imply that if I just run the script then I will
get something self-explanatory. But when I do so it only works to a
point:

(Pebbles) 1 % cgosGtp.exe

cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey

Usage: C:/Users/Brian/DOCUME~1/Go/Pebbles/cgosGtp.exe/main.tcl  -c
CONFIG_FILE
-k KILL_FILE  -p PLAYER_FIRST -s

   -c specified name of config file - this is MANDATORY
   -k sepcifies a file to create which will stop client after
current game
   -p specifies which player plays first game
   -s display a sample configuration file to stdout and
exit

Now I should try the -s option, right? So I do, and I get the same
response:

(Pebbles) 1 % cgosGtp.exe -s

cgosGtp 0.98 alpha - engine client for CGOS Windows-x86 by Don
Dailey

Usage: 

Re: [computer-go] Can't get on CGOS

2009-03-28 Thread Don Dailey
Hi Magnus,

Can I use your examples and such and put a section in the web page?

As far as I know, CGOS has not been down.  Unless it was somehow
preventing logins or something.The way to test is to bring up the
viewer,  it will not come up at all if CGOS is down.  

I put 3 weak programs on the 9x9 server just so that people would have
something to play against and Brain might be able to get things tested.

I'm also updating the archives, since December though Feb is missing.

- Don



-Original Message-
From: Magnus Persson magnus.pers...@phmp.se
Reply-To: computer-go computer-go@computer-go.org
To: computer-go@computer-go.org
Subject: Re: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 16:14:48 +0100





Ok, here is what I do to connect to CGOS using Windows XP.

This citation is from the a box on the CGOS page:

A note for Windows users:  If you choose the Multi-platform starkit  
route, please note that there are 2 types of tclkit's for your  
platform. One is built with TK support (for GUI application) and is  
probably not the one you want, although it can be made to work if you  
know what you are doing. The one you want will have a name like  
tclkitsh instead of tclkit or some variation of this. 

So one want to use the file tclkitsh for windows and nothing else.

I have a single line .bat file that look like this, which enable me to  
stop the client by creating the file Quit.txt (with a second file  
Quit.bat that copies itself to Quit.txt) and all activity is logged to  
log.txt:

tclkitsh cgosGtp.kit -c config9.txt -k Quit.txt   log.txt

The file config9.txt look like this:

%section server
 server cgos.boardspace.net
 port 6867

%section player
  name  Valkyria3.2.7
  password  
  invoke..\\..\\ValhallGTP.exe time threadengine ponder
  priority  7

You need to use '\\' instead of '/' in the path to your program I think.

Note that as far as I know the 9x9 server has not been running for  
over a week, so this is of course also a reason for not beeing able to  
connect to it...

I find it useful to use the viewer for testing if CGOS is running, and  
the log file is also immediately helpful.


I hope this will help.

Also, since the 9x9 server is down, some programs are actually playing  
13x13 right now so it would be fun if more programs did that, since it  
is so rare that any programs at all play 13x13.

Magnus


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Can't get on CGOS

2009-03-28 Thread Magnus Persson

Hi Don,
you can of course use my example!

I did test with the viewer and it did not work. Yesterday  I tried to  
connect Valkyria but had to switch to 19x19. Could it be that only you  
can start connect when no one else is connected?


Best
Magnus


Quoting Don Dailey dailey@gmail.com:


Hi Magnus,

Can I use your examples and such and put a section in the web page?

As far as I know, CGOS has not been down.  Unless it was somehow
preventing logins or something.The way to test is to bring up the
viewer,  it will not come up at all if CGOS is down.

I put 3 weak programs on the 9x9 server just so that people would have
something to play against and Brain might be able to get things tested.

I'm also updating the archives, since December though Feb is missing.

- Don



-Original Message-
From: Magnus Persson magnus.pers...@phmp.se
Reply-To: computer-go computer-go@computer-go.org
To: computer-go@computer-go.org
Subject: Re: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 16:14:48 +0100





Ok, here is what I do to connect to CGOS using Windows XP.

This citation is from the a box on the CGOS page:

A note for Windows users:  If you choose the Multi-platform starkit
route, please note that there are 2 types of tclkit's for your
platform. One is built with TK support (for GUI application) and is
probably not the one you want, although it can be made to work if you
know what you are doing. The one you want will have a name like
tclkitsh instead of tclkit or some variation of this. 

So one want to use the file tclkitsh for windows and nothing else.

I have a single line .bat file that look like this, which enable me to
stop the client by creating the file Quit.txt (with a second file
Quit.bat that copies itself to Quit.txt) and all activity is logged to
log.txt:

tclkitsh cgosGtp.kit -c config9.txt -k Quit.txt   log.txt

The file config9.txt look like this:

%section server
 server cgos.boardspace.net
 port 6867

%section player
  name  Valkyria3.2.7
  password  
  invoke..\\..\\ValhallGTP.exe time threadengine ponder
  priority  7

You need to use '\\' instead of '/' in the path to your program I think.

Note that as far as I know the 9x9 server has not been running for
over a week, so this is of course also a reason for not beeing able to
connect to it...

I find it useful to use the viewer for testing if CGOS is running, and
the log file is also immediately helpful.


I hope this will help.

Also, since the 9x9 server is down, some programs are actually playing
13x13 right now so it would be fun if more programs did that, since it
is so rare that any programs at all play 13x13.

Magnus


___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/





--
Magnus Persson
Berlin, Germany
___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/


Re: [computer-go] Can't get on CGOS

2009-03-28 Thread Don Dailey
It's possible I made a mistake.  I may have restarted the server before
I tried to connect with the view - I'm not sure. 

The viewer should work even if many people connect however.  I can run 2
or more copies of it easily.

- Don


-Original Message-
From: Magnus Persson magnus.pers...@phmp.se
Reply-To: computer-go computer-go@computer-go.org
To: computer-go@computer-go.org
Subject: Re: [computer-go] Can't get on CGOS
Date: Sat, 28 Mar 2009 16:40:25 +0100

Hi Don,
you can of course use my example!

I did test with the viewer and it did not work. Yesterday  I tried to  
connect Valkyria but had to switch to 19x19. Could it be that only you  
can start connect when no one else is connected?


Best
Magnus

___
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/