Page 15 of 39
Re: Tease AI Bug Report Thread
Posted: Fri Sep 23, 2016 10:38 am
by genome231
Stefaf wrote:genome231 wrote:Hi Stefaf!
Exactly! - Placing a NullResponse at the top fixed my issue.
Its like when Tease-AI returns from a miniscript it returns to the end of the previous. If said line doesn't exist = crash

Hope this makes sense?
Regards
Genome
This issue is not only in miniscripts - but the rest makes perfectly sense. I've already added a fix on github to solve this issue, so the next release wont have this problem anymore.
Thank you Stefaf
One more thing that just crossed my mind (Dont know why it hasn't crossed before..)
Basicly you have to make a @RapidCodeOn for Tease-AI to process @NullResponse lines fast.
Why not just make this a permanent change without the need for @RapidCodeOn?
Been writing a lot, like A LOT
And its very rare that I actually want the @NullResponse lines to not parse fast.
It just makes more sense to me that if I dont want the @NullResponse to be over with fast I can then add the @Wait() command to the line.
Regards
Genome
Re: Tease AI Bug Report Thread
Posted: Tue Sep 27, 2016 7:03 am
by Bluelow
Is it just me or is the DommeLevel not working correctly in the current build of TeaseAI? Not sure about Apathy
Re: Tease AI Bug Report Thread
Posted: Sun Oct 02, 2016 10:44 am
by Stefaf
Bluelow wrote:Is it just me or is the DommeLevel not working correctly in the current build of TeaseAI? Not sure about Apathy
Never heard or realized a bug with those. Are you sure your script is correct?
Re: Tease AI Bug Report Thread
Posted: Sun Oct 02, 2016 2:31 pm
by Bluelow
Stefaf wrote:Bluelow wrote:Is it just me or is the DommeLevel not working correctly in the current build of TeaseAI? Not sure about Apathy
Never heard or realized a bug with those. Are you sure your script is correct?
For example if I create a script
@DommeLevel1 1
@DommeLevel2 2
@DommeLevel3 3
@DommeLevel4 4
@DommeLevel5 5
@End
The output is
1
2
3
4
5
Or if I create a vocabulary file
@DommeLevel1 1
@DommeLevel2 2
@DommeLevel3 3
@DommeLevel4 4
@DommeLevel5 5
One of these is selected randomly no matter what my DommeLevel is set to.
Same happens in every other script that uses it. Actually I just noticed avatarbr reported the same bug above.
Re: Tease AI Bug Report Thread
Posted: Mon Oct 03, 2016 6:29 am
by Stefaf
Bluelow wrote:
For example if I create a script
@DommeLevel1 1
@DommeLevel2 2
@DommeLevel3 3
@DommeLevel4 4
@DommeLevel5 5
@End
The output is
1
2
3
4
5
Then you're using the domme level wrong. In Linear scripts it's used like this:
Code: Select all
@GotoDommeLevel
(DommeLevel1)
1 @Goto(EndDommeLevel)
(DommeLevel2)
2 @Goto(EndDommeLevel)
(DommeLevel3)
3 @Goto(EndDommeLevel)
(DommeLevel4)
4 @Goto(EndDommeLevel)
(DommeLevel5)
5 @Goto(EndDommeLevel)
(EndDommeLevel)
Bluelow wrote:Or if I create a vocabulary file
@DommeLevel1 1
@DommeLevel2 2
@DommeLevel3 3
@DommeLevel4 4
@DommeLevel5 5
One of these is selected randomly no matter what my DommeLevel is set to.
Ok. That's right and there is an spelling error in the filtering code (No workaround possible) - we'll fix this.
Bluelow wrote:Same happens in every other script that uses it. Actually I just noticed avatarbr reported the same bug above.
Ooops! Sorry avatarbr. Your post slipped through my vision.
avatarbr wrote:Hey, can someone confirm if the @DommeLevel() Command Filter its working?
In the debug mode, all the levels are playing, not sure if you need to be in a session to TeaseAI get the Domme Level.
Would should it do? I can't see a code regarding this, except of cleaning the command itself. The only usage what i can think of is in vocabulary files and there is no code regarding this.
Re: Tease AI Bug Report Thread
Posted: Fri Oct 07, 2016 3:39 am
by avatarbr
Stefaf wrote:
Would should it do? I can't see a code regarding this, except of cleaning the command itself. The only usage what i can think of is in vocabulary files and there is no code regarding this.
No problem.
This should work like a @Flag, but with the Domme level instead.
I think 1885 create this in one of the lastest version. Maybe he removed?
Re: Tease AI Bug Report Thread
Posted: Tue Oct 25, 2016 8:44 pm
by avatarbr
If someone will still work in bug fixes, can we get a consistent way for how commas work?
Sometimes works with space after the comma, like
@Flag(flag1, flag2) or @Goto(page1, page2).
Sometimes dont, just without a space, like
@Flag(flag1,flag2) or @Goto(page1,page2).
I see a miniscript calling a line where I have space, like this:
flag2) This text should not appear because none of the flags exists.
But in Modules, without the space does not work.
Sorry, but this is really frustrating while creating scripts, because you can not catch the problem if you dont know this can happen.
Re: Tease AI Bug Report Thread
Posted: Wed Oct 26, 2016 1:47 am
by pepsifreak
avatarbr wrote:If someone will still work in bug fixes, can we get a consistent way for how commas work?
Sometimes works with space after the comma, like
@Flag(flag1, flag2) or @Goto(page1, page2).
Sometimes dont, just without a space, like
@Flag(flag1,flag2) or @Goto(page1,page2).
I see a miniscript calling a line where I have space, like this:
flag2) This text should not appear because none of the flags exists.
But in Modules, without the space does not work.
Sorry, but this is really frustrating while creating scripts, because you can not catch the problem if you dont know this can happen.
I don't see any comma-handling code at all involving @Flag. @Goto should be working fine.
Are you sure @Flag is meant to work with commas?
Both "a,b" and "a, b" should be valid.
Re: Tease AI Bug Report Thread
Posted: Wed Oct 26, 2016 2:16 am
by avatarbr
pepsifreak wrote:
I don't see any comma-handling code at all involving @Flag. @Goto should be working fine.
Are you sure @Flag is meant to work with commas?
Both "a,b" and "a, b" should be valid.
SHIT
You asking this made me look for the command 1885 posted, and was this:
1885 wrote:
@NotFlag() is going going to get replaced during the overhaul. Currently @Flag() and @NotFlag() can only check for one Flag, but I"m going to change @Flag() so you can check for multiple flags, or check that flags are not present. Like:
@Flag(FlagName)
@Flag(FlagName1, FlagName2)
@Flag(Not, FlagName) , etc
And I think he never implemented this. And I just released HoT3 with a lot of this. well shit...time to edit everything
thanks, I think that was the problem.

Re: Tease AI Bug Report Thread
Posted: Fri Oct 28, 2016 11:38 am
by Stefaf
avatarbr wrote:If someone will still work in bug fixes, can we get a consistent way for how commas work?
Sometimes works with space after the comma, like
@Flag(flag1, flag2) or @Goto(page1, page2).
Sometimes dont, just without a space, like
@Flag(flag1,flag2) or @Goto(page1,page2).
I see a miniscript calling a line where I have space, like this:
flag2) This text should not appear because none of the flags exists.
But in Modules, without the space does not work.
I'm still here. I'll let you know, when i stop working on it. My current Task is suspending and resuming a session, where i found a nice and "easy" solution. After implementing it and some minor other things, we could test it.
But back to topic: handling Commas is technically solved by a single function. So it should be consistent.
As far as i can see, @Flag() is
not supposed to be used with multiple parameters. Same goes for @NotFlag() This way, if you have a Command like @Flag(bla, blah) TAI is searching for Jumpmark/Flag called "bla, blah", instead of "bla" and "blah".
If you take a look at your Errorlogs: There should be an Error where you can see exactly this happening.
avatarbr wrote:Sorry, but this is really frustrating while creating scripts, because you can not catch the problem if you dont know this can happen.
I can totally understand. Unfortunately Reworking commands is none of my Priorities right now. But one day it will be!
Till then - hang tight! Let us know where problems are. I'll tag them and work on them, when the time has come.
Re: Tease AI Bug Report Thread
Posted: Fri Oct 28, 2016 2:30 pm
by genome231
Hey Avatar!
A shame that @Flag(bla, blah) dont work
Have you tried to make 2 flag commands? on the same line?
Not at a computer with Tease-AI currently installed so cant test it for you.
Like:
@Flag(bla) @Flag(blah) Retrieve your #Toy1!
Hope it might work.
Regards
Genome
Re: Tease AI Bug Report Thread
Posted: Fri Oct 28, 2016 7:15 pm
by Daragorn
I had changed my own version of teaseAI to work with @Flag(a,b,c) and @NotFlag(a,b,c) as many people are hoping to see also in the original version, and it works fine.
@Stefaf i am sending you a PM with the code snippets of my version so that you might put them in the official version (and check it works there too....i made a few other changes to better suit my personal tastes and i don't remember what i changed by now

, so, just to be sure it works there too, make some tests

).
@Flag(a,b,c) works only if a,b,c are all present (it doesn't works as a flag a or flag b...just as an AND and checks all flag)
@NotFlag(a,b,c) same as above
@Flag(a,b,c) @NotFlag(d,e,f) will work only if all flags a,b,c are present AND d,e,f are not present
Re: Tease AI Bug Report Thread
Posted: Fri Oct 28, 2016 8:35 pm
by avatarbr
Stefaf wrote:
I'm still here. I'll let you know, when i stop working on it. My current Task is suspending and resuming a session, where i found a nice and "easy" solution. After implementing it and some minor other things, we could test it.
But back to topic: handling Commas is technically solved by a single function. So it should be consistent.
As far as i can see, @Flag() is
not supposed to be used with multiple parameters. Same goes for @NotFlag() This way, if you have a Command like @Flag(bla, blah) TAI is searching for Jumpmark/Flag called "bla, blah", instead of "bla" and "blah".
If you take a look at your Errorlogs: There should be an Error where you can see exactly this happening.
avatarbr wrote:Sorry, but this is really frustrating while creating scripts, because you can not catch the problem if you dont know this can happen.
I can totally understand. Unfortunately Reworking commands is none of my Priorities right now. But one day it will be!
Till then - hang tight! Let us know where problems are. I'll tag them and work on them, when the time has come.
Thanks...but after the pepsifreak post I checked the 1885 releases, and the flag thing was just a idea he never implemented, for some reason I thought was released. I changed my scripts already.
genome231 wrote:Hey Avatar!
A shame that @Flag(bla, blah) dont work
Have you tried to make 2 flag commands? on the same line?
Not at a computer with Tease-AI currently installed so cant test it for you.
Like:
@Flag(bla) @Flag(blah) Retrieve your #Toy1!
Hope it might work.
Regards
Genome
Hmm...good idea. I will test this later, thanks.
Re: Tease AI Bug Report Thread
Posted: Fri Oct 28, 2016 9:59 pm
by Daragorn
genome231 wrote:Hey Avatar!
A shame that @Flag(bla, blah) dont work
Have you tried to make 2 flag commands? on the same line?
Not at a computer with Tease-AI currently installed so cant test it for you.
Like:
@Flag(bla) @Flag(blah) Retrieve your #Toy1!
Hope it might work.
Regards
Genome
Don't waste time trying it Avatar, i already did months ago, and it doesn't work
Maybe Stefaf will release an updated version with the code i PMed him...i already did it and it works in my modified version, so it, hopefully, should take very just a copy/paste to put it in the official version
Re: Tease AI Bug Report Thread
Posted: Fri Nov 25, 2016 1:19 pm
by zMog
Hey there
Ive been tagging my local images, but they dont seem to appear in my "LocalImageTags" txt file, what could explain this?