Tease AI General Discussion

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
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease AI Open Beta - Updated to Patch 52

Post by avatarbr »

Not sure if its a problem in my end, but I got 2 crashes in about 1h last night. (no report/message, just crash)

Only thing I can tell is, in at least 1 case, was in a module I know works in previous versions and I am using the url option for Boobs images (almost sure was not a crash trying to load a online boob :-D )

Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)

And a old bug, I think almost nobody use this option, but if you uncheck the option to end a session when denial, and happens to got a continue session after a denial, all response files TeasiAI get its from the [After Tease] section.
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 Open Beta - Updated to Patch 52

Post by Stefaf »

avatarbr wrote:Not sure if its a problem in my end, but I got 2 crashes in about 1h last night. (no report/message, just crash)
CTD or the domme wasn't responding anymore? What was it doing at that moment?
avatarbr wrote:Only thing I can tell is, in at least 1 case, was in a module I know works in previous versions and I am using the url option for Boobs images (almost sure was not a crash trying to load a online boob :-D )
A module? What module? And just today is my crystal ball for polishing. ;-)
avatarbr wrote:Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)
So you deactivated it in the GenerealSettings-Section and on the next startup it was/is activated again? If that's the Case - I can't reproduce it. Not with Path 52 and the current development Version.
avatarbr wrote:And a old bug, I think almost nobody use this option, but if you uncheck the option to end a session when denial, and happens to got a continue session after a denial, all response files TeasiAI get its from the [After Tease] section.
In this particual case i don't even know where to start. But i will try.


Please excuse all the stupid questions. :innocent:
meaculpa_uk
Explorer
Explorer
Posts: 88
Joined: Mon Jan 11, 2016 9:46 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease AI Open Beta - Updated to Patch 52

Post by meaculpa_uk »

avatarbr wrote:Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)
So you deactivated it in the GenerealSettings-Section and on the next startup it was/is activated again? If that's the Case - I can't reproduce it. Not with Path 52 and the current development Version.

Hiya, Yeah, I'm getting that too.. if I unmute sounds then it defaults back to muted the next time I launch :-)
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease AI Open Beta - Updated to Patch 52

Post by avatarbr »

Stefaf wrote:
avatarbr wrote:Not sure if its a problem in my end, but I got 2 crashes in about 1h last night. (no report/message, just crash)
CTD or the domme wasn't responding anymore? What was it doing at that moment?
avatarbr wrote:Only thing I can tell is, in at least 1 case, was in a module I know works in previous versions and I am using the url option for Boobs images (almost sure was not a crash trying to load a online boob :-D )
A module? What module? And just today is my crystal ball for polishing. ;-)
avatarbr wrote:Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)
So you deactivated it in the GenerealSettings-Section and on the next startup it was/is activated again? If that's the Case - I can't reproduce it. Not with Path 52 and the current development Version.
avatarbr wrote:And a old bug, I think almost nobody use this option, but if you uncheck the option to end a session when denial, and happens to got a continue session after a denial, all response files TeasiAI get its from the [After Tease] section.
In this particual case i don't even know where to start. But i will try.


Please excuse all the stupid questions. :innocent:
1- Yes, CTD. One case was a Module, and another I think was a Link. This is why I could not check the exact point where the crash happened.
2- The module(script) running when crashed, I already played it in another patch without problems.
3- Yes and no. I deactivated in the settings...next time still off, I think will mute again after a PC restart.
4- Yes, I dont think people use this option often, so no big deal (I stoped after getting a 2h session because this :lol: )
User avatar
1885
Explorer At Heart
Explorer At Heart
Posts: 648
Joined: Fri Jul 08, 2011 4:27 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease AI Open Beta - Updated to Patch 52

Post by 1885 »

b912va wrote:I'm not sure when this change was made, but it seems like separating multiple flags with commas in @CheckFlag doesn't work anymore. Was this change intentional? It breaks a lot of old scripts that used to use it.
@CheckFlag() was one of the rare instances (if not the only instance) where I changed the way a Command was used in such a way that previous uses were no longer valid. Before the Community Patches started up with 48, @CheckFlag() used commas to check for multiple flags. Before Patch 48 could be released, @CheckFlag() was changed to allow multiple @CheckFlags() per line, and use commas to specify GotoLines. I went explained this in better detail in this post:

viewtopic.php?f=2&t=15776&p=204749#p204749

Since I didn't release Patch 48, I'm not if the readme I was working on at the time made it into the patch notes or not. I didn't want have to break any scripts, but this change was better in the long run, because you could check flags in multiple locations in the same script and not always be forced to go to the Flag's name as a GotoLine.
avatarbr wrote:Not sure if its a problem in my end, but I got 2 crashes in about 1h last night. (no report/message, just crash)

Only thing I can tell is, in at least 1 case, was in a module I know works in previous versions and I am using the url option for Boobs images (almost sure was not a crash trying to load a online boob :-D )

Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)
I'll double check and make sure I didn't leave some of the old "Enable BnB games" checks lying around in the code, but I don't think I did. Can you pm me (or point me to) the module you said you know worked before?

I haven't been able to replicate the mute volume reset issue either, but I'll dig around and see if I can find anything
avatarbr wrote:And a old bug, I think almost nobody use this option, but if you uncheck the option to end a session when denial, and happens to got a continue session after a denial, all response files TeasiAI get its from the [After Tease] section.
Thanks for catching this, I should be able to fix this. I'm also wondering how many people actually use this, especially now that @Edge() Commands can include the option to orgasm, it may be entirely unnecessary. I'll get it sorted out either way though
Image
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease AI Open Beta - Updated to Patch 52

Post by avatarbr »

1885 wrote: I'll double check and make sure I didn't leave some of the old "Enable BnB games" checks lying around in the code, but I don't think I did. Can you pm me (or point me to) the module you said you know worked before?
Unfortunately I cant find the exact module (too many ramdom files), but I will try to get the next time this happens.
User avatar
Azureballs
Explorer At Heart
Explorer At Heart
Posts: 119
Joined: Sat Oct 28, 2006 5:30 pm
Gender: Transsexual/Transgender
Sexual Orientation: Open to new ideas!
I am a: Submissive
Location: USA

Re: Tease AI Open Beta - Updated to Patch 52

Post by Azureballs »

1885 wrote:
avatarbr wrote:And a old bug, I think almost nobody use this option, but if you uncheck the option to end a session when denial, and happens to got a continue session after a denial, all response files TeasiAI get its from the [After Tease] section.
Thanks for catching this, I should be able to fix this. I'm also wondering how many people actually use this, especially now that @Edge() Commands can include the option to orgasm, it may be entirely unnecessary. I'll get it sorted out either way though
I use it! :lol: just haven't had the time to play lately.
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 Open Beta - Updated to Patch 52

Post by Stefaf »

avatarbr wrote:
Stefaf wrote:
avatarbr wrote:Not sure if its a problem in my end, but I got 2 crashes in about 1h last night. (no report/message, just crash)
CTD or the domme wasn't responding anymore? What was it doing at that moment?
avatarbr wrote:Only thing I can tell is, in at least 1 case, was in a module I know works in previous versions and I am using the url option for Boobs images (almost sure was not a crash trying to load a online boob :-D )
A module? What module? And just today is my crystal ball for polishing. ;-)
avatarbr wrote:Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)
So you deactivated it in the GenerealSettings-Section and on the next startup it was/is activated again? If that's the Case - I can't reproduce it. Not with Path 52 and the current development Version.
avatarbr wrote:And a old bug, I think almost nobody use this option, but if you uncheck the option to end a session when denial, and happens to got a continue session after a denial, all response files TeasiAI get its from the [After Tease] section.
In this particual case i don't even know where to start. But i will try.


Please excuse all the stupid questions. :innocent:
1- Yes, CTD. One case was a Module, and another I think was a Link. This is why I could not check the exact point where the crash happened.
2- The module(script) running when crashed, I already played it in another patch without problems.
3- Yes and no. I deactivated in the settings...next time still off, I think will mute again after a PC restart.
4- Yes, I dont think people use this option often, so no big deal (I stoped after getting a 2h session because this :lol: )
1. Exiting without this unhandled Exception Message is rare in .Net these days. Was the MediaPlayer active as it happend?
2. 1885 should take a look.
3. Then it is not Tease-AI related. Tease-Ai writes the file and when you start the program again it's the value you have set. But if you restart and then this setting is gone, Windows is changing your User.Config during bootup. But this would affect all Settings. Not only this particular one. Would you mind if you try this with different settings?
4. Ok. Then i'll do anything.
meaculpa_uk wrote:
avatarbr wrote:Other thing, the mute media option keep reseting to mute (not always, but i open TeaseAI a lot of times when testing scripts)
Stefaf wrote:So you deactivated it in the GenerealSettings-Section and on the next startup it was/is activated again? If that's the Case - I can't reproduce it. Not with Path 52 and the current development Version.
Hiya, Yeah, I'm getting that too.. if I unmute sounds then it defaults back to muted the next time I launch :-)
You did set it in the SettingsMenu? If you only unmute in WMP it will mute on each PlayStateChange.
User avatar
avatarbr
Experimentor
Experimentor
Posts: 1239
Joined: Fri Aug 18, 2006 3:33 am
Gender: Male
Sexual Orientation: Straight

Re: Tease AI Open Beta - Updated to Patch 52

Post by avatarbr »

Stefaf wrote: 1. Exiting without this unhandled Exception Message is rare in .Net these days. Was the MediaPlayer active as it happend?
2. 1885 should take a look.
3. Then it is not Tease-AI related. Tease-Ai writes the file and when you start the program again it's the value you have set. But if you restart and then this setting is gone, Windows is changing your User.Config during bootup. But this would affect all Settings. Not only this particular one. Would you mind if you try this with different settings?
4. Ok. Then i'll do anything.
.
1- Good question. While no video was running, could be a sound file be calling. I will check this next time

Would be cool to have a option similar at the chatlogs, but saving the scripts loading, for this cases.
Something to save a log at the moment a script loads, so in case of a crash, the log already have the last script (the one than cause the crash), like this:
- Start Module Name.txt
- Stroking
- Module File name.txt
- Link File name.txt
- Stroking
- Interrupt File name.txt
- Link File name.txt
- ...
pepsifreak
Explorer At Heart
Explorer At Heart
Posts: 145
Joined: Fri May 08, 2009 8:50 pm
Gender: Male
Sexual Orientation: Straight

Re: Tease AI Open Beta - Updated to Patch 52

Post by pepsifreak »

I ran into that boob crash, and since I exclusively run TAI as debug I know where it happens. :-P

Haven't looked into the why but SaveSessionImage() is getting called on a local image somehow so the ImageFlag variable ends up being the entire path and therefore invalid.

Also seconding thing mute thing I think. It might be tied to the checkbox for it being checked by default in Form2

Edit: not related to form2 as it happened again after my commit.
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 Open Beta - Updated to Patch 52

Post by Stefaf »

avatarbr wrote:
1- Good question. While no video was running, could be a sound file be calling. I will check this next time

Would be cool to have a option similar at the chatlogs, but saving the scripts loading, for this cases.
Something to save a log at the moment a script loads, so in case of a crash, the log already have the last script (the one than cause the crash), like this:
- Start Module Name.txt
- Stroking
- Module File name.txt
- Link File name.txt
- Stroking
- Interrupt File name.txt
- Link File name.txt
- ...
Ok... I like the idea and it's easy to accomplish. Let's do this!
pepsifreak wrote:I ran into that boob crash, and since I exclusively run TAI as debug I know where it happens. :-P

Haven't looked into the why but SaveSessionImage() is getting called on a local image somehow so the ImageFlag variable ends up being the entire path and therefore invalid.
Yeah that function is part of "ChacheImage" and "DisplayImage" which were ment to Synchronize loading of remote-Images and the Domme Typing. This approach didn't work out that well. Those functions really blowed my head, for i could not recognize, what they are here for. We worked out a way to accomplish this without the UI to freeze, but i don't know if we can fully implement this for Patch 53. But we put in a URI Check to stop this for now.
pepsifreak wrote:Also seconding thing mute thing I think. It might be tied to the checkbox for it being checked by default in Form2

That's worth a try.

Thanks you for the Tips!


Edit: It was worth a try, as you edited your post. :-D
We could Create a DataBinding between My.Settings and the Checkbox. This is the Microsoft recommended Way, to handle this stuff.

Edit2:

I've Created a DataBinding between CBMuteMedia and My.Seetings.MuteMedia. There is no chance this Setting isn't loading or saving anymore. The Binding is set on InitializeComponent. Afterwards each change of MySetting.MuteMedia will Update CBmutMedia.checked and vice versa.

As far as I know there is nothing more accurate than that.

SaveSessionImages is also fixed.
b912va
Explorer
Explorer
Posts: 11
Joined: Wed Jul 29, 2015 6:35 am

Re: Tease AI Open Beta - Updated to Patch 52

Post by b912va »

1885 wrote:@CheckFlag() was one of the rare instances (if not the only instance) where I changed the way a Command was used in such a way that previous uses were no longer valid. Before the Community Patches started up with 48, @CheckFlag() used commas to check for multiple flags. Before Patch 48 could be released, @CheckFlag() was changed to allow multiple @CheckFlags() per line, and use commas to specify GotoLines. I went explained this in better detail in this post:

viewtopic.php?f=2&t=15776&p=204749#p204749

Since I didn't release Patch 48, I'm not if the readme I was working on at the time made it into the patch notes or not. I didn't want have to break any scripts, but this change was better in the long run, because you could check flags in multiple locations in the same script and not always be forced to go to the Flag's name as a GotoLine.
While I agree that the new method makes more sense than the previous one, it's a pretty bad idea to just break entire projects with no way to fix it than manually going through hundreds of scripts and searching for errors. A better option would be to leave the old method alone, mark it as depreciated, and to create a new method with the desired functionality. At the very least you could create a patcher or something that goes through and replaces all the broken CheckFlag commands. I wrote a crappy python script to do this myself, so if anyone wants to use it, you can find it here: http://pastebin.com/UiqrRuWy. If you use it on scripts that use the new functionality, it will break them.
fvoyeur
Explorer
Explorer
Posts: 11
Joined: Sun Dec 02, 2012 3:17 am
Gender: Male
Sexual Orientation: Straight

Re: Tease AI Open Beta - Updated to Patch 52

Post by fvoyeur »

Hi!

First, I would like to say that this is a really cool program that you made. While it is still crashing from time to time, the idea is really good and I like it. Thanks a lot.

I got a crash yesterday. At the end of the tease, after I was allowed to cum, the DOM said I was not finished. It downloaded a file with what I am guessing is extra instructions of things to do before the next session. It indicated that the file was downloaded but when I clicked to open it, the application crashed. Unfortunately, I did not click to get the details.

I also get a crash whenever I want to open one of the games. Here is the detail:

System.ArgumentException: The access path is not conform.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at Tease_AI.FrmCardList.InitializeSlots() in C:\Users\Elijah\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form3.vb:line 2405
at Tease_AI.FrmCardList.FrmCardList_Load(Object sender, EventArgs e) in C:\Users\Elijah\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form3.vb:line 2399
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I hope that helps you to debug it.
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 Open Beta - Updated to Patch 52

Post by Stefaf »

fvoyeur wrote:I also get a crash whenever I want to open one of the games. Here is the detail:

System.ArgumentException: The access path is not conform.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at Tease_AI.FrmCardList.InitializeSlots() in C:\Users\Elijah\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form3.vb:line 2405
at Tease_AI.FrmCardList.FrmCardList_Load(Object sender, EventArgs e) in C:\Users\Elijah\Documents\Visual Studio 2010\Projects\Tease AI\Tease AI\Form3.vb:line 2399
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I hope that helps you to debug it.
I would guess you didn't set up your GameCards.
So did you set up your Cards in "Settings->Apps->Games" ?
Spoiler: show
Tease-AI Setup is a pain in the ... ^^
User avatar
1885
Explorer At Heart
Explorer At Heart
Posts: 648
Joined: Fri Jul 08, 2011 4:27 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: Tease AI Open Beta - Updated to Patch 53

Post by 1885 »

Sorry for the delay in getting this out everyone. A lot of the work in this patch is under the hood stuff, but it has been a lot of work (a vast majority of which comes from Stefaf, so major thanks to him for that :smile: ). This patch should bring a lot of bugfixes and optimization, two things that are forever a work in progress but I'll keep doing what I go to do to keep moving forward

Patch 53

Here - https://mega.nz/#!bY0jVAjb!SY34s7_eTWUX ... wiD4FNPMzc

Patch Notes:


Improvements -

Overhauled the way Tease AI filters out invalid lines from List scripts - The old process was one of the first things I programmed, and it was very clunky and has probably led to its fair share of errors when running Tease AI. The new process is an interim solution that is much more streamlined, faster and less likely to produce the kind of errors the original system was capable of. If you do notice any strange behavior in this department, please let me know and I'll get it fixed.


Bugfixes -

@Goto() style Commands have been tweaked to fix potential bugs


Commands -

Added Command @ShowLocalImage() - Since genre image Commands such as @ShowLesbianImage, @ShowFemdomImage etc can now reference Local or URL Files, @ShowLocalImage() has been created to allow you to specify genre images in Local files only. You can use a comma to create a list to randomly choose from, or use "not" to show any Local image but the genres specified. For example:
@ShowLocalImage(lesbian) - Show a local lesbian image
@ShowLocalImage(hentai, captions) - Show either a local hentai or captions image
@ShowLocalImage(not, captions) - Show any local image that is not a captions image
@ShowLocalImage(gay, maledom, not) - Show any local image that is not a gay or maledom image
Fixes added from Community Members:

Stefaf: Addon: Logging
Spoiler: show
Added new Class Log. this Class provides static Members to Write Logfiles.
These have been added to Function txt2list(String). Now most of the script loading will log it's IO-Access with StackTrace. This file is located in Tease-AI-Folder and has a maximum Size of 2MB. If it gets bigger, the file will be flushed. To easily remove the Stacktrace on top of the file a Regex Matchpattern is included.
Added Error-Loggging to all Catch Blocks containing : "Tease-AI did....". These logs will be saved in Application StartupPath & /ErrorLogs/. Each day a new file will be created.
All Times are converted to UniversalTime and Printed in Format "yyyy-MM-dd HH:mm:ss"

Log.Write() supports now StackTraceTrimming. This way the LogFile can contain more useful Information before it's flushed. Now it's even possible to skip the StackTrace, if you want to show unique and meaningful Messages.
Log.Write() and Log.WriteError() use now only for BuildDate and FileCreation UTC-Time. All other Messages are Local Time in fixed format "yyyy-MM-dd HH:mm:ss".
Added Log.Write() to Sections as marked in VS-TaskList.

Improvement: If PoundClean() was loading an empty Textfile it displayed only the Message: "ERROR: Tease AI did not return a valid line while parsing Command Filters". Added Log.WriteError(), with detailed information, which file was causing the error. It's loading files now via txt2List(String). This way the file loading is tracked. There was a check for empty lines. This is now part of txt2list(String) and applies to all loaded Files, loaded with txt2List(String).
Stefaf: App Shutdown - Added Call to BaseClass.OnClosing(e), for proper closing of application. Now the Notify-Icon should be removed properly.

Stefaf: BugFix SaveSettingsimage, MuteMedia
Spoiler: show
Function SaveSettingsImage(Image) didn't check if the global "ImageLocation" contains Local PAth or a remote. Added this Check.
Created DataBinding between CBMuteMedia and My.Seetings.MuteMedia. There is no chance this Setting isn't loading or saving anymore. And the Binding is set on InitializeComponent. Afterwards each change of MySetting.MuteMedia will Update CBmutMedia.checked and vice versa.
Stefaf: Improvement ImageLoading
Spoiler: show
Added Class BackgroundWorkerSyncable, basically a Wrapper around System.ComponentModel.BackgroundWorker.Addes members to wait for the Backgroundworker to complete in a Application.DoEvents Loop and for delayed triggering the RunWorkerCompleted-Event.

Description
Now Images can be loaded on a BackgroundThread, while the calling procedure stops, until the the image has been loaded. Even manually syncing is possible. Simply Call ShowImage(ImageUrl, False). This way the Calling procedure is not blocked until the Backgroundworker is finished. In this case the BackgroundWorker wont trigger the RunWorkerCompleted-Event until BWimageFetcher.WaitToFinish() is called. This way the calling procedure can work while the Backgroundworker loads and saves the File.

Added Partial Class of Form1 which contains ImageRelated Functions and Classes
Added Class ImageDataContainer Which contains everything to Evaluate and get images. Use The Function GetRandomImage() + 3 Overloads to get an single Image-URl from all Files.
Improvement: CustomSlidshow is now able to use URL-Files. Works pretty good...
BugFix: ShowImage(STring, Boolean) SaveSessionImageFolder contained an Error. No Session Image was saved.

Modified BackgroundWorkerSyncable: Added a Timer to force a delyed Trigger after 10 sek, when an External Trigger is Required. This Event is triggered with an TimeoutException and EmptyResilt. This way the BGW can "heal" itself if the Trigger was forgotten. Otherwise the BGW is blocked for the Rest of the Session.
Renamed SyncRequired to TriggerRequired
Renamed CancelSync to CancelTrigger.
Added Feature: If A Time-out while waiting for the Backgroundwork has occurred the RunWorkerCompleted Event will triggered with all Data and Cancelled = true.
CancelTrigger will trigger now an RunWorkerCompled-Event, where cancelled = True.

Fix: Modified position to Trigger the manual ImageFetcher.RunWorkerCompleted-Event. WaitToFinish was executed after the Text was written to Chatbox. Now it will wait to finish before writing the Text - I think at least.
Added SUGGESTION: All Writing to the Chatbox should be in a separate Function.
This Function should decide, if writing is necessary or not and get preloaded Images.
Modified CustomSlideshowTimer.Tick: The Timer stops itself on start and starts again when exiting the Function. This way each image is at least shown the same amount of time.
Stefaf: BugFix: CustomSlideshow ThreadException
Spoiler: show
The Custom Slideshow randomly caused an IllegalCrossThreadCall, when the Slideshow was still running while the Domme is writing a Response.
Neseccary Changes: Removed Thread "Thr", Removed Image-Variable "original", Removed Sub LoadSlideshowImage(), which was the AddressOf "Thr", Modified Sub CustomSlideshowTimer_Tick() , to call ShowImage() what is loading the Image Async., Removed Object BWSlideshow, Added Invoke to set the LBLImageInfo.Text in DisplayImage().
Stefaf: BugFix DomTagApp

pepsifreak: SplitterDistance setting now resets if too big

Stefaf: Bugfix: The Custom Slideshow randomly caused an IllegalCrossThreadCall, when the Slideshow was still running while the Domme is writing a Response.

Stefaf: Bugfix: UI-didn't resize on maximizing the window.

Stefaf: Bugfix: Hold the Edge Taunts returned "TeaseAI did not return a Hold the Edge Taunt" <--- Sorry guys and gals, that was my fault. (stefaf)

Stefaf: BugFix: @DommeTag() Didn't return the right picture, if the Task-Line contained a Keyword.

Stefaf: Bugfix/Addon: Only CH-Videos did load .flv Files. Now all Video-genres can load .flv-Files.

Stefaf: Bugfix: @ShowBoobsImage Local Images
Spoiler: show
GetTnAList() Local branch wrote to wrong List.
Stefaf: Added Class myDirectory
Spoiler: show
Changed all critical System.IO.Directory-References to myDirectory. Now no DirectoryNotFoundException can occur, as long as the Directory is a subdirectory of Application.StartupPath.

Description:
This Class is an Extension for the Class IO.Directory based on the needs of Tease-AI.
Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Implemeted this far:
- GetFiles() + 2 Overloads.
IO.Directory.GetFiles throws a Directory not FoundException, if the Directory of the file cannot be found. This Functions create the Directory, as long as it is in die Application.StartupPath.
- GetDirectories() +2 Overloads.
IO.Directory.GetDirectories throws a Directory not FoundException, if the Directory of the file cannot be found. This Functions create the Directory, as long as it is in die Application.StartupPath.

myDirectory:
Added Public Shared Function: GetFilesExtension() to Search Files in the given directory with multiple extensions.
Added Public Shared Function: GetFilesVideo() to retrieve all video-files in a given directory.
Added Public Shared Function: GetFilesImages() to retrieve all Image-Files in a given directory.

Form1.vb:
Moved PlayRandomJOI() and PlayRandomCH() to Video-Region
Removed Function GetVideosInDirectory() for it's replaced by myDirectory.GetFilesVideo().
Sorry again for how long it took to get this patch out. Any bugs that come up now can be fixed in a timelier manner than this patch took, most of the delay was due to me having to crash course on a lot of complicated code. If you have any bugs or comments or questions please let me know and I'll take care of it as soon as I can
OB Patch 53.rar
Open Beta Patch 53
(848.23 KiB) Downloaded 181 times
Image
Post Reply