I would like Winboard to send a command like "date" to the ICC/FICS servers every 30 minutes so I am not logged out for inactivity.
Anyone know how I would accomplish this?
Peter Skinner
Moderators: hgm, Andres Valverde
The keepAlive thing is complicated by the fact that the current WB code supports only a single "scheduled event"
Michel wrote:Really. It seems this should be fixed ASAP then. Writing a scheduler is completely trivial. Just keep an array of events and set the timeout on the first one that should occur.
if(appData.keepAlive) ScheduleDelayedEvent(KeepAlive, appData.keepAlive*60*1000);
if(appData.keepAlive) ScheduleDelayedEvent(KeepAlive, appData.keepAlive*60*1000);
create_timer(&(runData.pingTimer),PINGINTERVAL,SendPing,NULL);
For all I know the current code might actually depend for correctness in some cases on a new event deleting the previous one, so this would have to be figured out as well, and replaced by explicit cancelling.
Michel wrote:http://alpha.uhasselt.be/Research/Algebra/Toga/icsdroneng-release/
I'll take the opportunity to make some publicity for icsdroneng. Just fire it up. Set the options. Execute "daemonize" and forget about it. It will keep running silently in the background. It will even relogin in case of network problems (or if you resume from suspend). It will autojoin tournaments if instructed to do so. Its options remain fully configurable at run time through tell commands.
Unrecognized argument /keepalive
Return to WinBoard development and bugfixing
Users browsing this forum: No registered users and 6 guests