Fetching time left from WinBoard

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Fetching time left from WinBoard

Postby matematiko » 15 Dec 2009, 16:45

Hello all,

I deleted an early post cause I tought I didnt need an answer any more but I was wrong.

While runing on ICS mode, is there a way to fetch or retrieved the clocks (time left)?, the reason for this need is that the server I am connecting to requieres my ICS emulator to send along with the move my time left in seconds.

Thanks in advance,

matematiko
One that does not live to serve, does not deserve to live.
matematiko
 
Posts: 219
Joined: 07 Dec 2008, 17:11
Location: Texas

Re: Fetching time left from WinBoard

Postby H.G.Muller » 20 Dec 2009, 03:11

WinBoard expects to get the time from the ICS, it never sends it. Adapters like timeseal or timestamp probably do keep track of the time at the user end, and send it to the ICS together with each command, and the ICS trusts them.

I think your ICS emulator should keep track of the time, if it emulates a client (towards the server you want to run on) that is expected to do so. (You probably don't want to emulate a timeseal decoder at the ICS end.)
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Fetching time left from WinBoard

Postby matematiko » 20 Dec 2009, 03:35

That's what I ended up doing, keeping track of time and compute the time left and parse that to this particular server.

The possible small inaccuracy it is negligible because that server rounds to seconds and ignore milliseconds.

Thanks for taking the time to answer Mr. Muller.
One that does not live to serve, does not deserve to live.
matematiko
 
Posts: 219
Joined: 07 Dec 2008, 17:11
Location: Texas


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 36 guests