[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

tarouza
Explorer
Explorer
Posts: 10
Joined: Mon Apr 08, 2019 8:03 pm

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

Post by tarouza »

deleted tease ai java, and deleted java. Redownloaded java 12, running into the same issue with the openjfx where it is an empty 1kb download. Never get the prompt to download the libraries. Here are the log files

first one from when it downloads the openjfx attachment
10:56:31 PM SEVERE: No JavaFX installation found. Asking for download...
10:56:36 PM SEVERE: Your running Windows. Fetching OpenJFX SDK...
10:56:37 PM INFO: Finished downloading OpenJFX. Unzipping...
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1470)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1371)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1378)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1209)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1172)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:183)
at me.goddragon.teaseai.utils.ZipUtils.unzipFile(ZipUtils.java:22)
at me.goddragon.teaseai.Main.main(Main.java:102)
Exception in thread "main" java.lang.NullPointerException
at me.goddragon.teaseai.Main.main(Main.java:107)


FrozenWolf wrote: Sun Sep 08, 2019 5:04 pm
tarouza wrote: Sun Sep 08, 2019 11:30 am Ok I changed the teaseai java folder name got rid of the spaces, ran the java -jar C:\Users\Chris\Documents\TAJ\TeaseAIJava1.0.17\TeaseAI.jar, got the box to download openjfx, there is now an openjfx zip file in the directory that is empty, never got the missing libraries box though. When i try to open in cmd window again this is what i get. It just goes to the next line

C:\Users\Chris\Documents\TAJ\TeaseAIJava1.0.17>java -jar teaseai.jar

C:\Users\Chris\Documents\TAJ\TeaseAIJava1.0.17>
Maybe the first attempt to download openJFX.zip failed because TeaseAI wasn't run from the current directory, and TeaseAI now believes openJFX has been retrieved successfully, even though it hasn't. I suggest you try deleting the zero length openJFX.zip file and then running TeaseAI again from the directory, i.e.:

C:\Users\Chris\Documents\TAJ\TeaseAIJava1.0.17> java -jar teaseai.jar

Hopefully that'll cause TeaseAI to realise that it hasn't got openJFX again and it will attempt to retrieve and unpack it.

If that still doesn't work, post the last log entry from the Logs directory; it might have something useful in there.
User avatar
FrozenWolf
Explorer At Heart
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.2)

Post by FrozenWolf »

tarouza wrote: Tue Sep 10, 2019 3:05 am deleted tease ai java, and deleted java. Redownloaded java 12, running into the same issue with the openjfx where it is an empty 1kb download. Never get the prompt to download the libraries. Here are the log files

first one from when it downloads the openjfx attachment
10:56:31 PM SEVERE: No JavaFX installation found. Asking for download...
10:56:36 PM SEVERE: Your running Windows. Fetching OpenJFX SDK...
10:56:37 PM INFO: Finished downloading OpenJFX. Unzipping...
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1470)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1371)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1378)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1209)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1172)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:183)
at me.goddragon.teaseai.utils.ZipUtils.unzipFile(ZipUtils.java:22)
at me.goddragon.teaseai.Main.main(Main.java:102)
Exception in thread "main" java.lang.NullPointerException
at me.goddragon.teaseai.Main.main(Main.java:107)
OK, I think I know what the problem is now, and it is related to the behaviour of github. TeaseAI attempts to retrieve the OpenJFX zip file from https://github.com/GodDragoner/TeaseAIJ ... in-sdk.zip. I retrieved this manually with wget and received a file containing this:

Code: Select all

version https://git-lfs.github.com/spec/v1
oid sha256:ec0b2665db9745808b7eaa4432d3eff271bb16ed5f64751999310ed982d5df02
size 39729271
This is a summarised version of the zip file, not the actual zip file, hence TeaseAI thinks it got it, but hasn't really. This could well be a change to github that TeaseAI just wasn't expecting.

DV8ion has probably come up with the only workaround at the moment which is to download OpenJFX manually yourself and unpack it...
DV8ion wrote: Sun Sep 08, 2019 8:16 pm I also had trouble getting the correct java to run this app. At the end still not able to fix it even after following the instructions on page 35 of this topic and looking up with google.

How I fixed it the lazy way?
I copied the whole Java folder (javafx-sdk-11.0.2 with me) in the teaseAI java folder and that fixed it :)
Therefore what you'll need to do is download the following:
http://gluonhq.com/download/javafx-11-0-2-sdk-windows/

Then unpack that into the TeaseAI directory, renaming the directory to "javafx-sdk-11", so that your directory structure looks a bit like this:

Code: Select all

Tease AI Java
+---Audio
+---Images
|   +---Liked
|   \---System
|       +---Downloaded Images
|       +---Tumblr
|       \---URL Files
+---javafx-sdk-11
|   +---bin
|   +---legal
|   |   +---javafx.base
|   |   +---javafx.controls
|   |   +---javafx.fxml
|   |   +---javafx.graphics
|   |   +---javafx.media
|   |   +---javafx.swing
|   |   \---javafx.web
|   \---lib
+---lib
+---Logs
+---Personalities
|   +---Default
|   |   +--- <etc.>
|   \---Mischevious
|   |   +--- <etc.>
+---Themes
+---Updates
\---Videos
tarouza
Explorer
Explorer
Posts: 10
Joined: Mon Apr 08, 2019 8:03 pm

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

Post by tarouza »

That did it thank you for all the help

FrozenWolf wrote: Tue Sep 10, 2019 8:54 am
tarouza wrote: Tue Sep 10, 2019 3:05 am deleted tease ai java, and deleted java. Redownloaded java 12, running into the same issue with the openjfx where it is an empty 1kb download. Never get the prompt to download the libraries. Here are the log files

first one from when it downloads the openjfx attachment
10:56:31 PM SEVERE: No JavaFX installation found. Asking for download...
10:56:36 PM SEVERE: Your running Windows. Fetching OpenJFX SDK...
10:56:37 PM INFO: Finished downloading OpenJFX. Unzipping...
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1470)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1371)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1378)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1209)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1172)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:183)
at me.goddragon.teaseai.utils.ZipUtils.unzipFile(ZipUtils.java:22)
at me.goddragon.teaseai.Main.main(Main.java:102)
Exception in thread "main" java.lang.NullPointerException
at me.goddragon.teaseai.Main.main(Main.java:107)
OK, I think I know what the problem is now, and it is related to the behaviour of github. TeaseAI attempts to retrieve the OpenJFX zip file from https://github.com/GodDragoner/TeaseAIJ ... in-sdk.zip. I retrieved this manually with wget and received a file containing this:

Code: Select all

version https://git-lfs.github.com/spec/v1
oid sha256:ec0b2665db9745808b7eaa4432d3eff271bb16ed5f64751999310ed982d5df02
size 39729271
This is a summarised version of the zip file, not the actual zip file, hence TeaseAI thinks it got it, but hasn't really. This could well be a change to github that TeaseAI just wasn't expecting.

DV8ion has probably come up with the only workaround at the moment which is to download OpenJFX manually yourself and unpack it...
DV8ion wrote: Sun Sep 08, 2019 8:16 pm I also had trouble getting the correct java to run this app. At the end still not able to fix it even after following the instructions on page 35 of this topic and looking up with google.

How I fixed it the lazy way?
I copied the whole Java folder (javafx-sdk-11.0.2 with me) in the teaseAI java folder and that fixed it :)
Therefore what you'll need to do is download the following:
http://gluonhq.com/download/javafx-11-0-2-sdk-windows/

Then unpack that into the TeaseAI directory, renaming the directory to "javafx-sdk-11", so that your directory structure looks a bit like this:

Code: Select all

Tease AI Java
+---Audio
+---Images
|   +---Liked
|   \---System
|       +---Downloaded Images
|       +---Tumblr
|       \---URL Files
+---javafx-sdk-11
|   +---bin
|   +---legal
|   |   +---javafx.base
|   |   +---javafx.controls
|   |   +---javafx.fxml
|   |   +---javafx.graphics
|   |   +---javafx.media
|   |   +---javafx.swing
|   |   \---javafx.web
|   \---lib
+---lib
+---Logs
+---Personalities
|   +---Default
|   |   +--- <etc.>
|   \---Mischevious
|   |   +--- <etc.>
+---Themes
+---Updates
\---Videos
ski23
Explorer At Heart
Explorer At Heart
Posts: 466
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 »

I can try to take a look at it when I get a chance. This was more of GodDragon’s area of expertise but I haven’t seen him in a while.
GodDragon
Explorer At Heart
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.2)

Post by GodDragon »

FrozenWolf wrote: Tue Sep 10, 2019 8:54 am
tarouza wrote: Tue Sep 10, 2019 3:05 am deleted tease ai java, and deleted java. Redownloaded java 12, running into the same issue with the openjfx where it is an empty 1kb download. Never get the prompt to download the libraries. Here are the log files

first one from when it downloads the openjfx attachment
10:56:31 PM SEVERE: No JavaFX installation found. Asking for download...
10:56:36 PM SEVERE: Your running Windows. Fetching OpenJFX SDK...
10:56:37 PM INFO: Finished downloading OpenJFX. Unzipping...
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1470)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1371)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1378)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1209)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1172)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:183)
at me.goddragon.teaseai.utils.ZipUtils.unzipFile(ZipUtils.java:22)
at me.goddragon.teaseai.Main.main(Main.java:102)
Exception in thread "main" java.lang.NullPointerException
at me.goddragon.teaseai.Main.main(Main.java:107)
OK, I think I know what the problem is now, and it is related to the behaviour of github. TeaseAI attempts to retrieve the OpenJFX zip file from https://github.com/GodDragoner/TeaseAIJ ... in-sdk.zip. I retrieved this manually with wget and received a file containing this:

Code: Select all

version https://git-lfs.github.com/spec/v1
oid sha256:ec0b2665db9745808b7eaa4432d3eff271bb16ed5f64751999310ed982d5df02
size 39729271
This is a summarised version of the zip file, not the actual zip file, hence TeaseAI thinks it got it, but hasn't really. This could well be a change to github that TeaseAI just wasn't expecting.

DV8ion has probably come up with the only workaround at the moment which is to download OpenJFX manually yourself and unpack it...
DV8ion wrote: Sun Sep 08, 2019 8:16 pm I also had trouble getting the correct java to run this app. At the end still not able to fix it even after following the instructions on page 35 of this topic and looking up with google.

How I fixed it the lazy way?
I copied the whole Java folder (javafx-sdk-11.0.2 with me) in the teaseAI java folder and that fixed it :)
Therefore what you'll need to do is download the following:
http://gluonhq.com/download/javafx-11-0-2-sdk-windows/

Then unpack that into the TeaseAI directory, renaming the directory to "javafx-sdk-11", so that your directory structure looks a bit like this:

Code: Select all

Tease AI Java
+---Audio
+---Images
|   +---Liked
|   \---System
|       +---Downloaded Images
|       +---Tumblr
|       \---URL Files
+---javafx-sdk-11
|   +---bin
|   +---legal
|   |   +---javafx.base
|   |   +---javafx.controls
|   |   +---javafx.fxml
|   |   +---javafx.graphics
|   |   +---javafx.media
|   |   +---javafx.swing
|   |   \---javafx.web
|   \---lib
+---lib
+---Logs
+---Personalities
|   +---Default
|   |   +--- <etc.>
|   \---Mischevious
|   |   +--- <etc.>
+---Themes
+---Updates
\---Videos
I think I was able to fix this. Ty for the report/help!
User avatar
FrozenWolf
Explorer At Heart
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.2)

Post by FrozenWolf »

GodDragon wrote: Sat Sep 14, 2019 9:39 pm I think I was able to fix this. Ty for the report/help!
Great, I can confirm that performing a wget on https://github.com/GodDragoner/TeaseAIJ ... in-sdk.zip
does now retrieve the full zip file that matches the expected hash ec0b2665db974.... Nicely done!
User avatar
FrozenWolf
Explorer At Heart
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.2)

Post by FrozenWolf »

DV8ion wrote: Tue Sep 17, 2019 11:59 pm Hey

Question:
Am I missing a file or is this part still under development?
Got an error containing following:

Code: Select all

File does not exist C:\*******\TeaseAI Java 1 0 17\Structure\Modules\Fetishes
I indeed don't have a folder there and it's not in the download.

Thanks anyways for your continuous effort
Regards
DV8ion
I'm going to make a guess that you're using the Mischevious personality?

If that is the case then the ModuleSelector script can choose Fetishes as a random module as follows:

Code: Select all

Personalities/Mischevious/Structure/Modules/ModuleSelector.js
4:      ["ShortModules", "MediumModules", "LongModules", "Games", "Fetishes"][randomInteger(0, 4)]
11:     ["ShortModules", "MediumModules", "LongModules", "Games", "Fetishes"][randomInteger(0, 4)]
However the modules directory (as you say) doesn't contain a Fetishes directory:

Code: Select all

TEASE AI JAVA\PERSONALITIES\MISCHEVIOUS\STRUCTURE\MODULES
+---Disabled
+---Games
|   \---DealOrNoDeal
+---Learning
+---LongModules
+---MediumModules
\---ShortModules
In the Mischevious Personality topic, there are a few references to this directory; it looks like a work in progress, but I don't think the intention is for there to be any errors.

search.php?keywords=Fetishes&t=20913&sf=msgonly

I've added a note to the Mischevious Personality topic because I think that's where to problem sits, and we can track any further thoughts in that thread.
viewtopic.php?f=26&t=20913&p=269297#p269297

Edit: I'm no longer sure whether this is a problem with the Mischevious Personality, or whether TAJ randomInteger is operating inclusively instead of exclusively, or whether that's even the cause of your problem. It was fun having a look anyway. :-)

On a side note, it looks like the error message reported by TeaseAI used the wrong root path; it should have used the personality path rather than the application path. This might have caused a little confusion because it's less clear where it's actually looking for the files.
User avatar
FrozenWolf
Explorer At Heart
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.2)

Post by FrozenWolf »

Spoiler: show
FrozenWolf wrote: Wed Sep 18, 2019 12:02 pm
DV8ion wrote: Tue Sep 17, 2019 11:59 pm Hey

Question:
Am I missing a file or is this part still under development?
Got an error containing following:

Code: Select all

File does not exist C:\*******\TeaseAI Java 1 0 17\Structure\Modules\Fetishes
I indeed don't have a folder there and it's not in the download.

Thanks anyways for your continuous effort
Regards
DV8ion
I'm going to make a guess that you're using the Mischevious personality?

If that is the case then the ModuleSelector script can choose Fetishes as a random module as follows:

Code: Select all

Personalities/Mischevious/Structure/Modules/ModuleSelector.js
4:      ["ShortModules", "MediumModules", "LongModules", "Games", "Fetishes"][randomInteger(0, 4)]
11:     ["ShortModules", "MediumModules", "LongModules", "Games", "Fetishes"][randomInteger(0, 4)]
However the modules directory (as you say) doesn't contain a Fetishes directory:

Code: Select all

TEASE AI JAVA\PERSONALITIES\MISCHEVIOUS\STRUCTURE\MODULES
+---Disabled
+---Games
|   \---DealOrNoDeal
+---Learning
+---LongModules
+---MediumModules
\---ShortModules
In the Mischevious Personality topic, there are a few references to this directory; it looks like a work in progress, but I don't think the intention is for there to be any errors.

search.php?keywords=Fetishes&t=20913&sf=msgonly

I've added a note to the Mischevious Personality topic because I think that's where to problem sits, and we can track any further thoughts in that thread.
viewtopic.php?f=26&t=20913&p=269297#p269297

Edit: I'm no longer sure whether this is a problem with the Mischevious Personality, or whether TAJ randomInteger is operating inclusively instead of exclusively, or whether that's even the cause of your problem. It was fun having a look anyway. :-)

On a side note, it looks like the error message reported by TeaseAI used the wrong root path; it should have used the personality path rather than the application path. This might have caused a little confusion because it's less clear where it's actually looking for the files.
I've just tested randomInteger and it is operating inclusively.

This is the log of the test:

Code: Select all

01:54:59 pm INFO: Launching TAJ 1.2
01:54:59 pm INFO: Personality 'Default Personality' version 1.0 loaded.
Warning: Nashorn engine is planned to be removed from a future JDK release
01:55:00 pm INFO: randomInteger(0, 4) == 3
01:55:00 pm INFO: randomInteger(0, 4) == 1
01:55:00 pm INFO: randomInteger(0, 4) == 4
01:55:00 pm INFO: randomInteger(0, 4) == 4
01:55:00 pm INFO: randomInteger(0, 4) == 0
01:55:00 pm INFO: randomInteger(0, 4) == 0
01:55:00 pm INFO: randomInteger(0, 4) == 2
01:55:00 pm INFO: randomInteger(0, 4) == 3
01:55:00 pm INFO: randomInteger(0, 4) == 0
01:55:00 pm INFO: randomInteger(0, 4) == 4
01:55:00 pm INFO: randomInteger(0, 4) == 2
01:55:00 pm INFO: randomInteger(0, 4) == 3
01:55:00 pm INFO: randomInteger(0, 4) == 1
01:55:00 pm INFO: randomInteger(0, 4) == 4
01:55:00 pm INFO: randomInteger(0, 4) == 1
01:55:01 pm INFO: Personality 'Mischevious' version 1.2.0 loaded.
I modified Personalities\Mischevious\programstart.js as follows to perform the test:

Code: Select all

//run("chatutils.js");
addSettingsPanel("Personality Settings");
addSettingsPanel("Stroking Settings");
addSettingsPanel("Debug Settings");
run("chatutils.js");
setUpChat();
run("personalityutils.js");
setUpGUI();
run("strokingmethodutils.js");
setUpStrokingMethods();
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
DMessage("randomInteger(0, 4) == " + randomInteger(0, 4))
Therefore I think that the TAJ Dev Guide and TAJ implementation are out of sync.

The TAJ Dev Guide (viewtopic.php?f=26&t=21111#p253048) includes the following:

Code: Select all

...
Part 3: Creating a More Complicated Module
...
Then, we take advantage of the randomInteger function that generates a random number between the first number inclusive and the second number exclusive.
I hope that's useful to someone!
User avatar
FrozenWolf
Explorer At Heart
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.2)

Post by FrozenWolf »

DV8ion wrote: Tue Sep 17, 2019 11:59 pm Hey

Question:
Am I missing a file or is this part still under development?
Got an error containing following:

Code: Select all

File does not exist C:\*******\TeaseAI Java 1 0 17\Structure\Modules\Fetishes
I indeed don't have a folder there and it's not in the download.

Thanks anyways for your continuous effort
Regards
DV8ion
The short version of the long story is a workaround for now. Edit the file:
Personalities/Mischevious/Structure/Modules/ModuleSelector.js

Find these lines:

Code: Select all

4:      ["ShortModules", "MediumModules", "LongModules", "Games", "Fetishes"][randomInteger(0, 4)]
11:     ["ShortModules", "MediumModules", "LongModules", "Games", "Fetishes"][randomInteger(0, 4)]
On both lines, change "randomInteger(0, 4)" to "randomInteger(0, 3)".

That would prevent the Mischevious Personality from trying to load the Fetishes module.
GodDragon
Explorer At Heart
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.2)

Post by GodDragon »

The inclusive is inteded on my end. I have never used this function differently.
User avatar
FrozenWolf
Explorer At Heart
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.2)

Post by FrozenWolf »

GodDragon wrote: Wed Sep 18, 2019 9:31 pm The inclusive is inteded on my end. I have never used this function differently.
I agree that's how I'd expect it to work too. Just needs a tweak to the Dev Guide and possibly Mischevious.
ski23
Explorer At Heart
Explorer At Heart
Posts: 466
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 »

FrozenWolf wrote: Thu Sep 19, 2019 10:36 am
GodDragon wrote: Wed Sep 18, 2019 9:31 pm The inclusive is inteded on my end. I have never used this function differently.
I agree that's how I'd expect it to work too. Just needs a tweak to the Dev Guide and possibly Mischevious.
I'm pretty sure mischevious uses inclusive too but it might just be old on the dev guide. Also thats just a warning message you're seeing not an error. It needs to just not throw a warning there. This won't actually cause any issue in functionality.
lotar232
Explorer
Explorer
Posts: 76
Joined: Sat Nov 01, 2008 6:34 pm

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

Post by lotar232 »

Sorry for dredging up such an old message:

@ski23 I was wondering if you ended up adding TTS to "sendcustommessage()" in TAJ?? (I don't see TTS coming through on these calls but perhaps I need to update my client, or maybe I need to call some other way)

thanks!
-Lotar

ski23 wrote: Thu Jun 06, 2019 6:39 pm
lotar232 wrote: Thu Jun 06, 2019 6:16 pm
ski23 wrote: Thu Jun 06, 2019 3:21 am

As of a release or two ago, sendMessage() now has all the functionality of CMessage from TAJUTils. So you should be able to do any kind of custom message you can imagine with sendMessage and it will also use TTS. Also, if you want, anywhere where anyone might be using CMessage, can now be replaced with sendMessage or "sm", the new shortcut I added for short. Also debug message was added into TAJ. Use "dm".
hmmm looking at customizedmessage() in chatutils I'm not sure I can see a way to set the sender name (i.e. not use one of the 4 senders in chat handler) I don't see how to set fill color(i.e. different font for sender name and message), and I don't see how to elect/suppress an image (although I could hack around that with imagelock/unlock.)

am I looking in the wrong place?
Ah. I didnt know you were trying to do those things. In that case, I'll just add TTS to the customMessage thing you're using so it will continue to work how you're doing it.
ski23
Explorer At Heart
Explorer At Heart
Posts: 466
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 »

lotar232 wrote: Wed Sep 25, 2019 4:59 am Sorry for dredging up such an old message:

@ski23 I was wondering if you ended up adding TTS to "sendcustommessage()" in TAJ?? (I don't see TTS coming through on these calls but perhaps I need to update my client, or maybe I need to call some other way)

thanks!
-Lotar

ski23 wrote: Thu Jun 06, 2019 6:39 pm
lotar232 wrote: Thu Jun 06, 2019 6:16 pm

hmmm looking at customizedmessage() in chatutils I'm not sure I can see a way to set the sender name (i.e. not use one of the 4 senders in chat handler) I don't see how to set fill color(i.e. different font for sender name and message), and I don't see how to elect/suppress an image (although I could hack around that with imagelock/unlock.)

am I looking in the wrong place?
Ah. I didnt know you were trying to do those things. In that case, I'll just add TTS to the customMessage thing you're using so it will continue to work how you're doing it.
send custom message is now obsolete. sendMessage has all custom functionality now. You can use SM(message)
lotar232
Explorer
Explorer
Posts: 76
Joined: Sat Nov 01, 2008 6:34 pm

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

Post by lotar232 »

ski23 wrote: Wed Sep 25, 2019 12:08 pm
lotar232 wrote: Wed Sep 25, 2019 4:59 am Sorry for dredging up such an old message:

@ski23 I was wondering if you ended up adding TTS to "sendcustommessage()" in TAJ?? (I don't see TTS coming through on these calls but perhaps I need to update my client, or maybe I need to call some other way)

thanks!
-Lotar

ski23 wrote: Thu Jun 06, 2019 6:39 pm

Ah. I didnt know you were trying to do those things. In that case, I'll just add TTS to the customMessage thing you're using so it will continue to work how you're doing it.
send custom message is now obsolete. sendMessage has all custom functionality now. You can use SM(message)
hmm I tried providing the text data structures to SM() and it doesn't seem to work....(requiring a string as first parameter)… is there a way to define arbitrary message senders? (or is there a way to programmatically swap more than 4 contacts to mimic it?)
Post Reply