-
Notifications
You must be signed in to change notification settings - Fork 2
Support game version 1.0.2 #10
Comments
Good news, I have just checked the game script for v1.0.2 on |
The modified game script will be kept in the branch |
Relevant: I always forget to tag issues in commit messages :( |
Breaking change - game version checking (v1.0.2)The game can now auto-load, i.e. you don't have to click "begin" sometimes when reloading. This conflicts with the way we check for the game's version. Currently we use the begin/pause screen to check for a version number. This is actually a blessing. Getting the game version from the game script is much better than getting the game version from the begin/pause screen. This change will actually prevent old scripts from executing scripts for game versions they don't support. Required change:
|
- Move version getter to 'WindowInteraction.getExposedVersion()' - Get version from new exposed game variable 'window.exposedVersion' - Replace all uses of 'DocumentInteraction.getGameVersion()' See issue #10
Alright, I think the release is just about ready. |
Remove text '@userscript-v1.3' specifying branch See issue #10
Slowroads.io just updated to v1.0.2. Userscript v1.2 will not support this version even if I add the modified game script.
Before I modify the game script I have to check if I can still use the same method for exposing the game's state.
Required changes
Core.settings.supportedVersion
to1.0.2
main.131c9059.chunk.js
to the /dist directoryChangelog for v1.0.2
The text was updated successfully, but these errors were encountered: