Banksia Gui and feature ping

Discussion of chess software programming and technical issues.

Moderator: Ras

F. Bluemers
Posts: 880
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Banksia Gui and feature ping

Post by F. Bluemers »

If i send feature ping=1 in responding to 'protover 2' banksia will not 'recognize' the engine.
if i send feature ping=0 it will?
crafty will not register in banksia either, it sends ping=1 as well.
ping=1 is standard for cecp ( http://hgm.nubati.net/CECP.html )
Best
(I tried to register at banksia forum,that failed hence the post here)
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia Gui and feature ping

Post by phhnguyen »

BSG supports feature ping. However, it requires Winboard engines to talk "enough" with the GUI, say, send several commands to the GUI when initializing as well as playing. Otherwise, it considers those engines halted and/or not trusted enough to work with. Without pinging, some engines become too "lazy" to talk to the GUI and the GUI doesn't have any way to check if the engine is still fine.

If you could, please copy the engine log (from the Engine log panel) of that engine and post it here to verify. Thanks.
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
F. Bluemers
Posts: 880
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: Banksia Gui and feature ping

Post by F. Bluemers »

I've set up a log file under "log and configuration" but it stays empty? The wrong log file?
I tried sending ping feature as late as possible: "print("feature done=1\n");print("blabla\n"); print("feature ping=1 done=1\n");
But the engine will still only be accepted using ping=0.

Best Fonzy
F. Bluemers
Posts: 880
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: Banksia Gui and feature ping

Post by F. Bluemers »

Here is the log from Crafty.

Code: Select all

Crafty v25.3

machine has 8 processors

White(1): xboard

tellicsnoalias set 1 Crafty v25.3 (1 cpus)
tellicsnoalias kibitz Hello from Crafty v25.3! (1 cpus)
White(1): protover 2
feature ping=1 setboard=1 san=1 time=1 draw=1
feature sigint=0 sigterm=0 reuse=0 analyze=1
feature myname="Crafty-25.3" name=1
feature playother=1 colors=0 memory=1
feature smp=1
feature variants="normal,nocastle"
feature done=1
White(1): accepted ping
White(1): accepted setboard
White(1): accepted san
White(1): accepted time
White(1): accepted draw
White(1): accepted sigint
White(1): accepted sigterm
White(1): accepted reuse
White(1): accepted analyze
White(1): accepted myname
White(1): accepted name
White(1): accepted playother
White(1): accepted colors
White(1): accepted memory
White(1): accepted smp
White(1): accepted variants
White(1): ping 1
pong 1
White(1): ping 2
pong 2
White(1): ping 3
pong 3
White(1): ping 4
pong 4
White(1): force
White(1): quit
Banksia printed "Error,this engine does not support the selected protocol\n");