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
Takenaga
Explorer At Heart
Explorer At Heart
Posts: 456
Joined: Sun Dec 04, 2011 12:58 pm
Gender: Male
Sexual Orientation: Straight
Location: Netherlands

Re: Guideme - Bug

Post by Takenaga »

PlayfulGuy wrote: @philo - did you note my other post too? I had a question about using overRide.leftHtml and forms.

Also I've been playing with html for the left panel but can't get images to display. I just get the little X in a box thing. How would I construct the path to the image (like is there a certain protocol I have to specify or something), and do I need to add the image to the jar file?

Thanks
PG
I will put this feature request on the list on github and try to look into it.
Try GuideMe or TeaseMe to play Milovana Teases offline or create your own offline teases with highres images and videos... don't forget to support milovana and rate the online teases!
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 - Bug

Post by philo »

Takenaga wrote:
PlayfulGuy wrote: @philo - did you note my other post too? I had a question about using overRide.leftHtml and forms.

Also I've been playing with html for the left panel but can't get images to display. I just get the little X in a box thing. How would I construct the path to the image (like is there a certain protocol I have to specify or something), and do I need to add the image to the jar file?

Thanks
PG
I will put this feature request on the list on github and try to look into it.
The image needs to be in the media directory
it also needs the correct path
it is probably documented in this thread somewhere, I will not be able to check the code til Friday, but it does work with the correct path.
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 »

philo wrote:
meson1 wrote:Are images in the right hand pane not supported? Or is it that GuideMe isn't set up to look for them in the media directory?
meson1.
It is a browser control, so will handle any html.
I would guess it would be looking for the image in the install directory as the browser does not know where the media directory is.
I am already doing a string replace on the html to replace <span>xxxx</span> where xxxx is any of the settings or java variables, I will do something similar with the media directory.

So \MediaDir\ would get replaced by the actual path to the media directory

Code: Select all

<img src="\MediaDir\button.png" alt="stroke" height="128"/>
Change is in 0.0.9
I think this should work for the lefthtml pane as well
wheresmything
Explorer
Explorer
Posts: 62
Joined: Tue Nov 16, 2010 2:02 pm

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

Post by wheresmything »

OK, this is a bit off topic, but as I start work on my revolutionary idea (which is actually not the least bit revolutionary) I wanted to use the models from the page 1 image of Hearts Club, but I don't know who they are. Can anyone tell me who those 6 models are?

Thanks
guardianx
Explorer
Explorer
Posts: 32
Joined: Sun Mar 30, 2014 7:24 pm

Re: Guideme - Bug

Post by guardianx »

PlayfulGuy wrote: @philo - did you note my other post too? I had a question about using overRide.leftHtml and forms.

Also I've been playing with html for the left panel but can't get images to display. I just get the little X in a box thing. How would I construct the path to the image (like is there a certain protocol I have to specify or something), and do I need to add the image to the jar file?

Thanks
PG
I use leftHtml fairly extensively in my tease here.

This is what I learned:
1. One way input.
You can pass variables to the HTML page via query string parameters. But you cannot pass values from the html form objects back to guideMe.

2. Browser differences.
GuideMe uses IE browser engine to render the HTML. The version of IE is dependent on what you have on your OS. So your pc might use IE8, while someone else might be IE7 etc.

This you means you might have to deal with possible IE quirks, CSS style behavior etc. HTML may look perfectly fine yet look funny on another pc. I have no clue what happens on a mac, I'm guessing Safari is being used.
User avatar
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

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

Post by Trusfrated »

wheresmything wrote:OK, this is a bit off topic, but as I start work on my revolutionary idea (which is actually not the least bit revolutionary) I wanted to use the models from the page 1 image of Hearts Club, but I don't know who they are. Can anyone tell me who those 6 models are?

Thanks
Kayden Kross, Elle Alexandra
Khyanna Song, Bailey Rose
Tori Black, Tiffany Thompson

(They're all in the Hearts Club beta download.)
ImageImage
wheresmything
Explorer
Explorer
Posts: 62
Joined: Tue Nov 16, 2010 2:02 pm

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

Post by wheresmything »

Excellent, thanks
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 »

@guardianx - Thanks. Looking through your code helped me sort out the issue, and taught me a couple tricks too. Much appreciated.

Now can someone tell me what I'm doing wrong? I've made a page to allow the user to enter a passcode, verify the code and go to the appropriate page. It should be dirt simple but....

Here's my page:

Code: Select all

     <Page id="getCode">       <Text>        <p>Page to enter passcode<br />           </p>            <form>              <p>So what's the code boy? <input type="text" name="TheCode" size="10" value=""/><br />            </p>            </form>      </Text>             <Image id="start.jpg" />          <Button target="CodeIncorrect" onclick="checkCode()">Right?</Button>       <javascript>        <![CDATA[        function checkCode() {            var res = guideSettings.getFormField("TheCode");        var theCode = scriptVars.get("vCode");                jscriptLog("checkCode: comparing res='" + res + "' to vCode='" + theCode +"'");                     if ( res == theCode ) {          jscriptLog("Codes match!");                     overRide.setPage("page96");        }        else {          jscriptLog("Codes do NOT match!");                    }        }        ]]>           </javascript>    </Page> 
When I run the tease I get the following jscript.log

Code: Select all

 2014-08-11 12:44:52,081 INFO  Jscript - Starting ScriptVariables: {vCode=4345}2014-08-11 12:44:52,081 INFO  Jscript - Starting Flags {Image37,Image07,Image26,Image44}2014-08-11 12:44:52,089 INFO  Jscript - checkCode: comparing res='4345' to vCode='4345'2014-08-11 12:44:52,089 INFO  Jscript - Codes match!2014-08-11 12:44:52,089 INFO  Jscript - Ending ScriptVariables: {vCode=4345}2014-08-11 12:44:52,089 INFO  Jscript - Ending Flags {Image37,Image07,Image26,Image44} 
So, it all appears to work, but I end up on the page "CodeIncorrect" as defined on the button, rather than the target page being overridden by the onClick function as intended.

WTF?

Thanks for any and all input,

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:Now can someone tell me what I'm doing wrong? I've made a page to allow the user to enter a passcode, verify the code and go to the appropriate page. It should be dirt simple but....
          overRide.setPage("page96");
overRide only works in function pageLoad()

So if you set a variable in function checkCode()

Code: Select all

        if ( res == theCode ) {          jscriptLog("Codes match!");          scriptVars.put("code", "correct");        }        else {          jscriptLog("Codes do NOT match!");          scriptVars.put("code", "incorrect");                   } 
On page CodeIncorrect check the value and redirect if needed

Code: Select all

function pageLoad(){    var code= scriptVars.get("code");     if (code == "correct") {          overRide.setPage("page96");    } else {      //Actual script stuff for the page   }}
It should work I have not tested the above code,

thinking about it it is a bit clunky so I might change it so it at least checks overRide.setPage in a future release.
guardianx
Explorer
Explorer
Posts: 32
Joined: Sun Mar 30, 2014 7:24 pm

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

Post by guardianx »

PlayfulGuy wrote: Now can someone tell me what I'm doing wrong? I've made a page to allow the user to enter a passcode, verify the code and go to the appropriate page. It should be dirt simple but....
I suggest using a page that does nothing but validate & redirect. All you need to do is set your button to save the form values and call that page.

Also, you will want to trim() the string returned from getFormField().

Code: Select all

 <Page id="start">  <javascript>    <![CDATA[        function saveCode() {            var res = guideSettings.getFormField("TheCode").trim();            scriptVars.put("vTheCode", res);        }    ]]>      </javascript>  <Text>    <p>Page to enter passcode</p>    <p>So what's the code boy? </p>    <form>        <input type="text" name="TheCode" size="10" value=""/>    </form>  </Text>        <Image id="start.jpg" />     <Button target="Validate" onclick="saveCode()">Right?</Button></Page> <Page id="Validate">  <javascript>    <![CDATA[        function pageLoad() {            var vTheCode = scriptVars.get("vTheCode");            var vCode = "abc123";             if (vTheCode == vCode)  {                overRide.setPage("Success");            } else {                overRide.setPage("Failure");            }        }    ]]>      </javascript>  <Text>  </Text>      </Page> <Page id="Failure">    <Text>Wrong code!</Text></Page> <Page id="Success">     <Text>Right code!</Text></Page> 
Lex_Shade
Explorer
Explorer
Posts: 6
Joined: Mon Jul 28, 2014 11:06 am
Gender: Male
Sexual Orientation: Straight

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

Post by Lex_Shade »

The importer generates a wrong closing url tag. E.g.:

Code: Select all

 <Url>http://www.milovana.com/webteases/showflash.php?id=26521</Url>  <Author id="17204">    <Name>1885</Name>    <Url/>  </Author> 
Last edited by Lex_Shade on Wed Aug 13, 2014 5:08 pm, edited 1 time in total.
User avatar
Takenaga
Explorer At Heart
Explorer At Heart
Posts: 456
Joined: Sun Dec 04, 2011 12:58 pm
Gender: Male
Sexual Orientation: Straight
Location: Netherlands

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

Post by Takenaga »

Lex_Shade wrote:The importer generates a wrong closing url tag. E.g.:

Code: Select all

 <Url>http://www.milovana.com/webteases/showflash.php?id=26521</Url>  <Author id="17204">    <Name>1885</Name>    <Url/> 
What's wrong, is the </Author> tag missing?
The <Url/> in your last line is an empty element and is used for the url to the author, if any (<Url/> is the same as <Url></Url>).
Try GuideMe or TeaseMe to play Milovana Teases offline or create your own offline teases with highres images and videos... don't forget to support milovana and rate the online teases!
Lex_Shade
Explorer
Explorer
Posts: 6
Joined: Mon Jul 28, 2014 11:06 am
Gender: Male
Sexual Orientation: Straight

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

Post by Lex_Shade »

I was wondering why the parser was not complaining that.
Your are correct. I mixed up <tag/> with </tag> :oops:
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 »

I’ve finished my first Guideme tease, “10 Seconds” and have uploaded it here:

https://mega.co.nz/#!WgdhGTQY!24w71GWTe ... _Mary3PjsI

Please provide feedback in the FB post so I know what I can improve on for my next one.
Enjoy!

Update: The main file has been updated and should correct the issues using previous versions.

https://mega.co.nz/#!H99XQILQ!j44xI-yt- ... s5lMCykIwg
Last edited by BoundSquirrel on Sat Sep 06, 2014 3:55 pm, edited 1 time in total.
Studfu55
Explorer
Explorer
Posts: 18
Joined: Sun Aug 05, 2012 9:18 am
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

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

Post by Studfu55 »

guideme jar update doesn't seem to work for me and a few others if what I am reading is correct. Any suggestions?
Post Reply