Xbozon / storyteller

A small modification that allows you to present the story in the game as an open book.
Apache License 2.0
16 stars 9 forks source link

Cannot Locate the Text Files for my Stories #40

Closed rtschaefer closed 1 year ago

rtschaefer commented 1 year ago

I have created a large quantity of story files, but now I cannot find them no matter where I search. Can you explain how that work can be retrieved? I just need the text.

Xbozon commented 1 year ago

@rtschaefer Did you upgrade from an older version to a newer one?

rtschaefer commented 1 year ago

I am not sure which software you are referring to. I am using Foundry v10, but I held onto an older version of Storyteller because I was able to get it to work on Foundry v9. I am running Foundry through the Forge.

Xbozon commented 1 year ago

What version number do you use? Are the stories just gone from the tab or is the whole tab completely gone?

The text will save anyway, I just need to figure out how to help you.

rtschaefer commented 1 year ago

The whole tab is completely gone!

rtschaefer commented 1 year ago

I am extremely glad to know the text is still there somewhere. Thank you so much. Many hours of world-building. Whew!

Xbozon commented 1 year ago

Have you installed any other add-ons recently? Please open the console with the F12 key, then the console tab, are there any red messages?

rtschaefer commented 1 year ago

I have opened the console. I am not exactly fluent with this stuff. There are a number of red line items.

rtschaefer commented 1 year ago

foundry.js:711 ReferenceError: EntitySheetConfig is not defined [Detected 1 package: storyteller] at Object.fn (main.js:68:5) at #call (foundry.js:688:20) at Hooks.callAll (foundry.js:645:17) at Game.setupGame (foundry.js:7826:11) at async Game._initializeGameView (foundry.js:8877:5) at async Game.initialize (foundry.js:7687:5)

Xbozon commented 1 year ago

@rtschaefer That's enough, thank you. I think you accidentally updated to the latest version which does not work with v10, can you check? The version with a separate tab should be Storyteller 0.3.4

rtschaefer commented 1 year ago

Yeah, 3.4 was what I was using before and I upgraded out of desperation to see if it will work LOL. I will change to 3.4 right away and check

rtschaefer commented 1 year ago

Using 3.4 and the stories tab is still gone. Hmmm

Xbozon commented 1 year ago

@rtschaefer Have the console messages changed?

rtschaefer commented 1 year ago

I am not able to find anything really. I was able to use the filter to find storyteller in the console but now...nothing

rtschaefer commented 1 year ago

rebooted and loaded. Found only this line

foundry.js:6693 Foundry VTT | Loaded localization file https://assets.forge-vtt.com/bazaar/modules/storyteller/0.3.4/lang/en.json

rtschaefer commented 1 year ago

{ "I18N.MAINTAINERS": ["Xbozon"],

"DOCUMENT.StoryEntry": "Story", "JOURNAL.ActionConfigure": "Configure",

"STORYTELLER.CopyID": "Copy story ID", "STORYTELLER.Journal": "Journals", "STORYTELLER.Stories": "Stories", "STORYTELLER.ChangeImage": "Click here to change image", "STORYTELLER.CantCreateFolder": "Folder creation is not currently supported, wait for future updates! Thanks for understanding!", "STORYTELLER.BookOpenSound": "Enable book opening sound", "STORYTELLER.BookOpenSoundHint": "For each user individually", "STORYTELLER.StoryName": "Story name:",

"STORYTELLER.Settings.Theme": "Change the style of the story", "STORYTELLER.Settings.ThemeHint": "Changes the theme for all players", "STORYTELLER.Settings.ThemeBook": "Book", "STORYTELLER.Settings.ThemeNewspaper": "Newspaper", "STORYTELLER.Settings.Size": "The size of the story on the screen", "STORYTELLER.Settings.SizeHint": "100% takes up almost the entire screen height, 80% takes up no more than 80% of the screen height"

Xbozon commented 1 year ago

Two ways: 1) Wait for the weekend, I think to finish the update over the weekend. 2) Pull out the old stories manually. It's a little confusing, but not hard, here are the instructions:

image

Xbozon commented 1 year ago

Open the console, enter the following text in the ">" field and press enter.

game.settings.get('storyteller', 'storiesEntries')

In the drop-down list you can find all the information about your stories.

Not very convenient, but safe.

Xbozon commented 1 year ago

Here:

image

rtschaefer commented 1 year ago

This is what I get back

game.settings.get('storyteller', 'storiesEntries') foundry.js:2721 Uncaught Error: This is not a registered game setting [No packages detected] at ClientSettings.get (foundry.js:2721:42) at :1:15

Xbozon commented 1 year ago

You have disabled a module in the modification list

:D

rtschaefer commented 1 year ago

Okay so what modules do I need to enable? Storyteller is active. So there is a conflict? (sorry I am not more versed in this stuff).

Xbozon commented 1 year ago

@rtschaefer Very strange, because this error occurs only if the module was not enabled. Maybe you need to restart your world somehow. Don't worry about questions, we're doing all we can :)

rtschaefer commented 1 year ago

Okay, I will restart Foundry and see what happens. Thank you.

rtschaefer commented 1 year ago

ame.settings.get('storyteller', 'storiesEntries') foundry.js:2721 Uncaught Error: This is not a registered game setting [No packages detected] at ClientSettings.get (foundry.js:2721:42) at :1:15

rtschaefer commented 1 year ago

I am not seeing any errors related to Storyteller. There are a good number of other errors that I am already living with (version 10 is a love/hate thing so far.

If only I could locate the text, I'd be in tall cotton for Friday night.

rtschaefer commented 1 year ago

Weird. When I went to v3.4 and rebooted my server. Now Storyteller is turned on, but it now does not even appear in my Game Settings (where you can change the size of the stories, go from book to newspaper, turn page sound on/off, etc.). Very strange.

Xbozon commented 1 year ago

Time for rough action :D 0) Turn off storyteller completely. 1) Open the console, check that the error is still there

game.settings.get('storyteller', 'storiesEntries')

2) Insert and execute this code:

game.settings.register('storyteller', 'storiesEntries', {
        scope: 'world',
        config: false,
        type: Object,
        default: {}
    })

3) Call game.settings.get('storyteller', 'storiesEntries') again

image

Xbozon commented 1 year ago

@rtschaefer You are using a very old version, I'm surprised anything ever worked

rtschaefer commented 1 year ago

game.settings.register('storyteller', 'storiesEntries', { scope: 'world', config: false, type: Object, default: {} }) undefined

rtschaefer commented 1 year ago

I then re-entered

game.settings.get('storyteller', 'storiesEntries')

No error came back, but when I turned the module back on.... same error comes back.

Xbozon commented 1 year ago

This does not fix the module itself, but only displays a list of saved stories, look carefully at the screenshots.

Xbozon commented 1 year ago

Right now the module is not working in v10 and I haven't finished the update yet.

Xbozon commented 1 year ago

@rtschaefer I updated storyteller to v10, but temporarily removed the newspaper style. Please check if you have time.