Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Later Reverse Order EarlierEarliest
Apothecary Chess-Modern. Large board variant obtained through tinkering with known games.[All Comments] [Add Comment or Rating]
Jean-Louis Cazaux wrote on Wed, Sep 20, 2023 06:47 PM UTC in reply to Aurelian Florea from 03:30 PM:

great! I want to code Bigorra. I have more than 26 different pieces, so I don't know how to do it. I wanted to look how you did for Ap. Chess.


💡📝Aurelian Florea wrote on Wed, Sep 20, 2023 03:30 PM UTC in reply to Aurelian Florea from 03:28 PM:

@Jean Louis, Now both 10x10 apothecary presets work fine! Thanks for your interest!


💡📝Aurelian Florea wrote on Wed, Sep 20, 2023 03:28 PM UTC in reply to Fergus Duniho from 03:10 PM:

@Fergus, You were correct; a simple empty array has done the trick. Thanks!


🕸Fergus Duniho wrote on Wed, Sep 20, 2023 03:10 PM UTC in reply to Aurelian Florea from Tue Sep 19 06:12 AM:

Have you any idea on what is going on?

Apart from instances in the fairychess include file, I see one instance of onboard in your code. It appears in your stalemated subroutine, and the variable passed to it has previously been calculated from the -Range function of a particular piece that has been found on the board. So, the problem may be due to the output of a particular range function. One -Range function that looks suspicious is your None-Range function, which returns an array of two empty arrays. It might work if you change this to just return an empty array, as a -Range function is supposed to return an array of coordinates, not an array of arrays. If that doesn't fix the problem, you can put in some debugging code to find out which -Range function is giving bad output when the code stops working.


🕸Fergus Duniho wrote on Wed, Sep 20, 2023 02:53 PM UTC in reply to H. G. Muller from Mon Sep 18 10:17 AM:

This preset is probably automated with GAME code generted by the Play-Test Applet.

I looked at the code by appending "&submit=Edit" to the query string, and it has not been generated by the Play-Test Applet.


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 06:12 AM UTC in reply to Aurelian Florea from 05:59 AM:

Feegus, Have you any idea on what is going on?


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 05:59 AM UTC in reply to Aurelian Florea from 05:34 AM:

I have noticed the the difference between the two presets (besides the normal ones) is that the working one initializes the lastpiecetye (needed for the joker) to rook. It supposes to be initialized to None. When I initialize it to None it breaks like the other preset. So the problem is the treatment of none. So I get this error:

onboard expects a string, not an array.


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 05:34 AM UTC in reply to Aurelian Florea from 05:28 AM:

@Fergus & HG No worry. I have managed!


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 05:28 AM UTC:

@Fergus or @HG

Can one of you help me be telling me how to access the preset. Currently I get the error bellow. But there was something I can't remember that if added to the page I could circumvent the error. Something like submit=edit. I don't remember exactly.


Jean-Louis Cazaux wrote on Mon, Sep 18, 2023 03:48 PM UTC in reply to Aurelian Florea from 11:17 AM:

If it may help, the Apothecary Chess-Classic doesn't have the issue, it works fine loading the GC.


💡📝Aurelian Florea wrote on Mon, Sep 18, 2023 11:17 AM UTC in reply to H. G. Muller from 10:17 AM:

The preset for this game is not automated. Only the Grand Apothecary Games are. And they work fine! This used to work. I'll take a look.

Later Edit : I forgot how to enter the preset forcibly!


H. G. Muller wrote on Mon, Sep 18, 2023 10:17 AM UTC in reply to Jean-Louis Cazaux from 09:33 AM:

This preset is probably automated with GAME code generted by the Play-Test Applet. (I.e. the code in the betza.txt include.) This code indeed uses the 'onboard' test in several places, mostly for parsing the user's input move.

But the error message appears for me on invoking the preset from the link in the article, which should bring me to the start position. Only the Pre-Game GAME code should be executed at that point, and this would not do any onboard tests.

It seems to me that Game Courier acts here as if the user has entered a move, and then crashes on what it thinks the user entered. (Which would not be surprising if it pulled some garbage string out of nothing.)

I have not changed anything in the betza.txt include file since Aurelean reported the timeout of the mate test, and I cannot imagine that I introduced an error at that time that would not have been discovered in the mean time.


Jean-Louis Cazaux wrote on Mon, Sep 18, 2023 09:33 AM UTC:

The link for Game Courier of Apothecary Chess Modern seems broken. I'm getting this message:

SYNTAX ERROR IN USER INPUT: on turn 0:

onboard expects a string, not an array.

Go back and try again


💡📝Aurelian Florea wrote on Sun, Jan 29, 2023 10:32 AM UTC in reply to Aurelian Florea from Sat Jan 28 09:11 AM:

@Fergus Have you any idea about what is going on!


💡📝Aurelian Florea wrote on Sat, Jan 28, 2023 09:11 AM UTC in reply to Aurelian Florea from 07:08 AM:

Now I see what you mean. I don't think it is something I have done!


💡📝Aurelian Florea wrote on Sat, Jan 28, 2023 07:08 AM UTC in reply to Daniel Zacharias from 12:44 AM:

To me they look normal!


Daniel Zacharias wrote on Sat, Jan 28, 2023 12:44 AM UTC:

The diagrams on this and the Apothecary Chess-Classic page are missing white's brouhaha squares, and so are both corresponding game courier presets.


catugo wrote on Fri, Dec 25, 2020 02:21 PM UTC in reply to H. G. Muller from 09:13 AM:

@Hg, You were correct. Now it works for me too. Curiously though that my other apothecary game worked fine!


H. G. Muller wrote on Fri, Dec 25, 2020 09:13 AM UTC:

Flush your browser cache, or you will keep using the old version of the Diagra script. It works for me.


💡📝Aurelian Florea wrote on Fri, Dec 25, 2020 06:17 AM UTC in reply to H. G. Muller from Thu Dec 24 11:18 PM:

But they still are not showed, HG!


💡📝Aurelian Florea wrote on Fri, Dec 25, 2020 06:16 AM UTC in reply to H. G. Muller from Thu Dec 24 11:18 PM:

Thanks!


H. G. Muller wrote on Thu, Dec 24, 2020 11:18 PM UTC in reply to Aurelian Florea from 07:21 PM:

Fixed!

I had made a small change, to also look for castling partners of non-royal pieces that can castle, but that made it chocke on blacked-out squares, when it tried to figure out what move these had.


💡📝Aurelian Florea wrote on Thu, Dec 24, 2020 07:21 PM UTC in reply to Aurelian Florea from Wed Dec 2 05:27 PM:

The interactive diagrams on this page have stopped working. Any idea why?


💡📝Aurelian Florea wrote on Wed, Dec 2, 2020 05:27 PM UTC:
files=10 ranks=10 promoZone=3 promoChoice=!PZNBWCR2J2G2L1Q1 graphicsDir=../graphics.dir/alfaerie/ whitePrefix=w blackPrefix=b graphicsType=gif squareSize=54 symmetry=none pawn::fmW*fceF::a3,b3,c3,d3,e3,f3,g3,h3,i3,j3,,a8,b8,c8,d8,e8,f8,g8,h8,i8,j8 knight:N:NmHmA:knight:c2,h2,,c9,h9 bishop::::d2,g2,,d9,g9 rook::::a2,j2,,a9,j9 queen::::e2,,e9 king::KisO3::f2,,f9 chancellor:L:::f1,,f10 griffin:G:WyafsW:gryphon:e1,,e10 wizard:W:FL:mage:b1,i1,,b10,i10 champion:C:::d1,g1,,d10,g10 Cavalier:Z:NW:wideknight:b2,,i9 joker:J:fI:fool:i2,,b9 royal=6

24 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.