Check out Grant Acedrex, our featured variant for April, 2024.


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

Ratings & Comments

LatestLater Reverse Order EarlierEarliest
A new error in apothecary chess- classic[Subject Thread] [Add Response]
Greg Strong wrote on Tue, Sep 15, 2020 01:39 PM UTC:

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.


Kevin Pacey wrote on Tue, Sep 15, 2020 04:38 AM UTC:

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.


Greg Strong wrote on Mon, Sep 14, 2020 05:39 PM UTC:

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.


🕸Fergus Duniho wrote on Mon, Sep 14, 2020 04:11 PM UTC in reply to Kevin Pacey from Sun Sep 13 08:45 PM:

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/


Kevin Pacey wrote on Sun, Sep 13, 2020 08:45 PM UTC:

For the log

https://www.chessvariants.com/play/pbm/play.php?game=Apothecary+Chess-Classic&log=catugo-panther-2020-252-429

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


Aurelian Florea wrote on Fri, Sep 11, 2020 05:38 PM UTC:

Thanks!


🕸Fergus Duniho wrote on Fri, Sep 11, 2020 04:53 PM UTC in reply to Aurelian Florea from 07:54 AM:

Any idea why?

The boardflags string was period delimited. Since this value was included in the value of posvar, whose value was being used as a variable name, and array elements are now period delimited, it was treating it as an array element. I stopped this by making the value of boardflags comma delimited.


Aurelian Florea wrote on Fri, Sep 11, 2020 07:54 AM UTC:

Hello Fergus, In the game below:

https://www.chessvariants.com/play/pbm/play.php?game=Apothecary+Chess-Classic&log=catugo-panther-2020-252-429

when black tries to move the king, a threefold repetition is claimed. Any idea why?


Review of Submissions[Subject Thread] [Add Response]
JT K wrote on Wed, Sep 9, 2020 10:14 PM UTC:

Who is currently reviewing new submissions? I'm just calling attention to the variant Full Cavalry I created recently.


Apothecary chess preset error[Subject Thread] [Add Response]
Greg Strong wrote on Fri, Sep 4, 2020 01:39 PM UTC:

Yes. As I posted earlier, there was actually no problem with the preset. The problem was that there was an actual illegal move in the game log. The illegal move was originally ignored, but when you fixed it, it would not load the game (which is correct behavior.)


Aurelian Florea wrote on Fri, Sep 4, 2020 07:57 AM UTC:

It seems to me that you have deleted the log!


Aurelian Florea wrote on Fri, Sep 4, 2020 07:56 AM UTC:

@Greg, I have done what Fergus has guided me to do. Any improvement?


🕸Fergus Duniho wrote on Mon, Aug 31, 2020 04:19 AM UTC in reply to Greg Strong from Sun Aug 30 08:57 PM:

Would editing the settings change the seed?

Not usually, but it could change the order that random numbers are generated in, the range of random numbers, the number of random numbers, or how random numbers are used. Using the same seed preserves things only so long as everything else regarding random number generation and usage remains the same. Since we cannot count on PHP continuing to use the same randomization algorithm, it is best to store the final result in a constant and to use that.


Greg Strong wrote on Sun, Aug 30, 2020 08:57 PM UTC in reply to Fergus Duniho from 08:48 PM:

I suspected this could be the issue. The log file does contain:

$seed = 488750628

but I don't know how this is used. There is a BAK file from the last move, but it shows the same seed.

EDIT: This part worked until Aurelian changed the settings to try to fix a Joker problem and it introduced this problem. Would editing the settings change the seed?


🕸Fergus Duniho wrote on Sun, Aug 30, 2020 08:48 PM UTC:

I think the main problem is the random setup. When you randomize the setup, you have to take measures to keep it the same throughout the game. This used to be done by reusing the same seed. But ever since a change in PHP's randomization algorithm screwed this up, the preferred method has been to store the random factors or results in a constant. If the relevant constants exist, use the values already stored in them. Use random values only on the very first time, set the constant values immediately, and then just use the constants.


🕸Fergus Duniho wrote on Sun, Aug 30, 2020 06:38 PM UTC in reply to Aurelian Florea from 05:10 AM:

I updated the die command to print the last move in this situation. This will point you to where the problem is.


Greg Strong wrote on Sun, Aug 30, 2020 05:30 PM UTC in reply to Aurelian Florea from 05:10 AM:

No idea. I tried hacking the log file to switch it to your new settings, but it still give the same 'king may not move into check' error. Can't even replay the moves in a new log because the pieces will start in different positions.

I guess the log will just have to be deleted.


Aurelian Florea wrote on Sun, Aug 30, 2020 05:10 AM UTC:

I cannot figure out what is going on. To me the preset in question works fine. Any suggestions?


Greg Strong wrote on Fri, Aug 28, 2020 07:28 PM UTC in reply to Aurelian Florea from 04:40 PM:

The log is here:

https://www.chessvariants.com/play/pbm/play.php?game=Apothecary+Chess-Modern&log=sxg-cvgameroom-2020-181-765&userid=mageofmaple

It used to open but not allow me to move the joker. Whatever your last change was made it worse because now it will not open. I thinks one of the moves already played is illegal.


Aurelian Florea wrote on Fri, Aug 28, 2020 04:40 PM UTC:

I don't now what you are doing. Please give me more details. Is it a game you play or an older log?


Greg Strong wrote on Fri, Aug 28, 2020 04:30 PM UTC in reply to Aurelian Florea from 04:27 PM:

Now I can't open the log. It says "you may not move into check"


Aurelian Florea wrote on Fri, Aug 28, 2020 04:27 PM UTC in reply to Greg Strong from 02:37 PM:

Please try again!


Greg Strong wrote on Fri, Aug 28, 2020 02:37 PM UTC in reply to Aurelian Florea from 06:15 AM:

I'm afraid not. I still cannot move my joker as a pawn.


Aurelian Florea wrote on Fri, Aug 28, 2020 06:15 AM UTC:

@Greg, Are things ok now?


Aurelian Florea wrote on Wed, Aug 26, 2020 05:34 AM UTC in reply to Greg Strong from Tue Aug 25 08:53 PM:

I think I had solved it. If not I had corrected the error for another Apothecary chess modern preset. So please say that it does not work, if the case.


25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.