
GuideMe (TeaseMe v2.0) - Current Build 0.4.4
Moderator: 1885
Re: GuideMe (TeaseMe v2.0): BETA Thread
I'm looking forward to it. The media directory "problem" can be easily solved with a config file or a guide setting. Thx to your suggestion I already added a Tag Editor to my Heart's Club Revised. Works very promising so far:


Try GuideMe to play Milovana Teases offline or create your own offline teases with highres images and videos...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
-
philo
- 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
Was looking in the wrong placed3vi0n wrote: Sun Apr 30, 2017 4:24 pm I'm looking forward to it. The media directory "problem" can be easily solved with a config file or a guide setting. Thx to your suggestion I already added a Tag Editor to my Heart's Club Revised. Works very promising so far:
The variable mediaDir contains the path to the current tease directory
<![CDATA[
function pageLoad() {
var fileOut = "Test text to write to a file\r\n";
var path = mediaDir + guide.getMediaDirectory() + "\\Saves\\SecondTry.txt";
var file = new java.io.File(path);
var fileWriter = new java.io.FileWriter(file);
fileWriter.write(fileOut);
fileWriter.write(new Date());
fileWriter.flush();
fileWriter.close();
}
]]>
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
Re: GuideMe (TeaseMe v2.0): BETA Thread
Even better
no need for a config file... thx 
Try GuideMe to play Milovana Teases offline or create your own offline teases with highres images and videos...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
-
janusbound
- Curious Newbie

- Posts: 1
- Joined: Fri Sep 25, 2015 8:40 pm
- Gender: Male
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
- Dom/me(s): I am married to my beautiful Mistress Luchia
Re: GuideMe (TeaseMe v2.0): BETA Thread
I can't seem to find an answer to this, so I'll ask here, and hope that this isn't the wrong place for it.
I've downloaded GuideMe because Flash teases have stopped working entirely for me on my browser. I read that I can download the flash teases using the importer (milo 0.0.5) by inputting the web address into the proper place on the importer. That seems to have worked. The program took a while to seemingly download a number of files each with their own title card name, but now I can't find them when I open GuideMe.
Where do imported files go? I have no idea where they've been saved too. They're not in any of the sub folders in my GuideMe Folder. They don't seem to be in "Downloads." I'm at a loss.
Sorry if this has already been answered, or if this is the wrong place to ask this. I tried to use the search bar but couldn't find anything that was the same as what I'm looking for.
Thank you all in this community for all you do. <3
I've downloaded GuideMe because Flash teases have stopped working entirely for me on my browser. I read that I can download the flash teases using the importer (milo 0.0.5) by inputting the web address into the proper place on the importer. That seems to have worked. The program took a while to seemingly download a number of files each with their own title card name, but now I can't find them when I open GuideMe.
Where do imported files go? I have no idea where they've been saved too. They're not in any of the sub folders in my GuideMe Folder. They don't seem to be in "Downloads." I'm at a loss.
Sorry if this has already been answered, or if this is the wrong place to ask this. I tried to use the search bar but couldn't find anything that was the same as what I'm looking for.
Thank you all in this community for all you do. <3
Re: GuideMe (TeaseMe v2.0): BETA Thread
Start the importer and open "File" > "Application Preferences". There you can edit the "Data Directory" (where your downloads will go). After successfully downloding the tease, you will find it there. To play the tease, load the xml with Guide Me. I would suggest to copy all your teases into the GuideMe\Guides Folder, but thats not required to play.
Try GuideMe to play Milovana Teases offline or create your own offline teases with highres images and videos...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
- Genericdude
- Explorer

- Posts: 45
- Joined: Wed Jul 03, 2013 10:43 am
- Gender: Male
- Sexual Orientation: Straight
- Location: Aus
Re: GuideMe (TeaseMe v2.0): BETA Thread
I'm sure this will be a really stupid question, but I can't find the answer.
How do I make a 'Guide' - Literally, how do I even start.
I spent ages making a story for TeaseMe years ago, and I'm sure I did at least most of the work in a tease maker type program.
I did not just edit .xml files with notepad.
Is there a "download tool kit" button back at the start of the thread that missed?
A tutorial for beginners?
I got playfulguy's script engine to start on an outdated version,
But I can't find any type of editor.
Help?
How do I make a 'Guide' - Literally, how do I even start.
I spent ages making a story for TeaseMe years ago, and I'm sure I did at least most of the work in a tease maker type program.
I did not just edit .xml files with notepad.
Is there a "download tool kit" button back at the start of the thread that missed?
A tutorial for beginners?
I got playfulguy's script engine to start on an outdated version,
But I can't find any type of editor.
Help?
Re: GuideMe (TeaseMe v2.0): BETA Thread
In concept GuideMe Teases are not much different from Nyx (Flash Teases) on milovana or TeaseMe Scripts. Because of the backwards compatibility to TeaseMe, every TeaseMe Script also works with GuideMe. The main advantage of GuideMe is the use of javascript (including real variables or functions and the possibility to save them or the state of the tease) to create complex teases which never would be possible with Nyx or TeaseMe. It's much more advanced then for example the very limited old "flags" in Nyx and TeaseMe.
As for helpful ressources writing GuideMe Scripts:
Screenshot for a xml file in Notepad++:
http://fs5.directupload.net/images/170507/asjf24hq.jpg
Screenshot for a js file in Notepad++
http://fs5.directupload.net/images/170507/4jdh5dis.jpg
I hope this answer helped at least a little bit...
As for helpful ressources writing GuideMe Scripts:
- There was a not so helpful tutorial script for GuideMe once... maybe i should make a new (helpful) version for the current GuideMe Version someday. To be helpful it would need to be more of a javascript and xml tutorial...
- The main ressource for writing Scripts for GuideMe is the GuideMe Wiki which is also linked in the first post of this thread. The documentation isn't perfect but gets you started.
- Another helpful ressource are the current GuideMe Teases. I often look at them to see, how other Authors realized different mechanics. And if there are specific questions, there is always this thread to ask for help.
- And lastly, because Guides are mainly xml documents and javascript, i use w3schools javascript tutorial and w3schools javascript reference as knowledge ressource
Screenshot for a xml file in Notepad++:
http://fs5.directupload.net/images/170507/asjf24hq.jpg
Screenshot for a js file in Notepad++
http://fs5.directupload.net/images/170507/4jdh5dis.jpg
I hope this answer helped at least a little bit...
Last edited by d3vi0n on Sun May 07, 2017 7:40 pm, edited 2 times in total.
Try GuideMe to play Milovana Teases offline or create your own offline teases with highres images and videos...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
- PlayfulGuy
- 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
Changes in Guideme 3.1
Philo, I'm testing version 1.4 of my script engine in the new version of Guideme. Code that worked in previous versions of Guideme no longer works in the new version. I think I'm running into #2 above but am not sure.philo wrote: Mon Mar 20, 2017 8:48 pm New version of GuideMe
The changes break some current guide me teases
There are a couple of changes that break some current javascript
Ones that I know about
1. where .length() is used in scripts it now needs to be .length (i.e. it is a property not a function in javascript)
2. the scope is cleared for each call so functions variables set in another call are no longer available.
For example, one of my sample scripts demonstrates a loop like this
Code: Select all
count = 0
Increment:
count = count + 1
if ( count < 5 ) goto Increment // Should loop 5 times until count = 5
no-02.jpg {
Count is now <count> (should be 5).\n
}
Code: Select all
scriptVars.put(words[1],eval(words[2]+words[3]+words[4])Code: Select all
scriptVars.put("count","count+1")This fails with a javascript error "count is not defined", but it worked in previous versions of Guideme.
- Am I correct that this is due to your clearing of the scope?
- Do you have any suggestions on how I might work around that? Do I need to do something like scriptVars.put("count",scriptVars.get("count")+1)
- Can you elaborate on what exactly you mean by "the scope is cleared for each call". Is that each call to a pageload function, or each javascript function or each what?
Thanks
PG
I'd rather be stroking!
New tease downloader for GuideMe with EOS support.
Downloads of teases I've converted to GuideMe
New tease downloader for GuideMe with EOS support.
Downloads of teases I've converted to GuideMe
Re: GuideMe (TeaseMe v2.0): BETA Thread
JavaScript Scope: "In JavaScript, objects and functions are also variables. In JavaScript, scope is the set of variables, objects, and functions you have access to. JavaScript has function scope: The scope changes inside functions. Variables declared within a JavaScript function, become LOCAL to the function. Local variables have local scope: They can only be accessed within the function. Since local variables are only recognized inside their functions, variables with the same name can be used in different functions. Local variables are created when a function starts, and deleted when the function is completed."
Because in GuideMe every javascript code is part of a function, every variable is a locale variable for that function. I guess "the scope is cleared for each call" means, he fixed a bug, where variables accidentially could carry over to different functions or function calls (because a previous function call used a variable with the same name). I experienced this bug during my Heart's Club Revisited work. Now it works, as it should be and as described above.
What is "goto"? "Increment:"? "no-02.jpg {}"? Can you post the full javascript code?
Proper javascript code would be something like this:
Because in GuideMe every javascript code is part of a function, every variable is a locale variable for that function. I guess "the scope is cleared for each call" means, he fixed a bug, where variables accidentially could carry over to different functions or function calls (because a previous function call used a variable with the same name). I experienced this bug during my Heart's Club Revisited work. Now it works, as it should be and as described above.
I don't understand your example. That is no proper javascript code...PlayfulGuy wrote: Sun May 07, 2017 5:37 pm For example, one of my sample scripts demonstrates a loop like thisIn Guideme 1.5 this executes properly, but in Guideme 3.1 it crashes.
- Spoiler: show
What is "goto"? "Increment:"? "no-02.jpg {}"? Can you post the full javascript code?
Proper javascript code would be something like this:
- Spoiler: show
Try GuideMe to play Milovana Teases offline or create your own offline teases with highres images and videos...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
-
philo
- Explorer At Heart

- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: Changes in Guideme 3.1
well first I would use a for loopPlayfulGuy wrote: Sun May 07, 2017 5:37 pm Philo, I'm testing version 1.4 of my script engine in the new version of Guideme. Code that worked in previous versions of Guideme no longer works in the new version. I think I'm running into #2 above but am not sure.
For example, one of my sample scripts demonstrates a loop like thisIn Guideme 1.5 this executes properly, but in Guideme 3.1 it crashes. When the script engine executes the "count = 0" statement it stores count using scriptVars.put("count",0). When the statement count = count + 1 is executed what the javascript does is parse the arguments into an array named "words" and then executes an eval likeCode: Select all
count = 0 Increment: count = count + 1 if ( count < 5 ) goto Increment // Should loop 5 times until count = 5 no-02.jpg { Count is now <count> (should be 5).\n }which translates toCode: Select all
scriptVars.put(words[1],eval(words[2]+words[3]+words[4]).Code: Select all
scriptVars.put("count","count+1")
This fails with a javascript error "count is not defined", but it worked in previous versions of Guideme.
- Am I correct that this is due to your clearing of the scope?
- Do you have any suggestions on how I might work around that? Do I need to do something like scriptVars.put("count",scriptVars.get("count")+1)
- Can you elaborate on what exactly you mean by "the scope is cleared for each call". Is that each call to a pageload function, or each javascript function or each what?
Thanks
PG
for (count= 1; count < 6; count++) {
}
Haven't used a goto for decades
scriptVars.put("count",scriptVars.get("count")+1) should work
Scope is a term used by the Rhino script engine that I used to implement javascript
It holds the functions and global variables.
I wasn't clearing it down between calls so if a function with the same name is used in multiple scripts (within the same tease) it wasn't working correctly.
It will use a new scope for each call to javascript.
So page load, button click, delay end etc.
Globaljavascript should contain any standard functions you want to use on each call, these get created every time.
Global variables can be initialized here as well but their value will get reset between each call now.
I also moved to the latest version of Rhino, I don't know if there are any changes in that, I assumed it was just bug fixes.
I am happy to help diagnose issues in getting it running again.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
Re: Changes in Guideme 3.1
There was a goto in javascript?
Never ever use a goto in something like javascript!
Global javascript variables are a thing in GuideMe?philo wrote: Sun May 07, 2017 7:40 pmGlobaljavascript should contain any standard functions you want to use on each call, these get created every time. Global variables can be initialized here as well but their value will get reset between each call now.
So you could do something like the following (outside any function)?
- Spoiler: show
My "global" variables get saved as part of the state of the tease with scriptVars.put.
I use variables only within functions or as parameter for functions.
Try GuideMe to play Milovana Teases offline or create your own offline teases with highres images and videos...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
Look at Hearts Club or Pilgrim Quest or My Succubus if you wanna see whats possible with GuideMe...
- PlayfulGuy
- 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: Changes in Guideme 3.1
The code given (why doesn't the code format preserve line breaks in a post?) is my GuideMe Script Engine code. The script engine uses goto's, not javascript. I did not implement a for loop in the script engine. Sorry for the confusion.philo wrote: Sun May 07, 2017 7:40 pm
well first I would use a for loop
for (count= 1; count < 6; count++) {
}
Haven't used a goto for decades![]()
scriptVars.put("count",scriptVars.get("count")+1) should work
Scope is a term used by the Rhino script engine that I used to implement javascript
It holds the functions and global variables.
I wasn't clearing it down between calls so if a function with the same name is used in multiple scripts (within the same tease) it wasn't working correctly.
It will use a new scope for each call to javascript.
So page load, button click, delay end etc.
Globaljavascript should contain any standard functions you want to use on each call, these get created every time.
Global variables can be initialized here as well but their value will get reset between each call now.
I also moved to the latest version of Rhino, I don't know if there are any changes in that, I assumed it was just bug fixes.
I am happy to help diagnose issues in getting it running again.
The real issue was the "scope" change, and you've confirmed that this is my problem. I will have to spend a bunch of time reviewing my code now. In many cases I was relying on the old behaviour. I did not realize that the persistence of variables was unintended. I was using it as a feature. I should have asked. I had noted a couple times that something was working that I thought shouldn't be, but just accepted it since it was working in my favour.
Thanks
PG
I'd rather be stroking!
New tease downloader for GuideMe with EOS support.
Downloads of teases I've converted to GuideMe
New tease downloader for GuideMe with EOS support.
Downloads of teases I've converted to GuideMe
-
philo
- Explorer At Heart

- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: Changes in Guideme 3.1
I am playing around with having two scopes.PlayfulGuy wrote: Mon May 08, 2017 2:25 pm The real issue was the "scope" change, and you've confirmed that this is my problem. I will have to spend a bunch of time reviewing my code now. In many cases I was relying on the old behaviour. I did not realize that the persistence of variables was unintended. I was using it as a feature. I should have asked. I had noted a couple times that something was working that I thought shouldn't be, but just accepted it since it was working in my favour.
One for Global Javascript which would be persistent and one created for each call for a page script.
I think I can set the global scope to be the parent of the page scope, in which case it would have access to everything in the global scope.
I will let you know how I get on
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
- Genericdude
- Explorer

- Posts: 45
- Joined: Wed Jul 03, 2013 10:43 am
- Gender: Male
- Sexual Orientation: Straight
- Location: Aus
Re: GuideMe (TeaseMe v2.0): BETA Thread
Hi guys, cheers for the reply d3vi0n,
I Think I've got most of what I need working with just notepad ( I'll give ++ a go )
I made a little Proof of concept, with 9 rooms in a grid, a key, locked door, video, loops, pictures.
I cannibalised FWB2 and looked at some others to work out how the code works
( the basic stuff, not the java )
I spent alot of the late 90's making mods for Duke Nukem 3D and the basic stuff here looks alot like it.
once I figured out how to pickup a key and use it to open a gate I was set.
I'm now starting work on "Jimmy Lastcock and the Psionic Lesbians" - (Working title)
Before I copy and paste my room template code 49 times I have a question.
I want 5-6 buttons and I want them to always be in the same place
----Something-----Something ----
--West -- North -- South -- East --
Sometimes there is a forest to the north or a cliff-face to the east.
But the way i'm doing it now if I just don't have that button, All the others move.
My question is:
Can I have a button in place, that is "grayed out" or just doesn't work?
I Think I've got most of what I need working with just notepad ( I'll give ++ a go )
I made a little Proof of concept, with 9 rooms in a grid, a key, locked door, video, loops, pictures.
I cannibalised FWB2 and looked at some others to work out how the code works
( the basic stuff, not the java )
I spent alot of the late 90's making mods for Duke Nukem 3D and the basic stuff here looks alot like it.
once I figured out how to pickup a key and use it to open a gate I was set.
I'm now starting work on "Jimmy Lastcock and the Psionic Lesbians" - (Working title)
Before I copy and paste my room template code 49 times I have a question.
I want 5-6 buttons and I want them to always be in the same place
----Something-----Something ----
--West -- North -- South -- East --
Sometimes there is a forest to the north or a cliff-face to the east.
But the way i'm doing it now if I just don't have that button, All the others move.
My question is:
Can I have a button in place, that is "grayed out" or just doesn't work?
-
philo
- 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
Yes you can have disabled buttonsGenericdude wrote: Wed May 10, 2017 10:02 am My question is:
Can I have a button in place, that is "grayed out" or just doesn't work?
<Button target="RedundantTarget" disabled="true">Disabled Button</Button>
You can disable and enable them from javascript as well
(But not in the latest version as there is a thread access bug which I have fixed but not released yet)
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
