Comments by ChessShogi
I saw your comment after I fixed the error in the preset's code, but thank you for posting the information anyway. I'm guessing the errors above the subroutine error in the log were the main cause of the Error 524 problem, but it could be that the preset was just so big that it took too long to spot the error and print the log. After all, Taishin Shogi's GC preset is the largest GC preset with full rule enforcement and display of legal moves that I know of (in terms of board size (25x25), number of piece types (232 in total), and number of lines of code (total is probably close to or over 1000 as of right now)).
What if there was a two player version? Or I could just make one myself...
When I reverted the Futashikana Shogi pages back to their original form, they also reverted to pending editorial approval. This game has already been approved before. If an editor could fix this that would be great.
An influence display like the one in the ShogiVars program would be a really nice feature to add, especially for the really big games.
I think mobile devices are suffering from a similar misalignment problem to the one I pointed out earlier. Whenever I load a GC preset that uses an image format on a mobile device, the hitboxes are misaligned, and the image is much smaller than normal. However, whenever I clear my browser cache everything looks fine the first time I load the preset page.
The Raven in the diagram can also move from c2 to a3, but this is not shown in the diagram.
Hectochess now has a diagram with playable AI. I also made a new variant, Banner Xiangqi, which has its own playable diagram as well.
I would like the following presets deleted:
betzatest (Yangsi) - This preset was accidentally saved during a test of H. G. Muller Game Code Generator for his interactive diagrams, and is no longer needed.
default2, promotest (Suzumu Shogi) - The promotest preset was made in an attempt to resolve the server-side multi-move promotion bug, and is no longer needed. The default2 preset was made during the final phase of experimentation trying to find a good starting position for Suzumu Shogi, and is no longer needed now that the starting position is finalized.
There shouldn't be any game logs using these presets, as they redirect to the correct presets, so they should be pretty easy to delete.
The settings files themselves seem to be cleared, but the links to them are still showing.
I would like to have the abstract preset for Dragon Chess deleted.
The triple capture ability for Lion Dogs works perfectly, at least in regards to executing the moves. There seems to be a problem when highlighting destination for the third leg of a triple capture move. The possible destination squares (aside from the one travelled to via the second leg) generate in all directions where there is a piece on one such square in said direction.
Edit: Also, the moving piece isn't deselected if it can't move back to its starting square when the diagram generates the moves for the next leg. There also seems to be a problem with contageous promotions not taking effect if you make a three leg move to an empty square
I am sure I am not using the old script. Try doing the same thing in the sandbox that you did last time, but with the following moves instead: b2-b4 c2-c4 d2-d4 e12-e4 e4xd4xc4xb4. You should notice spurious highlights when asked to enter the third leg of the move. Note that the bug only works if both the first and second square in a given direction are occupied by enemy pieces.
I tried this in both Edge and Google Chrome, and it seems only the latter has the spurious highlighting. When executing the moves on Chrome with the compact description assigned, I also see a spurious highlight on e1 when entering the third leg of the move.
Maybe it only takes place when I clear my browser cache.
Edit: I tested this in Edge, and yes, it only works if you clear your browser cache.
Try clearing your browser cache (cached images and files, any browser) assigning KADGHmcavKmpafcavKcafcmpavK (the complete Lion Dog move) to the star piece in the XBetza sandbox, and making the following moves: b2-b4 c2-c4 d2-d4 f2-e3 e12-e4 e4xd4xc4xb4. You should see spurious highlights e3 and e1 (it only works if the first and second squares in a direction are occupied by enemy pieces). If you don't see spurious highlights after this, then it must be something on my end.
I am having a problem with the promotions in my Taishin Shogi preset. The problem occurs when I make a triple move with a piece with Lion Dog powers where all three parts move the piece to different squares and the third square is empty. The preset will exit with an error message stating that the promotion is illegal when it should be legal. Any help would be greatly appreciated.
The problem is happening in the bpromote and wpromote subroutines. The relevant errors have also been numbered to aid debugging. Also, the setup has been rearranged to allow quick access to moves that generate the error.
@Jean-Louis Cazaux You can't get a preset to show up in the Games to Play section just by creating it (Good thing too, otherwise it would have way too much stuff in it).
Go to the tab with your name and click Post Your Own Game in the drop-down menu. This will bring you to the prompt for creating your game's index information. You should prompt up top that asks "Is this the type of page you want to submit?" Click the link that says "Create Game Courier Preset." And the rest is just making the page and waiting for it to be approved.
@Jean-Louis Cazaux The wcastle and bcastle variables in your preset aren't set properly. If castling works exactly like it does in chess, wcastle/bcastle should be set to e2 i2/e9 i9, respectively. Other than that, I don't see any bugs.
I'm talking about your Very Heavy Chess preset. The f2/f9 and h2/h9 values in the wcastle/bcastle variables are unnecessary.
Indeed, using the original pieces would be ideal, but I do not know where the pictures are located. However, I can get pretty close to it using the path for Alfaerie pieces provided by the Interactive Diagram Designer.
If I can get the path of the directory for the Alfaerie for Metamachy set, that would allow me to use the intended piece graphics.
25 comments displayed
Permalink to the exact comments currently displayed.
Is it just me, or is the latest version of my Taishin Shogi GC preset overloading this whole site? Whenever I click on my settings file to play it, I get nothing but 524 errors for a while.
I will admit that the thing is one of the biggest GC presets out there in terms of file size (if not the biggest) since there are so many piece types, as well as special promotion rules (i.e. contagious pieces), and all manner of multi-part moves, but I haven't had problems like this before.
Edit: I found the problem. It was a tiny syntax error in the isdoublemove subroutine. Everything works fine now.