The problem with the GAME-code generation should be solved (flush browser cache to use new version of the script), in the sense that it now generates 1 for a range after toggling it from slide to leap through the y modifier, rather than 'true'. In the JavaScript 1 and true were equivalent, but the error message suggested that in GAME code they are not. I hope this solves the problem.
BTW, rather than generating the GAME code again through the fixed Play-Test Applet, you could just edit the GAME-code you already had, replacing the 'true' in the legdefs array definition by 1 everywhere.
I don't know the reason comptuer makes Silver more valuable than all (exc. for King), when Silver must be a little cheaper than Knight. I tried to fix it manually and bring the Silver on his (normal) place, but it was started a flood of errors in GC preset. Before it worked, King was royal, but he moved as Silver (and castling was illegal), when Silvers were fully immobile. Very strange)))
I cannot reproduce this. When I copy-paste your code for the HTML into the Play-Test Applet (I have to remove some trailing spaces that apparently were added by the copy-paste process to make that work) and ask for the piece-value estimates, Knight, Magician and Rook are all considered more valuable than Silver.
The problem with the GAME-code generation should be solved (flush browser cache to use new version of the script), in the sense that it now generates 1 for a range after toggling it from slide to leap through the y modifier, rather than 'true'. In the JavaScript 1 and true were equivalent, but the error message suggested that in GAME code they are not. I hope this solves the problem.
BTW, rather than generating the GAME code again through the fixed Play-Test Applet, you could just edit the GAME-code you already had, replacing the 'true' in the legdefs array definition by 1 everywhere.
I cannot reproduce this. When I copy-paste your code for the HTML into the Play-Test Applet (I have to remove some trailing spaces that apparently were added by the copy-paste process to make that work) and ask for the piece-value estimates, Knight, Magician and Rook are all considered more valuable than Silver.