Page 1 of 1

FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 10 Feb 2016, 18:32
by rybkaboy
FairyMax 5.0a Bug in Makruk with Opposite Promote
I found Bug In Makruk Variants

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 10 Feb 2016, 22:15
by H.G.Muller
I do not understand what you mean by 'Opposite promote'. Can you show the position or the game where this problem occurred?

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 11 Feb 2016, 09:03
by rybkaboy
when is promotion then move med it will illegal claim by another side.

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 11 Feb 2016, 09:04
by rybkaboy
but it move correctly

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 11 Feb 2016, 09:13
by rybkaboy
[Event "Computer Chess Game"]
[Site "TARA-PC"]
[Date "2016.02.07"]
[Round "4"]
[White "Fairy-Max 5.0a"]
[Black "Bilis v1.0"]
[Result "0-1"]
[TimeControl "180/60"]
[Variant "makruk"]
[FEN "rnsmksnr/8/pppppppp/8/8/PPPPPPPP/8/RNSKMSNR w 0 1"]
[SetUp "1"]

{--------------
r n s m k s n r
. . . . . . . .
p p p p p p p p
. . . . . . . .
. . . . . . . .
P P P P P P P P
. . . . . . . .
R N S K M S N R
white to play
--------------}
{
--------------
r n s m k s n r
. . . . . . . .
p p p p p p p p
. . . . . . . .
. . . . . . . .
P P P P P P P P
. . . . . . . .
R N S K M S N R
white to play
--------------
}
1. Sd2 {+0.14/5 0.3} Nd7 {+0.09/9 0.3} 2. Ne2 {-2.31/5 0.3} Ne7
{+0.01/8 0.5} 3. c4 {-2.32/6 0.3} Sf7 {+0.05/7 0.6} 4. Nbc3 {-2.53/6 0.3}
d5 {+0.02/6 0.4} 5. e4 {-2.49/5 0.3} dxc4 {+0.02/7 0.7} 6. bxc4
{-2.50/7 0.3} c5 {+0.07/7 1.0} 7. f4 {-2.45/7 0.3} Nc6 {+0.09/9 1.1} 8. Se3
{-2.58/6 0.3} Sc7 {+0.06/9 0.4} 9. Sff2 {-2.57/6 0.3} Me7 {+0.07/8 0.3} 10.
Sf3 {-2.57/5 0.3} h5 {+0.07/8 0.4} 11. Mf2 {-2.60/5 0.3} g5 {+0.08/7 0.5}
12. Rb1 {-2.63/5 0.3} gxf4 {+0.17/6 0.9} 13. Sexf4 {-2.62/7 0.3} Rd8
{+1.10/8 0.3} 14. Me3 {-2.61/5 0.3} Nde5 {+1.49/9 0.3} 15. Sxe5
{-2.93/6 0.2} Nxe5 {+1.56/8 0.5} 16. Sf4 {-6.42/6 0.3} Nxc4 {+1.49/8 0.3}
17. Nd5 {-4.56/5 0.3} exd5 {+1.89/9 0.5} 18. dxc4 {-3.64/7 0.3} d4
{+2.19/7 0.2} 19. Md2 {-4.43/6 0.3} d3=M {+2.50/7 0.2} 20. Rf1
{-6.17/5 0.3}
{False illegal-move claim} 0-1

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 11 Feb 2016, 09:19
by rybkaboy
[Event "Computer Chess Game"]
[Site "WORADET"]
[Date "2016.02.11"]
[Round "-"]
[White "Fairy-Max 5.0a"]
[Black "Bilis v1.0"]
[Result "0-1"]
[TimeControl "60+1"]
[Variant "makruk"]
[FEN "rnsmksnr/8/pppppppp/8/8/PPPPPPPP/8/RNSKMSNR w 0 1"]
[SetUp "1"]

{--------------
r n s m k s n r
. . . . . . . .
p p p p p p p p
. . . . . . . .
. . . . . . . .
P P P P P P P P
. . . . . . . .
R N S K M S N R
white to play
--------------}
1. e4 Nd7 2. f4 f5 3. Sg2 fxe4 4. dxe4 a5 5. Nd2 Ngf6 6. Ngf3 Sc7 7. Mf2
Nc5 8. Re1 d5 9. exd5 cxd5 10. Me3 Nce4 11. Nxe4 Nxe4 12. Sd2 a4 13. bxa4
Sf7 14. Md4 Rxa4 15. c4 Rxc4 16. Sd3 Nf2+ 17. Ke2 Nxd3 18. Kxd3 Me7 19. Re2
Md6 20. Rb1 Ke7 21. Me5 Ra8 22. Ra2 Mc5 23. Rb3 Sc6 24. Sf1 b5 25. Se2 Rca4
26. Ne1 b4 27. Nc2 Sb5 28. Ne3 R4a5 29. Rc2 Sa4 30. Rb1 b3=M 31. Rcb2 Mc4+
{False illegal-move claim} 0-1

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 11 Feb 2016, 20:51
by H.G.Muller
OK, that makes it clear what the problem is. I am currently traveling without my laptop, but when I get home in a few days I will have a look at it.

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 17 Feb 2016, 15:18
by H.G.Muller
I returned from my visit to London now, and indeed the new way I used to handle promomotion had broken the interpreting of the promotion character in an input move in Makruk. (Because this was the only variant where promotion happens on the 6th rank.) I now fixed this in the source code. I will release a Windows binary package with this fixed version soon.

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 17 Feb 2016, 16:22
by rybkaboy
Thank You Very much
regrad.

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 20 Feb 2016, 11:58
by H.G.Muller
I have officially released Fairy-Max 5.0b now, which fixes this Makruk bug; see

http://www.talkchess.com/forum/viewtopic.php?t=59309

Thank you for reporting this!

Re: FairyMax 5.0a Bug in Makruk with Opposite Promote

PostPosted: 21 Feb 2016, 18:56
by rybkaboy
Thank You Very much.
Regrad. From people in Thailand.