Comments by arx
Another error is that the links in the credits section of preset pages, saying "This preset uses the _____ settings file," have broken links. The links start with https://www.chessvariants.com/play/pbm/play? when they should have https://www.chessvariants.com/play/pbm/play.php?

Once in the game warrior can take (capture) 2 spaces forward (if first is empty).
Does this mean once for each warrior, or that each player may only make one such warrior capture in the game?

I have a piece defined this way, which used to work before the server change and now doesn't. It's failing to highlight all the legal riding moves.
def Tiger fn (checkaride #0 #1 1 1 and empty #0)
where #0 2 3
#1
or fn (checkaride #0 #1 1 -1 and empty #0)
where #0 2 -3
#1
or fn (checkaride #0 #1 -1 1 and empty #0)
where #0 -2 3
#1
or fn (checkaride #0 #1 -1 -1 and empty #0)
where #0 -2 -3
#1
or fn (checkaride #0 #1 1 1 and empty #0)
where #0 3 2
#1
or fn (checkaride #0 #1 1 -1 and empty #0)
where #0 3 -2
#1
or fn (checkaride #0 #1 -1 1 and empty #0)
where #0 -3 2
#1
or fn (checkaride #0 #1 -1 -1 and empty #0)
where #0 -3 -2
#1
or checkleap #0 #1 3 2;
def Tiger-Range mergeall
leaps #0 3 2
ray where #0 2 3 1 1
ray where #0 2 -3 1 -1
ray where #0 -2 3 -1 1
ray where #0 -2 -3 -1 -1
ray where #0 3 2 1 1
ray where #0 3 -2 1 -1
ray where #0 -3 2 -1 1
ray where #0 -3 -2 -1 -1;

I like the idea of this, although it seems possibly over-complicated with the momentum rules.

This preset and the Apothecary Chess-Modern one, are broken. The problem seems to be with the rank labels. The rank labelled 0 is removed from the setup, but if you change the rank label to something else it will display properly.

For games using a Rank label of 0, the 0 rank is not displayed and any pieces starting there are shown as captured.

https://www.chessvariants.com/play/pbm/play.php?game=Skica&log=sissa-arx-2022-289-168
We're having a problem with this game. On move 17, the pawn on g6 is captured when it shouldn't be. This seems to happen no matter what move white makes.

If you look at the preset there are descriptions of the pieces. I also have submitted a rules page with diagrams, which hasn't been accepted yet.

I can see the potential confusion, but I don't like to make the description so complicated. What about The Pegasus leaps as a knight and may then slide as a rook in the outwardmost direction?

For editing diagrams from existing pages, it would be useful to be able to load the diagram designer settings from an existing generated URL

PRE tags are typically used for no other reason than to preserve indentations
But is that an appropriate use for them? Please point me to a page that does this, so that I have a better idea of what you are talking about.
Dagger Chess uses pre tags for board diagrams. Napoleonic Chess has some of the rules pre formatted, although it could be done better.

I know it's not my piece, but I would think that the Joker does check the king, since the king was the previously moved piece. It seems weird that the Joker could ever have no movement at all.
What board dimensions does ChessV allow, and is that determined by the total number of squares or are there strict limits on the width and height?
Both. You are limited to a maximum of 16 files and 16 ranks. But there is also a limit of 192 squares, so you can't really get 16x16. The largest size is essentially 16x12 or 12x16. Someday this might be increased, but not any time soon. Going to 16x16 would not be too large a code change, but it would have a performance cost for every game, even small ones.
I was thinking of trying some very wide boards, like 8x20 or 8x24, which would fit the 192 squares limit. Is the reason for the 16 file and rank limit that larger dimensions might be more difficult to display clearly?
The way I have always looked at this is that to know whether a square is attacked by the opponent during your turn you should pass that turn, and see whether the opponent then can move there. So the question then is what the turn-pass would do for the movement capabilities of the Joker.
1 seems most natural to me. I would think that passing a turn shouldn't count as moving a piece, so it shouldn't change the Joker's move if it is defined by the last piece moved. In a game that doesn't allow passing, passing should be considered the same as a double move by the other side.
More than 16 files is also problematic. It would increase the size of a data structure that stores pawn information.
Thanks for looking at it anyway

https://www.chessvariants.com/play/pbm/play.php?game=Skica&log=sissa-arx-2022-289-168
In this game I'm seeing the piece images change after I make a move and before I confirm the move. That makes it awkward verifying that the move I made is what I really want to do.
9x15 seems an interesting board size. Would this game use drops like Shogi?

Has anyone ever used a sideways ship; sliding horizontally rather than vertically?

Okay, I fixed that. There was a namespace conflict with a new feature I added just a moment before you posted your bug report. I've now changed it to not conflict.
That didn't fix it. It looks like the image shown in the confirmation page is ignoring the changes made to piece labels and images in the pre-game code. I'm seeing the same problem in some other games too, such as this one.
https://www.chessvariants.com/play/pbm/play.php?game=Maasai+Chess&log=arx-cvgameroom-2022-323-205
The same problem is happening in presets that don't check the value of pieceset. The Skica preset I mentioned at first has this
set mypieces assoc
P "wpawn.png" p "bpawn.png"
N "wknight.png" n "bknight.png"
B "wbishop.png" b "bbishop.png"
R "wrook.png" r "brook.png"
Q "wqueen.png" q "bqueen.png"
K "wking.png" k "bking.png"
C "wcamel.png" c "bcamel.png"
W "wwildebeest.png" w "bwildebeest.png"
I "wbishopinv.png" i "bbishopinv.png"
U "wqueeninv.png" u "bqueeninv.png"
S "wrookinv.png" s "brookinv.png";
setsystem dir "/graphics.dir/alfaeriePNG/";
setsystem pieces #mypieces;
I've mainly seen this in generated presets, but it doesn't look like it's doing anything very obscure so I thought it was worth asking anyway. Now I have a question about the use of aliases. Does aliasing only allow using images from the currently selected piece set?

It seems strange that [W?fR] is the same as [W?fB]. Is that intended?
25 comments displayed
Permalink to the exact comments currently displayed.
Trying to play Janggi, I got this error. I'm guessing this might be related to the server change