Page 1 of 1

Petir 2.3

PostPosted: 31 Jan 2005, 18:45
by Peter Alloysius
I have sent my new Petir to Leo,
I guess it will be available soon.

I have fix winboard bugs in Petir 2.2
Sorry for the inconvience

Re: Petir 2.3

PostPosted: 01 Feb 2005, 07:40
by Gábor Szots
Peter Alloysius wrote:I have sent my new Petir to Leo,
I guess it will be available soon.

I have fix winboard bugs in Petir 2.2
Sorry for the inconvience


Thanks, Peter. However, the new behaviour of Petir is a bit surprising. Under Arena, a pop-up window appears saying "do not close this window". Can we not do without this?

Re: Petir 2.3

PostPosted: 01 Feb 2005, 07:52
by Gábor Szots
G?bor Szots wrote:
Peter Alloysius wrote:I have sent my new Petir to Leo,
I guess it will be available soon.

I have fix winboard bugs in Petir 2.2
Sorry for the inconvience


Thanks, Peter. However, the new behaviour of Petir is a bit surprising. Under Arena, a pop-up window appears saying "do not close this window". Can we not do without this?


Ah, I see that Petir needs the xboard command again.

Re: Petir 2.3

PostPosted: 01 Feb 2005, 11:23
by Peter Alloysius
G?bor Szots wrote:
Peter Alloysius wrote:I have sent my new Petir to Leo,
I guess it will be available soon.

I have fix winboard bugs in Petir 2.2
Sorry for the inconvience


Thanks, Peter. However, the new behaviour of Petir is a bit surprising. Under Arena, a pop-up window appears saying "do not close this window". Can we not do without this?


sorry again,
actually I keep window open for debugging tool,
I think i have disabled it before send to Leo,
but now we know I forgot.

I will upload again soon.

Re: Petir 2.3

PostPosted: 01 Feb 2005, 11:54
by Peter Alloysius
G?bor Szots wrote:
G?bor Szots wrote:
Peter Alloysius wrote:I have sent my new Petir to Leo,
I guess it will be available soon.

I have fix winboard bugs in Petir 2.2
Sorry for the inconvience


Thanks, Peter. However, the new behaviour of Petir is a bit surprising. Under Arena, a pop-up window appears saying "do not close this window". Can we not do without this?


Ah, I see that Petir needs the xboard command again.


actually with those window appears, Petir still can play if
xboard command added as usual

Re: Petir 2.3

PostPosted: 03 Feb 2005, 21:18
by Jim Ablett
Hello Peter,

Petir 2.3a only working under Arena 1.1
when selecting 'winboard(old)'

Stalls when using default . (also stalls using wb2uci adapter)

5801610*2*Engine 2 commandline: "C:\Program Files\Arena\Engines\petir\Petir23a.exe" xboard
5801907>2:xboard
5801907>2:protover 2
5803172<2:feature done=0 myname="Petir 2.3a" analyze=0 time=1 name=1 san=0 colors=0 setboard=1
5803172>2:accepted done
5803172>2:accepted myname
5803172>2:accepted analyze
5803172>2:accepted time
5803172>2:accepted name
5803172>2:accepted san
5803172>2:accepted colors
5803172>2:accepted setboard


That's as far as it gets.

Jim.

Re: Petir 2.3

PostPosted: 03 Feb 2005, 23:37
by Peter Alloysius
Jim Ablett wrote:Hello Peter,

Petir 2.3a only working under Arena 1.1
when selecting 'winboard(old)'

Stalls when using default . (also stalls using wb2uci adapter)

5801610*2*Engine 2 commandline: "C:\Program Files\Arena\Engines\petir\Petir23a.exe" xboard
5801907>2:xboard
5801907>2:protover 2
5803172<2:feature done=0 myname="Petir 2.3a" analyze=0 time=1 name=1 san=0 colors=0 setboard=1
5803172>2:accepted done
5803172>2:accepted myname
5803172>2:accepted analyze
5803172>2:accepted time
5803172>2:accepted name
5803172>2:accepted san
5803172>2:accepted colors
5803172>2:accepted setboard


That's as far as it gets.

Jim.


do you mean that Petir don't work under Winboard?
That's weird, on my computer it's work OK.
Gunther Simon also use Petir 2.3a in third round RWBC and
he also use Winboard and works fine

Re: Petir 2.3

PostPosted: 04 Feb 2005, 07:10
by Jim Ablett
Just under Arena 1.1 - winboard 2 protocol.

Jim.

Re: Petir 2.3

PostPosted: 04 Feb 2005, 07:36
by Olivier Deville
Petir 2.3a works well here under Arena 1.1 - as far as I can remember I installed it under the wb2 protocol (cannot check it right now).

Olivier

Re: Petir 2.3

PostPosted: 04 Feb 2005, 13:26
by Jim Ablett
Nope, tried it again - same thing >

Code: Select all
100234********Starting engine 1 Petir 2.3a
100578*1*------------------------Starting engine 1 Petir 2.3a------------------------
100578*1*Configured Engine 1 Type:   WB2
100718*1*Engine 1 dir: C:\Program Files\Arena\Engines\petir
100781*1*Engine 1 commandline: "C:\Program Files\Arena\Engines\petir\Petir23a.exe"
101078>1:xboard
101078>1:protover 2
102343<1:feature done=0 myname="Petir 2.3a" analyze=0 time=1 name=1 san=0 colors=0 setboard=1
102343>1:accepted done
102343>1:accepted myname
102343>1:accepted analyze
102343>1:accepted time
102343>1:accepted name
102343>1:accepted san
102343>1:accepted colors
102343>1:accepted setboard
111859>1:?


Doesn't get any further. Seem to be stalling
on 'MoveNow command'.

my machine specs:

Athlon XP-M 2500
XP Pro - Service Pack 2
Arena 1.1

As I said above old winboard protocol 1 works,
but not protocol 2.

Jim.

Re: Petir 2.3

PostPosted: 04 Feb 2005, 14:24
by Peter Alloysius
[quote="Jim Ablett"]Nope, tried it again - same thing >

Code: Select all
100234********Starting engine 1 Petir 2.3a
100578*1*------------------------Starting engine 1 Petir 2.3a------------------------
100578*1*Configured Engine 1 Type:   WB2
100718*1*Engine 1 dir: C:\Program Files\Arena\Engines\petir
100781*1*Engine 1 commandline: "C:\Program Files\Arena\Engines\petir\Petir23a.exe"
101078>1:xboard
101078>1:protover 2
102343<1:feature done=0 myname="Petir 2.3a" analyze=0 time=1 name=1 san=0 colors=0 setboard=1
102343>1:accepted done
102343>1:accepted myname
102343>1:accepted analyze
102343>1:accepted time
102343>1:accepted name
102343>1:accepted san
102343>1:accepted colors
102343>1:accepted setboard
111859>1:?


Doesn't get any further. Seem to be stalling
on 'MoveNow command'.

sure, Petir still don't recognize ? command,

Re: Petir 2.3

PostPosted: 04 Feb 2005, 15:24
by Jim Ablett
Could you not implement a simple movenow command
and just return a
Code: Select all
printf ("\n");
to stop it stalling here?

Re: Petir 2.3

PostPosted: 04 Feb 2005, 16:15
by Peter Alloysius
Jim Ablett wrote:Could you not implement a simple movenow command
and just return a
Code: Select all
printf ("\n");
to stop it stalling here?


i don't get it, shouldn't "?" command used when computer is thinking
to make it move immediately?

copied from engine-intf.html :

? Move now. If your engine is thinking, it should move immediately; otherwise, the command should be ignored (treated as a no-op). It is permissible for your engine to always ignore the ? command. The only bad consequence is that xboard's Move Now menu command will do nothing.

Re: Petir 2.3

PostPosted: 04 Feb 2005, 18:18
by Jim Ablett
You're right of course Peter, it should be treated
as a no op, be ignored and continue but it isnt. Of
course it may not be the move now command causing
the problem, but the fact is, at least on my machine that's
as far as it gets with protocol 2 in Arena.

Jim.

Re: Petir 2.3

PostPosted: 04 Feb 2005, 18:34
by Jim Ablett
I just tested Petir 2.2 and that works perfectly in Arena.
Here's the output >

Code: Select all
114187********Starting engine 2 Petir22
114531*2*-------------------------Starting engine 2 Petir22--------------------------
114531*2*Configured Engine 2 Type:   WB2
114672*2*Engine 2 dir: C:\Program Files\Arena\Engines\petir\old
114734*2*Engine 2 commandline: "C:\Program Files\Arena\Engines\petir\old\Petir22.exe" xboard
115047>2:xboard
115047>2:protover 2
116328<2:feature done=0 myname="Petir 2.2" analyze=0 time=1 name=1 san=0 colors=0 setboard=1 reuse=0
116328>2:accepted done
116328>2:accepted myname
116328>2:accepted analyze
116328>2:accepted time
116328>2:accepted name
116328>2:accepted san
116328>2:accepted colors
116328>2:accepted setboard
116328>2:accepted reuse
116328<2:feature done=1
116328>2:accepted done
116766>2:new
116766>2:random
116766>2:level 40 5 0
116859>2:post
116859>2:hard
116859>2:easy


Looks like it may be the 'reuse' command as Petir 2.3a
freezes after the 'accepted setboard' command. (That's
assuming you haven't re-written this part of the code
between 2.2 and 2.3)

Re: Petir 2.3

PostPosted: 04 Feb 2005, 23:13
by Peter Alloysius
ah, now I know why, you must forget to copy
book files (white.book and black.book) to directory
where petir23a located.

just copy them and everything should work fine

looks like a bug in book initialization

Re: Petir 2.3

PostPosted: 05 Feb 2005, 07:59
by Jim Ablett
Thanks Peter,
That was it, no books. Very sorry to have troubled
you with a non-problem that was down to my own
carelessnesss..
"..What kind of fool am I?..." : :?

Regards,
Jim.

Re: Petir 2.3

PostPosted: 05 Feb 2005, 14:42
by Michael Yee
Hi Peter,

I had the same trouble with Petir because the latest download from Leo's site doesn't include books... (though I got them from an earlier download). Maybe you can make the books available separately or add them back into your main distribution?

Thanks,
Michael