Page 1 of 1
Stubborn error messages
Posted: Sat Apr 02, 2022 12:56 am
by ritewriter
Hey all,
I'm nearly ready to publish my first tease, but I'm getting a couple of stubborn error messages I can't seem to clear. Any hints would be much appreciated:
Validation Errors
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode NULL value found, but a string is required
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode NULL value found, but a string is required
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]
These appear to be my last few bugs after clearing a few dozen others.
Thanks!
Re: Stubborn error messages
Posted: Sat Apr 02, 2022 5:59 am
by Thamrill
ritewriter wrote: Sat Apr 02, 2022 12:56 am
Hey all,
I'm nearly ready to publish my first tease, but I'm getting a couple of stubborn error messages I can't seem to clear. Any hints would be much appreciated:
Validation Errors
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode NULL value found, but a string is required
pages.breakfast1[10].choice.options[2].commands[3].if.elseCommands[4].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode NULL value found, but a string is required
pages.breakfast6[12].choice.options[2].commands[4].if.elseCommands[3].say.mode Does not have a value in the enumeration ["auto","pause","instant","autoplay","custom"]
These appear to be my last few bugs after clearing a few dozen others.
Thanks!
Looks like those specific say action have their mode unset. Probably setting them in the editor would fix the issue. If they appear to be already set in the editor, probably setting them to another value and resetting them would fix the issue
Re: Stubborn error messages
Posted: Sat Apr 02, 2022 6:36 am
by ritewriter
Yeah, that’s what I did with the say actions that had that error, but these are choices with all kinds of sub actions so I haven’t been able to find the problem. Worst case I’ll have to rewrite those segments.
Re: Stubborn error messages
Posted: Sat Apr 02, 2022 7:50 am
by Thamrill
ritewriter wrote: Sat Apr 02, 2022 6:36 am
Yeah, that’s what I did with the say actions that had that error, but these are choices with all kinds of sub actions so I haven’t been able to find the problem. Worst case I’ll have to rewrite those segments.
Can you please share the ID of your tease? I'll take a look
Re: Stubborn error messages
Posted: Sat Apr 02, 2022 4:50 pm
by ritewriter
Re: Stubborn error messages
Posted: Sat Apr 02, 2022 7:14 pm
by Thamrill
One of the errors is in the page breakfast1, the last action, last options, on the say "<p>You retreat from the kitchen.<\/p>".
The other is in page brakfast6, last action, last choice, , last action on the say "<p>You flee from the kitchen.<\/p>"
You can change both in the script as "instant" and fix this.
If you need it, I can send you the corrected script.
Cheers,
~Thamrill
Re: Stubborn error messages
Posted: Tue Apr 05, 2022 7:59 pm
by ritewriter
I finally was able to stomp these bugs! Thanks for the help.
Re: Stubborn error messages
Posted: Wed Apr 06, 2022 5:39 am
by Thamrill
ritewriter wrote: Tue Apr 05, 2022 7:59 pm
I finally was able to stomp these bugs! Thanks for the help.
No problem. Should you ever encounter something similar, just download the script and search the text for null. Some of the instances were in the initialization scripts, but also those action showed up.
~Thamrill