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

lawman5297
Explorer At Heart
Explorer At Heart
Posts: 156
Joined: Tue May 30, 2017 1:18 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by lawman5297 »

Hey thanks. Ill send you a page tomorrow but not the entire thing, its way too long.
lawman5297
Explorer At Heart
Explorer At Heart
Posts: 156
Joined: Tue May 30, 2017 1:18 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by lawman5297 »

And its an offline tease. Do you still want it?
User avatar
AnonymousPseudonym
Explorer
Explorer
Posts: 42
Joined: Sun Feb 09, 2014 6:27 am
I am a: Submissive
Location: NSW, Australia

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by AnonymousPseudonym »

I'm working on a tease and I keep encountering a similar issue. It's probably stupidly simple, as most of my bugfixes are. Basically, I want to have a button lead to any of 20 random tasks. I also want to make it so that once you have performed a task, it doesn't come up again. This is easy enough. I set the guide to begin by setting 20 numbered flags (task1, task2, etc), and the delay/button for the first page of each task unsets the relevant flag. Each task can only be chosen if the relevant flag is set.

However, I want to make it so that the first time you click that button, you can only get the first 8 tasks. Once you have done a task numbered 1-8, it unlocks tasks 9-12. Once you have done a task 9-12, it unlocks 13-16, and once you have done a task 13-16 it unlocks 17-20. That way you can have the feeling of difficulty progression while still having the tasks be mostly random.

I have attempted to do this by having the first delay/button for the first tier of tasks 1-8 set a flag (tier2) to allow tasks 9-12, and then having tasks 9-12 only be available if that flag is set (in addition to the original flag task9, task10, etc). This applies to the later tiers too, eg, if you play task 10 then it removes the flag task10 and adds the flag tier3 which unlocks access to tasks 13-17.

Unfortunately, none of my tasks with the tier flags are coming up at all even with me putting tier2, tier3 and tier4 in the list of flags to be set at launch. If I direct link to them they work so the pages themselves aren't broken, but doing the task(1..20) only gives me a result from the first 8. Doing task(9..20) gives me a 404 error.

I can post my code but it's spread out over the document and I have this issue in several other similar circumstances. What do?
ImageImage Image
Author of the Original Sin webteases.
User avatar
lolol2
Explorer At Heart
Explorer At Heart
Posts: 518
Joined: Mon Feb 20, 2017 10:33 am
Gender: Male
Sexual Orientation: Straight

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by lolol2 »

You can use the if-set parameter on the page ids to make this very easy.
When you call the range all the pages have to been set before 101 will be selected, so you will only get to the higher task if the user has played all before.
You can stack these ranges to get the difficulty.
By unset this last "jump" page again you can always only call the first range and the random call will jump higher and higher in the ladder. :wave:

Hope this makes sence, just a short example.

Code: Select all

    <Page id="start">
      target="(101..104)"
    </Page>
    
    <Page id="101" if-set="102+103+104" unset="101">
     target="higher tasks"
    </Page>
    
    <Page id="102">
      target="task1"/>
    </Page>

    <Page id="103">
      target="task2"/>
    </Page>
    
    <Page id="104">
      target="task3"/>
    </Page>
    
 -----------------------------------------
    
     <Page id="higher tasks">
      target="(201..204)"
    </Page>
    
    <Page id="201" if-set="202+203+204" unset="201">
     target="even higher tasks"
    </Page>
    
    <Page id="202">
      target="task4"/>
    </Page>

    <Page id="203">
      target="task5"/>
    </Page>
    
    <Page id="204">
      target="task6"/>
    </Page>   
    
My creations:
Spoiler: show

[Tutorial] Building your own DIY E-Stim Stereo Device

Videos:
06/2020 - Estim Sync Hero Vol. 01

Teases:
04/2020 - Estim Mansion under Quarantine
12/2019 - Estim Challenge
12/2018 - Estim Distraction
03/2018 - The Estim Tower - Endless Mode
01/2018 - The Estim Tower
05/2017 - The Estim Mansion
User avatar
AnonymousPseudonym
Explorer
Explorer
Posts: 42
Joined: Sun Feb 09, 2014 6:27 am
I am a: Submissive
Location: NSW, Australia

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by AnonymousPseudonym »

Unless I misunderstand, your method will not allow the tier 1 tasks to repeat. I want to have a set of 4 tasks that do repeat so that if the user runs through all 20 tasks the guide will continue with the tier 1 tasks 1-4.

It also removes a lot of the random element that the guide is designed for. I want to make sure the user has done at least 3 and probably more tasks before getting a tier 4 task rather than having them have to have done all 16 prior tasks. I also want the user to have a chance of getting the tier 1-3 tasks that they have not completed even when they have unlocked the harder tasks.

In addition, it also removes replayability. The randomness means that you can come back and if you only do 4 tasks a session, you could get 4 new tasks from the 20. Going through it in order like that loses this ability.

I have taken some excerpts from my script below to further the discussion:

Code: Select all

<Page id="tasktest">
	<Button target="task(1..20)">Random task</Button>
</Page>

<Page id="task1">
	<Button set="tier2" target="tasktest">Random task</Button>
</Page>

<Page id="task5" if-not-set="t5">
	<Button set="tier2,t5" target="tasktest">Random task</Button>
</Page>

<Page id="task9 if-not-set="t9" if-set="tier2">
	<Button set="tier3,t9" target="tasktest">Random task</Button>
</Page>

<Page id="task13" if-not-set="t13" if-set="tier3">
	<Button set="tier4,t13" target="tasktest">Random task</Button>
</Page>

<Page id="task17" if-not-set="t17" if-set="tier4">
	<Button set="t17" target="tasktest">Random task</Button>
</Page>
Even when I try just that code above removed from the rest of the script, it only gives me tasks 1 and 5 over and over. Why isn't this working?
ImageImage Image
Author of the Original Sin webteases.
User avatar
bobhill
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Tue Mar 15, 2016 8:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by bobhill »

I'm not sure that those attributes are working correctly?

See this post.

I would use variables instead of flags. You could then have some simple JS code to do counters for each tier and a boolean T/F variable for whether a task has been performed. It's pretty straightforward, even if you aren't a programmer (I'm not). That would give you much better flexibility for doing all the things you described.
User avatar
AnonymousPseudonym
Explorer
Explorer
Posts: 42
Joined: Sun Feb 09, 2014 6:27 am
I am a: Submissive
Location: NSW, Australia

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by AnonymousPseudonym »

This post seems to indicate that bug was fixed in the later releases but I've tried it in both 3.8 and 3.4 and it doesn't work on either.

I have no experience coding JS which is why I haven't gone for that route. Would you be able to describe code for the things I've described in JS to replace the code from my previous post?
ImageImage Image
Author of the Original Sin webteases.
User avatar
bobhill
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Tue Mar 15, 2016 8:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by bobhill »

Yes, I'm happy to help, but with the holiday, it may take me a couple days.
User avatar
bobhill
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Tue Mar 15, 2016 8:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by bobhill »

AP - sorry, just now had time to look at this. My solution allows you to have different progressive tiers and tasks from prior tiers may be assigned to the user. You could get more complex with minimum number of tasks per tier to advance, etc, but I would probably do that having an array of tasks. As I said, I'm not a programmer, so my coding isn't pretty.

Here's a sample of the task pages:

Use the pgNextTask if you want them to pause between tasks, or pgNextTask_alt for no delay.
Spoiler: show

Code: Select all


	<Page id="Start"> 
		<Text> 
			<p>Hello, this is the start page.</p>
			<p>Press the button to begin.</p>
		</Text> 
		<javascript>
			<![CDATA[
				function pageLoad() {
					scriptVars.put("vPlayerLevel", 1);		
					var vTask = fGetTask();
					overRide.addButton(vTask, "Do Task", "", "", "", "", "");
				}
			]]>		
		</javascript>
	</Page>

	<Page id="pgNextTask"> 
		<Text> 
			<p>Press the button to begin next task.</p>
		</Text> 
		<javascript>
			<![CDATA[
				function pageLoad() {
					var vTask = fGetTask();
					overRide.addButton(vTask, "Do Task", "", "", "", "", "");
				}
			]]>		
		</javascript>
	</Page>

<!--
	<Page id="pgNextTask_alt">  //immediately goes to next task
		<javascript>
			<![CDATA[
				function pageLoad() {
					var vTask = fGetTask();
					overRide.setDelay(vTask, "0", "", "hidden", "", "", "");
				}
			]]>		
		</javascript>
	</Page>
-->

	<Page id="Task1"> //same for 1-4
		<Text> 
			<p>Task 1</p>
			<p>Can be multiple pages</p>
		</Text> 
		<javascript>
			<![CDATA[
				function pageLoad() {
				overRide.addButton("Task1_End", "Continue", "", "", "", "", "");
				}
			]]>		
		</javascript>
	</Page>
	
	<Page id="Task1_End"> //same for 1-4
		<Text> 
			<p>Task 1 Final Page</p>
		</Text> 
		<javascript>
			<![CDATA[
				function pageLoad() {
				var vLevel = scriptVars.get("vPlayerLevel");
				scriptVars.put("vPlayerLevel", 2);
				overRide.addButton("pgNextTask", "Continue", "", "", "", "", "");
				}
			]]>		
		</javascript>
	</Page>
Use the Include command to include this JS file:
Spoiler: show

Code: Select all

	function fGetRange() {
		var vLevel = scriptVars.get("vPlayerLevel");
		if vLevel = 1 {
			vMinTask = 1;
			vMaxTask = 4;
			scriptVars.put("vMinTask", "vMinTask");
			scriptVars.put("vMaxTask", "vMaxTask");
		} else if vLevel = 2 {
			vMinTask = 1;
			vMaxTask = 8;
			scriptVars.put("vMinTask", "vMinTask");
			scriptVars.put("vMaxTask", "vMaxTask");
		} else if vLevel = 3 {
			vMinTask = 1;
			vMaxTask = 12;
			scriptVars.put("vMinTask", "vMinTask");
			scriptVars.put("vMaxTask", "vMaxTask");
		} else if vLevel = 4 {
			vMinTask = 1;
			vMaxTask = 20;
			scriptVars.put("vMinTask", "vMinTask");
			scriptVars.put("vMaxTask", "vMaxTask");
		}
	}
	
	function fGetTask() {
		fGetRange();
		var vMinTask = scriptVars.get("vMinTask");
		var vMaxTask = scriptVars.get("vMaxTask");
		var vTaskNum = fRandomNumber(vMinTask, vMaxTask);
		var vTask = "Task"+vTaskNum;
		return vTask;
	}
	
	function fRandomNumber(min, max) {
		var tmin = parseInt(min);
		var tmax = parseInt(max);
		return Math.floor(Math.random() * (tmax - tmin + 1)) + tmin;		
    }
hallojo1337
Explorer At Heart
Explorer At Heart
Posts: 168
Joined: Sun Jul 05, 2015 12:04 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by hallojo1337 »

does anybody still have a GuideMe Version from the Gisele: Chastity Confessions Series?

I could only find an old link by philo but it doesnt work anymore. :\'-(
JerryLee06
Explorer
Explorer
Posts: 22
Joined: Sat Oct 28, 2017 4:31 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by JerryLee06 »

Hi,

I need your help for a Mod of the Tower:

Is there a possibility to "unset" in xml all pages with one command instead of using:

unset="page1,page2,page3"

????????????
User avatar
bobhill
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Tue Mar 15, 2016 8:49 pm
Gender: Male
Sexual Orientation: Straight
I am a: None of the above

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by bobhill »

JerryLee06 wrote: Sat Jan 11, 2020 1:39 pm Is there a possibility to "unset" in xml all pages with one command instead of using:

unset="page1,page2,page3"
If you know the flags, you could set a string variable for all the flags and then you could use guide.unset:

Code: Select all

var vFlags = "page1,page2,page3"
guide.unsetFlags(vFlags);
Sorry, this might be better, it's a function I use, I forgot when I posted above:

Code: Select all

	
	function fResetGameFlags() {		
		var vFlags = guide.getFlags();				//returns an object: [flag1, flag2, flag3, ...]
		var vFlagsStr = vFlags.toString();
		vFlagsStr = vFlagsStr.replace(/\s+/g,""); 		// Remove spaces (so [flag1, flag2] becomes [flag1,flag2])
		vFlagsStr = vFlagsStr.replace(/\[|\]/g,"");		// Remove "[" and "]" 		
		comonFunctions.UnsetFlags(vFlagsStr, guide.getFlags());	// unset all the flags
	}
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) - Current Build 0.3.4

Post by philo »

hallojo1337 wrote: Mon Dec 30, 2019 3:47 pm does anybody still have a GuideMe Version from the Gisele: Chastity Confessions Series?

I could only find an old link by philo but it doesnt work anymore. :\'-(
https://mega.nz/#!AIQT3KiL!-RpVIc7cl_JX ... zUE715Xd1c
dkf2003
Explorer
Explorer
Posts: 7
Joined: Mon Mar 04, 2019 3:41 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by dkf2003 »

philo when do you think the new downloader for eos teases will be done?
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) - Current Build 0.3.4

Post by philo »

dkf2003 wrote: Tue Jan 14, 2020 10:52 pm philo when do you think the new downloader for eos teases will be done?
Good question, did manage to spend some time over Christmas on it. Flash and HTML teases are working, basic eos teases work where they are similar to flash teases (effectively a single page at a time, nothing dynamic on the page) the more complex ones and supporting the scripting I have not started.
Currently working on the front end screen to allow it to be easily called.
Not sure when I will be working on it next, possibly this weekend.

eos teases when done will need a new (as yet unreleased) version of GuideMe as you need to dynamically add / delete buttons on a page.

Source code of where I am up to is here.
https://bitbucket.org/philormand/guidem ... rc/master/
Post Reply