Input Text Bug?


#1

Howdy, y’all.

I’ve been a long time lurker of this site and finally got the chance to sit around and mess with choicescript. That being said, maybe there is some glaringly obvious mistake here that I’m missing as a beginner, but from everything I’ve read thus far, it’s a bug, and one that has been seen before.

I’m currently in the startup.txt, I’ve downloaded the most up to date (to my knowledge) ChoiceScript source, and I’m testing the coding in an updated Firefox.

*create first_name “”

*input_text first_name
*page_break

Hi ${first_name}!

I’m not really sure what’s wrong, but when I open up the game in Firefox, I’ll go to input a name, hit next, and it simply says Hi !, with a blank space where the name should be. If I input a value for first_name, it does show up.

The only other thing I thought to try would be running it in Internet Explorer, but it opened with a pop-up from the browser saying “Permission denied.”

Any thoughts or fixes?


#2

Yep, you’re right, seems to be a bug in the latest version. @dfabulich?


#3

Whoops! It’s fixed now in the latest version of ChoiceScript up on github. (All these input_text bugs are the result of added complexity due to supporting saving on the stats screen. :frowning: )