[Closed Beta Feedback Thread] - Estim Experiment Day 2

All about the past, current and future webteases and the art of webteasing in general.
---
modnar
Explorer
Explorer
Posts: 64
Joined: Thu Apr 26, 2018 1:22 pm
Gender: Male
Sexual Orientation: Straight

Re: [Closed Beta Feedback Thread] - Estim Experiment Day 2

Post by modnar »

volumestart: See skipintro::eval - I guess this was supposed to be "volstart"

Code: Select all

      {
        "eval": {
          "script": "volumne = volumestart"
        }
      },
Secondly, It seems the start page is loading 0 into volcalibrate

Code: Select all

volcalibrate = storagevolcalibrate;
But your init script has the following:

Code: Select all

var storagevolcalibrate = teaseStorage.getItem('storagevolcalibrate') || 0;
But later on inside the init script

Code: Select all

var volcalibrate=40;
So by time I've gone through start, and gone to calibration, the set volume is 0 because of being 0 from the storage value from the start page.

Hope this helps.

Regarding the property errors, maybe you could wrap the eval inside "if (Sound.get('estim')) {"
User avatar
boundupone
Explorer At Heart
Explorer At Heart
Posts: 614
Joined: Sat Jun 01, 2013 8:01 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: [Closed Beta Feedback Thread] - Estim Experiment Day 2

Post by boundupone »

modnar wrote: Thu Jul 16, 2020 11:14 am volumestart: See skipintro::eval - I guess this was supposed to be "volstart"

Code: Select all

      {
        "eval": {
          "script": "volumne = volumestart"
        }
      },
Secondly, It seems the start page is loading 0 into volcalibrate

Code: Select all

volcalibrate = storagevolcalibrate;
But your init script has the following:

Code: Select all

var storagevolcalibrate = teaseStorage.getItem('storagevolcalibrate') || 0;
But later on inside the init script

Code: Select all

var volcalibrate=40;
So by time I've gone through start, and gone to calibration, the set volume is 0 because of being 0 from the storage value from the start page.

Hope this helps.

Regarding the property errors, maybe you could wrap the eval inside "if (Sound.get('estim')) {"
Thanks, I have now changed them from 0 to 40 to see if this resolves the problems. Strange this never was mentioned before publishing. I wonder if there is a difference between test and live environments?
Try anything once!
modnar
Explorer
Explorer
Posts: 64
Joined: Thu Apr 26, 2018 1:22 pm
Gender: Male
Sexual Orientation: Straight

Re: [Closed Beta Feedback Thread] - Estim Experiment Day 2

Post by modnar »

I think the problem is, if you first started it and went directly into the settings page then it would've stored your volume settings. In theory what code was there makes sense and is the expected result given the path taken.

I can confirm that loading -> calibrate on a new session is now working.

I still am getting

Code: Select all

TypeError: Cannot read property 'setVolume' of undefined
When progressing sometimes. I don't think it seems to effect anything right now. The only solution would be to check it exists before hand. "if (Sound.get('estim')){..."

I am looking forward to having a proper go with this soon, great job from what I can see so far!
Post Reply