|
Main
Date: 18 Jun 2007 23:07:36
From: cbseries
Subject: How to set up player name in Winboard
|
Anyone know how to set up a player name in Winboard so that in human v chess engine games the match is shown as being the set player name v the chess engine, instead of just - user vs the name of the ches engine. And so that games that are automatically saved in the pgn fil will have the set player name as one of the players, instead of th generic 'user' title. Looking for a way to set up a permanent entry. Looked in the Winboard help files and could not find anything -- cbseries
|
|
|
Date: 22 Jun 2007 04:07:18
From: cbseries
Subject: Re: How to set up player name in Winboard
|
cbseries Wrote: > Anyone know how to set up a player name in Winboard so that in human v > chess engine games the match is shown as being the set player name v > the chess engine, instead of just - user vs the name of the ches > engine. And so that games that are automatically saved in the pgn fil > will have the set player name as one of the players, instead of th > generic 'user' title. Looking for a way to set up a permanent entry. > > Looked in the Winboard help files and could not find anything. Having had a look at Winboard the last couple of days I have come t the conclusion that what I am asking for would require some source cod work. Something that is beyond the scope of my knowledge. I though maybe there was something in the GUI that I was overlooking -- cbseries
|
| |
Date: 22 Jun 2007 23:11:00
From: cbseries
Subject: Re: How to set up player name in Winboard
|
cbseries Wrote: > Having had a look at Winboard the last couple of days I have come to th > conclusion that what I am asking for would require some source cod > work. Something that is beyond the scope of my knowledge. I though > maybe there was something in the GUI that I was overlooking. A very intelligent person e-mailed me to inform me that this is th part of the Winboard source code that is causing the "user" designatio for my install of Winboard. "...this function tries to retrieve the name of the current Windows user, and if the function fails it defaults to the standard "User" string..." **************************************************** char * UserName() { static char buf[MSG_SIZ]; DWORD bufsiz = MSG_SIZ; if (!GetUserName(buf, &bufsiz)) { /*DisplayError("Error getting user name", GetLastError());*/ strcpy(buf, "User"); } return buf; } **************************************************** So it turns out there is nothing of sorts wrong with Winboard, just fo some reason on my computer it is unable to get the required informatio and it uses the "user" designation for the player instead -- cbseries
|
| | |
Date: 25 Jun 2007 17:38:23
From: cbseries
Subject: Re: How to set up player name in Winboard
|
cbseries Wrote: > A very intelligent person e-mailed me to inform me that this is the par > of the Winboard source code that is causing the "user" designation fo > my install of Winboard. > > "...this function tries to retrieve the name of the current Windows > user, and if the function fails it defaults to the standard "User" > string..." > > **************************************************** > > char * UserName() > { > static char buf[MSG_SIZ]; > DWORD bufsiz = MSG_SIZ; > > if (!GetUserName(buf, &bufsiz)) { > /*DisplayError("Error getting user name", GetLastError());*/ > strcpy(buf, "User"); > } > return buf; > } > > **************************************************** > > So it turns out there is nothing of sorts wrong with Winboard, just fo > some reason on my computer it is unable to get the required informatio > and it uses the "user" designation for the player instead. Problem solved. Turns out I have been using an improperly formatte user name in this computer's OS (had spaces and a period in the use name). The computer never gave a hint that the user name was set u wrong but Winboard was unable to decipher the user name so Winboar reverted to using 'user' for the player. I changed the user name for the computer and now Winboard shows tha name as being the human player -- cbseries
|
| | | |
Date: 25 Jun 2007 23:55:56
From: cbseries
Subject: Re: How to set up player name in Winboard
|
cbseries Wrote: > Problem solved. Turns out I have been using an improperly formatted use > name in this computer's OS (had spaces and a period in the user name) > The computer never gave a hint that the user name was set up wrong bu > Winboard was unable to decipher the user name so Winboard reverted t > using 'user' for the player. > > I changed the user name for the computer and now Winboard shows tha > name as being the human player. Turns out my user name may not have been the problem with Winboar using 'user' for the human player. On this computer (Windows Me) I do no file or printer sharing so remove "Client for Microsoft Networks" from the network dialog bo (totally get rid of it). I have not had "Client for Microsoft Networks installed on this computer in years. I remove it whenever I do reinstall of the OS. Winboard stopped using the user name from the computer and went back t calling the human player 'user'; this after it had been workin properly. When I added "Client for Microsoft Networks" back to the network dialo box Winboard started using the correct user name again. In the "Priy Network Logon" box it does not matter if I hav "Windows logon" or "Client for Microsoft Networks" chosen, Winboar will show the correct user name, BUT "Client for Microsoft Networks HAS to be on the computer -- cbseries
|
|