Tease AI Bug Report Thread

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
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 547
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease AI Bug Report Thread

Post by tigrotto »

Hi!

I think I've found a bug in @ControlFlag. In short: @ControlFlag() works in the same way as @Flag().

I made a script to test it(you can also find it in the attachments):

Code: Select all

#GreetSub

You haven't set flag1 @ControlFlag(flag1) You have set flag1

Setting flag1 now... @TempFlag(flag1)

You haven't set flag1 @ControlFlag(flag1) You have set flag1

Ending script... @EndTease
@End
What she should say is:
Hi
You haven't set flag1
Setting flag1 now...
You have set flag1
Ending script...
Instead, what she says is
Hi
Setting flag1 now...
You haven't set flag1 You have set flag1
Ending script...
as if I were using a @Flag() command(I replaced the @ControlFlag() with @Flag() command and I had the same results).

Thanks!
Attachments
ControlFlag.zip
(626 Bytes) Downloaded 68 times
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 547
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease AI Bug Report Thread

Post by tigrotto »

Hi!
Can anybody explain me why @DayOfWeek doesn't work, please?
I was doing a test for a script but TeaseAI completely ignored the lines with @DayOfWeek.
The script I used for the test is this:

Code: Select all

#GreetSub

@DayOfWeek(Monday) Today is Monday
@DayOfWeek(Tuesday) Today is Tuesday
@DayOfWeek(Wednesday) Today is Wednesday
@DayOfWeek(Thursday) Today is Thursday
@DayOfWeek(Friday) Today is Friday
@DayOfWeek(Saturday) Today is Saturday
@DayOfWeek(Sunday) Today is Sunday

Ending script...
@EndTease
@End
But when I run the script the only lines that appear are:
Hi
Ending script...


Any solution?
Thanks.
Bye! :wave:
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 641
Joined: Tue Nov 18, 2008 11:09 pm

Re: Tease AI Bug Report Thread

Post by markus »

Hi tig! :wave:
tigrotto wrote: Mon Feb 19, 2018 12:39 pm Can anybody explain me why @DayOfWeek doesn't work, please?
I looked up the source code, the problem seems to be there, TAI reads a string from your computer date, it reads the actual date as the day in the language you have on your computer, so monday in italian is lunedì (right?) ,... TAI then compares 2 strings if they are equal, so if it's monday it compares 'monday' with 'lunedì' and it's of course not equal.
If you would set your language on your PC to english, it should work (could you please test this, if you could confirm that this is really the problem/solution I will put this on my to-do-list for the next patch).

Btw.: The same problem would be for @Day and @Month.

Best greetings! :-)
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 547
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease AI Bug Report Thread

Post by tigrotto »

markus wrote: Mon Feb 19, 2018 9:10 pm Hi tig! :wave:
tigrotto wrote: Mon Feb 19, 2018 12:39 pm Can anybody explain me why @DayOfWeek doesn't work, please?
I looked up the source code, the problem seems to be there, TAI reads a string from your computer date, it reads the actual date as the day in the language you have on your computer, so monday in italian is lunedì (right?) ,... TAI then compares 2 strings if they are equal, so if it's monday it compares 'monday' with 'lunedì' and it's of course not equal.
If you would set your language on your PC to english, it should work (could you please test this, if you could confirm that this is really the problem/solution I will put this on my to-do-list for the next patch).

Btw.: The same problem would be for @Day and @Month.

Best greetings! :-)
Yes, lunedì is the Italian for Monday. In a previous test I used #CurrentDay but I had the same results: lunedì not Monday.
No problems with @Day and @Month(tested). Probably because they use a number as parameter instead of a word.

I did as you suggested and set the language to English but it didn't work. That's when I discovered that the date of my PC was still in Italian and I only needed to change the format from Italian to English to fix the problem.
Well, not exactly fixed, because @DayOfWeek it's a day off.
However Stefaf has already fixed that in his next patch. Sorry I forgot to edit this post yesterday... :innocent:

Since both of you are working on your own patch, why don't you team up and work on the same patch?
You could create a patch team: this way you won't risk to work on the same thing that the other has already implemented, you'd share workloads and release patches faster.

It's just my opinion, so feel free to do what you prefer.
Thanks for your help. I'll keep working on the 24-7 script for Miss Blue now.
Bye! :wave:
User avatar
genome231
Explorer At Heart
Explorer At Heart
Posts: 683
Joined: Wed Nov 12, 2014 8:35 am

Re: Tease AI Bug Report Thread

Post by genome231 »

Found a bug!

Using the unofficial version released by Daragorn!

Using multiple @CountVar

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @SetVar[Test]=[0]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
Makes Tease-AI count in a pace equal to the number of @CountVar activated - Meaning If I do 3 @CountVar[Test] in a row it will start counting 3x per second.

I believe it should simply override the existing one, but I might be mistaking :lol:

Best regards
Genome
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
User avatar
genome231
Explorer At Heart
Explorer At Heart
Posts: 683
Joined: Wed Nov 12, 2014 8:35 am

Re: Tease AI Bug Report Thread

Post by genome231 »

Possible bug.

Been playing arround with @CustomMode(#X,Goto,Y)
An observation:
1) They carry over if you use @CallReturn(). if they are called by the user in the callreturn it will trigger an error if the goto doesn't exist and go to where it came from.
To avoid this from happening I recommend that all @CustomMode automaticly clears when using @interrupt, callreturn etc.

Currently you have to use @CustomMode(Normal) to remove any chance of issues.

Cheers
Tribute to 1885 & those involved with Tease-AI.
Thank you for spending time on this awesome project! :-)
Stefaf
Explorer At Heart
Explorer At Heart
Posts: 107
Joined: Sat Apr 02, 2016 7:43 am
Gender: Male
Sexual Orientation: Straight
I am a: None of the above
Location: Germany

Re: Tease AI Bug Report Thread

Post by Stefaf »

genome231 wrote: Wed Mar 14, 2018 11:08 am by genome231 » 14 Mar 2018, 12:08
Found a bug!

Using the unofficial version released by Daragorn!
A single one in the hole Program would be great. :D
genome231 wrote: Wed Mar 14, 2018 11:08 am Using multiple @CountVar

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @SetVar[Test]=[0]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
I am now counting @ShowVar[Test]
I am now counting @ShowVar[Test]
@NullResponse @CountVar[Test]
Makes Tease-AI count in a pace equal to the number of @CountVar activated - Meaning If I do 3 @CountVar[Test] in a row it will start counting 3x per second.
Yes i can confirm, if you use it multiple times, it counts as multiple times as you used it.
genome231 wrote: Wed Mar 14, 2018 11:08 am I believe it should simply override the existing one, but I might be mistaking :lol:
If you mean by overwrite doing nothing i would agree. I'll implement a fix.
khorne
Explorer
Explorer
Posts: 44
Joined: Fri Feb 01, 2013 9:12 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive
Location: UK

Re: Tease AI Bug Report Thread

Post by khorne »

I keep seeing the error

Code: Select all

Version: 0.55.3.0
Title: FilterList Cancelled
Message: FilterList Started With LineGroupingValue "-1". 
Exceptions: 
	================================== Exception =====================================
	Message: Specified argument was out of the range of valid values.
	Parameter name: FilterList Started With LineGroupingValue "-1". 
	Typ:     System.ArgumentOutOfRangeException
	StackTrace:
	


~~~~~~~~~~~~~~~~~~~~Application.StackTrace~~~~~~~~~~~~~~~~~~~~~~~~~
   at Tease_AI.Form1.FilterList(List`1 ListClean) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Form1.vb:line 13903
   at Tease_AI.TauntProcessingObject..ctor(String absolutePath, Form1 Form1Reference) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Classes\TauntProcessingObject.vb:line 86
   at Tease_AI.Form1.StrokeTauntTimer_Tick(Object sender, EventArgs e) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Form1.vb:line 6482
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at Tease_AI.teaseAI_Timer.OnTick(EventArgs e) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Classes\teaseAI_Timer.vb:line 50
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
   at Tease_AI.My.MyApplication.Main(String[] Args) in :line 81
I had a look in the source code, but not sure exactly what the problem is because I don't know VB, but it seems to be this section of the code in the file Form1.vb that is causing the error:

Code: Select all

 '▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
        '		Check if Grouped-Lines-Files have the right amount of Lines
        '▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
        ' No need to go further on an empty file.
        If ListClean.Count <= 0 Then
            Trace.WriteLine("FilterList started with empty List. Skipping filter.")
            Return ListClean
        End If

        ' To Avoid DivideByZeroException 
        If ListIncrement <= 0 Then
            Dim lazyText As String = "FilterList Started With LineGroupingValue """ & ListIncrement & """. "
            Log.WriteError(lazyText, New ArgumentOutOfRangeException(lazyText), "FilterList Cancelled")
            If My.Settings.CBOutputErrors = True And ssh.SaidHello = True Then ChatAddSystemMessage("<font color=""red"">ERROR: " & lazyText & "</font>", False)
            Return ListClean
        End If
Any ideas how I can fix it (if I have set something up incorrectly)?
Stefaf
Explorer At Heart
Explorer At Heart
Posts: 107
Joined: Sat Apr 02, 2016 7:43 am
Gender: Male
Sexual Orientation: Straight
I am a: None of the above
Location: Germany

Re: Tease AI Bug Report Thread

Post by Stefaf »

Check your [Tease-AI-path]\Scripts\[selected Personality]\Stroke folder
There should be files named like
  • StrokeTaunts_#.txt
  • ChastityTaunts_#.txt
  • GlitterTaunts_#.txt
Where # can be any number greater as zero. The number determines how many lines of a taunt in the file are grouped. i.e. StrokeTaunts_15.txt contains taunts that have 15 lines. StrokeTaunts_1.txt contains one line taunts.
User avatar
Shattered
Experimentor
Experimentor
Posts: 1238
Joined: Fri Jan 11, 2013 6:41 pm
I am a: Switch
Location: United Kingdom

Re: Tease AI Bug Report Thread

Post by Shattered »

Is there a way to open the current script in ntoepad or something? Got ERROR: The given imagepath was empty. :::: ShowImage with no valid imagepath. and would be nice to know where its from to check if its my fault or the scripts :)
Stefaf
Explorer At Heart
Explorer At Heart
Posts: 107
Joined: Sat Apr 02, 2016 7:43 am
Gender: Male
Sexual Orientation: Straight
I am a: None of the above
Location: Germany

Re: Tease AI Bug Report Thread

Post by Stefaf »

Shattered wrote: Sat Mar 17, 2018 10:35 pm Is there a way to open the current script in ntoepad or something? Got ERROR: The given imagepath was empty. :::: ShowImage with no valid imagepath. and would be nice to know where its from to check if its my fault or the scripts :)
Type in "@" instead regular text and send it.
This will show you the current running script and the current line. But since TAI ignores empty lines, the line number is counted without empty lines.
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 547
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease AI Bug Report Thread

Post by tigrotto »

Hi!
I'm testing a section of a script but I keep getting this error:
index exceeds the limit of the matrix
and this is the message:
Spoiler: show
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
in Tease_AI.Form1.SysKeywordClean(String StringClean) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Form1.vb:riga 7841
in Tease_AI.Form1.PoundClean(String StringClean) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Form1.vb:riga 8279
in Tease_AI.Form1.Timer1_Tick(Object sender, EventArgs e) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Form1.vb:riga 4794
in System.Windows.Forms.Timer.OnTick(EventArgs e)
in Tease_AI.teaseAI_Timer.OnTick(EventArgs e) in C:\Users\Werner\Downloads\Tease-AI-0.55.3.0\Tease-AI-0.55.3.0\Tease AI\Classes\teaseAI_Timer.vb:riga 50
in System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2634.0 built by: NET471REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Tease AI
Versione assembly: 0.55.3.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/ASUS/Desktop/tigrotto/CASA/Programmi/TeaseAI/TeaseAI/Tease%20AI.exe
----------------------------------------
Microsoft.VisualBasic
Versione assembly: 10.0.0.0
Versione Win32: 14.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2634.0 built by: NET471REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2634.0 built by: NET471REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2612.0 built by: NET471REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Speech
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
AxInterop.WMPLib
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/ASUS/Desktop/tigrotto/CASA/Programmi/TeaseAI/TeaseAI/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/ASUS/Desktop/tigrotto/CASA/Programmi/TeaseAI/TeaseAI/Interop.WMPLib.DLL
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.GeneratedCode
Versione assembly: 1.0.0.0
Versione Win32: 4.7.2612.0 built by: NET471REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.mshtml
Versione assembly: 7.0.3300.0
Versione Win32: 7.0.3300.0
Base di codice: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------

************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.

Ad esempio:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo
Sorry it's in Italian... :innocent:
I'm using markus' unofficial patch 55.5 at the moment, but it happens also with Daragorn's patch 55.3.
This is the message of the error with Daragorn's patch 55.3:
Spoiler: show
Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.IndexOutOfRangeException: Indice oltre i limiti della matrice.
in Tease_AI.Form1.SysKeywordClean(String StringClean) in G:\tigrotto\Tease-AI2\Tease AI\Form1.vb:riga 7813
in Tease_AI.Form1.PoundClean(String StringClean) in G:\tigrotto\Tease-AI2\Tease AI\Form1.vb:riga 8251
in Tease_AI.Form1.Timer1_Tick(Object sender, EventArgs e) in G:\tigrotto\Tease-AI2\Tease AI\Form1.vb:riga 4766
in System.Windows.Forms.Timer.OnTick(EventArgs e)
in Tease_AI.teaseAI_Timer.OnTick(EventArgs e) in G:\tigrotto\Tease-AI2\Tease AI\Classes\teaseAI_Timer.vb:riga 50
in System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2634.0 built by: NET471REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Tease AI
Versione assembly: 0.54.9.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/ASUS/Desktop/tigrotto/CASA/Programmi/TeaseAI/TeaseAI/Tease%20AI.exe
----------------------------------------
Microsoft.VisualBasic
Versione assembly: 10.0.0.0
Versione Win32: 14.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2634.0 built by: NET471REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2634.0 built by: NET471REL1LAST_C
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2612.0 built by: NET471REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Speech
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
AxInterop.WMPLib
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/ASUS/Desktop/tigrotto/CASA/Programmi/TeaseAI/TeaseAI/AxInterop.WMPLib.DLL
----------------------------------------
Interop.WMPLib
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Base di codice: file:///C:/Users/ASUS/Desktop/tigrotto/CASA/Programmi/TeaseAI/TeaseAI/Interop.WMPLib.DLL
----------------------------------------
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
Versione assembly: 4.0.0.0
Versione Win32: 4.7.2558.0 built by: NET471REL1
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.GeneratedCode
Versione assembly: 1.0.0.0
Versione Win32: 4.7.2612.0 built by: NET471REL1LAST_B
Base di codice: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.mshtml
Versione assembly: 7.0.3300.0
Versione Win32: 7.0.3300.0
Base di codice: file:///C:/WINDOWS/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------

************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
The section of the script that is causing the error is this:

Code: Select all

@NullResponse @RapidCodeOn
@NullResponse @Flag(24-7_work_on_friday,24-7_work_on_saturday) @Variable[#DateDifference(24-7_come_home,minutes)]>=[0]And[#DateDifference(24-7_go_to_sleep_working_day,minutes)]<=[0] @TempFlag(L5) @SetVar[24-7_time_before_going_to_sleep]=[#DateDifference(24-7_go_to_sleep_working_day,minutes)] @TempFlag(24-7_checking_available_time_before_sleep)
@NullResponse @Flag(24-7_work_on_friday) @NotFlag(24-7_work_on_saturday) @Variable[#DateDifference(24-7_come_home,minutes)]>=[0]And[#DateDifference(24-7_go_to_sleep_not_working_day,minutes)]<=[0] @TempFlag(L6) @SetVar[24-7_time_before_going_to_sleep]=[#DateDifference(24-7_go_to_sleep_not_working_day,minutes)] @TempFlag(24-7_checking_available_time_before_sleep)
@NullResponse @NotFlag(24-7_work_on_friday) @Flag(24-7_work_on_saturday) @Variable[#DateDifference(24-7_go_to_sleep_working_day,minutes)]<=[0] @TempFlag(L7) @SetVar[24-7_time_before_going_to_sleep]=[#DateDifference(24-7_go_to_sleep_working_day,minutes)] @TempFlag(24-7_checking_available_time_before_sleep)
@NullResponse @NotFlag(24-7_work_on_friday,24-7_work_on_saturday) @Variable[#DateDifference(24-7_go_to_sleep_not_working_day,minutes)]<=[0] @TempFlag(L8) @SetVar[24-7_time_before_going_to_sleep]=[#DateDifference(24-7_go_to_sleep_not_working_day,minutes)] @TempFlag(24-7_checking_available_time_before_sleep)
@NullResponse @RapidCodeOff
But I only get this error when one between flag 24-7_work_on_friday and 24-7_work_on_saturday is set.

I checked the script multiple times and there's nothing wrong.
What is even more strange is this: the structure of the first two lines is the same, except for the different use of @Flag @NotFlag at the beginning.

Code: Select all

@NullResponse @Flag(24-7_work_on_friday,24-7_work_on_saturday) @Variable[#DateDifference(24-7_come_home,minutes)]>=[0]And[#DateDifference(24-7_go_to_sleep_working_day,minutes)]<=[0] @TempFlag(L5) @SetVar[24-7_time_before_going_to_sleep]=[#DateDifference(24-7_go_to_sleep_working_day,minutes)] @TempFlag(24-7_checking_available_time_before_sleep)
@NullResponse @Flag(24-7_work_on_friday) @NotFlag(24-7_work_on_saturday) @Variable[#DateDifference(24-7_come_home,minutes)]>=[0]And[#DateDifference(24-7_go_to_sleep_not_working_day,minutes)]<=[0] @TempFlag(L6) @SetVar[24-7_time_before_going_to_sleep]=[#DateDifference(24-7_go_to_sleep_not_working_day,minutes)] @TempFlag(24-7_checking_available_time_before_sleep)
The same with the last two lines but I only get the error when only one of the two flags is set.

Trying to understand what could be the main cause, I removed some parts of the script. What I found is that removing the @SetVar command fix the problem. But I need that @SetVar!
For example, if I set only flag 24-7_work_on_friday and I remove the @SetVar from the @Flag(24-7_work_on_friday) line the script works.
So I tested the @SetVar alone but I didn't get the error.

Can anyone help me, please? I really don't know what to do.
I made a small script in case you want to make some tests.

Thanks!
Bye :wave:
Attachments
test4.zip
(640 Bytes) Downloaded 79 times
Stefaf
Explorer At Heart
Explorer At Heart
Posts: 107
Joined: Sat Apr 02, 2016 7:43 am
Gender: Male
Sexual Orientation: Straight
I am a: None of the above
Location: Germany

Re: Tease AI Bug Report Thread

Post by Stefaf »

tigrotto wrote: Mon Mar 19, 2018 3:18 pm Sorry it's in Italian... :innocent:
No problem since the stacktrace, the most important part, is universal language.

Now to your problem: I've got two good and bad a news.
  • I've located the source and i know how to fix it.
  • There is nothing besides recompiling the program to fix it. You could avoid it by splitting the line. Would be easier to read though. The problem are the two #DateDifference(24-7_go_to_sleep_working_day,minutes) within the line. The parsing code replaces both #DateDifference(24-7_go_to_sleep_working_day,minutes) at once and tries to read the data from the second already replaced afterwards. But there is nothing left to read -> IndexOutOfRangeException.
  • I need a tester for the current code version -> So i'll send you an archive to test, if it is really working as intended. No offense, i've no clue clue what you try to accomplish. btw.: That's the second good news, but most people don't like to be my lab rats. ;-)
Edit: And i really like that test script. Thanks!
User avatar
tigrotto
Explorer At Heart
Explorer At Heart
Posts: 547
Joined: Sat Jul 15, 2017 5:13 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Tease AI Bug Report Thread

Post by tigrotto »

Stefaf wrote: Mon Mar 19, 2018 11:01 pm
tigrotto wrote: Mon Mar 19, 2018 3:18 pm Sorry it's in Italian... :innocent:
No problem since the stacktrace, the most important part, is universal language.

Now to your problem: I've got two good and bad a news.
  • I've located the source and i know how to fix it.
  • There is nothing besides recompiling the program to fix it. You could avoid it by splitting the line. Would be easier to read though. The problem are the two #DateDifference(24-7_go_to_sleep_working_day,minutes) within the line. The parsing code replaces both #DateDifference(24-7_go_to_sleep_working_day,minutes) at once and tries to read the data from the second already replaced afterwards. But there is nothing left to read -> IndexOutOfRangeException.
  • I need a tester for the current code version -> So i'll send you an archive to test, if it is really working as intended. No offense, i've no clue clue what you try to accomplish. btw.: That's the second good news, but most people don't like to be my lab rats. ;-)
Edit: And i really like that test script. Thanks!
Stefaf wrote: Mon Mar 19, 2018 11:01 pm
  • I've located the source and i know how to fix it.
Problem fixed! Thanks! Just tested with your patch and it works.
Stefaf wrote: Mon Mar 19, 2018 11:01 pm
  • ...The problem are the two #DateDifference(24-7_go_to_sleep_working_day,minutes) within the line...
But, if the problem is the two #DateDifference(24-7_go_to_sleep_working_day,minutes) in the same line, why does it happens only when one between flag 24-7_work_on_friday and 24-7_work_on_saturday is set? Anyway, it's not really important...
Stefaf wrote: Mon Mar 19, 2018 11:01 pm
  • ...You could avoid it by splitting the line.Would be easier to read though...
Will do. I'll release the script with the line splitted.
If you open it in Notepad++ it's easy to read because all the code is in one long line, while when I pasted the code here... Well it's a mess. :-P
Stefaf wrote: Mon Mar 19, 2018 11:01 pm
  • ...No offense, i've no clue clue what you try to accomplish...
It's a small section of a script for Miss Blue. These are the final lines where the user is at home at the time the program is checking if there's enought time to start a session.
You can find the script here.(open the interrupt 24-7 and find line (Monday_Sub is awake). This is were the two lines are from.)

Thanks for your help.

Sincerely,
Your
Attachments
Lab rat
Lab rat
Lab rat.jpg (81.86 KiB) Viewed 4515 times
Devon113
Explorer
Explorer
Posts: 35
Joined: Mon Feb 25, 2008 7:36 am

Re: Tease AI Bug Report Thread

Post by Devon113 »

First off - wow! This program is INSANE! I only discovered it now and man is it mind-blowing! What an amazing piece you've created here.

Anyway, I hope this it the right thread for this and I'm doing this right.

#1 Basically what I found is that for some reason the tags don't seem to stick to their images. Here's what I do:

- Started tagging, found I had too many images to do it in one go. Made a new folder, threw 20 pics in, tagged them. Added 20 more the next day to tag them also, only to discover that now the tags were mixed up, no idea why. Thought to solve this by simply keeping all pics in one folder and just tagging them day by day but then what happens when I add new ones?

#2 Just a minor thing but strange - the program seems to always want a sub-folder in a pic folder. So say I want to set my dome pic folder I can't just create a folder "domme" with pics in it, no I need to create another folder within the "domme" folder and put the pics in that one. *shrug*

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests