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

climactic
Explorer
Explorer
Posts: 22
Joined: Fri Nov 25, 2011 9:13 pm

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

Post by climactic »

On page three of this thread, d3vi0n mentions version .3 being available, but the download link on page 1 still leads to version .1

Help please?
User avatar
computergeek
Explorer At Heart
Explorer At Heart
Posts: 136
Joined: Sat Jul 14, 2012 11:59 am
Gender: Male
Sexual Orientation: Straight
I am a: Master
Contact:

GuideMe (TeaseMe v2.0): Bug Report - Large Files

Post by computergeek »

Seems to be a file size limitation of roughly 6000 lines of code. I am getting the error on a new project as well as getting a reproduction of the same error on an a older TeaseMe script

http://www.milovana.com/forum/viewtopic ... 76#p177476
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 »

climactic wrote:On page three of this thread, d3vi0n mentions version .3 being available, but the download link on page 1 still leads to version .1

Help please?
Latest version is .11 :-D

You only need to replace the file that contains the actual program (guideme.jar) the rest are the same

GuideMe jar 0.0.11
https://mega.co.nz/#!cI413RKK!fiJRtxyMH ... NpC4V8v10o

I did change how user settings are done, so you may need these additional files as well.
User Settings
https://mega.co.nz/#!VAA0iCAT!KFxLRmHys ... ZLAdryj38U

(d3vi0n has gone AWOL since about March so I have not been able to update the first post.)

I am working on a new version that should improve the variables within scripts.
Plus I think there is some work on full screen and multi monitor that I did a while ago but have not released yet.
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): Bug Report - Large Files

Post by philo »

computergeek wrote:Seems to be a file size limitation of roughly 6000 lines of code. I am getting the error on a new project as well as getting a reproduction of the same error on an a older TeaseMe script

http://www.milovana.com/forum/viewtopic ... 76#p177476
The only limit should be the memory of the machine it is running on, (there were a few memory leaks on earlier versions of Guideme that are fixed)
If you let me have a copy of the xml I will have a look why it is failing.
(if you put it somewhere like mega and pm me a link)
tricky555
Curious Newbie
Curious Newbie
Posts: 1
Joined: Thu Apr 24, 2014 12:19 am

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

Post by tricky555 »

Hey,
something went wrong, i got an Unable to access jarfile GuideMe.jar error, anybody knows how to fix it?
User avatar
computergeek
Explorer At Heart
Explorer At Heart
Posts: 136
Joined: Sat Jul 14, 2012 11:59 am
Gender: Male
Sexual Orientation: Straight
I am a: Master
Contact:

Re: GuideMe (TeaseMe v2.0): BETA Thread - Update Suggestion

Post by computergeek »

A little system configuration trick to help with memory errors when restarting GuideMe. The problem is that it does not exit gracefully and you have to use task manager to manually kill off javaw.exe. A very simple solution is to add an "&" symbol to the end of the startup.bat

Current

Code: Select all

path=./java/bin;./GuideMe_libjavaw.exe -cp .\;.\GuideMe_lib -jar GuideMe.jar 
Suggested Update

Code: Select all

path=./java/bin;./GuideMe_libjavaw.exe -cp .\;.\GuideMe_lib -jar GuideMe.jar & 
Pascal
Explorer
Explorer
Posts: 11
Joined: Wed Nov 23, 2011 6:29 pm

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

Post by Pascal »

Is there a way to globally declare arrays and functions

At the moment I have like 20 different arrays and about 4 functions that I have to reuse.

So far the code works without a problem.
At the moment I have all the code in the first Page of the tease, but I need a way to access the functions and arrays at the other pages.

Or include an other *.js file so that I can just define everything there
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 »

Pascal wrote:Is there a way to globally declare arrays and functions

At the moment I have like 20 different arrays and about 4 functions that I have to reuse.

So far the code works without a problem.
At the moment I have all the code in the first Page of the tease, but I need a way to access the functions and arrays at the other pages.

Or include an other *.js file so that I can just define everything there
I have just released a new version which has changed scriptvars to objects rather than strings, this means you can store any variable type including arrays

You can add a GlobalJavascript node at the root node of the tease which will be included in all page javascript, you can define global functions there.
philo
Explorer At Heart
Explorer At Heart
Posts: 831
Joined: Sun Jan 08, 2012 3:10 pm
Gender: Male
Sexual Orientation: Straight
Location: UK

New Major version

Post by philo »

The two links below are a complete new install as several of the files have changed.

d3vi0n appears to have gone AWOL so I can't get the first post on the thread updated, I may need to start a new one.

I can't remember what I have released in previous versions but this is what I think has changed.
Re-written image handling so the re sizing for the screen work better
Multi-Monitor / display changes (you can now choose multi monitor to spread it across 2 screens).
Full screen is now completely full screen
Timer can now be sized independantly.

Debug screen (alt-d)
will display info about the tease and the current variables.
There is some limited functionality to edit variables (I only tested it with strings not sure what else works)
You can view any page
You can jump to a page via a button

In java script ScriptVar now stores as objects rather than strings so can store and retrieve any variable type including objects and arrays.



Windows 32bit
https://mega.co.nz/#!pIJ3ib5J!_PqXnV7Cx ... onTCRKq8iM
Windows 64bit
https://mega.co.nz/#!hUBjwB6T!9dalzqTJ1 ... vIcqGOud5U
I am working on getting a Mac version working as well.
Pascal
Explorer
Explorer
Posts: 11
Joined: Wed Nov 23, 2011 6:29 pm

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

Post by Pascal »

Can you maybe show me a short example how to store and load an array?

I know with normal Variables it worked like that
scriptVars.put("vHebool", "0");
var vHebool = parseInt(scriptVars.get("vHebool"));

But I don't get it with arrays to work.

As Example I have an array
var boleanChecks = ["str1", "str2", "str3"]

How do I store and access it now.
My guess for storing was
scriptVars.put("vboleanChecks", boleanChecks);

But when I try to use it in an other part like this. It is not working
var vboleanChecks = scriptVars.get(vboleanChecks);

I just used a Button as dummy output
overRide.addButton(vboleanChecks[1], vboleanChecks[1],"", "", "", "");
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 »

Pascal wrote:Can you maybe show me a short example how to store and load an array?

I know with normal Variables it worked like that
scriptVars.put("vHebool", "0");
var vHebool = parseInt(scriptVars.get("vHebool"));

But I don't get it with arrays to work.

As Example I have an array
var boleanChecks = ["str1", "str2", "str3"]

How do I store and access it now.
My guess for storing was
scriptVars.put("vboleanChecks", boleanChecks);

But when I try to use it in an other part like this. It is not working
var vboleanChecks = scriptVars.get(vboleanChecks);

I just used a Button as dummy output
overRide.addButton(vboleanChecks[1], vboleanChecks[1],"", "", "", "");

This worked for me

Code: Select all

 Setup script            var booleanChecks = ["str1", "str2", "str3"];            scriptVars.put("vbooleanChecks", booleanChecks);            PageLoad script            var vbooleanChecks = scriptVars.get("vbooleanChecks");            overRide.addButton(vbooleanChecks[0], vbooleanChecks[0],"", "", "", "");            overRide.addButton(vbooleanChecks[1], vbooleanChecks[1],"", "", "", "");            overRide.addButton(vbooleanChecks[2], vbooleanChecks[2],"", "", "", ""); 
I think the only difference is
var vboleanChecks = scriptVars.get(vboleanChecks);
should be
var vboleanChecks = scriptVars.get("vboleanChecks");

You were asking for the script variable name contained within the string variable vboleanChecks not the
script variable named vboleanChecks

var vboleanChecks = "vboleanChecks ";
vboleanChecks = scriptVars.get(vboleanChecks);
would also work but I think my suggestion would be better :innocent:
LittleElfBoy
Explorer
Explorer
Posts: 94
Joined: Sun Jun 17, 2012 1:36 am
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive

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

Post by LittleElfBoy »

Is somebody working on the skirmish tease? I would love to see updates for it :(
xeenith
Explorer
Explorer
Posts: 67
Joined: Thu Apr 18, 2013 11:13 am

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

Post by xeenith »

the only work I did was personalize it a little, start the play with the metronome at 120 instead of 60, increase the heat faster (it was supposed to be low values per slide and here they are per min on the metronome), and correct the few flaws I found (auto heat increase that didn't work on one mistress, maybe 2)

I know nearly nothing about coding so I just played around a little huhu ^^

LINK on mega
here is my copy of the file if you want to try your luck on it... only problem? it's build to lose and lost FAST hehe
User avatar
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

Re: New Major version

Post by Trusfrated »

philo wrote:The two links below are a complete new install as several of the files have changed.

d3vi0n appears to have gone AWOL so I can't get the first post on the thread updated, I may need to start a new one.

I can't remember what I have released in previous versions but this is what I think has changed.
Re-written image handling so the re sizing for the screen work better
Multi-Monitor / display changes (you can now choose multi monitor to spread it across 2 screens).
Full screen is now completely full screen
Timer can now be sized independantly.

Debug screen (alt-d)
will display info about the tease and the current variables.
There is some limited functionality to edit variables (I only tested it with strings not sure what else works)
You can view any page
You can jump to a page via a button

In java script ScriptVar now stores as objects rather than strings so can store and retrieve any variable type including objects and arrays.



Windows 32bit
https://mega.co.nz/#!pIJ3ib5J!_PqXnV7Cx ... onTCRKq8iM
Windows 64bit
https://mega.co.nz/#!hUBjwB6T!9dalzqTJ1 ... vIcqGOud5U
I am working on getting a Mac version working as well.
Thanks for this update, Philo! The multi-monitor functionality (particularly choosing the primary monitor) is really great, as is the new debug window. I might have some more comments or suggestions, but I'll refrain for now, until I've used it a little more. ;-)
ImageImage
Pascal
Explorer
Explorer
Posts: 11
Joined: Wed Nov 23, 2011 6:29 pm

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

Post by Pascal »

Thx for the tip with the arrays works like charm

But I still have the problem that I cant access the JavaScript function globally is there a way to archive this.

If not could you maybe integrate something like it in the next release.

I mean something simple like this would be enough. (I know its not the best solution but it should work and it shouldn't be to much work)

In the XML file there could be a TAG
<GlobalJS>
code goes here
</GlobalJS>

And than if you need the global functions you would just write an other Tag an than the code gets processed before the code that goes into the pageLoad() event.

I know the downsite of this implementation would be that you cant relay make changes to variables that are in the <GlobalJS>, because the code gets rephrased every time and so changes to the varibales would be lost. But as a workaround for that you could use the scriptVars and load and store the changes.

Like I said its probably not the best solution, but it would offer a lot of functionality.
Post Reply