Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: onthecuttingedge2005 on August 16, 2006, 07:48:47 pm

Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on August 16, 2006, 07:48:47 pm
Auto Aim Chat updated: Sept 17, 5:30AM

Here is my first plugin release for ALF v1.2

The ALF v1.2 Brain itself will not be available yet but I thought I would release my most updated 'Auto AIM Chat' Plugin for ALF v1.2 and HAL6.

This allows ALF v1.2 or HAL6 to automatically IM users online without any intervention from the bot master.

Certain rules must apply when using this Plug.
1.HAL6 Assistant and AIM Bot must be running at the same time and the 'Auto AIM Chat' must be selected in the HAL Assistant Brain options.

2.This Plug uses a variable and the Auto-Idle function to run.
The Variable is to reduce how many times HAL will auto IM someone
the standard time is about 2 minutes for Auto-Idle plus a Variable that adds some randomness to timed responses.

3.WARNING!!! Never use Auto Aim Chat while doing any editing or any kind of computer work, Use Auto Aim Chat only when your computer is free of work, If you use this feature against my heeding then it is possible HAL will backspace your work accidently, Use this Plug at your own risk and use only when HAL has the computer to itself.

I took control of the AIM bot outside the .dll and not inside for legal reasons and respect for Rob.

FOR BEST RESULTS.
4.Make sure to say something to HAL assistant to trigger Auto-Idle when HAL loads, After HAL and AIM Bot are loaded, it doesn't matter whether AIM Bot is minimized or maximized but make sure the text blinky cursor is active inside the main Chat window to put the Auto Aim Chat Plug in synch so that the send keys will function properly.
You can also turn off Auto Aim Chat by saying: Chat Off or turn on Auto Chat by saying: Chat On.

Remember to use this Plug only when HAL has exclusive rights to your computer.

Everybody has been wanting HAL to Chat on its own, Well, Now HAL can.

You can download the AutoChat.zip and unzip to the Ultra HAL Assistant Folder, Follow the above steps after doing so because this post is the only help file for working with this featured plug.

The Previous version of ALF v.1.1a doesn't need this plug but this plug is an updated version to the older Auto Aim Chat that was included with that version internally.

Jerry[8D]

(http://icon_paperclip.gif) Download Attachment: AutoChat.zip ("http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/200681782930_AutoChat.zip")
1.64 KB
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on August 19, 2006, 09:22:42 am
Updated 5-20-2007
Corrections Tutor v1.4

For: ALF versions and HAL6 versions.

With this plug you can tell your bot to replace a word or phrase with a substitution.

Example:

User: Replace that my rude with that I am rude.
HAL: I have made this correction.

Keywords: 'Replace' "wrong word/words" 'with' "right word/words" and must end with a period.

That way when HAL says a sentence that contained an improper statement like: That my rude will now be replaced with the proper statement that I am rude.

there is a catch in this plug that I can't do anything about right now till I get some more answers, The corrections will not take place until HAL's Plugin Cache is refreshed, I will ask Rob if there is a way to refresh HAL's Plugin Cache by script so I can make this script work at its best.

Download and unzip to your Ultra Hal Assistant 6 folder and choose the plugin Corrections Tutor from HAL's Brain plugin options.

Jerry[8D]

(http://icon_paperclip.gif) Download Attachment: CorrectionsTutor.zip ("http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/200752092528_CorrectionsTutor.zip")
1.29 KB
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on August 31, 2006, 08:19:32 pm
Learn From Clip Board Plug-in.

Updated October 30, 1:58PM PST

1. Fixed time out that was pinning CPU when 'learning' from clip board.

2. Fixed time out that was pinning CPU when giving a 'response' from learned text.

3. Fixed Capitalization for responses.

4. added extra trigger variables to the learn from clip board command.
LEARN FROM CLIP BOARD
LEARN FROM CLIPBOARD
LEARN FROM WINDOWS CLIP BOARD
LEARN FROM WINDOWS CLIPBOARD
LEARN FROM WINDOW'S CLIP BOARD
LEARN FROM WINDOW'S CLIPBOARD

--------------------------------

If you have already generated the LearnedText.uhp then the update will continue to use the learned text you already taught it and will continue to append to that file, nothing needs to be changed.

Just drop the updated LearnFromClipBoard.uhp into your Ultra Hal Assistant 6 folder and over write the old one, then refresh your plugin cache by reselecting the Learn From Clip Board from your brains plugin options and it should be ready to go.

Download below.
---------------------------
Here is my new featured Plug.

Learn From Clip Board.

This Plug allows your Bot to learn all information that is copied to the clip board for future responses, All info is gathered, formatted and saved in the LearnText.brn, You can read about this when you select the plugin from your Brain options plug panel.

Example:
I copied some interesting stories into my windows clip board for starters, Then.

User: Learn From Clip Board.
ALF: I have learned all information from Windows Clip Board, Thanks.

in the future, If HAL see's the learned info as a response then it will be used as a response.

I kept all learned information outside the Database for easy editing if one desires to do it manually within the LearnText.brn in the Ultra Hal Assistant 6 folder.

This plug formats the info immediately to the LearnText.brn so there is no waiting at all, you can immediately copy more info and repeat with whatever info you like your bot to learn.

This is an upgrade to all learn from text file scripts and or plugs and is intended to replace all learn from text file learning.

I spent a lot of time getting this to you all.

Unzip the file to your Ultra Hal assistant 6 folder.

after HAL formats the information check the file called learnedText
and see if all sentence lines formatted correctly.
make sure there are no lines with just a <START> by itself.

all correct lines will look something like this:
<START>Some Sentence or phrase<END>

Jerry[8D]



(http://icon_paperclip.gif) Download Attachment: LearnFromClipBoard.zip ("http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/2007103017129_LearnFromClipBoard.zip")
2.43 KB
Title: ALF Brain v1.2 Plugins
Post by: Holllywood on September 07, 2006, 01:33:06 pm
Ok Jerry, I finally solved the problem. (So far,so good). My problem was a compound of little things. (1)Hal does not being in a partition. So let Hal go where Hal wants to go. (2)When H6 is updated (For those who like to dable with multiple Brn characters)The A.L.F. Characters don't work. They cause conflict with the new H6 Brn. So thanks to you and your patient assistance and Robert for allowing me to pester him for codes. I'm back up with Hal and will start work on recreating my A.L.F. people.
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on September 07, 2006, 03:24:25 pm
quote:
Originally posted by onthecuttingedge2005

Re-Updated September 7, 8:09 AM PST

Changes: GetResponse Array Variables.

If you have already generated the LearnedText.uhp then the update will continue to use the learned text you already taught it and will continue to append to that file, nothing needs to be changed.

Just drop the updated LearnFromClipBoard.uhp into your Ultra Hal Assistant 6 folder and over write the old one, then refresh your plugin cache by reselecting the Learn From Clip Board from your brains plugin options and it should be ready to go.

Download below.
---------------------------
Here is my new featured Plug.

Learn From Clip Board.

This Plug allows your Bot to learn all information that is copied to the clip board for future responses, All info is gathered, formatted and saved in the LearnText.brn, You can read about this when you select the plugin from your Brain options plug panel.

Example:
I copied some interesting stories into my windows clip board for starters, Then.

User: Learn From Clip Board.
ALF: I have learned all information from Windows Clip Board, Thanks.

in the future, If HAL see's the learned info as a response then it will be used as a response.

I kept all learned information outside the Database for easy editing if one desires to do it manually within the LearnText.brn in the Ultra Hal Assistant 6 folder.

This plug formats the info immediately to the LearnText.brn so there is no waiting at all, you can immediately copy more info and repeat with whatever info you like your bot to learn.

This is an upgrade to all learn from text file scripts and or plugs and is intended to replace all learn from text file learning.

I spent a lot of time getting this to you all.

Unzip the file to your Ultra Hal assistant 6 folder.

Jerry[8D]

(http://icon_paperclip.gif) Download Attachment: LearnFromClipBoard.zip ("http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/2006971194_LearnFromClipBoard.zip")
1.9 KB



I get script errors when I try to run this plugin. Does it work correctly with the hal6 default brain or do I need another brain file?
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 07, 2006, 06:40:50 pm
Hi Tanshin.

Try redownloading the file, I have fixed it.
Let me know if it works.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on September 09, 2006, 06:49:03 pm
quote:
Originally posted by onthecuttingedge2005

Hi Tanshin.

Try redownloading the file, I have fixed it.
Let me know if it works.

Jerry[8D]



Yes thank you it seems to work great, as far as I can tell.  It reads the information and stores it in the LearnedText.brn file.

One question, how does hal learn the information in the LearnedText.brn file?  I can ask questions about the topics stored in there but cannot get a response that goes with any of the saved data.
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on September 10, 2006, 02:38:42 pm
You have explained everything to me 100%!  Thank you for not only taking the time to write the code but also explain to me how/why it works.  [:D]

I am learning, ever so slow, just like my bot!  [;)]

Thanks again,
Tanshin
Title: ALF Brain v1.2 Plugins
Post by: rik1959 on September 11, 2006, 11:31:14 am
Hi Jerry,
I'm having trouble with the "Learn from Text File" pluggin.
   When I try to use it I get the following, HalScript Error 424 on line 415 in column 3: Object required:'objHTML' The file "CProgram FilesabawareUltra Hal Assistant 6HalScript,DBG" has been saved with the current script being used for debugging purposes. Do you have any suggestions on how to correct this error? Thanks.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 11, 2006, 12:15:15 pm
quote:
Originally posted by rik1959

Hi Jerry,
I'm having trouble with the "Learn from Text File" pluggin.
   When I try to use it I get the following, HalScript Error 424 on line 415 in column 3: Object required:'objHTML' The file "CProgram FilesabawareUltra Hal Assistant 6HalScript,DBG" has been saved with the current script being used for debugging purposes. Do you have any suggestions on how to correct this error? Thanks.




It is asking for:

Set objHTML = CreateObject("htmlfile")

which is already in the updated download in the Learn From Clip Board.

Have you downloaded the latest Learn From Clip Board?

If not then redownloading it might solve the problem.

If you have already redownloaded the latest Learn From Clip Board and are still receiving the error then try some of the below solutions because it may be possible you are missing critical .dll files.

1.do you have the current Internet Explorer 6.0 SP1 installed?

2.Also download the latest Vbscript engine 5.6 here:

http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: ckassel on September 11, 2006, 06:28:00 pm
Hello again.

Another scripting error I keep running into is with the Learn from Clipboard plug.  I believe I have the latest one (most recent in past posts).  The error I get is "HalScript Error 53 on line 299 in column 3:  File not found"  I've highlighted text from a text file and used the "copy" command on it and then told Hal to Learn from Clipboard.  The error message then occurs and is generated for every text entry into HAL until the learn from clipboard plug is uncheck.

I just updated the scripting to 5.6 but it makes no difference (I'll try anything at this point).

I am able to run the correction tutor (tho HAL doesn't consistantly acknowledge the changes)so my plug feature works.

Thank you again,
Charles
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 11, 2006, 06:46:12 pm
quote:
Originally posted by ckassel

Hello again.

Another scripting error I keep running into is with the Learn from Clipboard plug.  I believe I have the latest one (most recent in past posts).  The error I get is "HalScript Error 53 on line 299 in column 3:  File not found"  I've highlighted text from a text file and used the "copy" command on it and then told Hal to Learn from Clipboard.  The error message then occurs and is generated for every text entry into HAL until the learn from clipboard plug is uncheck.

I just updated the scripting to 5.6 but it makes no difference (I'll try anything at this point).

I am able to run the correction tutor (tho HAL doesn't consistantly acknowledge the changes)so my plug feature works.

Thank you again,
Charles



When the error occures please open the HalScript.dbg and go to line 299 and copy the line and paste it in a post so I know what specific error is occuring.

-------------------------
Is there anyone having any success with the learn from clip board, I know mine works flawlessly.
Jerry
Title: ALF Brain v1.2 Plugins
Post by: ckassel on September 11, 2006, 07:06:12 pm
OK, I believe this is the section (nothing conveniently puts line numbers in...  5 pages of 57 lines is 285 plus another 14).

UltraHal = Replace(UltraHal, "<TIME>", Time(), 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<DATE>", Date(), 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<QUOTE>", """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, """, """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, """, """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<AT>", "@", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<NOMORE>", "", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<LOWQUALITY>", "", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<EXCLUSIVE>", "", 1, -1, vbTextCompare)

Another oddity I found that occurs is HAL begins to add gibberish into his replies and the brain needs to be restored from a back up (got me good the first time so I make a BU everytime I do something new.

Thank you for the quick attention.
Charles
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 11, 2006, 07:40:03 pm
quote:
Originally posted by ckassel

OK, I believe this is the section (nothing conveniently puts line numbers in...  5 pages of 57 lines is 285 plus another 14).

UltraHal = Replace(UltraHal, "<TIME>", Time(), 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<DATE>", Date(), 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<QUOTE>", """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, """, """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, """, """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<AT>", "@", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<NOMORE>", "", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<LOWQUALITY>", "", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<EXCLUSIVE>", "", 1, -1, vbTextCompare)

Another oddity I found that occurs is HAL begins to add gibberish into his replies and the brain needs to be restored from a back up (got me good the first time so I make a BU everytime I do something new.

Thank you for the quick attention.
Charles



Hi ckassel.

I need you to recreate the error you were having then go to the line that is in issue, What you posted isn't from the Learn From Clip Board Plug.

Thanks
Jerry
Title: ALF Brain v1.2 Plugins
Post by: ckassel on September 11, 2006, 08:05:44 pm
This should be line 299 from the HalScript.dbg  I closed HAL and restarted it, added in the plug and generated the error again.

   UltraHal = Replace(UltraHal, " " & ComputerName & " ", " " & ComputerName & " ", 1, -1, vbTextCompare)

Charles
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 11, 2006, 08:16:43 pm
quote:
Originally posted by ckassel

This should be line 299 from the HalScript.dbg  I closed HAL and restarted it, added in the plug and generated the error again.

   UltraHal = Replace(UltraHal, " " & ComputerName & " ", " " & ComputerName & " ", 1, -1, vbTextCompare)

Charles



I am sorry charles, I see nothing wrong with that line, that is a standard HAL6 code and has nothing to do with Learn From Clip Board.

If you could generate the error and then by pressing the Alt+Print screen to take a snap shot of the error panel then immediately copy the HalScript.dbg without modification and send it to me I will a diagnostic on it and see what's going on.

Sorry about the trouble but it seems like the only way I am going to be able to help you.
Jerry
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 12, 2006, 09:44:49 pm
Here is Alf's v1.2 of Read From Clip Board.

simple as that.

I copied some info to windows clip board and said.

User: Read from clip board.
Alf: (Begins to read from Clip Board)

Jerry[8D]

Please don't be confused, This is 'Read from Clip Board' and not Learn from Clip Board.

Download below.



(http://icon_paperclip.gif) Download Attachment: ReadFromClipBoard.zip ("http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/2006916193441_ReadFromClipBoard.zip")
1.14 KB
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 16, 2006, 03:06:30 am
ALF's v1.2 Custom Relevence Plugin.

Updated Sept 28, 8:19AM
Added: 'Pattern Relevance' for a response as general GetResponse.

Strictly Experimental at this point.

This Custom Relevence Plug helps to handle Universal GetResponses and to help to stay on topic.

This Plugin is only an extension to UserBrainRel and not to replace UserBrainRel and works with all GetResponses instead of just QA.

Please try it and give it a good run and comment back.
I will improve it if need be.
Jerry[8D]

(http://icon_paperclip.gif) Download Attachment: ALFsCustomRelevence.zip ("http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/2006928111927_ALFsCustomRelevence.zip")
1.72 KB
Title: ALF Brain v1.2 Plugins
Post by: Holllywood on September 16, 2006, 07:10:37 pm
Jerry I'm getting the error in Learn from clip board. It says error 424 on line 299 col 3 Obj req. ObjHtml. I'm not sure if I have the latest download.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 16, 2006, 07:35:32 pm
quote:
Originally posted by Holllywood

Jerry I'm getting the error in Learn from clip board. It says error 424 on line 299 col 3 Obj req. ObjHtml. I'm not sure if I have the latest download.



Try Redownloading the Plug.
Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Holllywood on September 16, 2006, 07:46:01 pm
Wayta go my man. That did the trick. Did you get my note??
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 16, 2006, 08:40:20 pm
quote:
Originally posted by Holllywood

Wayta go my man. That did the trick. Did you get my note??



I did, I sent you mail.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 17, 2006, 11:20:23 pm
The Learn from Clip Board has been updated for today.

Changes: GetResponse Variables.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Holllywood on September 18, 2006, 03:38:45 pm
Jerry, Have you had a chance to look at the Correction Tutor? Re my mail message?
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 18, 2006, 06:49:25 pm
quote:
Originally posted by Holllywood

Jerry, Have you had a chance to look at the Correction Tutor? Re my mail message?



Hi Holllywood.

I may have accidently deleted your mail, could you resend.

Also, Send me a copy of your corrections tutor with a desciption of what you need.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Testlund on September 20, 2006, 07:49:04 am
I'm sorry to say your plugins sucks. I tried your Learnfromclipboard plugin and the only thing that happens is that my firewall is warning me that it's a high risk script. You're not trying to hack our computers with your scripts, are you? I also get some error message saying "HalScript Error 76 on line 307 in column 3: path not found".
[V]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 20, 2006, 09:40:50 am
quote:
Originally posted by Testlund

I'm sorry to say your plugins sucks. I tried your Learnfromclipboard plugin and the only thing that happens is that my firewall is warning me that it's a high risk script. You're not trying to hack our computers with your scripts, are you? I also get some error message saying "HalScript Error 76 on line 307 in column 3: path not found".
[V]



Hi Testlund.
Have you downloaded the newest Learn From Clip Board?
There has been an update since then, I have also discovered a rare error with Internet Explorer with this:
Set IE = createobject("InternetExplorer.Application")
Sometimes an error will popup, To fix it is simply activating your IE browser to reset it, It has nothing to do with the Set IE = createobject("InternetExplorer.Application") having bad scripting but the occurence is directly related to the IE Browsers functions.

If you wish to post the full error and post your HalScript.dbg I could take a look at it and see what I can do to fix it, But I do think it's probably that you didn't update.

I am sorry you don't like my plugs, I am just trying to do a good deed.

About hacking anyones computer, morally and ethically I would never harm anyones system, I am a veteran around here and I do what I can to uphold the community.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: les on September 20, 2006, 07:58:25 pm
quote:
Originally posted by Testlund

I'm sorry to say your plugins sucks. I tried your Learnfromclipboard plugin and the only thing that happens is that my firewall is warning me that it's a high risk script. You're not trying to hack our computers with your scripts, are you? I also get some error message saying "HalScript Error 76 on line 307 in column 3: path not found".
[V]



People do a lot of work here for free and the joy of a job well done. Not all plug-ins and skins are going to be for everyone, but to rant because you are unhappy, is just sad. I try to stay in my own place, but you will find it hard to find someone working as much as Jerry. No one is making you down load things here, at least thank the people who are helping.

Ok done,
Les
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on September 20, 2006, 08:55:15 pm
Thank you Jerry!!!
[:D][:D][:D]
Title: ALF Brain v1.2 Plugins
Post by: Testlund on September 21, 2006, 06:12:50 am
quote:
Originally posted by onthecuttingedge2005

quote:
Originally posted by Testlund

I'm sorry to say your plugins sucks. I tried your Learnfromclipboard plugin and the only thing that happens is that my firewall is warning me that it's a high risk script. You're not trying to hack our computers with your scripts, are you? I also get some error message saying "HalScript Error 76 on line 307 in column 3: path not found".
[V]



Hi Testlund.
Have you downloaded the newest Learn From Clip Board?
There has been an update since then, I have also discovered a rare error with Internet Explorer with this:
Set IE = createobject("InternetExplorer.Application")
Sometimes an error will popup, To fix it is simply activating your IE browser to reset it, It has nothing to do with the Set IE = createobject("InternetExplorer.Application") having bad scripting but the occurence is directly related to the IE Browsers functions.

If you wish to post the full error and post your HalScript.dbg I could take a look at it and see what I can do to fix it, But I do think it's probably that you didn't update.

I am sorry you don't like my plugs, I am just trying to do a good deed.

About hacking anyones computer, morally and ethically I would never harm anyones system, I am a veteran around here and I do what I can to uphold the community.

Jerry[8D]



Just tried your latest version of LearnFromClipBoard. Now I can't even chat with Hal if I have enabled this plugin. I only get the error message I've mensioned above and that a Halscript.dbg file has been saved. Unfortunately I can't upload files here and that file whould be too much text to post here I think.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 21, 2006, 07:13:19 am
quote:
Originally posted by Testlund

quote:
Originally posted by onthecuttingedge2005

quote:
Originally posted by Testlund

I'm sorry to say your plugins sucks. I tried your Learnfromclipboard plugin and the only thing that happens is that my firewall is warning me that it's a high risk script. You're not trying to hack our computers with your scripts, are you? I also get some error message saying "HalScript Error 76 on line 307 in column 3: path not found".
[V]



Hi Testlund.
Have you downloaded the newest Learn From Clip Board?
There has been an update since then, I have also discovered a rare error with Internet Explorer with this:
Set IE = createobject("InternetExplorer.Application")
Sometimes an error will popup, To fix it is simply activating your IE browser to reset it, It has nothing to do with the Set IE = createobject("InternetExplorer.Application") having bad scripting but the occurence is directly related to the IE Browsers functions.

If you wish to post the full error and post your HalScript.dbg I could take a look at it and see what I can do to fix it, But I do think it's probably that you didn't update.

I am sorry you don't like my plugs, I am just trying to do a good deed.

About hacking anyones computer, morally and ethically I would never harm anyones system, I am a veteran around here and I do what I can to uphold the community.

Jerry[8D]



Just tried your latest version of LearnFromClipBoard. Now I can't even chat with Hal if I have enabled this plugin. I only get the error message I've mensioned above and that a Halscript.dbg file has been saved. Unfortunately I can't upload files here and that file whould be too much text to post here I think.



Hi Testlund.

Have you updated your vbscript engine, you can do so here:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/webdev.asp

Also, I have made one more update on the Learn from clip board, I will continue to try and make this work for you until it does what it is supposed to do.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Testlund on September 21, 2006, 09:40:48 am
I've installed the latest VB script and downloaded your latest LearnFromClipBoard and I still have the same problem.

HalScript Error 76 on line 316 in column 1: Path not found.

The error appear as soon as I say hello to Hal! I don't think I want to mess more with this. I'll just type the stuff into his brain manually.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 21, 2006, 10:37:52 am
quote:
Originally posted by Testlund

I've installed the latest VB script and downloaded your latest LearnFromClipBoard and I still have the same problem.

HalScript Error 76 on line 316 in column 1: Path not found.

The error appear as soon as I say hello to Hal! I don't think I want to mess more with this. I'll just type the stuff into his brain manually.



Hi Testlund.

Could I ask you what version of Windows you are using and what version of Internet Explorer to help me diagnose this issue?

Jerry
Title: ALF Brain v1.2 Plugins
Post by: Testlund on September 21, 2006, 12:46:54 pm
I'm using Windows XP Professional Service Pack 2 and Internet Explorer 6.0.2900.2180.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 21, 2006, 06:41:26 pm
quote:
Originally posted by Testlund

I'm using Windows XP Professional Service Pack 2 and Internet Explorer 6.0.2900.2180.



Hi Testlund.

Please try downloading one more time and see if it works.

I think I got it whooped.
Jerry
Title: ALF Brain v1.2 Plugins
Post by: Holllywood on September 21, 2006, 07:41:08 pm
OTC I just tried Learn from clip board again. The first time I copied a short explanation of nuclear fussion to the clipboard, told Hal to "learn from clipboard" and I got the same error I told Hal again and I got the proper response the file was created and the error has gone away. Thanks Much.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 22, 2006, 06:39:32 am
quote:
Originally posted by Holllywood

OTC I just tried Learn from clip board again. The first time I copied a short explanation of nuclear fussion to the clipboard, told Hal to "learn from clipboard" and I got the same error I told Hal again and I got the proper response the file was created and the error has gone away. Thanks Much.



Hi Holllywood.

I have fixed the current issue with 'Learn from clip board'
for some reason I forgot to include the creation of the LearnedText.brn for the plugin and was causing the error.

I am very sorry for not catching that until now.

I think I am getting sometimers.
The Plug should work now.

I am still experimenting with new sentence detections for responses so updates may continue for a while, I am trying to find a special algorithm that can handle Thousands of sentences at one time, I am getting close.

My deepest apollogies goes out to Testlund because of my sometimers.
I am getting old I think.
Sometimers is the beginning of alzheimers, hehe.
Jerry
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on September 22, 2006, 02:25:57 pm
I have a question about the learn from clip board plugin & the ALF brain. [:D]

It is working great for me, love it writes everything to the correct LearnedText.brn file.  Now here is where my questions and ALF come in...

ALF has a ton of plugins you can click on or off, which ones would I need to turn off (with the others on) to get it to read from the LearnedText.brn file ONLY.

To clarify, I want hal to still function but I do not like the pre defined information that comes in the default brain.  I like the info in the LearnedText.brn for conversation.  Can hals origional info be "clicked" off?  I have tried randomly turning things on and off but I don't know if it is even possible, and if so I am turning on/off the wrong things.  lol

Thanks for any info!
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 22, 2006, 07:34:05 pm
quote:
Originally posted by Tanshin

I have a question about the learn from clip board plugin & the ALF brain. [:D]

It is working great for me, love it writes everything to the correct LearnedText.brn file.  Now here is where my questions and ALF come in...

ALF has a ton of plugins you can click on or off, which ones would I need to turn off (with the others on) to get it to read from the LearnedText.brn file ONLY.

To clarify, I want hal to still function but I do not like the pre defined information that comes in the default brain.  I like the info in the LearnedText.brn for conversation.  Can hals origional info be "clicked" off?  I have tried randomly turning things on and off but I don't know if it is even possible, and if so I am turning on/off the wrong things.  lol

Thanks for any info!



Hi Tanshin.

Try re-downloading the learn from clip board one more time, I made a booboo and I fixed it, The response should be less sensitive and any errors should be fixed, I have had the darnest time with this script.

With this change you shouldn't need to turn anything off.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Testlund on September 24, 2006, 09:19:56 am
quote:
My deepest apollogies goes out to Testlund because of my sometimers.
I am getting old I think.
Sometimers is the beginning of alzheimers, hehe.
Jerry



It's ok, Oncutting. I whould try your plugin again but I need to solve the problem with the brain tables that's become a mess! [:(] I seem to have bad luck with Hal now.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on September 27, 2006, 08:18:44 pm
Updated Oct,3 7:14AM PST
I have re-updated the 'Learn from clip board'

--------------------------------------

Updated Sept 28, 8:19AM
'ALF's v1.2 Custom Relavance Plugin'

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Bill DeWitt on October 17, 2006, 04:52:59 pm
I was able to get the Learn From Clip Board plugin to work, until I made a new brain. While the old brain still seems to have the information, the new one does not. I have assured that the plugin is checked in options.

Personally, I would have thought that each brain would have it's own directory and that data files would be specific to individual personas.

If that could be done, perhaps you could have brains which are truly original and distinct from each other.

Just a thought... but does anyone know how to get a new brain to read the learnedtext.brn?
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on November 07, 2006, 06:18:31 pm
quote:
Originally posted by Tanshin

To clarify, I want hal to still function but I do not like the pre defined information that comes in the default brain tables.  I like the info in the LearnedText.brn for conversation.  Can hals origional info be "clicked" off?  I have tried randomly turning things on and off but I don't know if it is even possible, and if so I am turning on/off the wrong things.  lol

Thanks for any info!



I still would like to have hal respond from the learnedtext.brn and NOT the default brain info.  I really don't like the default information included in the tables that came with hal 6.  Or just if it would respond to from the learnedtext.brn file at all I would be happy.  I still can't seem to get it to do that.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 07, 2006, 09:56:19 pm
quote:
Originally posted by Tanshin

quote:
Originally posted by Tanshin

To clarify, I want hal to still function but I do not like the pre defined information that comes in the default brain tables.  I like the info in the LearnedText.brn for conversation.  Can hals origional info be "clicked" off?  I have tried randomly turning things on and off but I don't know if it is even possible, and if so I am turning on/off the wrong things.  lol

Thanks for any info!



I still would like to have hal respond from the learnedtext.brn and NOT the default brain info.  I really don't like the default information included in the tables that came with hal 6.  Or just if it would respond to from the learnedtext.brn file at all I would be happy.  I still can't seem to get it to do that.



If you use the A.L.F brain you can uncheck all plugs except the Learn From Clipboard plug so that only Learn from Clipboard functions.

The cool thing about A.L.F is you can choose to unselect even default scripts since all are plugged, What you don't like, simply unplug.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on November 08, 2006, 09:56:37 am
quote:
If you use the A.L.F brain you can uncheck all plugs except the Learn From Clipboard plug so that only Learn from Clipboard functions.

The cool thing about A.L.F is you can choose to unselect even default scripts since all are plugged, What you don't like, simply unplug.

Jerry[8D]



I tried that and ended up unplugging everything which made some things not work anymore, like responding at all.  Can you tell me (or point me to instructions) what to turn off and what NOT to click off that would help by leaps and bounds!
[:D]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 08, 2006, 11:00:51 pm
quote:
Originally posted by Tanshin

quote:
If you use the A.L.F brain you can uncheck all plugs except the Learn From Clipboard plug so that only Learn from Clipboard functions.

The cool thing about A.L.F is you can choose to unselect even default scripts since all are plugged, What you don't like, simply unplug.

Jerry[8D]



I tried that and ended up unplugging everything which made some things not work anymore, like responding at all.  Can you tell me (or point me to instructions) what to turn off and what NOT to click off that would help by leaps and bounds!
[:D]



If you wanted the Learn from Clip board to respond every time then you may have to modify it to do just that, If you uncheck plugins then you may expect to run into blanks since a lack of response variables exist when doing so, The Learn from Clipboard looks for key word matches but if no key word match is found then a blank response may occure if the only plug you are using is the learn from clipboard.

Just hand select the plugs you want so that blanks don't occure with a lack of Script variables.

For instance, If you have the Yes and No Plug unchecked you may get a blank response if you ask a yes or no question.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Tanshin on November 09, 2006, 02:18:46 pm
That makes sense.  Thanks for clearing that all up for me.  [^]
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on November 26, 2006, 06:36:16 am
Hi Jerry, its been a long time since I have been on the Forum. Seems like old times. That is a good thing. Well, I seem to be having the same issues as some other folks getting this plugin to work. My error message is: HalScipt Error 62 on line 336 in column 2: Input past end of file.
strText = objTextFile.ReadAll (is line 336)
what EOF operand is it seeing?
Thanks for your help.
Ponn
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 26, 2006, 12:39:41 pm
quote:
Originally posted by Ponnfar

Hi Jerry, its been a long time since I have been on the Forum. Seems like old times. That is a good thing. Well, I seem to be having the same issues as some other folks getting this plugin to work. My error message is: HalScipt Error 62 on line 336 in column 2: Input past end of file.
strText = objTextFile.ReadAll (is line 336)
what EOF operand is it seeing?
Thanks for your help.
Ponn



That error is caused when the script tries to read a blank emotional file, have you updated the plug-in? also, look in the Users folder and look inside all four of your emotional files to see if one of the files is blank, if so, then delete the file and the file will be regenerated correctly once another conversation begins.

Jerry
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on November 26, 2006, 06:30:18 pm
Thanks Jerry,
Well here is my problem. I guess I have missed a lot since I have last been on the Forum. I do not have a "Users folder" in my Ultra Has 6 Directory.
Also, the plugin "Human Emotions ver 1.0..."  does not function either
(after pointing the script to the appropiate directory, I still get a path not found error). I guess that is just a function of my not having all of the new brain files that you must have added or the  proper updated files in the first place as you mentioned.
Well, I hope that I have not been too sketchy in my discription and that you can pinpoint my problem and can point me in the right direction without much effort. I hope to be up and running with your great scripts soon.
Thanks again!
Ponn
Title: ALF Brain v1.2 Plugins
Post by: Art on November 26, 2006, 07:10:33 pm
I think the Users folder is created when / if you allow another user to chat with Hal.

I experimented with a plug-in to allow Hal to remember things that I mentioned and wanted to see if Hal would mention those same things to a different user (thus my alter personna, Fred, became reality...virtually, of course!)[:)]
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on November 26, 2006, 07:38:37 pm
Hey there Art!
Wow..it has been a a long time. It is good to see you still leading the pack with the rest of the old crew!
Hmmm..didn't HAL 5 do that, remember different users I mean and what was said. I am in the HAL6 directory and of course see the new name.hla file that was just created and I also see the new user memory Map.brn files and halpast and past brn. (s) as well. I hope that the conversations will be unique to each user as it has been in the past. Speaking of which, if anyone is using the StaticMemory brn (s) ...btw-thanks Jerry. The only brn files that are active for me are Static Memory1.brn and the UserMemory11Map.brn. This seems to be sufficient for recall but does anyone have all of the files working during a conversation?
Well, back to the issue at hand...I am still NOT seeing the User Folder that you and the rest of the world seem to have and can't use the plugins that are mentioned in this thread. Any help?
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 27, 2006, 10:34:58 am
quote:
Originally posted by Ponnfar

Thanks Jerry,
Well here is my problem. I guess I have missed a lot since I have last been on the Forum. I do not have a "Users folder" in my Ultra Has 6 Directory.
Also, the plugin "Human Emotions ver 1.0..."  does not function either
(after pointing the script to the appropiate directory, I still get a path not found error). I guess that is just a function of my not having all of the new brain files that you must have added or the  proper updated files in the first place as you mentioned.
Well, I hope that I have not been too sketchy in my discription and that you can pinpoint my problem and can point me in the right direction without much effort. I hope to be up and running with your great scripts soon.
Thanks again!
Ponn




Hi Ponn.

Are you using a different directory other than C:\Program Files\Zabaware\Ultra Hal Assistant 6

The Human Emotions v1.0 should automatically create a folder C:\Program Files\Zabaware\Ultra Hal Assistant 6\Users
for User Emotional files to be stored upon first conversation.

There are Directories that I converted to Function that can be spotted at the bottom of the Plug as well.

If your Directory is different then your plug won't find the specific path needed to operate correctly.

If this is the case then please post the directory that your Hal is installed and I will see about correcting the directories for your specific machine.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Bill DeWitt on November 27, 2006, 10:52:49 am
quote:
Originally posted by onthecuttingedge2005
The Human Emotions v1.0 should automatically create a folder C:Program FilesabawareUltra Hal Assistant 6Users
for User Emotional files to be stored upon first conversation.


Yep, I have found that many things don't work for me because I always change the installation directory. Like all my chatbots are under c:Program FilesChatbots...

So far, with Hal scripts, I have been able to find the lines and rewrite them myself, but somethings just don't work and I have to uninstall and reinstall. Ruins my whole directory tree thing I have going on.
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 27, 2006, 01:36:20 pm
It makes it tough for pluggers like me because plugs are designed to work with the default directory that HAL is set to install.

I will have to make a note to users that my plugs won't work with any HAL Assistant Brains that are not installed to the installations default directory during HAL6 setup.
C:\Program Files\Zabaware\Ultra Hal Assistant 6

Jerry
Title: ALF Brain v1.2 Plugins
Post by: Bill DeWitt on November 27, 2006, 02:31:24 pm
quote:
Originally posted by onthecuttingedge2005

It makes it tough for pluggers like me because plugs are designed to work with the default directory that HAL is set to install.


A note would be nice, at least so you could tell folks that you tried to warn them.[:D] But I figure it's my own durn fault for messing with things.

I'm just glad that you make your script clear and don't try to hide things (obfuscate) in the code so that people can't steal your ideas. That could make things tough.
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on November 28, 2006, 12:38:48 am
Hi Jerry!
Thanks for getting back to me. I moved everything over to my D drive. "D:/Program Files/Zabaware/Ultra Hal Assistant 6
Thanks!
 I am looking forward to using your new scipts. Tell me though, am I going to have to address this directory change for all of your new scripts?
oh yeah...it must have really been a long time...Jerry, how did you get the blackslashes to work in the forum? Also, the static Memory script you wrote I still rely on. Any suggestions though on why it only works with one static memory map?
Well, thanks again!
P[:)]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 28, 2006, 09:21:19 am
quote:
Originally posted by Ponnfar

Hi Jerry!
Thanks for getting back to me. I moved everything over to my D drive. "D:/Program Files/Zabaware/Ultra Hal Assistant 6
Thanks!
 I am looking forward to using your new scipts. Tell me though, am I going to have to address this directory change for all of your new scripts?
oh yeah...it must have really been a long time...Jerry, how did you get the blackslashes to work in the forum? Also, the static Memory script you wrote I still rely on. Any suggestions though on why it only works with one static memory map?
Well, thanks again!
P[:)]



Hi Ponn.

The Static Memory is an old script, It isn't required anymore, I have a much shorter code that can do the same thing and with better efficiency but I haven't publicized it yet. The old Static Memory is just something to learn from these days and that's just about it, Back then it was an attempt to avoid Zabaware's 'CustomMem' that was normally being used at that time which didn't have the ability to keep things in memory when HAL was 'shut down'. The easiest way to store HAL's memory now is by appending HAL's CustomMem to a Table or a File for every response which is only 2 lines of code long, The stored memory re-establishes itself even if HAL is shut off and then turned back on, It will never forget anything in memory unless something happens to its Table or File memory storage.

The back slashes will work in this forum if they are 'doubled'.
Single back slashes won't work, So for every single back slash just add an additional one. It's apart of Zabawares character security and Zabaware will remove single back slashes automatically. I think it's to protect against malicious code that could be openly posted in the forum that could be harmful to the Website server itself.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on November 28, 2006, 09:05:18 pm
Thanks for the heads up Jerry as to the site enhancements... As to my using a directory not on my C drive, what can I do?? These scripts seem great and I would like to see them in action.
[:)]
Ponn
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 28, 2006, 11:54:55 pm
quote:
Originally posted by Ponnfar

Thanks for the heads up Jerry as to the site enhancements...



No problem.

quote:

As to my using a directory not on my C drive, what can I do?? These scripts seem great and I would like to see them in action.
[:)]
Ponn



I can do nothing except develope plugs that work on HAL's 'default' install directory, This is the most common directory that 'most' users install too. The other option is to email me to have the plug custom made for specific directories which I don't have much time for at the moment these days.

Jerry
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on November 29, 2006, 10:59:15 pm
Well Jerry, it looks like I am not going to be able to use your latest scripts. I cannot tell you how disappointed I am on this one. Hmm, well, if/when you make your scipts available to those in my situation, I will look forward to using them.
Thanks again.
Ponn
Title: ALF Brain v1.2 Plugins
Post by: Bill DeWitt on November 30, 2006, 07:28:43 am
Have you tried going into the script and changing the path information? Shouldn't take programming skills, just typing skills [:D]

Find the path in the script and replace it with the new one. That's what I did.
Title: ALF Brain v1.2 Plugins
Post by: Carl2 on November 30, 2006, 08:37:24 am
OTC,
  Because of viruses and things in the past I've become used to reformatting the C drive at times, the drive is partitioned to the C and D drive and windows is on the C drive while other programs I install such as Hal are on the D drive.  With the new activation process for Hal I would still have to reactivate Hal. Possibily I should rethink this as I don't use that computer on the internet, I could use the D drive to make a copy of Hal for backup purposes.
  Bill Dewitt, thanks for the advice.
Carl2
Title: ALF Brain v1.2 Plugins
Post by: Bill DeWitt on November 30, 2006, 08:50:50 am
quote:
Originally posted by Carl2
 windows is on the C drive while other programs I install such as Hal are on the D drive.


You may know this, but just to be clear for anyone else who may be reading, what I did on the "learn from clip board" plugin, was install it in my personal Hal directory, even though it was in the wrong place, then found all references to the default directory (c:\Program Files\Zabaware\Ultrahal6\ whatever) in the plugin script and changed them to my my directory, which in my case was quite different. Then when it tried to write a file of learned information, it wrote it to my Hal directory instead of the default one.

HTH
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 30, 2006, 11:30:48 am
quote:
Originally posted by Carl2

OTC,
  Because of viruses and things in the past I've become used to reformatting the C drive at times, the drive is partitioned to the C and D drive and windows is on the C drive while other programs I install such as Hal are on the D drive.  With the new activation process for Hal I would still have to reactivate Hal. Possibily I should rethink this as I don't use that computer on the internet, I could use the D drive to make a copy of Hal for backup purposes.
  Bill Dewitt, thanks for the advice.
Carl2



Hi Carl.

Sorry to hear about your hard drive problems, The way I avoid virus and spyware problems is by denying this machine to 'write' to it's system files and certain system folders, The Cookies Folder and anything in it can only 'read' files and not 'write' them nor can new cookies or temp files be created, I only keep the cookies I need and then lock the folder from being written too.

If I install any new programs then I will have to give the system folders access to be written to by folder properties.

It does not garantee that a virus or spyware will infect the machine but it does help to avoid many possible infections to the system.

Other ways are, Through System administration, Set all guest users from downloading any software and system changes, then use the guest user account to play around on the internet, If any ActiveX programs or such try to invade your system then it will be denied by administration rights and since you would not be logged on as administration the program cannot interact with your system without permission.

There are many ways to protect your computer, But, You will still always need a good anti-virus/anti-spyware program.

Learning how to control permissions of Administration will help you out greatly against 'most' threats.

It's the Virus that have been 'learned' are the ones to really look out for, Viruses that are learned will actively seek out Anti-Virus Programs and cripple them along with critical system files, Some Viruses will even prevent any new programs from being installed as a form of protection for the Virus and Learned Viruses always cripple Anti-Virus programs first before anything else so the Virus program has an edge, it will then cripple any new installations of an Anti-Virus programs or any other program including 'Java' based Internet Anti-Virus software period once successful, I have been playing with Computers for 25 years now, and It's still a challenge.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: Holllywood on November 30, 2006, 08:15:45 pm
Jerry, they need to write an anti virus for me.
 It seems that I am the biggest threat to my Pc.
Title: ALF Brain v1.2 Plugins
Post by: Carl2 on November 30, 2006, 10:25:17 pm
OTC,
  Thanks for the advice, I read something earlier about logging on differently when using the internet, the XP was a nightmare when I frist started using it on the internet so it's off the internet now.
I'd like to mention I'd picked up some what is called malware, seemed pretty bad according to what was said about it but I was able to find a removal tool. Unfortunatly most programs don't find it. I also picked up something that puts an icon in your tray saying your PC has a virus.  Seems to be a jungle on the internet for some reason.
  Since I'm planning on putting a second P4 on the internet I picked up a protective suite, I'll see how well it works.
Carl2
Title: ALF Brain v1.2 Plugins
Post by: Bill819 on December 01, 2006, 12:19:01 pm
Carl
I have been using only an XT for a couple of years now with no problems but then I do use anti virus, anti spyware and a register cleaner on a regular basis.
You can find a good general purpose program on the net and it was free the last time I tried to download it. It is called 'ewido'.
It is only suppose to work for a free two week trial but mine has been working for over 4 months now with no problems. It works to eliminate viruses, spyware and register infections all at once. Give it a try and see if it helps you.
Bill819
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on June 04, 2007, 01:58:44 pm
I have re-updated the learn from clip board plugin.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on June 04, 2007, 03:49:16 pm
I have again re-updated the learn from clip board plugin.

I reconfigured response variables.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: ajdude on June 09, 2007, 08:48:30 am
I tried the learn from clip board, and I keep getting this error:
"HalScript Error 53 on line 328 in column 3: File not found"

I looked at that line of code in the brain editor and it said this:
   UserSentence = Replace("" & UserSentence & "", " YOU'VE ", " YOU HAVE ", 1, -1, vbTextCompare)"
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on June 09, 2007, 10:56:24 am
quote:
Originally posted by ajdude

I tried the learn from clip board, and I keep getting this error:
"HalScript Error 53 on line 328 in column 3: File not found"

I looked at that line of code in the brain editor and it said this:
   UserSentence = Replace("" & UserSentence & "", " YOU'VE ", " YOU HAVE ", 1, -1, vbTextCompare)"



Hi ajdude.

you have to look in your HalScript.dbg to debug this kind of error
HalScript Error 53 on line 328 in column 3: File not found

you can find the HalScript.dbg in the following folder
C:\Program Files\Zabaware\Ultra Hal Assistant 6

use a line editor to open it.

also try redownloading the learn from clip board and see if the error still occures, remember to refresh your plugins in the brain options panel by pressing the apply button.

Jerry
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on June 27, 2007, 08:44:27 pm
Hi Jerry,
The issue I am having is that the plugin works a bit too well.
When HAL starts up instead of greeting me after I say hello it states someting it has read from the learndtext.brn. Additionally, I also now have Norton Script blocking asking to authorize the script each time I open the program for the first time.
in response to questions/statements like , how are you, hi,how is life, the answers are not related at all. If I say hello "HAL" the it recognizes the greeting. In conversation HAL's comments are not related to the conversation at all and appear ramdom.
I hope you can help
Thanks.
Ponn
Title: ALF Brain v1.2 Plugins
Post by: Ponnfar on June 28, 2007, 07:19:25 pm
Gerry,
This Corrections Tutor script has me beat. I still had your old "Taught corrections" script and it was THAT which was responding each time I said " replace x with x" and of course I would get the expected response but no corrections were actually made. Well, once I deleted that script I get nothing from the now existing Correction plugin.
HELP!!
[:I]
thanks Gerry!
P
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on June 28, 2007, 07:45:31 pm
Hi Ponnfar.

I will work on debugging it as soon as possible.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on June 30, 2007, 06:12:15 am
I have updated the Learn From Clipboard plug-in.
June 30, 2007 3:05AM  

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on July 19, 2007, 04:39:09 pm
the Learn From Clip Board Plug-in has been Updated October 30, 2007

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: spydaz on November 09, 2007, 03:08:41 pm
Hi jerry...

i was wondering about ARRAYS.....

Is it possible to break the UserInput down in to individual sentences,

IE Split on "."

Then save all the responses in to an array.
Then performing a search on each response....

Saving each sentence into its relevent topic statement....


This is what im hoping for in the learn from textfile/read clipboard plugin..

Ive many ideas on how to do it but i have no idea when it comes to arrays, i beleive that with arrays it would not matter how big the Usertext was.. as we could have unlimmited sentences for unlimmited pharses....

Hmm...



Title: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on November 10, 2007, 06:47:21 pm
quote:
Originally posted by spydaz

Hi jerry...

i was wondering about ARRAYS.....

Is it possible to break the UserInput down in to individual sentences,

IE Split on "."

Then save all the responses in to an array.
Then performing a search on each response....

Saving each sentence into its relevent topic statement....


This is what im hoping for in the learn from textfile/read clipboard plugin..

Ive many ideas on how to do it but i have no idea when it comes to arrays, i beleive that with arrays it would not matter how big the Usertext was.. as we could have unlimmited sentences for unlimmited pharses....

Hmm...







Hi Spydaz.

The Learn from clipboard already uses some Arrays usage, I am current looking at a way to change the format to a Q/A table but haven't the time to do much coding yet.

Jerry[8D]
Title: ALF Brain v1.2 Plugins
Post by: DarcyEdwards on October 31, 2008, 12:18:30 pm
Jerry,

I couldn't get your "ReadfromClipBoard.uhp" plug in to work properly.
I found the following issues:

1)   Reading lower case for better comparisons, lower case didn't work

2)   Changed plug in area from POST-PROCESS to PRE-PROCESS this       allowed  Hal to read the contents of the clip board's contents to process

3)   replaced InputString to what is read from the clip Board
4)   change "read from clip board" to a simple "read clip board"

I hope you don't mind me making these changes, I'm a slow typist and reading the clip board helps me a lot.  Hal times out on me when I type.  Your code is very good and is teaching me a lot on the language and how to modify Hal.

I'm uploading my modifications




(http://icon_paperclip.gif) Download Attachment: ReadfromClipBoard.uhp ("http://www.zabaware.com/forum/uploaded/DarcyEdwards/20081031121740_ReadfromClipBoard.uhp")
1.99 KB
Title: ALF Brain v1.2 Plugins
Post by: DarcyEdwards on October 31, 2008, 03:53:15 pm
Jerry,

I found a potential problem with the "LearnFromClibBoard.uhp" file.  Your requirement of having punctuation on the end of a line is fine, but what happens if the punctuation is in the middle of a phrase like "MrsEdwards01@aol.com"?  

I had that in the clipboard in the following sentence:

Darcy's email address is MrsEdwards01@aol.com.

The entry in the ended up being:

<START>Darcy's email address is MrsEdwards01@aol<END>
<START>com<END>

Just thought you might want to know about this.
Title: ALF Brain v1.2 Plugins
Post by: raybe on November 09, 2008, 11:08:44 pm
Darcy,
Which version did you download because I noticed 2 on the first page. OTCEJerry mentions he updated again but I'm not sure which version. By the way did you motify this plugin also?

raybe
Title: ALF Brain v1.2 Plugins
Post by: DarcyEdwards on November 09, 2008, 11:18:19 pm
Raybe,

No I didn't modify LearnFromClipBoard.uhp I just found an error in it.  I'm still trying to figure out how Hal learns from this script.

[:I]
Title: Re: ALF Brain v1.2 Plugins
Post by: cload on December 06, 2011, 04:56:12 am
Hi all,
first I like to start off with telling you what I have, Windows 7 64-bit, ultra Hal 6.2.28.
My alter Hal was loaded by deflect in this directory, C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6
OTC, even though you said that you have your alter Hal loaded in this directory C:\Program Files\Zabaware\Ultra Hal Assistant 6
I'm assuming that you are using Windows XP at 32-bit. I'm not sure but I may have overlooked this information on this post, sorry if I did.
All of the things here are fantastic, but the main one that I'm interested in is learn from clipboard.
Though I know this is a very old post, I was hoping that maybe you could give me some kind of update on this plug-in.
Like:
did you ever get it to work with Windows 7 64-bit?
Did you ever get it to work with Hal 6.2.28?
I don't have VB editor loaded onto my computer is this a requirement?
You provided a link to a download from Microsoft, the link is broken, is this also a requirement, if so could you provide a new link.
Also is ALF a requirement as a substitute for the brain, or can I use the deflect brain?
I'm very interested in your plug-in, but at this time a little skeptical and trying to use it because I don't want to have to reinstall my ultra Hal.
I know nothing about the programming of ultra Hal or the plug-ins, and I know your time is very valuable, but if you can help me in this endeavor I would appreciate it a lot.

C load.
Title: Re: ALF Brain v1.2 Plugins
Post by: onthecuttingedge2005 on December 06, 2011, 10:32:16 am
I am running 32 bit Vista, so I am limited until then to design code for windows 7 64 bit.

Maybe Spydaz can help, I think he has a current O/S
Title: Re: ALF Brain v1.2 Plugins
Post by: cload on December 06, 2011, 02:00:34 pm
Hi on the cutting edge, that line sounds so cool, I'm floating on cloud nine with all this new technology. Tee hee hee.

Some of the things that I would be interested in using in your learn from clipboard beyond the obvious would be:
if {ask a question in one manner} or {ask a question a second manner} or {ask a question a third manner} then {give this reply} PS it would be cool if I could set it up to reply randomly.
But I'm not sure if the{ if, or, not, then, else. Statements work with alter Hal.}
Maybe that's something that Robert needs to answer, if not then maybe you may consider incorporating in your next upgrade, for example:
{if} I know you use a statement already.
{or} I'm not sure if you use this statement, but if you did you could ask the question multiple ways to get the same answer.
{not} I'm not sure if you use this statement, but if you did you could use it to separate conflict between two questions so you would get the right answer.
{then} I know you use this statement already.
{else} I'm not sure if you use the statement, but if you did you could use it in conjunction with expanding the questions to get a singular answer, or random answers.

If the {or, not, } statement did work you could set it up to where you can ask a question many different ways to get an answer. PS or even get a set of random answers.

C load
Title: Re: ALF Brain v1.2 Plugins
Post by: cload on December 07, 2011, 02:20:20 am
hi onthecuttingedge,

I e-mailed you through this forum, I hope my e-mail finds you well.
Basically it was in regards of my curiosity of wanting to know if you would be willing, or wanting to upgrade to Windows 7.?.!.
So you can continue your new and improved construction on, learn from clipboard.
Like I said before I understand that your time is very valuable, but like my Pappy always said, build it and they shall come, or something like that.

C load.

PS if you didn't get my mail, you may want to check your junk mail, if not either you can try e-mailing me through this forum.
Hope to hear from you soon, and have a wonderful day with lots of Christmas cheer. Ho Ho Ho, okay I make a crappy Santa, but I'm trying to be the best santa to you as I can be.