You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having issues using the system altogether. Used an older version of it a long time ago, but for whatever reason, the new version keeps throwing me this error when I copypaste the code and try to run the game:
There is a problem with this story's 1st script:
TypeError: Cannot read properties of undefined (reading 'split')
TypeError: Cannot read properties of undefined
The text was updated successfully, but these errors were encountered:
Looked through old errors. I don't have ad blockers running, so I don't think it should be an extension issue.
Furthermore, when I redownload my old game and try rebuilding it (with the old version of the code it was running then), I get these errors:
"1 too many values were given to the (masteraudio:) macro.
2 too many values were given to the (track:) macro."
Makes sense. Probably outdated with the new Twine version.
So I decided to paste in the NEW HAL tracks code into my OLD game, and the most updated version of the code works fine for that one-- the audio tracks work perfectly. It seems like it doesn't work for my current game SPECIFICALLY, which is wigging me out.
Also, to add some detail, when I run the game I get the issues "I can't run the macro 'track' because it doesn't exist.I can't run the macro 'group' because it doesn't exist.I can't run the macro 'track' because it doesn't exist.I can't run the macro 'track' because it doesn't exist." So it might just not be reading the script at all? This is so bizarre to me.
Fixed this myself-- you can't have blank tracks or it does this. Hopefully this will be helpful to the next person to get this error! Make sure your tracks aren't blank! If anyone gets this without blank tracks, let me know, but it's working for me... for now.
I should make the error message more useful when users try to pass empty tracks.
ChapelR
changed the title
TypeError When I Open The Game
Make empty tracks errors more informative. [Original: TypeError When I Open The Game]
Jul 28, 2022
Having issues using the system altogether. Used an older version of it a long time ago, but for whatever reason, the new version keeps throwing me this error when I copypaste the code and try to run the game:
There is a problem with this story's 1st script:
TypeError: Cannot read properties of undefined (reading 'split')
TypeError: Cannot read properties of undefined
The text was updated successfully, but these errors were encountered: