LifeViewer/Known bugs/Scripting: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 197: | Line 197: | ||
|} | |} | ||
* If some commands are provided with a value exceeding 2147483647, they will overflow, rather than rejecting the value as it is provided. This does not apply to all commands. | |||
** These values pare presumably those which are handled as Uint32Arrays.<ref>https://conwaylife.com/forums/viewtopic.php?f=3&t=1622&p=135110#p135110</ref> | |||
{| class="wikitable" style="margin-left:auto; margin-right:auto; border:none" | |||
! rejects correctly | |||
! incorrectly overflows | |||
|- | |||
| {{EmbedViewer | |||
|rle = x = 7, y = 3, rule = B3/S23 | |||
bo3bo$2o3b2o$bo3bo! | |||
|viewerconfig = #C [[ X 10000000000 Y 10000000000 ZOOM 10000000000 STARTFROM 10000000000 GPS 10000000000 TILT 10000000000 DEPTH 10000000000 POITRANS 10000000000 GRAPHOPACITY 10000000000 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]] | |||
}} | |||
| {{EmbedViewer | |||
|rle = x = 7, y = 3, rule = B3/S23 | |||
bo3bo$2o3b2o$bo3bo! | |||
|viewerconfig = #C [[ STEP 10000000000 ANGLE 10000000000 LAYERS 10000000000 GRIDMAJOR 10000000000 HISTORYSTATES 10000000000 AGESTATES 10000000000 DELETERANGE 10000000000 THEME 10000000000 MAXGRIDSIZE 10000000000 POPUPWIDTH 10000000000 POPUPHEIGHT 10000000000 THUMBNAIL THUMBSIZE 4 WIDTH 600 HEIGHT 600 ]] | |||
}} | |||
|} | |||
== References == | == References == | ||
<references /> | <references /> | ||
Revision as of 15:32, 27 October 2025
Currently known issues with LifeViewer script commands.
- STATE1FIT does not work as expected in [R]Super rules.
- STATE1FIT may be deprecated in the future in favor of a new ALIVEFIT command in order to resolve this issue.[1]
| [R]Standard | [R]History |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
| [R]Super | [R]Investigator |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Setting up paste commands that cancel out to produce nothing will have differing results in the range-1 algorithm versus the general-range algorithm.
- At T=0, in the range-1 algorithm, a dead cell is visible in the thumbnail, but is not present in the popup viewer; in the general-range algorithm, it is present in both cases. In both cases, dead cells will manifest from T=1 onwards.
- The dead cells in the general-range algorithm, besides the first two, will never fade.
| Standard | General |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Attempting to customize the colour of GRIDMAJOR in a hexagonal or triangular rule, or a square grid rule with a GRIDMAJOR interval of 0, will not display an error.
- This is unlike when trying to color cell states which do not apply to the active rule, as well as bounded grid edge cells in rules which do not specify a bounded grid; both cases produce an error to indicate that the customization is irrelevant.
| Hexagonal | Triangular | GRIDMAJOR 0 |
|---|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Changing the color of "dead" in [R]Super or [R]Investigator will not change the color of any cell states. However, it also will not display an error indicating that "dead" is not a valid element to customize for these specific rules.
- In [R]Standard and [R]History, "dead" will affect the colors of freshly-dead cells.
- Attempting to customize the capitalized "DEAD" in [R]Super or [R]Investigator will display an error.
| [R]Standard | [R]History |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
| [R]Super | [R]Investigator |
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- Different errors will be produced when trying to customize the colors of history, mark1, markoff, mark2 and kill in a rulespace which does not support these states if they are specified as lowercase compared to uppercase.
| Lowercase | Uppercase |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- When changing the active theme, TRACKLOOP will not adjust, resulting in visual major grid line jumping.
- For the following, change the theme to a theme with major grid lines such as the MCell theme.
| (click above to open LifeViewer) |
- Pasting something in [R]History via PASTEMODE COPY will cause any state-0 cells to become freshly-created state 2 cells.
- This is in contract to pasting state-2 cells themselves: these are set as fully aged.
- Expected behaviour would be for state 0 cells to be pasted as state 0 cells.
| Input pattern | When pasted |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- If a pattern that uses HISTORYFIT has its evolution modified by PASTE or Kill Gliders in a certain way, AUTOFIT will ignore all preceding history cells when calculating the box to fit the pattern to.
| PASTE | Kill Gliders |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- User interfaces interact incorrectly with specific values for popup width and height as defined in script commands.
- On some touchscreen devices, the popup created by the right thumbnail is twice the size it should be.[2]
- If a viewer window has a height of below 480, the Settings button will be disabled as the contents of that menu would not display in a usable way. Maximizing the popup on the right will enable that button, allowing it to be entered, but un-maximizing the popup will result in the settings menu remaining on-screen, with all buttons and sliders intersecting in an unusable fashion (which is why the button was disabled in the first place). Expected results here would be for the settings menu to be closed when the popup is restored to its original size.
- A height of below 480 also modifies the Help menu: instead of all buttons being stacked vertically, they are spread out horizontally as well. Maximizing the viewer in this screen will keep them in the height-below-480 layout, despite the height now being sufficient to accommodate the traditional view.
| normal popup size | atypical size |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |
- If some commands are provided with a value exceeding 2147483647, they will overflow, rather than rejecting the value as it is provided. This does not apply to all commands.
- These values pare presumably those which are handled as Uint32Arrays.[3]
| rejects correctly | incorrectly overflows |
|---|---|
(click above to open LifeViewer) |
(click above to open LifeViewer) |