Skip to content

Transcript Overhaul#1352

Merged
alexwarren merged 7 commits intotextadventures:masterfrom
KVonGit:Fix-Major-Transcript-Issues
Jan 15, 2025
Merged

Transcript Overhaul#1352
alexwarren merged 7 commits intotextadventures:masterfrom
KVonGit:Fix-Major-Transcript-Issues

Conversation

@KVonGit
Copy link
Copy Markdown
Contributor

@KVonGit KVonGit commented Jan 3, 2025

  • Desktop saves as TXT rather than HTML
  • WebPlayer saves to localStorage
  • Remove in-game transcript feature
  • Add new functions to tidy up the code
  • Add templates for internationalization
  • Update documentation
  • Minor bug fixes

Closes #1054


As of Quest 5.8, there is a fully functional transcript feature.

A transcript is a recording of everything the player types and the game prints, and can be very useful when beta-testing, for example.

When using the desktop player, transcripts will be saved to the directory "Documents\Quest Transcripts". This file will be in the TXT format.

When playing online, transcripts will be saved to the user's browser in localStorage. Online users can visit this page to access online transcripts: https://play.textadventures.co.uk/Play.aspx?id=4wqdac8qd0sf7-ilff8mia

IMPORTANT NOTE TO ONLINE USERS: If your cookies are deleted, your transcripts will all be deleted!!! If your browser settings have been changed to delete cookies when closed, your transcript files will be deleted!!! Make sure to view and/or print your transcript(s) before closing your browser if it is set to delete cookies when closed!

To turn the transcript on, use any of these commands during play.

SCRIPT
TRANSCRIPT
SCRIPT ON
TRANSCRIPT ON
ENABLE SCRIPT
ENABLE TRANSCRIPT

If it is already enabled, Quest will print, "The transcript is already enabled."

To stop the transcript:

SCRIPT OFF
TRANSCRIPT OFF
DISABLE SCRIPT
DISABLE TRANSCRIPT

Note that during play you can type a * and then some text, and Quest will ignore it. This is useful for when you want to comment on something, such as a bug you have found. The comment will appear in the transcript (and can be searched for as it starts with a *), but you will not confuse the game with your weird command.

KVonGit and others added 3 commits January 3, 2025 13:58
- Desktop saves as TXT rather than HTML
- WebPlayer saves to localStorage
- No more in-game transcript "feature"
- Added new functions to tidy up the code
- Added templates for internationalization
- Other minor bug fixes

Co-Authored-By: Pertex <Pertex@users.noreply.github.com>
Remove the '@@@OVERWRITEFILE@@@' trick to overwrite a transcript
@KVonGit KVonGit changed the title Transcript Redux Transcript Overhaul Jan 6, 2025
Comment thread PlayerController/playercore.js Outdated
Comment thread WorldModel/WorldModel/Core/CoreFunctions.aslx Outdated
- Create HTML file in WebPlayer to view transcripts
- Create "WebPlayer\Content" directory with favicon images
- Move Windows-safe filename code for transcripts from CoreFunctions to PlayerHTML.vb
…ripts

Content\favicon192x192.png
Content\favicon16x16.png

TranscriptViewer\Quest 5.9 Online Transcript Viewer.html
I had one line of code that used jQuery, and the rest was "vanilla"
@KVonGit
Copy link
Copy Markdown
Contributor Author

KVonGit commented Jan 14, 2025

http://13.58.84.41/Play.aspx?id=pzhpezpkgemvjknnhfmfow

This is a game published by 5.8, but it includes a script to optionally fix the transcript code on the main website.

When the game loads, a pop-up will ask if you'd like to fix the transcript code. Say NO. After that, you'll be testing a 5.8 game in this build of the WebPlayer app.

Comment thread WebPlayer/player.js Outdated
Comment thread WorldModel/WorldModel/Core/CoreFunctions.aslx Outdated
Comment thread docs/transcript.md Outdated
Comment thread WebPlayer/TranscriptViewer/Quest 5.9 Online Transcript Viewer.html
- Change name of transcript HTML file to index.thml
- Change all links to 'https://play.textadventures.co.uk/TranscriptViewer'
- Remove commented out code from development stages
@alexwarren alexwarren merged commit 75d0120 into textadventures:master Jan 15, 2025
@KVonGit KVonGit deleted the Fix-Major-Transcript-Issues branch January 15, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Transcript crashes games online

2 participants