[Tease Program] Tease-AI Java (1.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

User avatar
Augustulus
Explorer At Heart
Explorer At Heart
Posts: 514
Joined: Fri Dec 25, 2015 4:27 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: [Tease Program] Tease-AI Java (1.2)

Post by Augustulus »

ski23 wrote: Sat Jul 13, 2019 4:04 pm
Augustulus wrote: Wed Jul 10, 2019 9:25 pm Hey :wave:

I'm experimenting a little bit with this new Tease AI. Building a personality from scratch. Maybe I release it someday, if things work well.
I like this timeout system on input. So you can react if the player is not responding. I've made a little edging module where the player is asked if he wants to edge more following the sample-code in the wiki.

Code: Select all

var someMore = sendInput("But what about some more edging? %emote%", 10);

    var moreEdging = true;
    while(true)
    {
        if(someMore.isTimeout())
        {
            sendMessage("Looks like you need some time to rest");
            break;
        }
        else if(someMore.isLike("yes", "yeah"))
        {
            sendMessage("I knew it");
            sendMessage("You love the feeling, don't you %subname%");
            moreEdging = true;
            break;
        }
        else if(someMore.isLike("no", "not"))
        {
            sendMessage("Okay, let's do something different then");
            break;
        }
        else if(someMore.isLike("what"))
        {
            sendMessage("Do you want to edge more?");
            someMore.loop();
        }
    }
After this while-loop is executed the program does not react to responses any more. After removing the while-loop, the responses will be handled correct, but I can't loop the answer. The log has no error messages. So, I think this is a bug.
Can you look into it, please?
try someMore = someMore.loop()
Okay, if I execute this statement after exiting the while-loop it works, but has an unusual long time until next command is executed. I'll test this out a bit more.

Thanks!
It's time to duel statistics:
Wins: 16
Loses: 12

Offer: (I'm currently not taking any new requests!)
I'm having fun creating custom tasks (jerk off instructions)! Interested in one?
Look here:
Spoiler: show
What you have to do:
1. Write me a PM
2. Be polite! (I don't react to PMs without greeting etc)
3. Tell me something about your fetishes and limits (more details lead to better experiences)
4. Send me a detailed report after playing. I want my fun, too :-) and want to enhance my skills
5. If I don't get a report I will ignore further requests from you!

I will respond to PMs as soon as possible (typically within 24 hours)
ski23
Explorer At Heart
Explorer At Heart
Posts: 464
Joined: Sun Jun 11, 2017 12:53 am
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Courtney
Sub/Slave(s): Courtney
Location: Virginia
Contact:

Re: [Tease Program] Tease-AI Java (1.2)

Post by ski23 »

Augustulus wrote: Sat Jul 13, 2019 4:22 pm
ski23 wrote: Sat Jul 13, 2019 4:04 pm
Augustulus wrote: Wed Jul 10, 2019 9:25 pm Hey :wave:

I'm experimenting a little bit with this new Tease AI. Building a personality from scratch. Maybe I release it someday, if things work well.
I like this timeout system on input. So you can react if the player is not responding. I've made a little edging module where the player is asked if he wants to edge more following the sample-code in the wiki.

Code: Select all

var someMore = sendInput("But what about some more edging? %emote%", 10);

    var moreEdging = true;
    while(true)
    {
        if(someMore.isTimeout())
        {
            sendMessage("Looks like you need some time to rest");
            break;
        }
        else if(someMore.isLike("yes", "yeah"))
        {
            sendMessage("I knew it");
            sendMessage("You love the feeling, don't you %subname%");
            moreEdging = true;
            break;
        }
        else if(someMore.isLike("no", "not"))
        {
            sendMessage("Okay, let's do something different then");
            break;
        }
        else if(someMore.isLike("what"))
        {
            sendMessage("Do you want to edge more?");
            someMore.loop();
        }
    }
After this while-loop is executed the program does not react to responses any more. After removing the while-loop, the responses will be handled correct, but I can't loop the answer. The log has no error messages. So, I think this is a bug.
Can you look into it, please?
try someMore = someMore.loop()
Okay, if I execute this statement after exiting the while-loop it works, but has an unusual long time until next command is executed. I'll test this out a bit more.

Thanks!
I'd prefer just using this though:

instead of:

else if(someMore.isLike("what"))
{
sendMessage("Do you want to edge more?");
someMore.loop();
}

use:
else if(someMore.isLike("what"))
{
someMore = sendInput("Do you want to edge more?");
}
User avatar
Augustulus
Explorer At Heart
Explorer At Heart
Posts: 514
Joined: Fri Dec 25, 2015 4:27 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: [Tease Program] Tease-AI Java (1.2)

Post by Augustulus »

ski23 wrote: Sat Jul 13, 2019 6:13 pm I'd prefer just using this though:

instead of:

else if(someMore.isLike("what"))
{
sendMessage("Do you want to edge more?");
someMore.loop();
}

use:
else if(someMore.isLike("what"))
{
someMore = sendInput("Do you want to edge more?");
}
This does not solve the problem. If I answer the first question with "yes" then the code leaves the while-loop without executing the loop-function. And after that the system don't react to responses any more.
It's time to duel statistics:
Wins: 16
Loses: 12

Offer: (I'm currently not taking any new requests!)
I'm having fun creating custom tasks (jerk off instructions)! Interested in one?
Look here:
Spoiler: show
What you have to do:
1. Write me a PM
2. Be polite! (I don't react to PMs without greeting etc)
3. Tell me something about your fetishes and limits (more details lead to better experiences)
4. Send me a detailed report after playing. I want my fun, too :-) and want to enhance my skills
5. If I don't get a report I will ignore further requests from you!

I will respond to PMs as soon as possible (typically within 24 hours)
ski23
Explorer At Heart
Explorer At Heart
Posts: 464
Joined: Sun Jun 11, 2017 12:53 am
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Courtney
Sub/Slave(s): Courtney
Location: Virginia
Contact:

Re: [Tease Program] Tease-AI Java (1.2)

Post by ski23 »

Augustulus wrote: Sat Jul 13, 2019 6:44 pm
ski23 wrote: Sat Jul 13, 2019 6:13 pm I'd prefer just using this though:

instead of:

else if(someMore.isLike("what"))
{
sendMessage("Do you want to edge more?");
someMore.loop();
}

use:
else if(someMore.isLike("what"))
{
someMore = sendInput("Do you want to edge more?");
}
This does not solve the problem. If I answer the first question with "yes" then the code leaves the while-loop without executing the loop-function. And after that the system don't react to responses any more.
I'm currently on a work trip away from my computer so I can't look into this super in depth but maybe GodDragon will get back to you. I pinged him on skype. Sorry I can't be more help right now. I don't use the timeout feature really so I don't know what is wrong without doing some more thorough debugging when I get back home.
User avatar
Augustulus
Explorer At Heart
Explorer At Heart
Posts: 514
Joined: Fri Dec 25, 2015 4:27 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: [Tease Program] Tease-AI Java (1.2)

Post by Augustulus »

ski23 wrote: Sat Jul 13, 2019 6:52 pm
Augustulus wrote: Sat Jul 13, 2019 6:44 pm
ski23 wrote: Sat Jul 13, 2019 6:13 pm I'd prefer just using this though:

instead of:

else if(someMore.isLike("what"))
{
sendMessage("Do you want to edge more?");
someMore.loop();
}

use:
else if(someMore.isLike("what"))
{
someMore = sendInput("Do you want to edge more?");
}
This does not solve the problem. If I answer the first question with "yes" then the code leaves the while-loop without executing the loop-function. And after that the system don't react to responses any more.
I'm currently on a work trip away from my computer so I can't look into this super in depth but maybe GodDragon will get back to you. I pinged him on skype. Sorry I can't be more help right now. I don't use the timeout feature really so I don't know what is wrong without doing some more thorough debugging when I get back home.
Thanks for the help anyways. I know, that you didn't use it much, I use Mischevious as a second reference to the wiki :-)
I post the code and the log here, so GodDragon or you have some more infos.

Edging module:

Code: Select all

log(logLevel.INFO, "Start edging_01");
    sendMessage("I have a great idea %subname%");
    sendMessage("Let's do some edging for me");
    doEdging();

    sendMessage("I'm not letting you cum now %subname%");
    var someMore = sendInput("But what about some more edging? %emote%", 10);

    let chatHandler = Java.type("me.goddragon.teaseai.api.chat.ChatHandler").getHandler();
    log(logLevel.INFO, "ChatHandler.currentCallback.getAnswer() before while-loop: " + chatHandler.currentCallback.getAnswer());
    var moreEdging = true;

    while(true)
    {
        if(someMore.isTimeout())
        {
            sendMessage("Looks like you need some time to rest");
            break;
        }
        else if(someMore.isLike("yes", "yeah"))
        {
            sendMessage("I knew it");
            sendMessage("You love the feeling, don't you %subname%");
            moreEdging = true;
            break;
        }
        else if(someMore.isLike("no", "not"))
        {
            sendMessage("Okay, let's do something different then");
            break;
        }
        else if(someMore.isLike("what"))
        {
            sendMessage("Do you want to edge more?");
            someMore = someMore.loop();
        }
    }

    log(logLevel.INFO, "ChatHandler.currentCallback.getAnswer() after while-loop: " + chatHandler.currentCallback.getAnswer());
    //someMore = someMore.loop();
    //chatHandler.getCurrentCallback().setAnswer(null);

    if(moreEdging)
    {
        doEdging();

        sendMessage("That was fun!");
        sendMessage("Let's repeat this in the future");
    }

    log(logLevel.INFO, "End edging_01");
log() and doEdging() are methods declared in another module. I'm pretty sure that these are not relevant for the problem.
But I can post them as well, if someone needs them.

Response:

Code: Select all

addResponseIndicator("edge", "close", "there");

function onTheEdgeResponse(message)
{
    log(logLevel.INFO, "Getting response that user is on the edge!");
    let strokeHandler = Java.type("me.goddragon.teaseai.api.session.StrokeHandler").getHandler();
    strokeHandler.setOnEdge(true);
    return true;
}
Log:
Spoiler: show
08:54:32 nachm. INFO: Launching TAJ 1.2
08:54:32 nachm. INFO: Personality 'Default Personality' version 1.0 loaded.
Warning: Nashorn engine is planned to be removed from a future JDK release
08:54:33 nachm. SEVERE: Variable 'apathylevel' was assigned to the custom setting 'Apathy Level:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'orgasmchance' was assigned to the custom setting 'Orgasm Chance:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'ruinchance' was assigned to the custom setting 'Ruin Chance:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minsessionlength' was assigned to the custom setting 'Minimum Session Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxsessionlength' was assigned to the custom setting 'Maximum Session Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minstrokinglength' was assigned to the custom setting 'Minimum Stroking Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxstrokinglength' was assigned to the custom setting 'Maximum Stroking Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minholdinglength' was assigned to the custom setting 'Minimum Edge Holding Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxholdinglength' was assigned to the custom setting 'Maximum Edge Holding Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'tauntfrequency' was assigned to the custom setting 'Taunt Frequency:' but is malformed/has the wrong type. Expected Type: Integer
08:54:34 nachm. INFO: Personality 'Mischevious' version 1.1.0 loaded.
08:54:34 nachm. INFO: Personality 'Tasty White' version 0.0.1 loaded.
08:54:35 nachm. INFO: Loaded 33 picture sets for Ash
Warning: Nashorn engine is planned to be removed from a future JDK release
08:54:42 nachm. INFO: Loaded 27 vocabularies.
08:54:42 nachm. INFO: Loaded 5 responses.
08:54:42 nachm. INFO: Start edging_01
08:54:46 nachm. CHAT: 08:54 nachm. Ash: I have a great idea Augustulus
08:54:52 nachm. CHAT: 08:54 nachm. Ash: Let's do some edging for me
08:54:57 nachm. CHAT: 08:54 nachm. Ash: Go to the edge
08:55:01 nachm. CHAT: 08:55 nachm. Ash: I want you so fucking close
08:55:03 nachm. CHAT: 08:55 nachm. Augustulus: I am on the edge
08:55:13 nachm. INFO: Getting response that user is on the edge!
08:55:16 nachm. CHAT: 08:55 nachm. Ash: Hands off Augustulus
08:55:20 nachm. CHAT: 08:55 nachm. Ash: I'm not letting you cum now Augustulus
08:55:29 nachm. CHAT: 08:55 nachm. Ash: But what about some more edging? lol
08:55:31 nachm. CHAT: 08:55 nachm. Augustulus: Yes Mistress
08:55:31 nachm. INFO: ChatHandler.currentCallback.getAnswer() before while-loop: Yes Mistress
08:55:33 nachm. CHAT: 08:55 nachm. Ash: I knew it
08:55:39 nachm. CHAT: 08:55 nachm. Ash: You love the feeling, don't you Augustulus
08:55:43 nachm. INFO: ChatHandler.currentCallback.getAnswer() after while-loop: Yes Mistress
08:55:44 nachm. CHAT: 08:55 nachm. Ash: Go to the edge
08:55:48 nachm. CHAT: 08:55 nachm. Ash: I want you so fucking close
08:55:55 nachm. CHAT: 08:55 nachm. Augustulus: I am on the edge
08:55:58 nachm. CHAT: 08:55 nachm. Ash: Imagine licking you cum from these breasts
08:56:03 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:05 nachm. CHAT: 08:56 nachm. Ash: I want you right fucking there Augustulus
08:56:10 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:11 nachm. CHAT: 08:56 nachm. Ash: Get close for me Augustulus
08:56:15 nachm. CHAT: 08:56 nachm. Ash: Get that dick on the edge
08:56:16 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:21 nachm. CHAT: 08:56 nachm. Ash: I want you close Augustulus
It's time to duel statistics:
Wins: 16
Loses: 12

Offer: (I'm currently not taking any new requests!)
I'm having fun creating custom tasks (jerk off instructions)! Interested in one?
Look here:
Spoiler: show
What you have to do:
1. Write me a PM
2. Be polite! (I don't react to PMs without greeting etc)
3. Tell me something about your fetishes and limits (more details lead to better experiences)
4. Send me a detailed report after playing. I want my fun, too :-) and want to enhance my skills
5. If I don't get a report I will ignore further requests from you!

I will respond to PMs as soon as possible (typically within 24 hours)
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: [Tease Program] Tease-AI Java (1.2)

Post by bobhill »

I'm missing something simple on the download/setup.

I downloaded 1.0.17 from mega, the Java 11 JDK EXE file, and the Mischievous personality. I unzipped Tease AI to a folder, installed Java 11 via the EXE, unzipped Mischievous and moved the new folder to the Personalities folder.

When I run TeaseAI.jar, I had to manually find java.exe in the Java/jdk-11.0.4/bin folder and associate it to execute TeaseAI.jar with Java.

However, then - nothing happens.

Any help is appreciated!
ski23
Explorer At Heart
Explorer At Heart
Posts: 464
Joined: Sun Jun 11, 2017 12:53 am
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Courtney
Sub/Slave(s): Courtney
Location: Virginia
Contact:

Re: [Tease Program] Tease-AI Java (1.2)

Post by ski23 »

bobhill wrote: Sun Jul 28, 2019 1:58 pm I'm missing something simple on the download/setup.

I downloaded 1.0.17 from mega, the Java 11 JDK EXE file, and the Mischievous personality. I unzipped Tease AI to a folder, installed Java 11 via the EXE, unzipped Mischievous and moved the new folder to the Personalities folder.

When I run TeaseAI.jar, I had to manually find java.exe in the Java/jdk-11.0.4/bin folder and associate it to execute TeaseAI.jar with Java.

However, then - nothing happens.

Any help is appreciated!
It sounds like you didn’t install java correctly. Open up a command window and type java -version.
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: [Tease Program] Tease-AI Java (1.2)

Post by bobhill »

ski23 wrote: Sun Jul 28, 2019 4:49 pm It sounds like you didn’t install java correctly. Open up a command window and type java -version.
Yes, you are right:

Code: Select all

'java' is not recognized as an internal or external command,
operable program or batch file.
Strange, I downloaded the exe and it ran correctly. I'll uninstall and try again. Thanks for the reply!
ski23
Explorer At Heart
Explorer At Heart
Posts: 464
Joined: Sun Jun 11, 2017 12:53 am
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): Courtney
Sub/Slave(s): Courtney
Location: Virginia
Contact:

Re: [Tease Program] Tease-AI Java (1.2)

Post by ski23 »

bobhill wrote: Sun Jul 28, 2019 11:18 pm
ski23 wrote: Sun Jul 28, 2019 4:49 pm It sounds like you didn’t install java correctly. Open up a command window and type java -version.
Yes, you are right:

Code: Select all

'java' is not recognized as an internal or external command,
operable program or batch file.
Strange, I downloaded the exe and it ran correctly. I'll uninstall and try again. Thanks for the reply!
Let me know if you have any issues and I might be able to help.
User avatar
slaveashish
Explorer At Heart
Explorer At Heart
Posts: 222
Joined: Sat Sep 26, 2009 10:18 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive
Location: Colombia

Re: [Tease Program] Tease-AI Java (1.2)

Post by slaveashish »

bobhill wrote: Sun Jul 28, 2019 11:18 pm
ski23 wrote: Sun Jul 28, 2019 4:49 pm It sounds like you didn’t install java correctly. Open up a command window and type java -version.
Yes, you are right:

Code: Select all

'java' is not recognized as an internal or external command,
operable program or batch file.
Strange, I downloaded the exe and it ran correctly. I'll uninstall and try again. Thanks for the reply!
Even if you have installed java you have to add it to system variable for that command to work. It is quite easy and you can find how to on google
GodDragon
Explorer At Heart
Explorer At Heart
Posts: 790
Joined: Sun Jun 11, 2017 4:30 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: [Tease Program] Tease-AI Java (1.2)

Post by GodDragon »

Augustulus wrote: Sat Jul 13, 2019 7:07 pm
ski23 wrote: Sat Jul 13, 2019 6:52 pm
Augustulus wrote: Sat Jul 13, 2019 6:44 pm

This does not solve the problem. If I answer the first question with "yes" then the code leaves the while-loop without executing the loop-function. And after that the system don't react to responses any more.
I'm currently on a work trip away from my computer so I can't look into this super in depth but maybe GodDragon will get back to you. I pinged him on skype. Sorry I can't be more help right now. I don't use the timeout feature really so I don't know what is wrong without doing some more thorough debugging when I get back home.
Thanks for the help anyways. I know, that you didn't use it much, I use Mischevious as a second reference to the wiki :-)
I post the code and the log here, so GodDragon or you have some more infos.

Edging module:

Code: Select all

log(logLevel.INFO, "Start edging_01");
    sendMessage("I have a great idea %subname%");
    sendMessage("Let's do some edging for me");
    doEdging();

    sendMessage("I'm not letting you cum now %subname%");
    var someMore = sendInput("But what about some more edging? %emote%", 10);

    let chatHandler = Java.type("me.goddragon.teaseai.api.chat.ChatHandler").getHandler();
    log(logLevel.INFO, "ChatHandler.currentCallback.getAnswer() before while-loop: " + chatHandler.currentCallback.getAnswer());
    var moreEdging = true;

    while(true)
    {
        if(someMore.isTimeout())
        {
            sendMessage("Looks like you need some time to rest");
            break;
        }
        else if(someMore.isLike("yes", "yeah"))
        {
            sendMessage("I knew it");
            sendMessage("You love the feeling, don't you %subname%");
            moreEdging = true;
            break;
        }
        else if(someMore.isLike("no", "not"))
        {
            sendMessage("Okay, let's do something different then");
            break;
        }
        else if(someMore.isLike("what"))
        {
            sendMessage("Do you want to edge more?");
            someMore = someMore.loop();
        }
    }

    log(logLevel.INFO, "ChatHandler.currentCallback.getAnswer() after while-loop: " + chatHandler.currentCallback.getAnswer());
    //someMore = someMore.loop();
    //chatHandler.getCurrentCallback().setAnswer(null);

    if(moreEdging)
    {
        doEdging();

        sendMessage("That was fun!");
        sendMessage("Let's repeat this in the future");
    }

    log(logLevel.INFO, "End edging_01");
log() and doEdging() are methods declared in another module. I'm pretty sure that these are not relevant for the problem.
But I can post them as well, if someone needs them.

Response:

Code: Select all

addResponseIndicator("edge", "close", "there");

function onTheEdgeResponse(message)
{
    log(logLevel.INFO, "Getting response that user is on the edge!");
    let strokeHandler = Java.type("me.goddragon.teaseai.api.session.StrokeHandler").getHandler();
    strokeHandler.setOnEdge(true);
    return true;
}
Log:
Spoiler: show
08:54:32 nachm. INFO: Launching TAJ 1.2
08:54:32 nachm. INFO: Personality 'Default Personality' version 1.0 loaded.
Warning: Nashorn engine is planned to be removed from a future JDK release
08:54:33 nachm. SEVERE: Variable 'apathylevel' was assigned to the custom setting 'Apathy Level:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'orgasmchance' was assigned to the custom setting 'Orgasm Chance:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'ruinchance' was assigned to the custom setting 'Ruin Chance:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minsessionlength' was assigned to the custom setting 'Minimum Session Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxsessionlength' was assigned to the custom setting 'Maximum Session Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minstrokinglength' was assigned to the custom setting 'Minimum Stroking Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxstrokinglength' was assigned to the custom setting 'Maximum Stroking Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minholdinglength' was assigned to the custom setting 'Minimum Edge Holding Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxholdinglength' was assigned to the custom setting 'Maximum Edge Holding Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'tauntfrequency' was assigned to the custom setting 'Taunt Frequency:' but is malformed/has the wrong type. Expected Type: Integer
08:54:34 nachm. INFO: Personality 'Mischevious' version 1.1.0 loaded.
08:54:34 nachm. INFO: Personality 'Tasty White' version 0.0.1 loaded.
08:54:35 nachm. INFO: Loaded 33 picture sets for Ash
Warning: Nashorn engine is planned to be removed from a future JDK release
08:54:42 nachm. INFO: Loaded 27 vocabularies.
08:54:42 nachm. INFO: Loaded 5 responses.
08:54:42 nachm. INFO: Start edging_01
08:54:46 nachm. CHAT: 08:54 nachm. Ash: I have a great idea Augustulus
08:54:52 nachm. CHAT: 08:54 nachm. Ash: Let's do some edging for me
08:54:57 nachm. CHAT: 08:54 nachm. Ash: Go to the edge
08:55:01 nachm. CHAT: 08:55 nachm. Ash: I want you so fucking close
08:55:03 nachm. CHAT: 08:55 nachm. Augustulus: I am on the edge
08:55:13 nachm. INFO: Getting response that user is on the edge!
08:55:16 nachm. CHAT: 08:55 nachm. Ash: Hands off Augustulus
08:55:20 nachm. CHAT: 08:55 nachm. Ash: I'm not letting you cum now Augustulus
08:55:29 nachm. CHAT: 08:55 nachm. Ash: But what about some more edging? lol
08:55:31 nachm. CHAT: 08:55 nachm. Augustulus: Yes Mistress
08:55:31 nachm. INFO: ChatHandler.currentCallback.getAnswer() before while-loop: Yes Mistress
08:55:33 nachm. CHAT: 08:55 nachm. Ash: I knew it
08:55:39 nachm. CHAT: 08:55 nachm. Ash: You love the feeling, don't you Augustulus
08:55:43 nachm. INFO: ChatHandler.currentCallback.getAnswer() after while-loop: Yes Mistress
08:55:44 nachm. CHAT: 08:55 nachm. Ash: Go to the edge
08:55:48 nachm. CHAT: 08:55 nachm. Ash: I want you so fucking close
08:55:55 nachm. CHAT: 08:55 nachm. Augustulus: I am on the edge
08:55:58 nachm. CHAT: 08:55 nachm. Ash: Imagine licking you cum from these breasts
08:56:03 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:05 nachm. CHAT: 08:56 nachm. Ash: I want you right fucking there Augustulus
08:56:10 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:11 nachm. CHAT: 08:56 nachm. Ash: Get close for me Augustulus
08:56:15 nachm. CHAT: 08:56 nachm. Ash: Get that dick on the edge
08:56:16 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:21 nachm. CHAT: 08:56 nachm. Ash: I want you close Augustulus
Sorry I have been quite busy RL. I will look into this in the upcoming week and will see whether I can narrow down the problem.

'
bobhill wrote: Sun Jul 28, 2019 11:18 pm
ski23 wrote: Sun Jul 28, 2019 4:49 pm It sounds like you didn’t install java correctly. Open up a command window and type java -version.
Yes, you are right:

Code: Select all

'java' is not recognized as an internal or external command,
operable program or batch file.
Strange, I downloaded the exe and it ran correctly. I'll uninstall and try again. Thanks for the reply!
As slaveashish said you need to add it to your system path. Interestingly I thought that his wasn't necessary however then I noticed that we are actually restarting the jar and that might be the issue. I will look into whether I can find a work around for this.
GodDragon
Explorer At Heart
Explorer At Heart
Posts: 790
Joined: Sun Jun 11, 2017 4:30 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: [Tease Program] Tease-AI Java (1.2)

Post by GodDragon »

Augustulus wrote: Sat Jul 13, 2019 7:07 pm Thanks for the help anyways. I know, that you didn't use it much, I use Mischevious as a second reference to the wiki :-)
I post the code and the log here, so GodDragon or you have some more infos.

Edging module:

Code: Select all

log(logLevel.INFO, "Start edging_01");
    sendMessage("I have a great idea %subname%");
    sendMessage("Let's do some edging for me");
    doEdging();

    sendMessage("I'm not letting you cum now %subname%");
    var someMore = sendInput("But what about some more edging? %emote%", 10);

    let chatHandler = Java.type("me.goddragon.teaseai.api.chat.ChatHandler").getHandler();
    log(logLevel.INFO, "ChatHandler.currentCallback.getAnswer() before while-loop: " + chatHandler.currentCallback.getAnswer());
    var moreEdging = true;

    while(true)
    {
        if(someMore.isTimeout())
        {
            sendMessage("Looks like you need some time to rest");
            break;
        }
        else if(someMore.isLike("yes", "yeah"))
        {
            sendMessage("I knew it");
            sendMessage("You love the feeling, don't you %subname%");
            moreEdging = true;
            break;
        }
        else if(someMore.isLike("no", "not"))
        {
            sendMessage("Okay, let's do something different then");
            break;
        }
        else if(someMore.isLike("what"))
        {
            sendMessage("Do you want to edge more?");
            someMore = someMore.loop();
        }
    }

    log(logLevel.INFO, "ChatHandler.currentCallback.getAnswer() after while-loop: " + chatHandler.currentCallback.getAnswer());
    //someMore = someMore.loop();
    //chatHandler.getCurrentCallback().setAnswer(null);

    if(moreEdging)
    {
        doEdging();

        sendMessage("That was fun!");
        sendMessage("Let's repeat this in the future");
    }

    log(logLevel.INFO, "End edging_01");
log() and doEdging() are methods declared in another module. I'm pretty sure that these are not relevant for the problem.
But I can post them as well, if someone needs them.

Response:

Code: Select all

addResponseIndicator("edge", "close", "there");

function onTheEdgeResponse(message)
{
    log(logLevel.INFO, "Getting response that user is on the edge!");
    let strokeHandler = Java.type("me.goddragon.teaseai.api.session.StrokeHandler").getHandler();
    strokeHandler.setOnEdge(true);
    return true;
}
Log:
Spoiler: show
08:54:32 nachm. INFO: Launching TAJ 1.2
08:54:32 nachm. INFO: Personality 'Default Personality' version 1.0 loaded.
Warning: Nashorn engine is planned to be removed from a future JDK release
08:54:33 nachm. SEVERE: Variable 'apathylevel' was assigned to the custom setting 'Apathy Level:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'orgasmchance' was assigned to the custom setting 'Orgasm Chance:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'ruinchance' was assigned to the custom setting 'Ruin Chance:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minsessionlength' was assigned to the custom setting 'Minimum Session Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxsessionlength' was assigned to the custom setting 'Maximum Session Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minstrokinglength' was assigned to the custom setting 'Minimum Stroking Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxstrokinglength' was assigned to the custom setting 'Maximum Stroking Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'minholdinglength' was assigned to the custom setting 'Minimum Edge Holding Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'maxholdinglength' was assigned to the custom setting 'Maximum Edge Holding Length:' but is malformed/has the wrong type. Expected Type: Integer
08:54:33 nachm. SEVERE: Variable 'tauntfrequency' was assigned to the custom setting 'Taunt Frequency:' but is malformed/has the wrong type. Expected Type: Integer
08:54:34 nachm. INFO: Personality 'Mischevious' version 1.1.0 loaded.
08:54:34 nachm. INFO: Personality 'Tasty White' version 0.0.1 loaded.
08:54:35 nachm. INFO: Loaded 33 picture sets for Ash
Warning: Nashorn engine is planned to be removed from a future JDK release
08:54:42 nachm. INFO: Loaded 27 vocabularies.
08:54:42 nachm. INFO: Loaded 5 responses.
08:54:42 nachm. INFO: Start edging_01
08:54:46 nachm. CHAT: 08:54 nachm. Ash: I have a great idea Augustulus
08:54:52 nachm. CHAT: 08:54 nachm. Ash: Let's do some edging for me
08:54:57 nachm. CHAT: 08:54 nachm. Ash: Go to the edge
08:55:01 nachm. CHAT: 08:55 nachm. Ash: I want you so fucking close
08:55:03 nachm. CHAT: 08:55 nachm. Augustulus: I am on the edge
08:55:13 nachm. INFO: Getting response that user is on the edge!
08:55:16 nachm. CHAT: 08:55 nachm. Ash: Hands off Augustulus
08:55:20 nachm. CHAT: 08:55 nachm. Ash: I'm not letting you cum now Augustulus
08:55:29 nachm. CHAT: 08:55 nachm. Ash: But what about some more edging? lol
08:55:31 nachm. CHAT: 08:55 nachm. Augustulus: Yes Mistress
08:55:31 nachm. INFO: ChatHandler.currentCallback.getAnswer() before while-loop: Yes Mistress
08:55:33 nachm. CHAT: 08:55 nachm. Ash: I knew it
08:55:39 nachm. CHAT: 08:55 nachm. Ash: You love the feeling, don't you Augustulus
08:55:43 nachm. INFO: ChatHandler.currentCallback.getAnswer() after while-loop: Yes Mistress
08:55:44 nachm. CHAT: 08:55 nachm. Ash: Go to the edge
08:55:48 nachm. CHAT: 08:55 nachm. Ash: I want you so fucking close
08:55:55 nachm. CHAT: 08:55 nachm. Augustulus: I am on the edge
08:55:58 nachm. CHAT: 08:55 nachm. Ash: Imagine licking you cum from these breasts
08:56:03 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:05 nachm. CHAT: 08:56 nachm. Ash: I want you right fucking there Augustulus
08:56:10 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:11 nachm. CHAT: 08:56 nachm. Ash: Get close for me Augustulus
08:56:15 nachm. CHAT: 08:56 nachm. Ash: Get that dick on the edge
08:56:16 nachm. CHAT: 08:56 nachm. Augustulus: I am on the edge
08:56:21 nachm. CHAT: 08:56 nachm. Ash: I want you close Augustulus
So I just tested this with my current build and my code works as follows:

Code: Select all

sendMessage("Start edging_01");
    sendMessage("I have a great idea %subname%");
    sendMessage("Let's do some edging for me");
    doEdging();

    sendMessage("I'm not letting you cum now %subname%");
    var someMore = sendInput("But what about some more edging? %emote%", 10);

    let chatHandler = Java.type("me.goddragon.teaseai.api.chat.ChatHandler").getHandler();
    sendMessage("ChatHandler.currentCallback.getAnswer() before while-loop: " + chatHandler.currentCallback.getAnswer());
    var moreEdging = true;

    while(true)
    {
        if(someMore.isTimeout())
        {
            sendMessage("Looks like you need some time to rest");
            break;
        }
        else if(someMore.isLike("yes", "yeah"))
        {
            sendMessage("I knew it");
            sendMessage("You love the feeling, don't you %subname%");
            moreEdging = true;
            break;
        }
        else if(someMore.isLike("no", "not"))
        {
            sendMessage("Okay, let's do something different then");
            break;
        }
        else if(someMore.isLike("what"))
        {
            sendMessage("Do you want to edge more?");
            someMore = someMore.loop();
        }
    }

    sendMessage("ChatHandler.currentCallback.getAnswer() after while-loop: " + chatHandler.currentCallback.getAnswer());
    //someMore = someMore.loop();
    //chatHandler.getCurrentCallback().setAnswer(null);

    if(moreEdging)
    {
        doEdging();

        sendMessage("That was fun!");
        sendMessage("Let's repeat this in the future");
    }

    sendMessage("End edging_01");
    
function doEdging() {
    startEdge();
    sendMessage("edge!");
    startStroking(randomInteger(150, 200));
    sendEdgeTaunts();
}


function sendEdgeTaunts() {
    //Select a random amount of iterations and we will wait based on that random amount before sending a taunt message
    let iterationsToGo = randomInteger(25, 55);

    //Just how long you want each iteration to take
    const millisecondsToWait = 500;
    //Start our loop and continue until iterationsToGo are equal or less than zero
    while(iterationsToGo > 0) {
        //Is the sub on the edge?
        if(isOnEdge() || !isEdging()) {
            return;
        }

        //Sub is not on edge, which means we subtract one from our iterations and wait for 500 milliseconds afterwards
        iterationsToGo--;
        sleep(millisecondsToWait, "MILLISECONDS");
    }

    //run("Stroking/Taunt/Edging/*.js");
    sendMessage("Stroking taunt");

    //Start the whole thing all over again
    sendEdgeTaunts();
}
Response is unchanged.
Log:
Spoiler: show
12:44:24 vorm. CHAT: 12:44 vorm. Domme: Start edging_01
12:44:26 vorm. CHAT: 12:44 vorm. Domme: I have a great idea User
12:44:29 vorm. CHAT: 12:44 vorm. Domme: Let's do some edging for me
12:44:35 vorm. CHAT: 12:45 vorm. Domme: edge!
12:44:40 vorm. CHAT: 12:44 vorm. User: I am on the edge
12:44:40 vorm. CHAT: 12:44 vorm. Domme: Getting response that user is on the edge!
12:44:44 vorm. CHAT: 12:44 vorm. Domme: I'm not letting you cum now User
12:44:48 vorm. CHAT: 12:44 vorm. Domme: But what about some more edging? !emote!
12:44:54 vorm. CHAT: 12:44 vorm. User: Yes Mistress
12:44:54 vorm. CHAT: 12:44 vorm. Domme: ChatHandler.currentCallback.getAnswer() before while-loop: Yes Mistress
12:45:00 vorm. CHAT: 12:45 vorm. User: Yes Mistress
12:45:01 vorm. CHAT: 12:45 vorm. Domme: I knew it
12:45:02 vorm. CHAT: 12:45 vorm. Domme: You love the feeling, don't you User
12:45:06 vorm. CHAT: 12:45 vorm. Domme: ChatHandler.currentCallback.getAnswer() after while-loop: Yes Mistress
12:45:10 vorm. CHAT: 12:45 vorm. Domme: edge!
12:45:33 vorm. CHAT: 12:45 vorm. Domme: Stroking taunt
12:45:36 vorm. CHAT: 12:45 vorm. User: I am on the edge
12:45:36 vorm. CHAT: 12:45 vorm. Domme: Getting response that user is on the edge!
12:45:40 vorm. CHAT: 12:45 vorm. Domme: That was fun!
12:45:41 vorm. CHAT: 12:45 vorm. Domme: Let's repeat this in the future
12:45:45 vorm. CHAT: 12:45 vorm. Domme: End edging_01
Here is my current unreleased but untouched build (haven't changed anything right now regarding this issue). Please test whether it works for you:
https://mega.nz/#!mMomXQZS!41tyt_XVs996 ... DQr_vUdIl8
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: [Tease Program] Tease-AI Java (1.2)

Post by bobhill »

ski23 wrote: Mon Jul 29, 2019 6:26 pm Let me know if you have any issues and I might be able to help.
slaveashish wrote: Sat Aug 03, 2019 10:28 am Even if you have installed java you have to add it to system variable for that command to work. It is quite easy and you can find how to on google
GodDragon wrote: Sat Aug 03, 2019 10:26 pm As slaveashish said you need to add it to your system path. Interestingly I thought that his wasn't necessary however then I noticed that we are actually restarting the jar and that might be the issue. I will look into whether I can find a work around for this.
Thanks, I was able to add the system/environment variables and this did seem to fix the java installation. Now when I type "java -version", I get the following:

Code: Select all

java version "11.0.4" 2019-07-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed mode)
However, when I double click "TeaseAI.jar" I'm still not getting any response.

Apologies and thanks for the assistance! BH :wave:
GodDragon
Explorer At Heart
Explorer At Heart
Posts: 790
Joined: Sun Jun 11, 2017 4:30 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: [Tease Program] Tease-AI Java (1.2)

Post by GodDragon »

bobhill wrote: Sun Aug 04, 2019 4:16 pm
ski23 wrote: Mon Jul 29, 2019 6:26 pm Let me know if you have any issues and I might be able to help.
slaveashish wrote: Sat Aug 03, 2019 10:28 am Even if you have installed java you have to add it to system variable for that command to work. It is quite easy and you can find how to on google
GodDragon wrote: Sat Aug 03, 2019 10:26 pm As slaveashish said you need to add it to your system path. Interestingly I thought that his wasn't necessary however then I noticed that we are actually restarting the jar and that might be the issue. I will look into whether I can find a work around for this.
Thanks, I was able to add the system/environment variables and this did seem to fix the java installation. Now when I type "java -version", I get the following:

Code: Select all

java version "11.0.4" 2019-07-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed mode)
However, when I double click "TeaseAI.jar" I'm still not getting any response.

Apologies and thanks for the assistance! BH :wave:
Can you navigate into the folder of TeaseAI with your command prompt and then type "java -jar TeaseAI.jar"?

If this doesn't help try:

"java --module-path="Path to TeaseAI folder\javafx-sdk-11\lib" --add-modules=javafx.controls,javafx.fxml,javafx.base,javafx.media,javafx.graphics,javafx.swing,javafx.web -jar TeaseAI.jar"

Just report back with the output :)
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: [Tease Program] Tease-AI Java (1.2)

Post by bobhill »

GodDragon wrote: Sun Aug 04, 2019 4:29 pm Can you navigate into the folder of TeaseAI with your command prompt and then type "java -jar TeaseAI.jar"?
Thank you! I ran your first command "java -jar TeaseAI.jar" and it fixed the issue. :yes:

I received the following prompt/window:
Capture.PNG
Capture.PNG (10.2 KiB) Viewed 1891 times
I downloaded per the prompt and then received the following:
Capture2.PNG
Capture2.PNG (10.52 KiB) Viewed 1891 times
So, I downloaded the specified information and the program opened. :whistle:

Then I closed the JavaAI and tried to run via double click, but this did not work. I could run using the "java -jar TeaseAI.jar" command in the CMD window.

Then I ran your second command and the program opened. The following warnings were in the CMD window:

Code: Select all

12:13:51 PM INFO: Launching TAJ 1.2
12:13:51 PM WARNING: Personality 'Mischevious' is missing a properties file. Skipping loading.
12:13:51 PM INFO: Personality 'Default Personality' version 1.0 loaded.
12:13:54 PM SEVERE: Personality with name 'null' does not exist.
It looks like the Java issues are fixed, but I need to spend some time reading the thread to get my setup correct. :yes:

Thanks! BH :wave:
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests