Hello flok,
your engine https://www.vanheusden.com/cpp1/ crashes immediately
after embedding it under WinBoard-protocol.
2016-06-26 07:55:06,329 Arena 3.5.1
2016-06-26 07:55:06,345
2016-06-26 07:55:06,454**----------Neue Partie---2016-06-26 07:55:06,454 So -------------
2016-06-26 07:55:06,594**----------Neue Partie---2016-06-26 07:55:06,594 So -------------
2016-06-26 07:55:06,641**screen: 1280x1024
2016-06-26 07:55:06,641**Monitors: 1
2016-06-26 07:55:06,641**Monitor0: 1280x1024
2016-06-26 07:55:06,641**FormMonitor: 0
2016-06-26 07:55:06,641**DesktopRect: 0/0 .. 1280/1024
2016-06-26 07:55:25,252*1*----------------------------Starte Motor 1 Cpp1-----------------------------
2016-06-26 07:55:25,252*1*Configured Engine 1 Type: WB2
2016-06-26 07:55:25,252*1*Engine 1 dir: C:\Users\NRL\Downloads\cpp1
2016-06-26 07:55:25,252*1*Engine 1 commandline: C:\Users\NRL\Downloads\cpp1\cpp1.exe -iomode xboard
2016-06-26 07:55:25,377*1*Engine 1 ProcessID: 3024
2016-06-26 07:55:25,377*1*Engine 1 Prio:32 ThreadPrio:0
2016-06-26 07:55:25,377-->1:xboard
2016-06-26 07:55:25,377-->1:protover 2
2016-06-26 07:55:25,424<--1:Error (unknown command) protover 2
2016-06-26 07:55:26,110-->1:new
2016-06-26 07:55:26,110-->1:random
2016-06-26 07:55:26,110-->1:level 0 5 0
2016-06-26 07:55:26,110-->1:post
2016-06-26 07:55:26,110-->1:hard
2016-06-26 07:55:26,110-->1:easy
2016-06-26 07:55:26,141<--1:Illegal move: e1sI
Your other program POS 1.20 uses commandline-parameter
--io-mode xboard to run normally on Arena interface.
My question: Is anything wrong with CPP1´s commandline-parameter? A dash break (-) too few etc.?
Best wishes,
Norbert
CPP1 v0.1038 for Windows - Arena 3.5.1 GUI
Moderator: Ras
-
Norbert Raimund Leisner
- Posts: 1643
- Joined: Tue May 20, 2008 4:57 pm
- Location: Augsburg - Germany
-
Guenther
- Posts: 4718
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: CPP1 v0.1038 for Windows - Arena 3.5.1 GUI
The commandline parameter is ok.
It sends the same under Winboard, but it seems WB now ignores this if no move yet was played and the game starts normally.
BTW this also is true with protover 1.
It sends the same under Winboard, but it seems WB now ignores this if no move yet was played and the game starts normally.
BTW this also is true with protover 1.
Code: Select all
recognized 'normal' (-1) as variant normal
recognized 'normal' (-1) as variant normal
shuffleOpenings = 0
Version: WinBoard 4.8.0b + CPP1
Reset(1, 0) from gameMode 0
recognized 'normal' (-1) as variant normal
GameEnds(0, (null), 2)
shuffleOpenings = 0
StartChildProcess (dir="c:\Engines\WB\CPP1") CPP1 -iomode xboard
nice engine proc to 10
606 >first : xboard
607 >first : new
random
607 >first : level 40 3 0
608 >first : post
608 >first : hard
608 >first : easy
Impossible move , type = 0
621 <first : Illegal move: e1sI
nps: w=-1, b=-1
nps: w=-1, b=-1
2527 >first : time 18000
2528 >first : otim 18000
book hit = (NULL)
2528 >first : e2e4
2553 <first : move g8f6
silence
Interrupting first
5236 >first : time 17997
5236 >first : otim 17731
book hit = (NULL)
5236 >first : b1c3
5266 <first : move b7b6
-
hgm
- Posts: 28514
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: CPP1 v0.1038 for Windows - Arena 3.5.1 GUI
I think it interprets the command 'easy' as a move!
(a -> 1, y -> I. In decimal the ascii code for 'a' = 97 and for '1' = 49, a difference of 48, while 'y'= 121 and 'I' = 73, also a difference of 48).
-
Guenther
- Posts: 4718
- Joined: Wed Oct 01, 2008 6:33 am
- Location: Regensburg, Germany
- Full name: Guenther Simon
Re: CPP1 v0.1038 for Windows - Arena 3.5.1 GUI
I think you are right that is the funniest bug I have ever seen.hgm wrote:I think it interprets the command 'easy' as a move! :shock: (a -> 1, y -> I. In decimal the ascii code for 'a' = 97 and for '1' = 49, a difference of 48, while 'y'= 121 and 'I' = 73, also a difference of 48).