Suppress Popups

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

Suppress Popups

Postby Dan » 03 May 2011, 17:24

Is there an option to run xboard and suppress popups (illegal moves, false claims, and the like)?

I try to have engine matches for variants and due to differing variant rules, sometimes engines like to play without a king :-) (Xboard of course adjudicates correctly)
Dan
 
Posts: 12
Joined: 26 Mar 2011, 16:21

Re: Suppress Popups

Postby H.G.Muller » 04 May 2011, 19:21

Do you want to suppress popups, or do you want to suppress the events? I don't think 'false claims' do cause a popup in the first place, only illegal engine moves.

If you play variants with different rules as XBoard knows, you should switch legality testing off (in the Options -> General menu dialog). This will automatically disable mate detection and false-claim detection, even if they are still switched on. (You can switch those individually in the Optons -> Adudications dialog.) If the events do not occur, you won't have any popups either.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Suppress Popups

Postby Dan » 09 May 2011, 07:47

I think suppressing events might be it. I'd like no popup when a match ends, so my scripts can run without an 'OK'.
Dan
 
Posts: 12
Joined: 26 Mar 2011, 16:21

Re: Suppress Popups

Postby H.G.Muller » 09 May 2011, 11:10

I don't think XBoard waits for you to OK popups before exiting, does it? Only Fatal Errors and the match-result popups do that. But not things like move errors, or notes to the user. The popup for move results and fatal errors can be suppressed with the option -popupExitMessage true|false (short forms -exit / -xexit).

Of course when an engine does an illegal move, and the other engine does not accept it, the game will still hang, and the match will hang in that case if you don't have -autoCallFlag on..

Do you still need scripts if you use the latest development release, btw?
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Suppress Popups

Postby Dan » 09 May 2011, 17:23

Aha! -xexit does the trick!

I probably don't need scripts, but I usually wait for "official" releases.
Dan
 
Posts: 12
Joined: 26 Mar 2011, 16:21

Re: Suppress Popups

Postby mocha1961 » 27 May 2011, 16:09

H.G.Muller wrote:I don't think XBoard waits for you to OK popups before exiting, does it? Only Fatal Errors and the match-result popups do that. But not things like move errors, or notes to the user. The popup for move results and fatal errors can be suppressed with the option -popupExitMessage true|false (short forms -exit / -xexit).

Of course when an engine does an illegal move, and the other engine does not accept it, the game will still hang, and the match will hang in that case if you don't have -autoCallFlag on..

Do you still need scripts if you use the latest development release, btw?


is this true with the winboard version 4.5.2 also? i've been getting those illegal moves also almost at the end of the game where i lose in time because the engine stops moving because of that popups
mocha1961
 
Posts: 12
Joined: 08 Jan 2010, 00:31

Re: Suppress Popups

Postby H.G.Muller » 29 May 2011, 20:08

I don't get it. Why would you lose on time when the engine stops moving? I would expect the engine to lose on time in that case.

I think the engine stops moving not because of the popup, but because it made an illegal move. Because the engine obviously did think it was legal, and so it thinks it did already move. So why would it move again? In most variants you have to wait first for your opponent to move. But the opponent will of course not do that, because it is still waiting for the original move, which was stopped by WinBoard for being illegal. Not having a popup would not change any of this.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 37 guests