Comments/Ratings for a Single Item
I'm having trouble playing a game of Storm the Ivory Tower. When I click on my name (trying to start the process of playing a move) I get an error message saying that the logfile is missing or else something is misspelled:
This preset now uses the new code for identifying check, checkmate, and stalemate. Let me know of any problems with it.
ILLEGAL: p g9-g7; on turn 2:
There was no p on g9. It is an empty space.
Go back with your browser's BACK button, reload the page, and try again.
My move in the party. I can not make a move. No button to make a move. Writes an error. How can I make a move in the party? Help
Do you mean in your current Game Courier game? It doesn't appear to be your turn yet.
You should request aid in just one place; this one seems the most reasonable, so I'll remove your other comments.
(By the way, I'm relying on Google translate for your messages, so apologies if I misunderstand.)
Как в игре сделать ход? Я не могу сделать ход. Не работает кнопка отправить ход
It's not showing up as active on the Logs page. It says you won.
Fergus
My opponent ran out of time in this game:
/play/pbm/play.php?game=Modern+Random+Chess&log=j_carrillo_vii-cvgameroom-2018-172-521
However the game is still showing active in the Game Courier Game Logs page.
Can you fix the status of this game as the game is completed?
Is there something I need to do to the preset to prevent thiscondition from happening?
Thanks.
I renamed the backup to a php file, and it is currently your opponent's turn. Once he moves, the database entry will be recreated, and it will show up on the logs page again. Since it is not showing up there now, inform your opponent that he has to repeat his last move for the game to continue, and send him a link to the log.
Fergus,
Can you please restore the backup?
Thanks.
It looks like the log was deleted. There is no entry for it in the database, and all that is left is the backup. You can ask per31 if he deleted it.
Fergus,
I'm getting this error message when I'm trying to play in my game below:
Error: The logfile at ../pbmlogs/petteia_xxi/j_carrillo_vii-cvgameroom-2018-146-869.php is missing, or something is misspelled.
- -
[email protected]
To:j_carrillo_vii
Jul 9 at 2:15 PM
Here is the latest move in the game of Petteia XXI between you and per hommerberg:
25... s i5-h5
To make your move, follow this URL:
/play/pbm/play.php?game%3DPetteia+XXI%26log%3Dj_carrillo_vii-cvgameroom-2018-146-869%26userid%3Dj_carrillo_vii
--
Is there a problem with the database, or was the game deleted?
Okay, thanks Fergus. Judging by my listing of logs of my currently unfinished Game Courier games, I can see that you've deleted that Frog Chess game log.
I made a backup of the site last month, but your Frog Chess log was too recent to be included in it. I also made a backup yesterday, but that was too late. This log is unrecoverable, but you can start the game over. According to the database record I just deleted, your opponent was wdtr2.
They all have the same timestamp of 6/16/2018 10:39:26 PM. I think timestamps are given in GMT. So, this would be around 6:39 PM EST on Saturday. Given that the timestamps are exactly the same, this was all done at once, and the error checking I had in place wasn't enough to stop the saving of logs. This involved using file_get_contents on the newly written file and checking whether it was empty or didn't match what was written. I am also now using filesize, and if either one fails, it should stop before it rewrites everything as an empty file.
However, now I see what may be the problem. It first checked the value of file_put_contents, and if this failed, it gave a warning instead of a fatal error. I am now making this into a fatal error that exits the script.
The server was acting as though there was no space left today and yesterday. I programmed Game Courier to halt the saving of logs if this happened again, but maybe it didn't work. I'm shutting down my computer for tonight, but I'll look into this more tomorrow.
Attn Fergus:
I'm playing a game of Frog Chess with wdtr2, and I saw a pecuiar error message when I tried to view the log. At the time of my posting this, it's no longer my turn as far as I know:
/play/pbm/play.php?game=Frog+Chess&log=panther-cvgameroom-2018-161-106
Fixed. I modified the piecekeys function to return an empty array when the value of $piecekeys is not an array, and that allowed foreach to work with the value it returned.
What happened with this game?: /play/pbm/play.php?game=Fischer+Random+Chess&log=panther-cvgameroom-2018-112-736&userid=makov333
It looks like the problem was that it was miscalculating the deadline when it updated the database after someone accepted an invitation. One of the conditions for calculating the part of the time left that included spare time was empty($invitation)
, but when an invitation was accepted, the value of $invitation was not changed until later in the script. Changing this to (empty($invitation) || ($submit == "Accept"))
allowed the calculation of the deadline to go through as it should when an invitation was accepted. This may have been missed for a while, because it didn't pose a problem when someone moved within the grace time set in the time controls.
I was just going to start a new experiment after lunch, and I noticed that my Shogi game was now out of time. I tried moving as fergus, and I was able to. Inspecting the database, I found no record in FinishedGames, and the one in GameLogs was still ongoing.
I issued an invitation to my other account for Shogi with time controls of 3 minutes grace time and 30 days spare time. The first thing I noticed is that all the time is on the same clock, and it is yellow. The three minutes should have been on a green clock with the 30 days on the other clock.
Next, the time right now is aproximately 29 days, 23:02:00. That's no longer accurate, since it keeps counting down. Although it was just minutes ago when I issued and accepted the invitation, it appears to be off by an hour. It should be 30 days and 2 minutes, not 29 days, 23 hours, and 2 minutes.
The inaccuracy in adding up the time may account for why all the time is on one clock, and that clock is yellow.
Another problem is that although I chose white as duniho, and it says on the screen that duniho is white, and the menu shows that is who I am signed in as, Game Courier is telling me it is not my turn yet.
Going to the Logs page, it says the next move is for fergus.
Now I remember that Black goes first in Shogi. So I have to start this experiment over.
Looking at the time controls, I see there were 3 days of grace time and 30 days of spare time. If the game ended when the grace time ran out but there was still 30 days of spare time left, that's a problem. I'll have to look into this, and if your opponent was unable to move during those 30 days, I should delete your log, because it wasn't his fault for running out of time.
Hi Fergus
I was just wondering if my opponent was doomed to lose on time anyway, after the first 3 days had gone by and 'Your Games on Game Courier' showed me that he was 'Out of Time' (though as I wrote, his clock continued for another 30 days). Also, I do see that the game is recorded as finished, e.g. in the list of finished Shogi games, but it shows that I won the game on time more than 30 days ago, rather than very recently.
What I was trying to get at was, is all of what I wrote about this log and my win on time in accordance with how Game Corier is supposed to work, in regard to losses on time if a player fails to make his first move with White before just 3 days elapse? If not, that's why I brought it to your attention, because I thought this was an old problem with Game Courier that had been fixed.
It does show up as a finished game. Search for the log specifically, and set the Age filter to "Anytime", and it does show up.
25 comments displayed
Permalink to the exact comments currently displayed.
Another gamelog missing or something misspelled error message, this time for a Chinese Chess game I'm playing:
https://www.chessvariants.com/play/pbm/play.php?game=Chinese%2520Chess&log=panther-cvgameroom-2018-248-211&userid=panther