Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


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

Comments/Ratings for a Single Item

EarliestEarlier Reverse Order LaterLatest
Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Greg Strong wrote on Wed, Jan 11, 2017 11:17 PM EST:

I'm still having issues.  No game rooms come up for me - I just get a blank page.

Thanks, Greg


🕸📝Fergus Duniho wrote on Thu, Jan 12, 2017 11:12 AM EST:

Greg, that was due to accidentally putting an unclosed brace in the code for GAME Code. I tracked it down and got rid of it.


Kevin Pacey wrote on Fri, Mar 31, 2017 11:50 PM EDT:

Attn Fergus:

I'm shown to have won a game of Sac Chess on time, after my opponent failed to move as White right at move one. The game is listed as a finished game, but not shown as a recently finished game in the What's New? Finished Games section of CVP's main page. Not only that, but so far I've received no notification by email of the forfeit win, and my Game Courier player's rating seems not to have changed either.


🕸📝Fergus Duniho wrote on Sat, Apr 1, 2017 09:03 AM EDT:

Kevin, the most recent game showing up there is a game of Sac Chess that you won on time. Is this the game you mean?


Kevin Pacey wrote on Sat, Apr 1, 2017 02:22 PM EDT:

Yes Fergus, the Sac Chess time forfeit game (with no first move made by White) is the one I mean. So far, I still have no email notification that I've won, nor does that game seem to have been rated on Game Courier yet either.


Kevin Pacey wrote on Sat, Apr 1, 2017 11:13 PM EDT:

Fergus, I had a game of "Glinski's Hexagonal Chess (Symmetric)" going against Blake C., whom hasn't moved as Black since I made my 8th move. I half-expected I would win on time (i.e. by today). However, I've checked and there is apparently no sign that the game log now exists, not even as a finished game. I haven't received an email that I won on time, nor is there an indication that that game was rated. Also, please be aware that I have another game against Blake C. that is due to expire in a small number of days, if he does not move. I don't know if someone chooses to delete a log whether a game is not to be rated, fwiw.

Maybe now is not a good time, but I feel I should also let you know that an earlier game of 4*Chess I played against Ben, and which I won, was rated, when I had specified in the private invitation to him that that particular game was not to be rated.


Jose Carrillo wrote on Sun, Jun 4, 2017 11:38 AM EDT:

Fergus,

I'm trying to issue a personal invite in Game Courier for Makruk to ramalan, but it keeps being issued as a public invite.

There seems to be a bug with the invite routine.

Jose

 


🕸📝Fergus Duniho wrote on Tue, Jun 20, 2017 08:32 PM EDT:

That bug should now be fixed.


Jose Carrillo wrote on Sun, Jun 25, 2017 12:30 PM EDT:

Fergus,

I just issued two personal invitations to ramalan, and they went public.

It's still not working.

 


🕸📝Fergus Duniho wrote on Sun, Jun 25, 2017 03:26 PM EDT:

There is no user called ramalan. I should fix it to display an error message if you enter in a non-existant userid.


🕸📝Fergus Duniho wrote on Sun, Jun 25, 2017 03:50 PM EDT:

It should now show an error message when you try to invite someone with a userid that is not in the database.


🕸📝Fergus Duniho wrote on Sat, Jul 22, 2017 09:51 AM EDT:

Since this script meticulously goes through the file system, sometimes opening files to get at the data inside them, I am working on a GameLogs database table and a new script that will use it to provide (mostly) the same information this script does. This new table mainly builds on the columns in the FinishedGames table, and it adds some new columns, such as Deadline and Status. Deadline will provide the time when an invitation expires or the time when the current player will run out of time if he doesn't move by then. This gets rid of the need to open a log to calculate how much time is left. The Status field will be a binary code indicating whether the game has started (bit 1) and ended (bit 2). The new script will use only the database, which should be faster and more efficient. I have been working on getting Game Courier to store information on logs in the database. And for my own diagnostic purposes, Game Courier is saying so when successful. But this table is not in its final form yet, and it is not yet being used for anything official.


🕸📝Fergus Duniho wrote on Tue, Jul 25, 2017 01:46 PM EDT:

This page is now at a new URL, and the script now reads the database instead of the file system. Unfortunately, I made some mistakes in filling the database with data, and it looks like all recent invitations got deleted. I should have done some more double-checking before running code that actually changed anything. I added a new invitation, which is showing up, and there appear to be a bunch of old ones that never got deleted. I'll delete those later.


🕸📝Fergus Duniho wrote on Tue, Jul 25, 2017 01:48 PM EDT:

I see what I did wrong. My script used $deadline in a spot where I should have used $data[":deadline"], and since $deadline was empty, it evaluated to 0, and the comparison indicated that the deadline had expired.


Omnia Nihilo wrote on Thu, Jul 27, 2017 03:26 PM EDT:

https://ibb.co/kpeZAQ

I seem to be getting some weird code showing up whenever I click the button to go back to my games, or just going to the list via the "your games on game courier". 


🕸📝Fergus Duniho wrote on Thu, Jul 27, 2017 09:03 PM EDT:

That's the SQL query used to search the database. Further details are at the bottom of the page.


Carlos Cetina wrote on Mon, Jul 31, 2017 09:19 AM EDT:

Fergus:

I have troubles with the following three logs:

/play/pbm/play.php?log=sxg-cvgameroom-2017-168-935&game=Chess&sound=true#board 

/play/pbm/play.php?log=sissa-cvgameroom-2017-164-189&game=Cetran+Chess+2&sound=true#board

/play/pbm/play.php?log=sissa-cvgameroom-2017-206-203&game=Universal+Chess&sound=true#board

They appear listed on the Game Courier Logs Table indicating that it's my turn to move but REALLY it's my opponent's turn to move. For a strange reason, when I made and send the moves, the action was not completed correctly.

I would appreciate you to take a look at this problem. Thanks in advance.

 


🕸📝Fergus Duniho wrote on Mon, Jul 31, 2017 10:11 AM EDT:

For the sake of performance, the Logs page is now handled by querying a database instead of by reading and checking every log individually. This introduces the possibility that there will now be some discrepancies between what is in the logs and what the database has recorded about the logs. In that case, the logs take precedence, and the database should be updated appropriately when someone makes a move. Regarding your games, the Logs page says it is your turn in three games, and when I clicked on them, it indeed did appear to be your turn. Sometimes, because of sporadic 503 errors, a move does not get saved to the log, and it has to be done over. I'm still working on optimizing the website more, but sporadic 503 errors do seem to be an improvement over the site shutting down for hours. So, as annoying as it may be, it is progress over what was happening before.


Carlos Cetina wrote on Mon, Jul 31, 2017 10:34 AM EDT:

All right, I understand and recognize the effort and dedication you are putting to gradually improve this wonderful website. Thousand thanks for that!


Nick Wolff wrote on Sat, Aug 5, 2017 09:38 PM EDT:

I accepted 2 games of Chinese Chess - 1 from SxG and 1 from Dank Magician.  Both still appear as open invitations, though if you click to accept, again, it says that the invitation was already accepted.


🕸📝Fergus Duniho wrote on Sat, Aug 5, 2017 10:16 PM EDT:

These might have been missed while I was converting the GameLogs table from MyISAM to InnoDB. Once you start moving, the database records for these logs will be updated. Click on the link to view the game, then click on "Nick Wolff to move." For the other game, sxg can click on the link to view, then on the button that says "sxg to move." If you have further problems like this with the database, let me know, since then it could be because of a problem with InnoDB.


Nick Wolff wrote on Sat, Aug 5, 2017 10:21 PM EDT:

That works great.  Thanks, Fergus!


Jose Carrillo wrote on Wed, Aug 16, 2017 07:00 AM EDT:

Hi Fergus. My game below timed out, but it still shows as an active game.Can you please change the status of the game to completed? Thanks.

/play/pbm/play.php?game=Modern+Shatranj&log=j_carrillo_vii-louisxii-2017-127-802

 


🕸📝Fergus Duniho wrote on Tue, Aug 22, 2017 07:08 PM EDT:

When you enter a userid, this page will now tell you how many games the person with that userid can move in. Conventionally, this is you, and it is written as how many games you can move in. This number is based on all the games you can move in, whether or not they show up on the page. When it is zero, this page will use AJAX to periodically check whether it is your turn in any game. Once it is, it will refresh the page with a beeping sound, and it will stop checking if it is your turn in any other games. If you are playing multiple games, using the logs page to keep track of which games you can move in next will be simpler than keeping multiple tabs open for each game.


Jose Carrillo wrote on Thu, Aug 24, 2017 10:22 AM EDT:

But Fergus, it's not my turn in that game.

The game timed out and should be finished.

It is still showing as an active game and this is incorrect.

/play/pbm/play.php?game=Modern+Shatranj&log=j_carrillo_vii-louisxii-2017-127-802

 


🕸📝Fergus Duniho wrote on Fri, Aug 25, 2017 09:47 AM EDT:

When someone loses on time, it is supposed to automatically update the database with correct information. I fixed it to make it do what it is supposed to do, and you are now listed as the winner of this game.


Jose Carrillo wrote on Sat, Sep 16, 2017 12:55 PM EDT:

Thanks Fergus.

Here is another one of my games that ended in checkmate, but the status of the game was never change to "finished":

/play/pbm/play.php?game=Fischer+Random+Chess&log=j_carrillo_vii-josesanfer-2004-151-422

Can you please change the status to a win for white? Thanks in advance.


🕸📝Fergus Duniho wrote on Sat, Sep 16, 2017 01:51 PM EDT:

I programmed Game Courier to be more self-correcting, then let it write the database entries.


Jose Carrillo wrote on Sat, Sep 16, 2017 04:00 PM EDT:

Fergus,

You set the checkmated player as the winner.

White won, not black.

/play/pbm/play.php?game=Fischer+Random+Chess&log=j_carrillo_vii-josesanfer-2004-151-422

Please correct and thank you!

 


🕸📝Fergus Duniho wrote on Sat, Sep 16, 2017 04:16 PM EDT:

Okay, it has now entered the correct winner.


🕸📝Fergus Duniho wrote on Tue, Nov 29, 2011 07:00 PM EST:

I changed the form from the post method to the get method, so that it will show up when you go back with the back button. Since including a password field is not secure with the get method, I removed it from the form. If you need to be signed in to see private games, you can sign in through the form in the menu.


M Winther wrote on Tue, Nov 29, 2011 07:00 PM EST:

Fergus, in the Comment section (here) I see this sentence above the comments: "SELECT * FROM Comment WHERE IsDeleted=0 ORDER BY CommentID DESC LIMIT 25". (I use Chrome in Windows 10.)


🕸📝Fergus Duniho wrote on Tue, Nov 29, 2011 07:00 PM EST:

That's a recreation of the SQL used to query the database for the comments displayed on the page. For those who understand SQL, it is informational. For those who don't, it is not. It is useful for me to see this, because the comments page generates the SQL it uses to query the database.


Aurelian Florea wrote on Thu, Oct 19, 2017 03:11 PM EDT:

I cannot see an Universal chess game I was playing against per hommerberg. Any reason why?


🕸📝Fergus Duniho wrote on Thu, Oct 19, 2017 08:45 PM EDT:

I did not see any recent logs for Universal Chess. The latest is from 2016, and you weren't one of the players. What might have happened is that your opponent deleted the log. Players are allowed to do this, and you could ask him if he did that.


Aurelian Florea wrote on Thu, Oct 19, 2017 10:25 PM EDT:

Could be, I will thanks!


Aurelian Florea wrote on Thu, Nov 2, 2017 02:23 AM EDT:

Hello,

I have something like 10 days ago launched challenges for many game among which Balbo's chess, Asylum Redux, Butterfly chess. Now I see that I have "drawn" these games, but I have not actually played any of them. What is most likely to have happened is that some people have accepted the challenges and then because of maybe broken game code code, the program considered those game drawn. In the case of Butterfly chess sxg has re-challenged me and now a game is on the way :)! So  the problem may be somehow circumvented, but that is just an temporary solution. I'm willing to help these cases for 2 reasons. I have the time and decent knowlledge, and also these days I am trying "many" games I find interesting so it is likely I'll stumble upond such cases. Admitedly this is not a thorough search but even here and there if if dense enough could help very much :)! May I receive some guidance?


Aurelian Florea wrote on Thu, Nov 2, 2017 02:44 AM EDT:

chess with wizards, chess68, cannons of chesstonia seem to all fall under the same category :(!


Aurelian Florea wrote on Thu, Nov 2, 2017 05:53 AM EDT:

I just had an similar experience with falcon chess, and that one is very well done, could it be a deeper problem?


🕸📝Fergus Duniho wrote on Thu, Nov 2, 2017 01:28 PM EDT:

I first checked play.php for code that would set the game as drawn, and I found none that could have been responsible. I then took a look at one of the logs. It was saying "has won" and "has won on time." This indicated that the problem was not with setting the game as drawn but with declaring a winner when there was none. This was due to code that updates the status of games the clock has run down on. I modified this code to not operate before an invitation has been accepted. Since this didn't yet explain why the games were marked as drawn, I checked the database entry. The game was marked as ended, and the winner field was blank, which the logs page interprets to mean that a game is drawn. The winner field was blank, because the code had set $winner to the value of $opponent, but $opponent had not yet been set. I have now deleted the affected logs, and I hope the problem will be fixed now.


Aurelian Florea wrote on Thu, Nov 2, 2017 02:29 PM EDT:

Cool, so much public thanks Fergus! You defineatly made my day :)!


Aurelian Florea wrote on Tue, Nov 7, 2017 05:36 AM EST:

@Fergus,

Hello,

I apologize for bugging you all the time, but the Jetan preset seems to be broken :)! Could you offer some help?


🕸📝Fergus Duniho wrote on Tue, Nov 7, 2017 01:09 PM EST:

Okay, I fixed it, and I since it doesn't use a settings file, I also fixed your log. I may look into programming a settings file for it that enforces the rules.


Aurelian Florea wrote on Tue, Nov 7, 2017 02:41 PM EST:

Once again Fergus, a warm thank you is in order :)!


Aurelian Florea wrote on Sat, Nov 11, 2017 09:27 AM EST:

Hello,

I am playing a game of musketter chess where I am black. When it camed to place my 2 extra pieces on the "fake" back rank i could not. The error was something like cannot include chess3 (I am not quoting). I tried several comands but the proper one seems to be h e5-g9; s d5-e9; It does not work :(!

Could someone help me?


🕸📝Fergus Duniho wrote on Sat, Nov 11, 2017 11:03 AM EST:

It doesn't work and hasn't been fixed yet. Just delete your Musketeer Chess logs for now.


Aurelian Florea wrote on Mon, Nov 27, 2017 10:35 AM EST:

WildeEurasian Chess seems to not work and I'd like to play it. Please help :)!


🕸📝Fergus Duniho wrote on Tue, Nov 28, 2017 05:15 PM EST:

I realized the problem could be more widespread than just the few presets brought to my attention, and I used grep to find all the .html files with urlencoded form data. I then began decoding the form data, making use of the MIME Tools plugin for Notepad++. But as I was doing this, I noticed that Game Courier itself was creating forms with urlencoded data. I initially changed the code to stop doing this. Later, I searched for "urldecode" in play.php, and I found a place where it was urldecoding form data, but it was doing it only when the string contained %20, which is the code for a space. According to the comments, it previously worked when a string contained a + sign, which is also used for a space. I had changed this, because presets for Shogi and related games used the + sign in the names of promoted pieces, and using urldecode was causing bugs by changing the names of these pieces. With that in mind, I removed the conditional and changed urldecode to rawurldecode, which would convert %20 to a space but not + to a space. So, it will now urldecode all form data, and I'm assuming that a string that isn't urlencoded will not be altered by rawurlencode. Since I did that, I also reinstated the code for urlencoding form data. I then tested a preset that had been broken by not urldecoding all the form data, and it now worked. This saves me from continuing to decode form data file by file.


Aurelian Florea wrote on Tue, Nov 28, 2017 05:17 PM EST:

Good news :)!


Jose Carrillo wrote on Thu, Dec 21, 2017 08:17 AM EST:

Fergus,

When I search all the Latrunculi XXI games played in Game Courier with this lynk:

/play/pbm/logs.php?game=Latrunculi+XXI&age=0&stat=any

it shows that for game: erik-cvgameroom-2017-340-466 that erik won, which is incorrect.

If you go to the game itself, it shows that Black (me!) won the game. (erik was playing white).

A difference between this game and many other Latrunculi XXI games is that this game was finished with the "won" command, instead of the "resign" command.

Maybe you need to tweak the "won" command so that it shows the correct winner in the Game Logs page.


Nick Wolff wrote on Tue, Dec 26, 2017 02:50 PM EST:

It's also on a couple more games of your variant, Jose.  You beat me in ours and it shows me as won, too.


Jose Carrillo wrote on Wed, Dec 27, 2017 11:47 AM EST:

Thanks Nick.

I never noticed before.

Fergus, there is definitely something wrong with the "won" command and how it assigns the winner in the finished games log.

Here is another example:

/play/pbm/play.php?game=Latrunculi+XXI&log=j_carrillo_vii-wolff-2016-339-951

I won the game as Black, but in the finished games log it shows Nick (White) as the winner.


Jose Carrillo wrote on Tue, Jan 16, 2018 08:39 AM EST:

Fergus,

Here is another game with a problem:

/play/pbm/play.php?game=Latrunculi+XXI&log=j_carrillo_vii-cvgameroom-2017-345-008

I was White, and I won the game. (I used the "won" command to end the game).

Somehow the colors were switched between the players, and I ended up being Black and losing the game.

Please correct it. Thanks.


Kevin Pacey wrote on Sat, Jan 27, 2018 04:17 PM EST:

I don't know why the following log of a finished played game by one/two people (that are not me) is included in the list of my logs as listed by 'Your Games on Game Courier' (as found in the sub-menu under my name in the CVP main menu). An anomoly? I've seen that current open invitations by other people (besides my own invites issued), and recent finished game logs of games played by me are sometimes (but not always, for some reason) included. Anyway, I don't know if the log I'm referring to (see below) has affected my GC rating in any way:

/play/pbm/play.php?game=General+Chess&log=olbog-cvgameroom-2006-25-442


Greg Strong wrote on Sat, Jan 27, 2018 09:17 PM EST:

Somehow this game has no one assigned as playing black.  Not sure how that happened.  When you pick the Your Games, by default, it shows open invitations also.  Basically, including invitations adds a "where opponent is null" criteria to the query which is probably why this log is getting pulled in.  I bet if you set it to only show finished games, this one will no longer show up (even though it is indeed a finished game.)


Kevin Pacey wrote on Sat, Jan 27, 2018 09:23 PM EST:

Yes, that mysterious log does disappear when setting to only finished games for me.


Greg Strong wrote on Sat, Jan 27, 2018 10:22 PM EST:

Ok, good.  That means it isn't showing up because it's connected to you (so it can't affect your rating.)  It is showing up because, since it is missing a player, it is getting caught by the query to find invitations.  The query could probably be modified, but since this game shouldn't have entered this state to begin with, I'm inclined to just delete it.


Kevin Pacey wrote on Tue, Jan 30, 2018 12:06 PM EST:

For the following game's log, my opponent was indicated to have lost on time under 'Your Games on Game Courier' (under that sub-menu item under my name in the main menu), but the log didn't show up or count as a finished game (i.e. with me winning on time) until after I had clicked on the log's link, under 'Your Games on Game Courier'. Not sure that's exactly how games that are wins on time are properly put into & stored in the database, so I thought maybe it was worth mentioning - otherwise all's well that ends well, I suppose:

/play/pbm/play.php?game=Backlash&log=panther-cvgameroom-2017-349-290


Aurelian Florea wrote on Sun, Apr 8, 2018 02:27 AM EDT:

@Fergus,

Hello,

I am playing a mortal shogi game against wdtr2. There seems to be a bug as with an bishop exchance he seems to have got a GG in hand where I a bishop :)!


Aurelian Florea wrote on Sun, Apr 8, 2018 02:32 AM EDT:

@Fergus @ wdtr2

wdtr2, I hope you see this :)!

I think I see what went one, you had promoted your bishop to a dragon horse which I caputred. And it demoted to bishop. You on the other hand, wdtr2 have captured a bishop which has been demoted to GG. I guess that is it, no bug.

Sorry Fergus, for botherring you. It is my first such game and I still have trouble with tactics .


wdtr2 wrote on Sun, Apr 8, 2018 06:01 AM EDT:

@fergus, Catugo and I just attempted to play Mortal Shogi, something seems to be a bit off.  Either I do not understand the rules, or there might be a bug.   If you review the our recent game, can you see if there is something off?  During my knight capture it seemed to me the knight did not go into the capture tray, but in the next turn after that, it seemed to be there.    @catugo said a knight capture became a pawn.  If you want we could play a game together as a way to debug the game.  If you are willing to do that.  Maybe everything is working right, but the game felt off. 


Greg Strong wrote on Sun, Apr 8, 2018 08:48 AM EDT:

Please post a link to the game log and I will take a look.  The pieces should change when captured.  A knight becomes a pawn.  Every time a piece is captured it becomes one step weaker.


Aurelian Florea wrote on Sun, Apr 8, 2018 10:38 AM EDT:

In one case towards the end of the game it did not :)! Here is a link to the game in question : /play/pbm/play.php?game=Mortal+Shogi&log=catugo-cvgameroom-2018-82-677


🕸📝Fergus Duniho wrote on Sun, Apr 8, 2018 05:23 PM EDT:

You appear to be playing Mortal Shogi without a settings file. In fact, it looks like Mortal Shogi doesn't even have a settings file. I should be able to make one by modifying the one used for Kamikaze Mortal Shogi.


Aurelian Florea wrote on Mon, Apr 9, 2018 02:51 AM EDT:

Thank Fergus :)!


Kevin Pacey wrote on Mon, Apr 9, 2018 09:34 PM EDT:

Note to Fergus:

There appears to be a bug in the rules enforcing Chess preset. When I try to play ...Qd1 (with checkmate) in the following game, I get a long error message:

/play/pbm/play.php?game=Chess&log=panther-tim_olena-2018-71-812


🕸📝Fergus Duniho wrote on Tue, Apr 10, 2018 08:19 AM EDT:

That's now fixed, Kevin. The won command ended with a colon instead of a semicolon. Now it ends with a semicolon.


Kevin Pacey wrote on Tue, Apr 10, 2018 09:11 PM EDT:

Thanks Fergus

I finished that game as I had wished to, and it has also been rated by Game Courier.


Aurelian Florea wrote on Sat, Apr 28, 2018 07:07 AM EDT:

It seems that I cannot make a challenge in the game named Crab Chess. Anyone any idea why?


Gus Duniho wrote on Tue, May 15, 2018 09:01 AM EDT:

Thanks to some technical difficulties having to do with erroneous reports of the disk space being full, Game Courier wrote some empty logs and backups yesterday and maybe earlier too. When both the log and its backup are empty, there is no more record of the game unless it can be recontructed from the emails sent to both players. If you are unable to do this, it would be best to delete your log using the Delete link provided on this page. You can delete your log as long as you are one of the players, or I can do it if need be. It is important to go through Game Courier to delete logs, because it will also handle deleting database entries for those logs.


🕸📝Fergus Duniho wrote on Tue, May 15, 2018 10:07 AM EDT:

Due to the danger of writing both an empty log and an empty backup, the backup procedure needs to be made more robust. I plan to make it more robust by adding in some redundancy and error checking. It should work like this. First, it should make a backup of the backup. It should check this against the backup. If they are not the same, it should stop with an error message indicating that logs cannot be saved right now, and it would be best to come back and try again later. If it successfully makes a faithful copy of the backup, it should then copy the log to the backup and check whether the two files are the same. If not, it should stop with a similar error message. If these two backups succeed, it should then update the log and check whether it is empty. If it is empty, it should report an error message that the log was not successfully saved and to try again later. If it did save to a non-empty file, it should proceed to report its success and to send an email to the other player.


🕸📝Fergus Duniho wrote on Tue, May 15, 2018 12:13 PM EDT:

I have now made the backup procedure more robust, as described in the previous comment.


🕸📝Fergus Duniho wrote on Tue, May 15, 2018 04:39 PM EDT:

Because of the possibility that problems with the file system could cause a log or a backup to be written as an empty file, I have now programmed Game Courier to use the backup in place of the log if the log is empty or to use the backup's backup if both the log and its backup are empty. In the event that everything is empty, or the file to be used doesn't exist, it will give an error message and recommend deletion of the log. So, if you have lost both the log and its backup, you can now find out and take action to delete it.


🕸📝Fergus Duniho wrote on Tue, May 15, 2018 05:07 PM EDT:

Before even writing the backups, Game Courier will check how much free disk space is left. Although it is unlikely that it will ever run out of actual free disk space, the file system sometimes reports this erroneously, and when it does, it ends up writing an empty file. To prevent the writing of empty files, Game Courier will now stop before writing any files if it is reported that there is no free disk space left.


🕸📝Fergus Duniho wrote on Thu, May 17, 2018 11:28 AM EDT:

You should now be able to actually delete logs that ended up empty due to problems with the file system. I had to fix two problems to make this work. First, there was a Catch-22 of ending the script prematurely when the log and its backup were both empty even when you were trying to delete them. I had to add an exception in for that. Second, it couldn't tell from an empty log who the player and opponent were. So, when these values are no longer available from the log, it now gets them from the database. With these changes made, I emptied a log of a game with myself, and I emptied its backup too, and without using the account that gives me special deletion privileges, I was able to delete it from the other account I was playing it with.


Kevin Pacey wrote on Sun, May 27, 2018 06:19 PM EDT:

Attn Fergus:

I won the following game on time (as the second player to move in the setup position) after 33 days expired (even sooner, i.e. after just 3 days, according to what I read back then on 'Your Games on Game Courier', but the clock of my opponent then continued to count down 30 more days). It shows up as a won game for me on 'Your Games on Game Courier' now, but is not shown as a finished game as found by the link for those on the CVP main page. Fwiw, my GC rating did change slightly immediately after I clicked on the log for this game, after I read in it that I had won:

/play/pbm/play.php?game=Shogi&log=panther-cvgameroom-2018-112-730


🕸📝Fergus Duniho wrote on Sun, May 27, 2018 06:53 PM EDT:

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.


Kevin Pacey wrote on Mon, May 28, 2018 09:30 PM EDT:

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.


🕸📝Fergus Duniho wrote on Tue, May 29, 2018 11:37 AM EDT:

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.


🕸📝Fergus Duniho wrote on Tue, May 29, 2018 12:35 PM EDT:

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.


🕸📝Fergus Duniho wrote on Tue, May 29, 2018 02:59 PM EDT:

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.


🕸📝Fergus Duniho wrote on Tue, May 29, 2018 05:59 PM EDT:

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.


Vitya Makov wrote on Mon, Jun 4, 2018 02:47 PM EDT:

What happened with this game?: /play/pbm/play.php?game=Fischer+Random+Chess&log=panther-cvgameroom-2018-112-736&userid=makov333


🕸📝Fergus Duniho wrote on Mon, Jun 4, 2018 07:25 PM EDT:

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.


Kevin Pacey wrote on Sat, Jun 16, 2018 06:49 PM EDT:

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


🕸📝Fergus Duniho wrote on Sat, Jun 16, 2018 08:36 PM EDT:

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.


🕸📝Fergus Duniho wrote on Mon, Jun 18, 2018 09:00 AM EDT:

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.


🕸📝Fergus Duniho wrote on Tue, Jun 19, 2018 08:24 AM EDT:

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.


Kevin Pacey wrote on Tue, Jun 19, 2018 09:32 PM EDT:

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.


Jose Carrillo wrote on Tue, Jul 10, 2018 04:07 PM EDT:

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?


🕸📝Fergus Duniho wrote on Wed, Jul 11, 2018 05:13 PM EDT:

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.


Jose Carrillo wrote on Fri, Jul 13, 2018 09:55 PM EDT:

Fergus,

Can you please restore the backup?

Thanks.


🕸📝Fergus Duniho wrote on Sat, Jul 14, 2018 07:53 AM EDT:

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.


Jose Carrillo wrote on Wed, Aug 1, 2018 09:11 PM EDT:

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.


🕸📝Fergus Duniho wrote on Wed, Aug 1, 2018 09:17 PM EDT:

It's not showing up as active on the Logs page. It says you won.


Сергей Бугаевский wrote on Sun, Aug 12, 2018 08:37 AM EDT:

Как в игре сделать ход? Я не могу сделать ход. Не работает кнопка отправить ход


Ben Reiniger wrote on Sun, Aug 12, 2018 11:15 AM EDT:

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.)


Сергей Бугаевский wrote on Mon, Aug 13, 2018 03:56 PM EDT:
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

Сергей Бугаевский wrote on Mon, Aug 13, 2018 04:14 PM EDT:

 

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.


Kevin Pacey wrote on Sun, Sep 9, 2018 11:50 PM EDT:

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:

https://www.chessvariants.com/play/pbm/play.php?game=Storm%2520the%2520Ivory%2520Tower&log=panther-cvgameroom-2018-248-226&userid=panther


100 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.