[E] Case disappeared in Storyboard

Post about any bugs or other issues that you find on AAO.

Moderator: EN - Forum Moderators

Post Reply
GoldDoubleAAO
Posts: 1
Joined: Sun Nov 24, 2024 1:06 am
Gender: Male
Spoken languages: English

[E] Case disappeared in Storyboard

Post by GoldDoubleAAO »

User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Link: Trial link Enthalpy has been added as a collaborator.
What happened?: The entire case has gone missing in the storyboard. The only thing that remains is an investigation block that can no longer be properly opened.
What did you expect to happen?: The trial was supposed to appear.
Can you reproduce the problem?: No.
What did you do before the problem showed up?: Added a second investigation block with about two or three more frames in the introduction conversation panel before saving and when opening the trial in the editor the next day I was met with the bug.
papaouté
Posts: 310
Joined: Wed Mar 13, 2024 7:48 pm
Gender: Male
Spoken languages: Français(Langue mat.), English(B1), Espanol(B1)

Re: [E] Case disappeared in Storyboard

Post by papaouté »

Did you try to open the former save on the bottom of the Trial Manager ?

Image
Image
User avatar
pinkcocoapowder
Posts: 18
Joined: Sat Apr 16, 2022 4:35 am
Spoken languages: English, Spanish
Location: the moon
Contact:

Re: [E] Case disappeared in Storyboard

Post by pinkcocoapowder »

papaouté wrote: Mon Dec 09, 2024 9:43 am Did you try to open the former save on the bottom of the Trial Manager ?
thank u for ur concern but the trial has been safely backed up and reuploaded ^_^ !!
we just wanted to file the strange bug that gold ran into
User avatar
omroom
Posts: 36
Joined: Wed Mar 30, 2016 12:52 am
Spoken languages: English

[E] Storyboard blanked out

Post by omroom »

User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Link: https://aaonline.fr/editor.php?trial_id=147978 (enthalpy added as collaborator)
What happened?: Opened my case comp entry to work on it and while every other tab is fine, the storyboard tab only shows the first frame without any of the text or names on it. example of what it currently looks like:
Spoiler : gg1 :
Image
When playtesting the case seems to run just fine (albeit with a few hiccups of character sprites disappearing) and shows what should be on the storyboard. I can skip around and everything looks to work just fine, see below for example:
Spoiler : gg2 :
Image
Went into console at suggestion of timeaxis and this is what showed up:
Spoiler : gg3 :
Image
All other tabs seem to be fine, and when creating new frames it matches the frames that were in the editor before disappearance.
What did you expect to happen?: For the storyboard I saved last night to show up !_!
Can you reproduce the problem?: Yes it shows up every time I try to load it
What did you do before the problem showed up?: Last work done on it was switching out a character sprite and then saving it last night
User avatar
omroom
Posts: 36
Joined: Wed Mar 30, 2016 12:52 am
Spoken languages: English

Re: [E] Storyboard blanked out

Post by omroom »

omroom wrote: Wed Dec 11, 2024 3:22 am User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Link: https://aaonline.fr/editor.php?trial_id=147978 (enthalpy added as collaborator)
What happened?: Opened my case comp entry to work on it and while every other tab is fine, the storyboard tab only shows the first frame without any of the text or names on it. example of what it currently looks like:
Spoiler : gg1 :
Image
When playtesting the case seems to run just fine (albeit with a few hiccups of character sprites disappearing) and shows what should be on the storyboard. I can skip around and everything looks to work just fine, see below for example:
Spoiler : gg2 :
Image
Went into console at suggestion of timeaxis and this is what showed up:
Spoiler : gg3 :
Image
All other tabs seem to be fine, and when creating new frames it matches the frames that were in the editor before disappearance.
What did you expect to happen?: For the storyboard I saved last night to show up !_!
Can you reproduce the problem?: Yes it shows up every time I try to load it
What did you do before the problem showed up?: Last work done on it was switching out a character sprite and then saving it last night
also did work making a cross-examination (making some statements / started co-counsel / one press frame)
User avatar
Enthalpy
Community Manager
Posts: 5217
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Case disappeared in Storyboard

Post by Enthalpy »

Sufficient conditions to create the bug in a trial:

1. Create a blank frame.
2. Open the full screen editor. Set the talking character to ???.
3. In the light screen editor, set a place.
4. In the full screen editor, confirm that the None character is present. Add another character.
5. Save the trial, and then open the storyboard in the modified trial.
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
User avatar
Enthalpy
Community Manager
Posts: 5217
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Case disappeared in Storyboard

Post by Enthalpy »

I've gone ahead and merged two reports of the same bug into a single topic. Now that another critical bug has had its fix PRd, I'm going to focus on this one next...
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
User avatar
Enthalpy
Community Manager
Posts: 5217
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Case disappeared in Storyboard

Post by Enthalpy »

This will be fixed by this pull request.

The problem is specific to having ??? marked as the speaker. If ??? is the speaker do not use the screen minieditor but only use the full frame editor. That won't be perfect, but it's the best I can recommend for now.

When this PR (and the one I mentioned in my previous post) are merged in, I'll ask Unas to update AAO to minimize further damage. In the meantime, I'm going to edit omroom's trial to fix the corrupted data and make your entry editable again.

Gold, I'll do the same thing for you once you tell me what trial IDs need fixing.
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
User avatar
Enthalpy
Community Manager
Posts: 5217
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Case disappeared in Storyboard

Post by Enthalpy »

This is now fixed! If there are no reports of this still being an issue, I'll close this in a week.

I can personally fix any trial data that's been corrupted by this issue, but for those of you who want an automated way to do it, run this script and save.

Code: Select all

for (var i = 1; i < trial_data.frames.length; i++) {
    var frame_data = trial_data.frames[i];
    for (var j = frame_data.characters.length - 1; j >= 0; j--) {
        if (frame_data.characters[j].profile_id == -1) {
            frame_data.characters.splice(j, 1);
        }
    }
}
An earlier version of this code used !==. == is correct.
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
Crazalu
Posts: 2
Joined: Thu Dec 16, 2021 2:30 am
Gender: Male
Spoken languages: English
Contact:

Re: [E] Case disappeared in Storyboard

Post by Crazalu »

How do I fix, idk how to run script
https://i.imgur.com/dx3BM98.png
it just won't load :(
User avatar
Enthalpy
Community Manager
Posts: 5217
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Case disappeared in Storyboard

Post by Enthalpy »

Crazalu wrote: Fri Dec 13, 2024 6:43 am How do I fix, idk how to run script
https://i.imgur.com/dx3BM98.png
it just won't load :(
Trial 147173 fixed! Anybody else who needs a trial fixed, please give me the trial ID.
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
Post Reply