Page 18 of 121
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri Jun 06, 2014 11:28 am
by d3vi0n
@richman2
What exactly doesn't work?
You can't enter any text into the text field "Milo URL:"?
Or it doesn't import the tease after hitting save?
@PlayfulGuy
is there a specific example why you need the possibity to check "test for the existence" of an preference? What do you mean with "existence"? You define every possible guide preference at the beginning of your script (<pref key="difficulty" ...>). You can't add or delete preferences while running the script in GuideMe. Same goes for user preferences. In result you always know which preferences exist. Or do you meen checking the "value" of an preference? I recommend importing their values at the start of your guide into variables and use these instead for the running time. "
Gotta Edge'em All!" by Baron Hardpenis von Steele uses user and guide preferences a lot. Maybe there you can find some answers.
examples:
Code: Select all
var chastity = userSettings.isPref("chastity").toString() if (chastity == "true") {} var rarity = guideSettings.getPrefNumber("rarity");if (rarity < 5) {} var hostess = guideSettings.getPref("hostess").toString();if (hostess == "Angela") {}
@all
Hi there
i'm working at the moment on a bigger script for GuideMe. Javascript and variables opens so many new possibilites :) I tested a lot global javascript functions and parameters in my script. My previous test scripts (Hearts Club, Skirmish) are nothing in comparison. I also studied closely "
Gotta Edge'em All!" by Baron Hardpenis von Steele (amazing script for guideme!) and got so many new ideas.
Here are the two problems for which i didn't find any solution so far:
(1) Is there any way do import and parse txt or xml-files? Could be great to save lists of "instructions", "models" (for example: Angelica, Tiffany, Michelle) or something similar in separate files.
(2) Is there any way to scan a folder for subfolders, choose randomly one subfolder and return the subfolder path? Same question goes for scanning a folder for files and return a file list. For example you could have own folders for models (Angelica, Tiffany...) and in each subfolders with different picture sets (set1, set2 ...) to select randomly from while playing.
Maybe somebody here can me help with that?
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri Jun 06, 2014 7:46 pm
by philo
d3vi0n wrote:Here are the two problems for which i didn't find any solution so far:
(1) Is there any way do import and parse txt or xml-files? Could be great to save lists of "instructions", "models" (for example: Angelica, Tiffany, Michelle) or something similar in separate files.
(2) Is there any way to scan a folder for subfolders, choose randomly one subfolder and return the subfolder path? Same question goes for scanning a folder for files and return a file list. For example you could have own folders for models (Angelica, Tiffany...) and in each subfolders with different picture sets (set1, set2 ...) to select randomly from while playing.
Maybe somebody here can me help with that?
I can expose anything from Java to JavaScript.
I can also write custom functions and put them in comonFunctions.
So far I have limited what JavaScript has access to, so it is difficult to do something malicious, I know that is a very low risk but I think we need to think about it.
I think my preference would be to write custom functions that are limited in what they can do.
If you want to map out what the function should do I am happy to add it.
So something along the lines of
comonFunctions.GetSubDir("Mistress")
Returns "Angelica,Tiffany"
where we have
Mistress\Angelica
Mistress\Tiffany
as sub directories of the tease media directory
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri Jun 06, 2014 9:38 pm
by jhorny10493
Are there going to be--or already--more teases for GuideMe?
Aside from Heart Club, Gotta Edge 'Em All and that Game Tease where you insert your own pictures?
I really like the ones with videos in them!

Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sat Jun 07, 2014 7:50 pm
by richman2
@d3vi0n
I can't enter any text into milo URL (not by typing, not by rightclick/paste not by crtl+v).
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 2:48 am
by PlayfulGuy
d3vi0n wrote:
@PlayfulGuy
is there a specific example why you need the possibity to check "test for the existence" of an preference? What do you mean with "existence"? You define every possible guide preference at the beginning of your script (<pref key="difficulty" ...>). You can't add or delete preferences while running the script in GuideMe. Same goes for user preferences. In result you always know which preferences exist. Or do you meen checking the "value" of an preference? I recommend importing their values at the start of your guide into variables and use these instead for the running time. "
Gotta Edge'em All!" by Baron Hardpenis von Steele uses user and guide preferences a lot. Maybe there you can find some answers.
examples:
Code: Select all
var chastity = userSettings.isPref("chastity").toString() if (chastity == "true") {} var rarity = guideSettings.getPrefNumber("rarity");if (rarity < 5) {} var hostess = guideSettings.getPref("hostess").toString();if (hostess == "Angela") {}
It was my understanding that guideSettings and Preferences were different things. There are three menu items in the Guideme file menu - Application Preferences, User Preferences, Guide Preferences.
I thought that Application and User Preferences apply to Guideme and are common across all Guides, but guide preferences are specific to a guide rather than shared across all guides.
Also I thought that guidesettings are persistent - if I ask the user to enter something and save it as a guideSetting, the next time the user plays that guide the value of that setting will be the same as the last time.
A simple example is a tease where I count how many edges the user does, then the next time they play the tease I can:
1) Detect that they've played the tease before (or not)
2) Customize strings to say things like "The last time you were here you got up to <number> edges"
Perhaps I'm misunderstanding.
I've tried at least 10 times to download GottaEdgeEmAll (with Firefox and Internet Explorer) but so far have been unable to successfully download it. It always hangs at some point and never finishes.
Thanks for the help.
PG
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 1:55 pm
by philo
Application settings are for GuideMe level stuff like default font sizes etc. they are not really designed to be used in teases.
User Settings are read only within javascript and are designed to be used across teases. In theory these should always exist (unless the user has over written the standard User pref files)
Guide Settings are designed to be used within a tease by the author, ScriptVars get deleted when a tease is restarted Guide Settings do not.
The keyExists function will tell you if it exists, but it returns a Java boolean so you can't test it directly
Example code below (GuideSettings works the same way)
Code: Select all
var myNameExists = userSettings.keyExists("myName", "String"); var myAgeExists = userSettings.keyExists("myage", "Number"); var cbtExists = userSettings.keyExists("cbt", "Boolean"); jscriptLog(typeof(myNameExists)); jscriptLog(myNameExists); if (myNameExists==true) { jscriptLog("myName Does Exist"); } jscriptLog(typeof(myAgeExists)); jscriptLog(myAgeExists); if (myAgeExists==true) { jscriptLog("myAge Does Exist"); } jscriptLog(typeof(cbtExists)); jscriptLog(cbtExists); if (cbtExists==true) { jscriptLog("cbt Does Exist"); } var stringExists = userSettings.keyExists("dummystring", "String"); var numberExists = userSettings.keyExists("dummynumber", "Number"); var booleanExists = userSettings.keyExists("dummyboolean", "Boolean"); jscriptLog(typeof(myNameExists)); jscriptLog(stringExists); if (stringExists==true) { jscriptLog("dummystring Does Exist"); } jscriptLog(typeof(numberExists)); jscriptLog(numberExists); if (numberExists==true) { jscriptLog("dummynumber Does Exist"); } jscriptLog(typeof(booleanExists)); jscriptLog(booleanExists); if (booleanExists==true) { jscriptLog("dummyboolean Does Exist"); }
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 5:40 pm
by the_big_teaser
Thanks for all the effort on GuideMe - it's a great resource.
I'm new here and wonder if you can help. Is it possible to access the time remaining for a delay on a page as a variable in javascript?
I have written a tease/challenge for my slaves to test their endurance and stamina. For each round of random length they have to jerk to a beat. I give them a 'mercy' button which gives them a 30 second break before the next round begins, but of course they don't know how long there is to go in the round when they ask for mercy. I'd like to be able to punish them if they happen to beg for mercy just before the delay is over. For that I need to access within the javascript how long is remaining on the page. Can I get that as a variable in the javascript?
Thanks for the great programme and for your help
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 5:58 pm
by shilohsilly
excuse me but perhaps i could have some assistants it would seem i am not as tech savvy as i would like to believe. either i'm simply clicking on the wrong program (if so i would like to know where i should click) or i'm clicking the right icon (short cut GuideMe) and when i do that every time an instanse pops up declaring that The drive or network connection that the shortcut 'GuideMe.ink' refers to is unavailable. Make sure that the disk is properly inserted or the network resource is available, and then try again.
sincerely ShilohSilly.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 7:13 pm
by ds13sp21
hello,
i downloaded the guideme program and when i extract it i try to open it by clicking on start ( windows batch file) and a black screen appear with some words but not the actual program :/ idk why
any help please?! thanks
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 7:25 pm
by bondo
the_big_teaser wrote:Thanks for all the effort on GuideMe - it's a great resource.
I'm new here and wonder if you can help. Is it possible to access the time remaining for a delay on a page as a variable in javascript?
I have written a tease/challenge for my slaves to test their endurance and stamina. For each round of random length they have to jerk to a beat. I give them a 'mercy' button which gives them a 30 second break before the next round begins, but of course they don't know how long there is to go in the round when they ask for mercy. I'd like to be able to punish them if they happen to beg for mercy just before the delay is over. For that I need to access within the javascript how long is remaining on the page. Can I get that as a variable in the javascript?
Thanks for the great programme and for your help
Any chance to share this tease with us?
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 10:38 pm
by philo
the_big_teaser wrote:
I'm new here and wonder if you can help. Is it possible to access the time remaining for a delay on a page as a variable in javascript?
Not directly, but you can set a script variable and test that.
It will not be 100% accurate but should be close enough
Code: Select all
<Page id="Page1"> <Button target="mercy">Mercy</Button> <javascript> <![CDATA[ function pageLoad() { //Set current date plus 30 seconds var delayEnd = new Date(new Date().getTime() + 30000) //put the value in scriptvars scriptVars.put("delayEnd",delayEnd); } ]]> </javascript> </Page> <Page id="mercy"> <Text> So did you press it correctly? </Text> <javascript> <![CDATA[ function pageLoad() { //get current time var timeNow = new Date(); //get the end time var delayEnd = scriptVars.get("delayEnd"); //mercy not allowed in the last 5 seconds so get the time 5 seconds before the end var delayFailStart = new Date(delayEnd.getTime() - 5000); //display a button based on whether they asked for mercy in the last 5 seconds if (timeNow < delayEnd && timeNow > delayFailStart) { overRide.addButton("delayFail","Delay Punishment","","","",""); } else { overRide.addButton("delayPass","Delay Reward","","","",""); } } ]]> </javascript> </Page>
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Sun Jun 08, 2014 10:51 pm
by philo
For issues getting Guideme to work can you include version of windows and whether it is 32bit or 64bit.
Plus there should be a logs directory with a file Guideme.log uploading or pming me a copy of the file should help me work out why it does not work.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Wed Jun 11, 2014 9:49 am
by d3vi0n
philo wrote:I think my preference would be to write custom functions that are limited in what they can do. If you want to map out what the function should do I am happy to add it.
So something along the lines of
comonFunctions.GetSubDir("Mistress")
Returns "Angelica,Tiffany"
where we have
Mistress\Angelica
Mistress\Tiffany
as sub directories of the tease media directory
Sure... i really could use the following (or maybe there is already a way to get the same result, then please tell me)
Code: Select all
comonFunctions.ListSubFolders("folder")
returns an array with the names of the subfolders under the folder. For example comonFunctions.GetSubDir("models") returns ["Angelica", "Tiffany"] if models\Angelica and models\Tiffany exist or NULL if there is no subfolder. The folder has to be located under the mediadirectory for this guide. So no free access to anywhere else needed.
Code: Select all
comonFunctions.GetRandomFile("folder")comonFunctions.GetRandomSubFolder("folder")
chooses a random file or subfolder and returns the filename or subfoldername for the randomly choosen. For example comonFunctions.GetRandomFile("models\Angelica") returns "045.jpg" or NULL if there is no file under models\Angelica. Maybe the searched file types to the most common picture and video endings in restrict RandomFile. The folder has to be located under the mediadirectory for this guide. So again no free access to anywhere else needed.
Code: Select all
comonFunctions.CheckIfFolderExists("folder")comonFunctions.CheckIfFileExists("folder", "filename")
Checks if the given folder or file exists and returns true or false. Again: folder has to be located under the mediadirectory for this guide.
Code: Select all
comonFunctions.ImportModels("models.xml")comonFunctions.ImportInstructions("instructions.xml")comonFunctions.ImportTasks("tasks.xml")
These would be more specific to my current project i guess (see below). Each should return an array of objects (model, instruction, task). Basic idea is: i can save parts for easier editing and customization outside the main script in individual xml-files. It would be only structured lists (i.e. models.xml lists models including model name, model haircolor...).
Something new:
HEART'S CLUB (Beta)
I need some beta testers and support to get this beast of a script further written...

Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri Jun 13, 2014 1:27 pm
by DreckigesSchwein
I have no sound with v0.1.1 64bit. Pagesound works, but the other sounds doesnt.
v0.0.9 64bit and v0.1.1 32bit works fine.
Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Fri Jun 13, 2014 2:17 pm
by kong
hm I think that the top bar i disturbing. Its white on the black background and takes place from making the pictures larger, that's why I use TeaseMe instead for regular teaseme-teases/flash-teases. The only function it has is making one button, can't we replace the button like in TeaseMe instead? (and maybe take the second top bar with the clock on the side instead).