Comments/Ratings for a Single Item
I tried looking at the finished logs for Duke of Rutland's Chess and most of them give an error like this
Error: The logfile at ../pbmlogs/duke_of_rutlands_chess/cavalier-cvgameroom-2006-127-561.php is missing, or something is misspelled.
The logs and settings files were each in two different directories. The older directory had an apostrophe in it. So I moved the files from the directories with apostrophes to those without apostrophes, and I removed the old directories. The standard behavior now is to generate directory names without apostrophes.
There are invitations for the variants Queens, Queens II and Queenmania. I would be happy if anyone is interested.
@H.G.: There seems to be something wrong with my Vanguard game. I'm not sure whether it's my coding or yours, but I'm getting the list of legal moves, and the rifle capture I'm trying to do isn't among them; it's not letting me do my move.
I'm not sure whether it's my coding or yours, but I'm getting the list of legal moves, and the rifle capture I'm trying to do isn't among them; it's not letting me do my move.
Tell me more about what you're doing and the move that should be legal but isn't showing up among the legal moves. Since I have not written any code to specifically accommodate rifle moves, you will have to make sure your code handles them properly.
My Archer at h12 should be able to shoot the Sergeant at i10.
(I did previously use my Bowman currently at m9 to capture a Pawn at n7, so at least that part works.)
At the top, it has this error message:
a h12-#to; @-i10, which is listed as a legal move, is not a well-formed move.
This seems to be the move you say is missing. The problem is that it includes a variable name instead of the value of that variable. Since your code is automatically generated instead of hand-written, H. G. Muller is in a better position to further help you with this than I am.
Yeah, that's why I initially addressed the question to him. :)
I will debug this tomorrow, when I have enough time to be sure I can finish it. The symptoms are similar to what happened once before: the variable 'to' (the destination square) gets assigned a non-existent value (likely a non-existing array element), and in GAME code this can lead to the name of the variable (#to) being assigned to the variable, and later bemistaken for the destination of a move.
@H.G.: There seems to be something wrong with my Vanguard game. I'm not sure whether it's my coding or yours, but I'm getting the list of legal moves, and the rifle capture I'm trying to do isn't among them; it's not letting me do my move.
The move was amongst them, but screwed up as h12-#to; @-i10. This problem was caused by the fact that the second leg of the rifle capture was marked as an 'iso' leg; apparently the ID you produced the code from had defined this move as caibN instead of the correct cabN. Since i in a continuation leg means 'as many leaps as the preceding rider leg, and N is not a rider atom, this produced an undefined value for the destination square. The ID is apparently able to handle that, but the GAME code wasn't. I made it resistant to this error by defaulting the number of leaps in the latest rider leg to 1.
Unfortunately this uncovered another problem, in the JavaScript for move entry. The move now shows up in the 'legalList' as h12-h12; @-i10. That is correct, but the script expects the second click to go on the destination, but cannot handle the case where the destination is equal to the origin. (This collides with the normal function of a second click on the selected piece, to deselect it.) The desired clicking sequence here would be h12, i10.
So I will have to redesign the move-entry script to handle these kind of moves. In the mean time you should be able to continue the game by typing the move, I expect.
Time for me to fix that ID on the game, too, I think.
I was playing that game on GC when suddendly I got this message and now I don't find the game nor the log anymore. Very frustrating:
Error: The logfile at ../pbmlogs/devingt_chess/nanil618-timurthelenk-2023-314-626.php is missing, or something is misspelled.
@Fergus: any idea of what has happened?
Your opponent might have deleted the log. If he didn't and wishes to continue, I will rename the backup.
Yes please, my opponent said he wanted to resign and, due to a language confusion, he pressed delete instead. I would appreciate you rename the backup so we can end up this game in a regular manner. Thank you Fergus.
Okay, I have restored the backup.
@Fergus: thanks but where is it? I don't see it.
Is it only visible by opponent at this moment?
Is it only visible by opponent at this moment?
Things are not as simple as they used to be. The Logs page used to go through all the actual logs in the file system, but that was a huge drain on resources. So I rewrote it to use the database. When the log was deleted, it was also deleted from the database, and I have no backup for that. Since it's not in the database, it's not on the Logs page. But you can go directly to your game, and once you move, it should probably create a new database entry for it.
@Fergus: it seems that there is a bug. It is impossible to access to any game with an open invitation. By clicking on the game, one gets an error message. Could please you have a look and fix it? Thx
I raise again this issue. The games under invitation cannot be played. The error message is the following (example):
Error: The logfile at ../pbmlogs/camel_decimal_chess/timurthelenk-nanil618-2023-346-522.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/modern_makruk/makov333-cvgameroom-2023-346-569.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/chess/cspk-thoner-2023-347-774.php is missing, or something is misspelled.
My correspondant has the same issue, so I'm not the only one.
Please help!
None of those logs exist, and there are no backups for them. They were probably deleted.
Fergus, this is impossible. Who deleted them? They are too many and all consecutive for the last 7 days. Moreover 3 were created by me, I don't understand how I would do something different than usual. Something has been done.
Error: The logfile at ../pbmlogs/conquer_ii/degenschess66-cvgameroom-2023-342-344.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/pattern_chess/degenschess66-cvgameroom-2023-342-576.php is missing, or something is misspell
Error: The logfile at ../pbmlogs/dai_seireigi/sesquipedalian-cvgameroom-2023-342-707.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/zwangkrieg/sesquipedalian-cvgameroom-2023-342-707.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/mccooeys_hexagonal_chess/tim_olena-cvgameroom-2023-342-959.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/sac_chess/tim_olena-cvgameroom-2023-342-960.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/bear_chess/tim_olena-cvgameroom-2023-343-627.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/camel_decimal_chess/timurthelenk-nanil618-2023-346-522.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/fantastic_xiii/timurthelenk-cvgameroom-2023-346-524.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/maasai_chess/timurthelenk-cvgameroom-2023-346-525.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/modern_makruk/makov333-cvgameroom-2023-346-569.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/dai_seireigi/bahram-cvgameroom-2023-347-388.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/devingt_chess/nanil618-cvgameroom-2023-347-676.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/chess/cspk-thoner-2023-347-774.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/different_pawns_random_chess/makov333-cvgameroom-2023-347-993.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/cool_camels_vs_fabulous_fides/makov333-cvgameroom-2023-347-027.php is missing, or something is misspelled.
Anyone else can say if he/she sees the same thing than me?
The problem happens not only with Open Invitations but also with Personal Invitations, such as those recently launched by Tim O'Lena:
Error: The logfile at ../pbmlogs/bear_chess/tim_olena-playtester-2023-343-632.php is missing, or something is misspelled
Error: The logfile at ../pbmlogs/bear_chess/tim_olena-alienum-2023-343-635.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/mccooeys_hexagonal_chess/tim_olena-bosa60-2023-343-637.php is missing, or something is misspelled.
Error: The logfile at ../pbmlogs/mccooeys_hexagonal_chess/tim_olena-sissa-2023-343-641.php is missing, or something is misspelled.
With so many cases, it is evident that there is some bug in the Game Courier software. And it is probably related to the fact that since several days ago the logs of finished games have been duplicated, and when trying to review or print them, the software warns of the same type of error: "the logfile is missing, or something is misspelled". See, for example, this: https://www.chessvariants.com/play/pbm/play.php?game=Pocket%2BMutation%2BChess&log=olbog-gwduke-2006-234-653
Fergus, this is impossible. Who deleted them?
It turns out no one deleted them. The problem was that they were written to the wrong directory. The $gameid variable had been set to an empty value in the header, as I was now using $gameid in the header to help find pages for playing games, and I was getting the value from the database. But Game Courier already used this variable without getting it from the database. After changing the header to not set $gameid if it's already set, I located the logs and moved them to the correct directories.
There are still a couple of logs that are experiencing this bug:
25 comments displayed
Permalink to the exact comments currently displayed.
I tried looking at the finished logs for Duke of Rutland's Chess and most of them give an error like this
Error: The logfile at ../pbmlogs/duke_of_rutlands_chess/cavalier-cvgameroom-2006-127-561.php is missing, or something is misspelled.