Tease AI General Discussion

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

png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

Alright, a few insomnia helped a lot to get me started so I worked on a nodejs prototype to see how far I would go with a parser...

And I got pretty far but not as far as many would want :lol:

I have a parser working for script files (start,link, module, end) with a very modular way of supporting the commands and the UI.

But I don't care about the UI yet so for now there is only a text based ui...

You can find the project on https://github.com/png2/Tease-AI-proto

I mainly used it to play with nodejs and ES6 so even if you know regular javascript you might get a few headache with the syntax. I tried to comment it as much as possible and the code should be easy to read.

Contact me in PMs if you have questions/troubles/feedbacks
justsomeguy345521
Explorer
Explorer
Posts: 13
Joined: Tue Jun 02, 2015 9:34 pm

Re: Tease AI Open Beta

Post by justsomeguy345521 »

Wow. Great stuff png. I'll check it out very soon!

Keep it coming :D
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

envy wrote:amazing program! really impressive.

I hit a bug that made is stop working though, just after she asks if you prefer ass or tit, she says "in that case" and then the program throws an error :

it looks for c:\User\El**** which is not an existing user on my computer, im guessing its your username? (i starred out most of it incase you found it personal
Spoiler: show
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at Tease_AI.Form1.GetTnAList() in C:\Users\El****\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form1.vb:line 13487
at Tease_AI.Form1.CommandClean(String StringClean) in C:\Users\El****\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form1.vb:line 9059
at Tease_AI.Form1.Timer1_Tick(Object sender, EventArgs e) in C:\Users\El****\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form1.vb:line 4162
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Yeah don't worry about the path in the error, it's probably linked to the way 1885 built the program

According to the error either you tits or ass directory isn't set or is invalid. You should check in the image tab in the settings that they are both correctly set
User avatar
Lestat
Explorer At Heart
Explorer At Heart
Posts: 225
Joined: Wed Oct 21, 2009 9:53 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Switzerland

Re: Tease AI Open Beta

Post by Lestat »

You can tag both, it won't change anything I think. I mean if it's tagged as femdom and 1 woman, it will come out when the femdom tag is used in a script anyway I think. But more the tags, more the chance to have it called by any scripts that use tags.

CH stand for Cock Hero videos I guess (if you don't know what they are you can easily find it on the forum) :-)
Gentleman by day :oldtimer: Philosopher by night :hmmm: Pervert by choice :shutup2: Rebel by fate :punk:
User avatar
opiate
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Thu Mar 15, 2012 5:20 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease AI Open Beta

Post by opiate »

envy wrote:So I was trying a little bit of scripting that would comment on images. Im not sure how to access the image tags though?

I know how to access a genre of image, such as a random image from the femdom directory with @ShowFemdomImage @LockImages

(is the lock needed?)

Say I want an image with "whipping" tagged, is it possible to search for such an image directly? @ShowWhippingImage doesn't work. Alternatively is it possible to select a picture then check that image for a given tag or even for multiple tags?

Thanks for any help

EDIT: sorry, nevermind I found the command guide here: viewtopic.php?t=16051

EDIT2: I still dont understand the @LockImages command
@LockImages locks the slideshow so that they wont automatically change until the @UnlockImage command is used
To show specially tagged images

@ShowTaggedImage @Tag"Name" example : @ShowTaggedImage @TagWhipping

The "Name" of the Tag must be the system name, which is sometimes different than the names in the local image tagger.
Check your ...TeaseAI/Images/System/ ...there is a file called LocalSystemTags.txt, it has the system tags for any tagged image in it.
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

envy wrote:
opiate wrote:
envy wrote:So I was trying a little bit of scripting that would comment on images. Im not sure how to access the image tags though?
..........................than the names in the local image tagger.
Check your ...TeaseAI/Images/System/ ...there is a file called LocalSystemTags.txt, it has the system tags for any tagged image in it.

Thanks for the help. I still can't seem to do what I want to do though. I want to pick a random image from the users porn collection and then have the domme comment on it based on tags.

here is a very simple version (that doesnt work but shows what im trying to do)

Code: Select all

@ShowLocalImage
@TagAss there is an ass in the image shown
@TagBondage there is bondage in the image shown
This doesnt work because the images changes before the lines are spoken, and the domme says the lines regardless of the tags.

Another option was to do the following:

Code: Select all

@ShowLocalImage #PictureComments
where #PictureComments contains:

Code: Select all

@TagAss there is an ass in the image shown
@TagBondage there is bondage in the image shown
This will at least say the comment at the same time as the image shows, but will ignore the tags in the file



Infact the tags only seem to filter text correctly when in a taunt file, but there is no wya to make a taunt file run on demand so this doesnt help.

using @ShowTaggedImage doesnt help as the user may not have such an image, and I want to select a random image anyway.

Any ideas anyone?
The filters only works in list based files like the taunts, cbt, edge, etc.

If you want to do that you have to fork the path before, something like might work :

Code: Select all

blah @Chance50(show boob tagged img) @Goto(show ass tagged img)
(show boob tagged img)
There is a boob in the picture @ShowTaggedImage @TagBoobs
(show ass tagged img)
There is an ass in the picture @ShowTaggedImage @TagAss
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

envy wrote:Thanks for the reply.

I tried using tags in the CBT file but they dont seem to work there either.


test code:

Code: Select all

Lets look at a picture @ShowFemdomImage @LockImages @CBTCock
contents of CBTcock.txt:

Code: Select all

@TagChastity chastity
@TagWhipping whipping
@TagBondage bondage
The program picks a random options, ignoring the tags. The only place ive seen them work is in taunt file, so im still stuck. Im starting to think that what i want to do isnt possible.
Hmmm some of the filters definitely works since 1885 uses @CBTLevelX in them. I thought he used the same system for all the list files but it seems he didn't... :-/

I haven't analyzed the code about the tags yet so I can't help you more for now but if I find something as I go through it I'll let you know
User avatar
opiate
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Thu Mar 15, 2012 5:20 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease AI Open Beta

Post by opiate »

png wrote:
envy wrote:Thanks for the reply.

I tried using tags in the CBT file but they dont seem to work there either.


test code:

Code: Select all

Lets look at a picture @ShowFemdomImage @LockImages @CBTCock
This script is telling the program to Show a Femdom Image, lock the image, and then run a CBT Routine.

Hopefully this makes sense...
For a tagged CBT images you would have to make your script look like

or
@ShowTaggedImage @TagBondage Text @CBT
The program now starts a CBT routine.
@ShowTaggedImage @TagWhipping Text @CBT
The program now starts a CBT routine.

If you want the program to call randomly tagged text based off of randomly tagged images INSIDE your CBT routine
Create a special Vocab file... I'll call it "VocabTags"

#VocabTags
Blahblahblah (This un-tagged line is essential to keep the program from not being able to find a matching tag, it will crash if it for some it can't find a match.)
@TagA blah blah blah
@TagB blah blah blah
@TagC blah blah blah
@TagD blah blah blah

Then in your CBT routines add lines like this
@ShowTaggedImage #VocabTags

I know scripts like this work, I found out the hard way lol, as long as you're careful not to leave any loopholes the scripts will work... if for any reason there are unexpected holes in the scripts, the program will throw "out of index" and crash. Hope this helps, also I haven't run into any filters that don't work, only formatting issues where the tag isn't what I thought it was, bad tags will also throw a -1 and crash.
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

opiate wrote:
png wrote:
envy wrote:Thanks for the reply.

I tried using tags in the CBT file but they dont seem to work there either.


test code:

Code: Select all

Lets look at a picture @ShowFemdomImage @LockImages @CBTCock
This script is telling the program to Show a Femdom Image, lock the image, and then run a CBT Routine.

Hopefully this makes sense...
For a tagged CBT images you would have to make your script look like

or
@ShowTaggedImage @TagBondage Text @CBT
The program now starts a CBT routine.
@ShowTaggedImage @TagWhipping Text @CBT
The program now starts a CBT routine.

If you want the program to call randomly tagged text based off of randomly tagged images INSIDE your CBT routine
Create a special Vocab file... I'll call it "VocabTags"

#VocabTags
Blahblahblah (This un-tagged line is essential to keep the program from not being able to find a matching tag, it will crash if it for some it can't find a match.)
@TagA blah blah blah
@TagB blah blah blah
@TagC blah blah blah
@TagD blah blah blah

Then in your CBT routines add lines like this
@ShowTaggedImage #VocabTags

I know scripts like this work, I found out the hard way lol, as long as you're careful not to leave any loopholes the scripts will work... if for any reason there are unexpected holes in the scripts, the program will throw "out of index" and crash. Hope this helps, also I haven't run into any filters that don't work, only formatting issues where the tag isn't what I thought it was, bad tags will also throw a -1 and crash.
Great idea I never thought of using the vocabulary files like that. You have to make sure you have one for each tag though that could make it quite tedious
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

envy wrote:thanks for the replies

opiate, i should have said in my origonal post but I already tried the vocabulary file solution.

It doesnt actually work as you might expect it to

The code first picks a line in the vocab file, regardless of tag, and then inserts that line into the original line

so @showTagImage @tag1 #vocab

becomes @ShowTagImage @tag1 @tag2 text about tag2

So before picking the image it reads the vocab and adds the tag THEN it picks an image matching both tags. This means its not picking a random image anymore, and also it could try to pick an image that doesnt exist as no image may have tag1 and tag2.

I hope I made sense
Damn too bad

That's strange because it works for the other filters on #tags and it shouldn't if it works as you describe. And I don't see any difference in the code we have

Did you try to separate the @ShowTaggedImage and the #vocab on separate lines (with a @LockImage to prevent the system to change the image). From what I see it might help as I think it does the #vocab replacement before executing the @ShowTaggedImage

I feel that tag system is going to give me nightmares to reproduce on my rewrite...
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

envy wrote:
png wrote:
envy wrote:thanks for the replies


Damn too bad

That's strange because it works for the other filters on #tags and it shouldn't if it works as you describe. And I don't see any difference in the code we have

Did you try to separate the @ShowTaggedImage and the #vocab on separate lines (with a @LockImage to prevent the system to change the image). From what I see it might help as I think it does the #vocab replacement before executing the @ShowTaggedImage

I feel that tag system is going to give me nightmares to reproduce on my rewrite...

I tried on seperate lines, it still seems to ignore the tags

Im not sure exactly what you mean by "works for the other filters on #tags". If you mean other filters like @apathy1 they work because @ShowTaggedImage @apathy1 is read as two seperate commands. But when you put @TagBondage in for example, the code first searches the # files, and copies the text into the line, before reading the @ commands. This means it ends up with @ShowTaggedImage @TagBondage which is read as one command. I think I explained that badly, but hopefully it made some sense.

For reasons i dont understand very well tags only seem to work reliably when in taunt files
From what I see in the code, it works that way :

1. open the #File.txt
2. Get all the lines of the file
3. Delete the lines with a @Filter not respected (ex : @SelfYoung, @HasChastity, etc. Including most of the @TagXXXX)
4. If it finds a line with @ShowTaggedImage, it looks for addition @TagXXX in order to find the right image
5. It takes a random line from the remaining ones
6. For an unknown reason it delete the following words from the choosen line :TagFace,TagBoobs,TagPussy,TagAss,TagFeet,TagFullyDressed,TagHalfDressed,TagNaked,TagSideView,TagCloseUp,TagMasturbating,TagSucking
7. If there is a # remaining restart the cleaning process

It works the same for all the files with a list in them : CBT, edges, taunts, the instructions for the video like censor sucks

So either it has been changed since then or something like :

Code: Select all

@NullResponse @ShowTaggedImage @TagAss @LockImages
#yourVocab @UnlockImages


and in #yourVocab.txt :

Code: Select all

@TagAss What a nice ass!!!
Should work. Is it what you tried ? What did it do ? Display an empty line or an error ? Or did I miss something somewhere (very possible :-P )
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

Anyway for those interested out there I have a working prototype of a text based TeaseAI in nodeJs. It is still missing the interrupt system and quite a lot of commands but I was able to do a few test rounds with my persona and it's starting to look like something (almost) usable :lol:

You can still find it there : https://github.com/png2/Tease-AI-proto
User avatar
opiate
Explorer At Heart
Explorer At Heart
Posts: 164
Joined: Thu Mar 15, 2012 5:20 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease AI Open Beta

Post by opiate »

envy wrote:thanks for the replies

opiate, i should have said in my origonal post but I already tried the vocabulary file solution.

It doesnt actually work as you might expect it to

The code first picks a line in the vocab file, regardless of tag, and then inserts that line into the original line

so @showTagImage @tag1 #vocab

becomes @ShowTagImage @tag1 @tag2 text about tag2

So before picking the image it reads the vocab and adds the tag THEN it picks an image matching both tags. This means its not picking a random image anymore, and also it could try to pick an image that doesnt exist as no image may have tag1 and tag2.

I hope I made sense
so @showTagImage @tag1 #vocab <----- That won't work
You can't call the @tag outside of the vocab file for this approach to work.


@ShowTaggedImage #VocabFile
Call the image, but do not put any @TagFilters with @ShowTaggedImage

You're vocab file should have the @TagFilters and the text lines
@TagAss Damn that's a nice ass

This works. I'm using this exact recipe in Swisses' stroke taunts.
q55x8x
Explorer
Explorer
Posts: 38
Joined: Sat May 10, 2014 2:20 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: Tease AI Open Beta

Post by q55x8x »

png wrote:Anyway for those interested out there I have a working prototype of a text based TeaseAI in nodeJs. It is still missing the interrupt system and quite a lot of commands but I was able to do a few test rounds with my persona and it's starting to look like something (almost) usable :lol:

You can still find it there : https://github.com/png2/Tease-AI-proto
Tried it yesterday with a few very simple scripts. Haven't found a bug yet :O pretty impressive :yes: so far.
png
Explorer At Heart
Explorer At Heart
Posts: 157
Joined: Tue Jun 02, 2015 4:34 pm

Re: Tease AI Open Beta

Post by png »

q55x8x wrote:
png wrote:Anyway for those interested out there I have a working prototype of a text based TeaseAI in nodeJs. It is still missing the interrupt system and quite a lot of commands but I was able to do a few test rounds with my persona and it's starting to look like something (almost) usable :lol:

You can still find it there : https://github.com/png2/Tease-AI-proto
Tried it yesterday with a few very simple scripts. Haven't found a bug yet :O pretty impressive :yes: so far.
You haven't played enough with it then as I found some quite often :lol:

I just pushed a lot of small commands, filters and vocab. The CBT and bookmarks are working. Next I need to finish the edging stuff but this one is a pain to reverse engineer :unsure:

I'm happy with my modularity so far as I barely have to touch the core anymore and each time it's to add small things when doing the most complex modules 8-)
Post Reply