Ratings & Comments
For the log
When I click on 'Kevin Pacey to move', I only get to see the diagram, and the note saying to make and preview my move. Maybe a bug with the preset, or with CVP website/Game Courier? I have a handicap in that with my Windows 7 Windows Explorer browser, I cannot move by mouse-clicking on a piece, if that would have helped in this case (I need to type in my moves, which I'm unable to do in the case of this log's apparent bug).
When I click on 'Kevin Pacey to move', I only get to see the diagram, and the note saying to make and preview my move. Maybe a bug with the preset, or with CVP website/Game Courier? I have a handicap in that with my Windows 7 Windows Explorer browser, I cannot move by mouse-clicking on a piece, if that would have helped in this case (I need to type in my moves, which I'm unable to do in the case of this log's apparent bug).
It worked fine in Firefox, but when I tested Internet Explorer, it did not work. Since I have updated my computer to Windows 10, and Internet Explorer isn't giving me the debugging information I need, I am abandoning support for Internet Explorer. If you're going to stick to Windows 7, you should use a browser that is still kept up-to-date, such as Firefox or Chrome. However, I do recommend updating your computer to Windows 10, because Windows 7 is no longer supported, and it may become increasingly vulnerable to threats on the internet. So, here is a link on how to do that:
https://www.howtogeek.com/509087/how-to-upgrade-from-windows-7-to-windows-10-for-free/
If you are still running Windows 7, you should discontinue use of Internet Explorer. I would recommend you install Firefox, and then add the uBlock Origin extension (an ad blocker). Firefox runs in a security sandbox, and the ad blocker will reduce the chances of even viewing malware in the first place. Running Windows 7 still won't be 100% safe, but this will be much, much better than running IE. Under no circumstances should you run IE on Win7 at this point.
I have a Windows 10 laptop (besides the Windows 7 one). I could try to use Windows Edge with it, if that's also an okay browser for with CVP website/Game Courier these days.
In the past I used FireFox after Fergus suggested it, but eventually that browser gave me some sort of troubles on one or more of my computers (not sure if it was on the Windows 7 laptop, which was actually converted from being an original Windows Vista laptop by a family member). A relative told me Chrome could cause me difficulties as well, but I don't know if she was really sure.
Edge should work fine but I don't know if it has plug-ins for ad blockers, nor do I know if it runs in a security sandbox. (It's Microsoft and they are not exactly known for putting security first. Or even second.) These are the important things if you are going to continue to run Win7. Firefox should work for you just fine, although Chrome should as well.
Edge is now Chromium-based and can run all the same extensions as Chrome, as well as its own Microsoft extensions. I got uBlock Origin from the Microsoft store, and I got NoScript from the Chrome store.
This is interesting. I'd like a more descriptive name for the variant, but I don't have one to suggest right now...
Since this comment is for a page that has not been published yet, you must be signed in to read it.
MS Edge seems to be the browser that came with my Windows 10 laptop.
Using that particular laptop (which is strangely a bit sluggish when using its built-in mouse, even when I'm not on the internet), I was able to finally reply to Aurelian, in the game log in question. Thanks Greg & Fergus.
What if a piece randomly changes into a pawn on the first or second rank? Can it then move two spaces? What about the eighth rank? Does it then promote? Or is it stuck forever?
The rules don't seem to address any of this.
Although the rules don't state it, pawns on the first rank can move two spaces, subject to en passant capture. I determined this by looking at the Zillions implementation.
Something seems wrong with the code that displays comments on a game page. This page: https://www.chessvariants.com/41.dir/2pipe.html does not show my most recent comment on the page, but if you view all comments, then it does appear.
It showed up when I looked at it. Since game pages are cached, and scripts are not, there will sometimes be a delay before a new comment shows up on the page it was posted to, but there won't be any delay in it showing up on the comments page. There is no problem with the code. It is simply that the code is not run when displaying a cached page.
My opponent is having trouble moving in the following game of ours - maybe the log/preset is broken, or maybe there's a technical problem like Carlos had in another Sac Chess game between himself and me?:
https://www.chessvariants.com/play/pbm/play.php?game=Sac+Chess&log=panther-cvgameroom-2020-217-110
My opponent is having trouble moving in the following game of ours
I didn't notice any problem when I tried moving as him. If the problem is with using the mouse or touchscreen to move, he should update to a more recent browser or report which browser and device he is using.
Some piece sets still won't render a board with diagram designer although all the individual pieces show correctly. My earlier speculation that it involves sets with "for" in the title appears to be incorrect, or there is more to it. The ones that fail all seem to have "for" in the name, but some others containing "for" do work.
Also, in Game Courier, if there is only one square color, it will draw outlines around the squares as shown in this preset: https://www.chessvariants.com/play/pbm/play.php?game%3DMaorider+Chess%26settings%3Ddefault But Diagram Designer doesn't do this. It just shows a solid board with nothing to separate the squares.
Can this be published please?
Also, in Game Courier, if there is only one square color, it will draw outlines around the squares as shown in this preset: https://www.chessvariants.com/play/pbm/play.php?game%3DMaorider+Chess%26settings%3Ddefault But Diagram Designer doesn't do this. It just shows a solid board with nothing to separate the squares.
That's a feature of the Table rendering method, which the Diagram Designer does not use. Game Courier does not do this for the GIF, JPG, or PNG methods.
Oh, ok. I guess that makes sense. Unfortunately, that means the diagram designer can't show uncheckered boards, but that's not critical.
With some extensive testing I've been able to figure out the issue, although I don't understand it. The piece sets that don't work with diagram designer all have an extra carriage return at the end. Remove it, and they work fine. Take a file that works, put an extra blank line after the ?> line, and it breaks. Very odd for whitespace to break code...
The piece sets that don't work with diagram designer all have an extra carriage return at the end.
That makes perfect sense. While the Game Courier scripts create an HTML page, the drawdiagram.php script used by the Diagram Designer produces an image file. If that image file contains any text, even a white space, it is corrupted.
I am referring to a space in the php file that defines the piece set, not the image file created by the script. The diagram designer executes php code to dynamically create and return a binary image, right? Why would whitespace in the php source code of a program affect its output?
Update: Ok, maybe I see. Since the space is outside the ?> it gets incorporated into the output stream?
Ok, maybe I see. Since the space is outside the ?> it gets incorporated into the output stream?
Yes. Unlike Game Courier, which saves an image file to the server, drawdiagram.php simply becomes the image file. So, it's output has to be a pure image file. Since the set file gets included in it, that set file must be free of any text output.
Ok, I have removed extra whitespace from all piece sets and verified that they all now work in diagram designer.
25 comments displayed
Permalink to the exact comments currently displayed.
There were a couple typos in the include file for that game. I have now fixed them.