[Tease Program] Tease-AI Java (1.4)
Moderator: 1885
-
saderis
- Curious Newbie

- Posts: 4
- Joined: Sat Sep 26, 2015 7:05 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: [Tease Program] Tease-AI Java (1.3)
Hi, I'm not sure what happened but when I'm trying to start the program it shows up like this
- Attachments
-
- a.jpg (85.07 KiB) Viewed 10233 times
-
GodDragon
- Explorer At Heart

- Posts: 795
- Joined: Sun Jun 11, 2017 4:30 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: [Tease Program] Tease-AI Java (1.3)
Accepted. Need to look into the issue with the video playback. Can you provide example code?FrozenWolf wrote: Tue Mar 23, 2021 7:03 pm Created a pull request to help fortify the media playback.
https://github.com/GodDragoner/TeaseAIJava/pull/28
It's a big-ol' change that might take some time to review (sorry GD!). I've tested it a lot under Linux with the Spicy Personality and with my Testing Personality: https://github.com/FrozenWolf4887/Tease ... ersonality.
A rallying call to other developers:
- Spoiler: show
Uhm, that is really strange. What system are you running? Windows? What localization/language is windows set to? What Java version are you using?saderis wrote: Sat Mar 27, 2021 6:03 pm Hi, I'm not sure what happened but when I'm trying to start the program it shows up like this
Re: [Tease Program] Tease-AI Java (1.3)
oh,I can do this without additional TAJ support... Thanks! this works:FrozenWolf wrote: Wed Mar 24, 2021 9:45 pmIt's not too difficult to do, probably just one day with testing, although I'd want to do it on top of pull-28 because that changes quite a few things in that area, so we might have to wait for a bit until GodDragon's had a chance to review it. In the interim period, you could create your own stub version of getVideoPlaybackPositionMillis() that provides the amount of time since the video *might* have started, i.e.:lotar232 wrote: Wed Mar 24, 2021 4:36 pm(sorry for the late response... work blackhole ;) )FrozenWolf wrote: Sun Mar 07, 2021 9:34 am
I could add something like "GetVideoPlaybackPositionMillis()" to tell you how far into the video you are so you just need to "wait()" until the next desired timestamp. That would at least accommodate for the video startup time and for the general JavaScript latency in performing other operations. There would still be some latency as you say when performing the action when reaching the desired timestamp, but at least it wouldn't lose synchronisation.
yeah, a function like that could be awesome... it would let me do something like:
startVideo()
while ( GetVideoPlaybackPositionMillis() < firstEventTime)
{sleepmili's(100);}
do_first_event;
while ( GetVideoPlaybackPositionMillis() < secondEventTime)
{sleepmili's(100);}
do_second_event;
...
would you be able to put it in anytime soon?
startVideo() videoStartTimeMillis = getCurrentTimeMillis(); while ( getVideoPlaybackPositionMillis() < firstEventTime) {sleepmili's(100);} do_first_event; while ( getVideoPlaybackPositionMillis() < secondEventTime) {sleepmili's(100);} do_second_event; ... function getVideoPlaybackPositionMillis() { return getCurrentTimeMillis() - videoStartTimeMillis; }
function wake_delay(milidelay){
currenttime=VIDEO_WATCH.getTime();
while ( currenttime< milidelay+videoStartTimeMillis)
{sleep(100,"MILLISECONDS");
currenttime=VIDEO_WATCH.getTime();
}
}
....
const VIDEO_WATCH = new StopWatch();
VIDEO_WATCH.reset();
VIDEO_WATCH.start();
playVideo("Videos/Spicy/Punishments/Extreme/Suffer to Get Out.mp4", false);
videoStartTimeMillis = VIDEO_WATCH.getTime();
wake_delay(57*1000);
//cage and shocker
//58
pishock(1,30,1,0);
wake_delay((1*60+11)*1000);
//1:11
pishock(1,30,1,0);
.......
-
saderis
- Curious Newbie

- Posts: 4
- Joined: Sat Sep 26, 2015 7:05 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: [Tease Program] Tease-AI Java (1.3)
I'm using windows 10, with english language, java openjdk-14.0.2_windows-x64GodDragon wrote: Sun Mar 28, 2021 3:52 pm
Uhm, that is really strange. What system are you running? Windows? What localization/language is windows set to? What Java version are you using?saderis wrote: Sat Mar 27, 2021 6:03 pm Hi, I'm not sure what happened but when I'm trying to start the program it shows up like this
-
GodDragon
- Explorer At Heart

- Posts: 795
- Joined: Sun Jun 11, 2017 4:30 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: [Tease Program] Tease-AI Java (1.4)
1.4 is now officially released. It includes a lot of fixes and adjustments mainly made my FrozenWolf. Thank you for your help investigating all these nasty bugs and hunting them down
It seems to be fairly stable so I feel good with releasing this build to everyone. It should deal with a lot of problems that people were encountering
It seems to be fairly stable so I feel good with releasing this build to everyone. It should deal with a lot of problems that people were encountering
Re: [Tease Program] Tease-AI Java (1.4)
The link for downloading java 14 is broken. https://jdk.java.net/archive
Is there somewhere else we can get it or do we need an account now?
I assume 16 won't work :)
Is there somewhere else we can get it or do we need an account now?
I assume 16 won't work :)
- FrozenWolf
- Explorer At Heart

- Posts: 434
- Joined: Tue Oct 30, 2018 7:50 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Dom/me(s): None
- Sub/Slave(s): None
- Location: UK
Re: [Tease Program] Tease-AI Java (1.4)
Woohoo!GodDragon wrote: Fri Apr 23, 2021 11:26 pm 1.4 is now officially released. It includes a lot of fixes and adjustments mainly made my FrozenWolf. Thank you for your help investigating all these nasty bugs and hunting them down![]()
It seems to be fairly stable so I feel good with releasing this build to everyone. It should deal with a lot of problems that people were encountering![]()
Images\System\Downloaded Images\*.*
This will clear out the cached downloaded images that were not downloading properly before and are invalid (showing as a black image).
Author of:
MiloDB: Finding Old Teases
- FrozenWolf
- Explorer At Heart

- Posts: 434
- Joined: Tue Oct 30, 2018 7:50 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
- Dom/me(s): None
- Sub/Slave(s): None
- Location: UK
Re: [Tease Program] Tease-AI Java (1.4)
OpenJDK 15 or 16 should work. Give it a try and let us know what happenstytylion wrote: Mon Apr 26, 2021 4:33 pm The link for downloading java 14 is broken. https://jdk.java.net/archive
Is there somewhere else we can get it or do we need an account now?
I assume 16 won't work :)
Author of:
MiloDB: Finding Old Teases
-
GodDragon
- Explorer At Heart

- Posts: 795
- Joined: Sun Jun 11, 2017 4:30 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: [Tease Program] Tease-AI Java (1.4)
You can get java 14 here:tytylion wrote: Mon Apr 26, 2021 4:33 pm The link for downloading java 14 is broken. https://jdk.java.net/archive
Is there somewhere else we can get it or do we need an account now?
I assume 16 won't work :)
https://jdk.java.net/archive/
So the link is working for me. scroll down for 14 release
Re: [Tease Program] Tease-AI Java (1.4)
Yeah I tried later and the link suddenly worked lol
So I can get it running using 14 but I have to run through the command line. (java -jar TeaseAI.jar)
Double clicking the jar just opens and closes a command line window.
Have not tried openjdk 16, will stick with 14 for now since it is working.
So I can get it running using 14 but I have to run through the command line. (java -jar TeaseAI.jar)
Double clicking the jar just opens and closes a command line window.
Have not tried openjdk 16, will stick with 14 for now since it is working.
-
GodDragon
- Explorer At Heart

- Posts: 795
- Joined: Sun Jun 11, 2017 4:30 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: [Tease Program] Tease-AI Java (1.4)
Double clicking probably does not work since you have the wrong jdk version setup to execute it on double click.tytylion wrote: Tue Apr 27, 2021 4:45 pm Yeah I tried later and the link suddenly worked lol
So I can get it running using 14 but I have to run through the command line. (java -jar TeaseAI.jar)
Double clicking the jar just opens and closes a command line window.
Have not tried openjdk 16, will stick with 14 for now since it is working.
-
lockedkeyless
- Explorer

- Posts: 26
- Joined: Wed Apr 03, 2019 5:06 pm
Re: [Tease Program] Tease-AI Java (1.4)
I have been trying to run tease ai/java since it was first available. I simply cannot figure out why it closes as soon as I open it. Are my security things blocking it?
I have tried deleting everything following step by step.
Please help
I have tried deleting everything following step by step.
Please help
-
GodDragon
- Explorer At Heart

- Posts: 795
- Joined: Sun Jun 11, 2017 4:30 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: [Tease Program] Tease-AI Java (1.4)
What does the log file contain?lockedkeyless wrote: Thu Apr 29, 2021 12:23 am I have been trying to run tease ai/java since it was first available. I simply cannot figure out why it closes as soon as I open it. Are my security things blocking it?
I have tried deleting everything following step by step.
Please help
What OS are you using? Windows?
Have you tried launching it from the command line?
-
theredreaper
- Explorer

- Posts: 43
- Joined: Wed Jul 27, 2011 11:53 pm
- Gender: Male
- Sexual Orientation: Open to new ideas!
- I am a: Submissive
- Dom/me(s): I am currently owned.
- Location: You wouldn't believe me if I told you.
Re: [Tease Program] Tease-AI Java (1.4)
Incidentally I have the same issue. The app would never launch at all before this most recent version. Now it will launch, but only if I launch it from the command line. All I get is a popup that says "Checking personalities" and progress bar, which completes. And then nothing. The log file shows a power-on-self-test, it starts a bunch of modules, and then it shuts all the modules down and exits. I don't see anything in the log that looks like an error message.
I'm on arch linux and currently have openjdk-15 with openjavafx installed, and the app calls java15 explicitly when launched from the command line.
However, it seems to be calling it's own version of javafx
Running in a Windows 10 VM, I get no response from double clicking the jar file and launching it from the command line causes the system to crash and forces a restart.
I'm on arch linux and currently have openjdk-15 with openjavafx installed, and the app calls java15 explicitly when launched from the command line.
Code: Select all
Launching with command: 'Optional[/usr/lib/jvm/java-15-openjdk/bin/java]'Code: Select all
Starting with parameters: --module-path=/home/michael/Downloads/teaseai/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml,javafx.base,javafx.media,javafx.graphics,javafx.swing,javafx.web
-
GodDragon
- Explorer At Heart

- Posts: 795
- Joined: Sun Jun 11, 2017 4:30 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
Re: [Tease Program] Tease-AI Java (1.4)
The problem with java 15 is that the nashorn engine (to evaluate the javascript files) was removed and thus it won't start.theredreaper wrote: Thu Apr 29, 2021 1:24 pm Incidentally I have the same issue. The app would never launch at all before this most recent version. Now it will launch, but only if I launch it from the command line. All I get is a popup that says "Checking personalities" and progress bar, which completes. And then nothing. The log file shows a power-on-self-test, it starts a bunch of modules, and then it shuts all the modules down and exits. I don't see anything in the log that looks like an error message.
I'm on arch linux and currently have openjdk-15 with openjavafx installed, and the app calls java15 explicitly when launched from the command line.
However, it seems to be calling it's own version of javafxCode: Select all
Launching with command: 'Optional[/usr/lib/jvm/java-15-openjdk/bin/java]'
Running in a Windows 10 VM, I get no response from double clicking the jar file and launching it from the command line causes the system to crash and forces a restart.Code: Select all
Starting with parameters: --module-path=/home/michael/Downloads/teaseai/javafx-sdk-11.0.2/lib --add-modules=javafx.controls,javafx.fxml,javafx.base,javafx.media,javafx.graphics,javafx.swing,javafx.web
In the future we have to stick to pre 15 versions or use graalvm which includes a javascript interpreter and many more languages.
