There is one bug that never seems to go away with Eos and is inconsistent.
Essentially, we set userName as the players name, and it works most of the time. But occasionally, it displays undefined instead and I can't see a rhyme or reason for it. I have some examples from when someone played my latest tease https://milovana.com/eos/editor/50854/preview (I'll make a post on the forum if you don't see this before then just so there's a record)
Here's some page examples and the text where it randomly went undefined
1-Kang-5
"Oh my God, undefined! I was joking, but...wow, I'm learning a lot about you tonight!
Day-2-Kang-2
"Airport Selfie!
Finally got out of bed huh, undefined!"
Eos 'undefined' bug
-
- Explorer
- Posts: 65
- Joined: Mon Sep 01, 2014 10:30 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Location: Germany
Re: Eos 'undefined' bug
When starting the tease the variable as which the name gets saved is calledShattered wrote: ↑Tue Mar 12, 2024 2:34 pm There is one bug that never seems to go away with Eos and is inconsistent.
Essentially, we set userName as the players name, and it works most of the time. But occasionally, it displays undefined instead and I can't see a rhyme or reason for it. I have some examples from when someone played my latest tease https://milovana.com/eos/editor/50854/preview (I'll make a post on the forum if you don't see this before then just so there's a record)
Here's some page examples and the text where it randomly went undefined
1-Kang-5
"Oh my God, undefined! I was joking, but...wow, I'm learning a lot about you tonight!
Day-2-Kang-2
"Airport Selfie!
Finally got out of bed huh, undefined!"
. Are you sure the variable "userName" is generated and/ or saved before going to that page? Scrolling through it it seems to be chosen at day2 but I never see it getting saved.userRealname
80%-ish dominant, straight, German, 30
PMs are always welcome.
PMs are always welcome.
- Shattered
- Experimentor
- Posts: 1243
- Joined: Fri Jan 11, 2013 6:41 pm
- I am a: Switch
- Location: United Kingdom
Re: Eos 'undefined' bug
This does explain those two scenarios fixed that bug at least, but I have had other reports of it being all undefined while other variables are savingHerpDerp42 wrote: ↑Tue Mar 12, 2024 3:00 pmWhen starting the tease the variable as which the name gets saved is calledShattered wrote: ↑Tue Mar 12, 2024 2:34 pm There is one bug that never seems to go away with Eos and is inconsistent.
Essentially, we set userName as the players name, and it works most of the time. But occasionally, it displays undefined instead and I can't see a rhyme or reason for it. I have some examples from when someone played my latest tease https://milovana.com/eos/editor/50854/preview (I'll make a post on the forum if you don't see this before then just so there's a record)
Here's some page examples and the text where it randomly went undefined
1-Kang-5
"Oh my God, undefined! I was joking, but...wow, I'm learning a lot about you tonight!
Day-2-Kang-2
"Airport Selfie!
Finally got out of bed huh, undefined!". Are you sure the variable "userName" is generated and/ or saved before going to that page? Scrolling through it it seems to be chosen at day2 but I never see it getting saved.userRealname
Salutations, Stranger.
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
-
- Explorer
- Posts: 65
- Joined: Mon Sep 01, 2014 10:30 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Location: Germany
Re: Eos 'undefined' bug
While testing I experienced myself that the variables are saved locally in the session. There is a good chance that the variable wasn't properly saved /loaded using the teaseStorage but only "stayed" around. Are you certain the variables you considered saved werent just stuck in your browser?Shattered wrote: ↑Tue Mar 12, 2024 6:03 pmThis does explain those two scenarios fixed that bug at least, but I have had other reports of it being all undefined while other variables are savingHerpDerp42 wrote: ↑Tue Mar 12, 2024 3:00 pmWhen starting the tease the variable as which the name gets saved is calledShattered wrote: ↑Tue Mar 12, 2024 2:34 pm There is one bug that never seems to go away with Eos and is inconsistent.
Essentially, we set userName as the players name, and it works most of the time. But occasionally, it displays undefined instead and I can't see a rhyme or reason for it. I have some examples from when someone played my latest tease https://milovana.com/eos/editor/50854/preview (I'll make a post on the forum if you don't see this before then just so there's a record)
Here's some page examples and the text where it randomly went undefined
1-Kang-5
"Oh my God, undefined! I was joking, but...wow, I'm learning a lot about you tonight!
Day-2-Kang-2
"Airport Selfie!
Finally got out of bed huh, undefined!". Are you sure the variable "userName" is generated and/ or saved before going to that page? Scrolling through it it seems to be chosen at day2 but I never see it getting saved.userRealname
80%-ish dominant, straight, German, 30
PMs are always welcome.
PMs are always welcome.
Re: Eos 'undefined' bug
I had something similar when testing a page that picks text to display out of a list via JS and my first run-through returned "undefined", but every loop through after that worked correctly. It could maybe be an index out of range exception, but for that to happen the built-in random function would have needed to return an impossible number.
Also out of general curiosity Shattered, what happens if someone edits your tease using the preview link you sent out? Does it get edited on your end too? Or does it refuse to save if you're not the owner of the tease?
Also out of general curiosity Shattered, what happens if someone edits your tease using the preview link you sent out? Does it get edited on your end too? Or does it refuse to save if you're not the owner of the tease?
- Shattered
- Experimentor
- Posts: 1243
- Joined: Fri Jan 11, 2013 6:41 pm
- I am a: Switch
- Location: United Kingdom
Re: Eos 'undefined' bug
In my testing it worked, then I have reports it doesn't, so I can't be sure, but I always hear about it from someone..HerpDerp42 wrote: ↑Tue Mar 12, 2024 6:20 pmWhile testing I experienced myself that the variables are saved locally in the session. There is a good chance that the variable wasn't properly saved /loaded using the teaseStorage but only "stayed" around. Are you certain the variables you considered saved werent just stuck in your browser?Shattered wrote: ↑Tue Mar 12, 2024 6:03 pmThis does explain those two scenarios fixed that bug at least, but I have had other reports of it being all undefined while other variables are savingHerpDerp42 wrote: ↑Tue Mar 12, 2024 3:00 pm
When starting the tease the variable as which the name gets saved is called . Are you sure the variable "userName" is generated and/ or saved before going to that page? Scrolling through it it seems to be chosen at day2 but I never see it getting saved.
I didn't think you could edit from a preview link so you might need more detail there!Nice-Log wrote: ↑Tue Mar 12, 2024 6:26 pm I had something similar when testing a page that picks text to display out of a list via JS and my first run-through returned "undefined", but every loop through after that worked correctly. It could maybe be an index out of range exception, but for that to happen the built-in random function would have needed to return an impossible number.
Also out of general curiosity Shattered, what happens if someone edits your tease using the preview link you sent out? Does it get edited on your end too? Or does it refuse to save if you're not the owner of the tease?
Salutations, Stranger.
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
-
- Explorer
- Posts: 65
- Joined: Mon Sep 01, 2014 10:30 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Location: Germany
Re: Eos 'undefined' bug
That was kind of my point: while testing you were likely always usign the same session. Does even while playing day2 the variables form day1 were still saved, whereas the players did play those in two different sessions so the variable didn't exist for them.
I reocmmend using one single "end" page in which all variable are saved at the end. Now instead of ending somewhere always redirect to that end page to ensure you never forget any variable.
About the editing: I was a bit stupid and brainlessly edited something. But it said 'Error' on the top right, so any changes are probably not saved.
80%-ish dominant, straight, German, 30
PMs are always welcome.
PMs are always welcome.
Who is online
Users browsing this forum: No registered users and 12 guests