TeaseAI RND patch

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

Post Reply
N3R0
Explorer
Explorer
Posts: 51
Joined: Tue Jun 02, 2015 1:28 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany

TeaseAI RND patch

Post by N3R0 »

Hi everyone,

some of you may have come across a bug in TeaseAI, where the System Keywords for random numbers aren't replaced with numbers.

Code: Select all

#RANDNumberHigh and #RNDNumberHigh
#RANDNumber and #RNDNumber
#RANDNumberLow and #RNDNumberLow
This bug has been around since at least version 54.7 of TeaseAI and it still exists today (version 60).

So I went through the trouble of creating a backwards compatible patch for this. :cool:

Simply download the zip file attached to this post and extract the content into the Vocabulary folder of EVERY single personality that you use.
Et, voila, your scripts should work again.

Yes, I know this could be replaced with #Random[X,Y], but in case there are scripts out there, which rely on the unusual choice of numbers that the original keyword produced, I replicated the exact behaviour using only scripts.
Plus you don't have to do any search-and-replace yourself this way. ;-)

If the TAI devs ever decide to patch this in TAI itself, the System Keyword will work again and my vocab files will simply be ignored. So there's no need to worry about compatibility issues. This also applies, if your TeaseAI installation is so old, that the Keywords still work (assuming they ever did).

Edit: you need at least TeaseAI version 51 for this to work.


Happy Teasing!
Attachments
RNDNumber fix.zip
(1.29 KiB) Downloaded 93 times
If you are a creator of a Tease AI personality, check out my personality editor called TAIPEJ!
Sisyphuster
Explorer At Heart
Explorer At Heart
Posts: 204
Joined: Sat Mar 10, 2012 9:55 am

Re: TeaseAI RND patch

Post by Sisyphuster »

Thank you so much for supporting this project! I have a question for you or anyone else who might know or care… has anyone tried to use AI to help with any of the TAI coding?

Apologies if this has been discussed, I’ve looked and haven’t found
pepsifreak
Explorer At Heart
Explorer At Heart
Posts: 145
Joined: Fri May 08, 2009 8:50 pm
Gender: Male
Sexual Orientation: Straight

Re: TeaseAI RND patch

Post by pepsifreak »

Interesting find, I'll get it fixed for 60. Looks like it was all kinds of messed up.
N3R0
Explorer
Explorer
Posts: 51
Joined: Tue Jun 02, 2015 1:28 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Germany

Re: TeaseAI RND patch

Post by N3R0 »

Sisyphuster wrote: Tue Feb 24, 2026 11:23 pm Thank you so much for supporting this project! I have a question for you or anyone else who might know or care… has anyone tried to use AI to help with any of the TAI coding?
Hi,

you're welcome.

No, not that I'm aware of. But considering the unusual syntax of TAI scripts, I don't believe that any of those "AI" sites could produce anything useful. The only thing they might help with, is for people like me (with limited creativity) to come up with script ideas (i.e. what to do [games] or to say [responses, etc.]), but probably not the actual scripts.

If your goal is to just make scripting easier for yourself, try TAIPEJ. That's a personality editor I've been working on.
Note: I'm currently working on update 1.4.0; As it turns out, there are quite a few bugs in version 1.3.0, so you might wanna wait till the update's released.
However, feel free to download 1.3.0 to already make yourself familiar with my tool.
If you are a creator of a Tease AI personality, check out my personality editor called TAIPEJ!
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: TeaseAI RND patch

Post by markus »

Sisyphuster wrote: Tue Feb 24, 2026 11:23 pm has anyone tried to use AI to help with any of the TAI coding?
If it's really about coding (as in programming the software itself, not scripting), I use AI's rarely and only for small and easy tasks, I'd never let it do code design or figure out complex solutions.
Example:
Just 2 days ago I've added a screenshot functionality to Awakening, I have written something like that in another tool years ago, I could have searched the old code which would have to be adjusted anyway for multiscreen, open a second instance of Visual Studio and search it there, ... or writing it anew completely, ... it was simply faster, more efficient to just let the AI spit out those few lines of (common) code, but the "real" coding, I don't think AI's are there yet.

But the thought of throwing some parts of the original TAI's code to an AI and watch it struggle has something, ... I just don't wanna be responsible for making an AI explode. :lol:

Greetz!
Post Reply