GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Webteases are great, but what if you're in the mood for a slightly more immersive experience? Chat about Tease AI and other offline tease software.

Moderator: 1885

User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Bugs?

Post by PlayfulGuy »

Hi Philo,

First off let me say that I'm loving the latest version of Guideme. Really like the full screen mode and the new features I've tried have been great. I was reading through the wiki and found a bunch of new guide methods I wasn't aware of either. Great stuff! Thanks for all your hard work. If you ask me you can name your own reward.

That said, in my experimenting I have run into a couple issues. I'm using version 1.6

First, I've tried the new functions guide.setLeftBody() and guide.setLeftHtml() and neither appears to work. The test file below includes setLeftBody() which if I understand correctly should just put the specified text on the left, but for me it comes up blank. If I right-click and "View Source" on the left panel, it's a fully formed html page, with an empty body.

I get similar results with guide.setLeftHtml(). I have some existing pages that use overRide.setLeftHtml() so I know my HTML is good, but when I tried moving it to the left panel by using guide.setLeftHtml() instead of overRide I get the same blank left panel.

**Edit** I just clued in that these functions are duplicated as overRide.setLeftHtml() and overRide.setLeftBody() and these work as expected.

Second, and this may not be a Guideme issue, but I'm looking for ideas.

Also illustrated in the following test file, I've created a simple form to get some user input.
If you enter something in the form field and click the Get Input button it works fine.
However, if you type something and press enter (as is a natural response) it trashes the right html panel.
I don't know why, or what to do about it. I kind of think the browser component is looking for a target or submit button or something, but what would I give it as a target? Is there a way to make pressing enter activate the default button?

Thanks again, and any ideas on this form thing are greatly appreciated.

PG

Code: Select all

<Tease scriptVersion="v0.1">
  <Settings>
    <ForceStartPage>true</ForceStartPage>
  </Settings>

  <Title>Bug demo</Title>

  <Pages>
    <Page id="start">
        <Text>
          If you click in the form field and press enter the right html gets trashed.
          <form>
          Enter something: <input type='text' name='UserInput' value='' size='10' />
          </form>

          Your last input was <span>UserInput</span>
        </Text>
    	  <Button target="start" onclick="GetInput()" >Get input</Button>

    	  <javascript>
    		<![CDATA[
          function pageLoad() {
            jscriptLog("Setting left panel text");
            guide.setLeftBody("Some text for the left panel","");
          }
      		function GetInput() {
      			var text = guideSettings.getFormField("UserInput");
            scriptVars.put("UserInput", text);
      		}
    		]]>
    	  </javascript>

    </Page>
  </Pages>

</Tease>
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by PlayfulGuy »

@Philo

Bump in case you've missed my previous post.
Wondering if you have any ideas on the guide.setLeftHtml() and guide.setRightHtml() issue. Neither appears to work, and there is no overRide equivalent for setRightHtml() that sets the entire html.

I'm trying to implement something and really need the setRightHtml to work since I need to add stuff to the head section of the rightHtml.

PG
User avatar
ClosingTheGoddamPorn
Explorer
Explorer
Posts: 23
Joined: Mon Apr 11, 2016 11:08 am
Gender: Female
Sexual Orientation: Lesbian
I am a: Submissive

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by ClosingTheGoddamPorn »

Does anyone have the download link for the Skirmish hentai set thing? I cant' seem to find it anywhere >.<
User avatar
SexyTom
Explorer At Heart
Explorer At Heart
Posts: 112
Joined: Sat Jul 26, 2014 9:35 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany
Contact:

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by SexyTom »

ClosingTheGoddamPorn wrote:Does anyone have the download link for the Skirmish hentai set thing? I cant' seem to find it anywhere >.<
No. But I still had it on my harddisk. You need WinRAR5 to extract it.
best wishes, Tom.
User avatar
ClosingTheGoddamPorn
Explorer
Explorer
Posts: 23
Joined: Mon Apr 11, 2016 11:08 am
Gender: Female
Sexual Orientation: Lesbian
I am a: Submissive

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by ClosingTheGoddamPorn »

SexyTom wrote:
ClosingTheGoddamPorn wrote:Does anyone have the download link for the Skirmish hentai set thing? I cant' seem to find it anywhere >.<
No. But I still had it on my harddisk. You need WinRAR5 to extract it.
Thank you! Just on the off chance that this contains a virus, i'm gonna pass on the download, but still thank u for bein on the ball to help!
User avatar
SexyTom
Explorer At Heart
Explorer At Heart
Posts: 112
Joined: Sat Jul 26, 2014 9:35 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany
Contact:

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by SexyTom »

Why you think there could be a virus? It only contains pictures and the XML file. :blink:
There is surely NO virus! :-)

And here is the virus total scan log, if you don't believe me. :-P
best wishes, Tom.
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by philo »

PlayfulGuy wrote:@Philo

Bump in case you've missed my previous post.
Wondering if you have any ideas on the guide.setLeftHtml() and guide.setRightHtml() issue. Neither appears to work, and there is no overRide equivalent for setRightHtml() that sets the entire html.

I'm trying to implement something and really need the setRightHtml to work since I need to add stuff to the head section of the rightHtml.

PG
Sorry have been a bit busy lately.
I was trying to get java script debugging working but not really getting anywhere with it and didn't have working code to look at your issues.
Have given up on debugging for now.
You are correct it is not all coded correctly.

guide.setLeftHtml() should work, but is not designed to work in page load you should use override
It overwrites the lefthtml when the script runs, page load happens before the screen is updated for the page so will get overridden straight away.

guide.setRightHtml() currently just updates the body and CSS, it should overwrite the whole html.
I also need to add an override function for the whole html as you can't do it in page load at the moment.

Will do this when I have time and release 1.7
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by PlayfulGuy »

philo wrote: Sorry have been a bit busy lately.
I was trying to get java script debugging working but not really getting anywhere with it and didn't have working code to look at your issues.
Have given up on debugging for now.
You are correct it is not all coded correctly.

guide.setLeftHtml() should work, but is not designed to work in page load you should use override
It overwrites the lefthtml when the script runs, page load happens before the screen is updated for the page so will get overridden straight away.

guide.setRightHtml() currently just updates the body and CSS, it should overwrite the whole html.
I also need to add an override function for the whole html as you can't do it in page load at the moment.

Will do this when I have time and release 1.7
Ahh! I had forgotten or missed that distinction between page load and after page load. Good to know.

What I really need at the moment then is the overRide version of setRightHtml for on pageload, but both will be great. I'm sure I'll use the guide version soon enough.

For the record, what I'm trying to implement is an elaborate tease system where different elements can be styled to taste through external style sheets. What I discovered is that relative paths in the stylesheet don't work properly. I solved this in the left panel by adding a <Base> tag of the form <base href="file://\\MediaDir\\/" > which made it all work great. Unfortunately I need to do that for the right html as well, and the <Base> tag must be in the head section. Maybe this <Base> tage should be built-in to GuideMe?

To complicate matters, I also discovered (the hard way of course) that inline CSS takes precedence over CSS included from an external style sheet. Since Guideme always includes some default style elements, I needed to be able to completely overRide everything or the inline stuff would take precedence, making some things impossible to change through the stylesheet.

And btw, any input on that form issue I mentioned would be really helpful. I'm baffled as to what happens or why.

PG
BoundSquirrel
Explorer At Heart
Explorer At Heart
Posts: 282
Joined: Sat Mar 15, 2014 5:07 am

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by BoundSquirrel »

Two questions on the new version of Guideme.

1: Is it still possible to save guidesettings that persist even after a tease is reset? I had this working in 1.3 and now it doesn't in 1.5.

For example, if I want to save the value of variable, "xyz" to guidesetting "xyz", what would the script be?

2: Is it possible to have timer-activated buttons in the javascript ed overRide.addbutton function? If so, what is the script to do so?

For example, if I want button xyz to present only if variable abc == 0, and want the button to become active after 30 seconds if it is there, what would the script be?

Also, since it's not said enough, thank you for all of your work on improving the GuideMe engine!

Thank you.
BoundSquirrel
Explorer At Heart
Explorer At Heart
Posts: 282
Joined: Sat Mar 15, 2014 5:07 am

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by BoundSquirrel »

Thanks for the quick reply!

Guide preferences work! That changes everything for my latest project. Thanks.

The button doesn't. Here's an example line for trying to add the button and the resulting error.
Spoiler: show
overRide.addButton("TestButton","Continue","","","","","","","True","ButtonA");
JavaScriptError line 11 column 0 Source null error Can't find method org.guideme.guideme.scripting.OverRide.addButton(string,string,string,string,string,string,string,string,string,string). (script#11)
Thanks again.
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by PlayfulGuy »

BoundSquirrel wrote:Thanks for the quick reply!

Guide preferences work! That changes everything for my latest project. Thanks.

The button doesn't. Here's an example line for trying to add the button and the resulting error.
Spoiler: show
overRide.addButton("TestButton","Continue","","","","","","","True","ButtonA");
JavaScriptError line 11 column 0 Source null error Can't find method org.guideme.guideme.scripting.OverRide.addButton(string,string,string,string,string,string,string,string,string,string). (script#11)
Thanks again.
The addButton() call you are using requires that the second last argument be a boolean value like this:
overRide.addButton("TestButton","Continue","","","","","","",true,"ButtonA");

Note that the "T" in true is not capitalized, and do not enclose it in quotes.

PG
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: GuideMe (TeaseMe v2.0): BETA Thread

Post by philo »

PlayfulGuy wrote:
BoundSquirrel wrote:Thanks for the quick reply!

Guide preferences work! That changes everything for my latest project. Thanks.

The button doesn't. Here's an example line for trying to add the button and the resulting error.
Spoiler: show
overRide.addButton("TestButton","Continue","","","","","","","True","ButtonA");
JavaScriptError line 11 column 0 Source null error Can't find method org.guideme.guideme.scripting.OverRide.addButton(string,string,string,string,string,string,string,string,string,string). (script#11)
Thanks again.
The addButton() call you are using requires that the second last argument be a boolean value like this:
overRide.addButton("TestButton","Continue","","","","","","",true,"ButtonA");

Note that the "T" in true is not capitalized, and do not enclose it in quotes.

PG
Darn beat me to it looked earlier and was going to reply
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Bugs?

Post by PlayfulGuy »

I figured out my other problem I asked about earlier.
PlayfulGuy wrote: Second, and this may not be a Guideme issue, but I'm looking for ideas.

<snip>
I've created a simple form to get some user input.
If you enter something in the form field and click the Get Input button it works fine.
However, if you type something and press enter (as is a natural response) it trashes the right html panel.
I don't know why, or what to do about it. I kind of think the browser component is looking for a target or submit button or something, but what would I give it as a target? Is there a way to make pressing enter activate the default button?
It turns out that the browser object treats pressing enter in a text field as equivalent to pressing the Submit button, even when there is no submit button on the form. To fix it you have to add javascript to the page to catch the enter key press and ignore it.

PG
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

Re: Bugs?

Post by philo »

PlayfulGuy wrote:I figured out my other problem I asked about earlier.
PlayfulGuy wrote: Second, and this may not be a Guideme issue, but I'm looking for ideas.

<snip>
I've created a simple form to get some user input.
If you enter something in the form field and click the Get Input button it works fine.
However, if you type something and press enter (as is a natural response) it trashes the right html panel.
I don't know why, or what to do about it. I kind of think the browser component is looking for a target or submit button or something, but what would I give it as a target? Is there a way to make pressing enter activate the default button?
It turns out that the browser object treats pressing enter in a text field as equivalent to pressing the Submit button, even when there is no submit button on the form. To fix it you have to add javascript to the page to catch the enter key press and ignore it.

PG
I will add code to trap it in guideme, might Implement default button processing where it will press the first button or a default one specified on the button
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

A couple issues

Post by PlayfulGuy »

Philo,

Here are a couple more items I've run across in Guideme.

In Windows, if you browse the images in a folder it creates a hidden system file called thumbs.db of thumbnails for the images.
Guideme will match this if given a wildcard spec like somefolder/*, even though it's a hidden file. The result is you randomly end up with no image, and are wondering why. I don't recall how java handles listing a folder, but shouldn't hidden files be excluded?

Also, in Guideme 1.4 or 1.5 there was a change in how the state file is handled for a tease. In 1.3 the state file was stored in the media folder with the same name as the tease. Now it gets stored in Guideme/data.

I have a large project in the works and keep a stable version in one folder and my development version in another. Now that the state file has moved to a fixed place the two are sharing a state file instead of each having their own. Can we have the state file stay with the main guide file like it did before. Now I have to create a separate copy of Guideme, and run Guideme from one folder when I want dev, and the other when I want my stable version instead of just loading the appropriate tease. If I forget to run the proper copy of Guideme, then it loads and updates the wrong state file.

It was way simpler and more intuitive before.

Thanks,

PG
Post Reply