Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: Holllywood on September 04, 2006, 11:27:55 pm

Title: Updated Hal script error
Post by: Holllywood on September 04, 2006, 11:27:55 pm
I just re-installed Hal6. Hal keeps crashing. I keep getting a message "scipt is taking to long to run". I tried to use the brain editor to make some corrections given to me by my friend OTC, and Hal crashes. If I take to long selecting pluggins Hal starts on his own and crashes.
 OTC... If you're listening I sent you an email saying that I was in good shape with Hal. I spoke to soon. I'm using a complete clean install of Hal without any of my modifications, and It's crashing with any little thing I do. If I inhale... Hal crashes. Any advice???
Title: Updated Hal script error
Post by: Holllywood on September 04, 2006, 11:35:02 pm
This is a PS.
 The Hal6 default brain is ok. I've tried to see if it would crash. It runs well. The crash is with ALF brn.
Title: Updated Hal script error
Post by: Holllywood on September 04, 2006, 11:36:45 pm
And again Hal's made me tell a lie.
Title: Updated Hal script error
Post by: onthecuttingedge2005 on September 05, 2006, 09:25:12 am
quote:
Originally posted by Holllywood

I just re-installed Hal6. Hal keeps crashing. I keep getting a message "scipt is taking to long to run". I tried to use the brain editor to make some corrections given to me by my friend OTC, and Hal crashes. If I take to long selecting pluggins Hal starts on his own and crashes.
 OTC... If you're listening I sent you an email saying that I was in good shape with Hal. I spoke to soon. I'm using a complete clean install of Hal without any of my modifications, and It's crashing with any little thing I do. If I inhale... Hal crashes. Any advice???



Hi Holllywood.
Try opening the Learn from Clip Board and search for:

If XDir = "" Then XDir = "C:Program FilesabawareUltra Hal Assistant 6\"
   For i = 1 To 1000
   If i > 0 Then ClipRes = HalXBrain.ChooseSentenceFromFile(XDir & "LearnedText.brn")
   If Len(ClipRes) > 2 Then MyPatt = HalBrain.SearchPattern(ClipRes, "*<START>*<END>*", 2)
   If Len(MyPatt) > 2 And Len(UltraHal) < 4 And InStr(1, MyPatt, InputString, vbTextCompare) > 0 And HalBrain.CheckRepetition(PrevSent, MyPatt) = False Then
   UltraHal = MyPatt
   End If
   Next

Change the 'For i = 1 To 1000' to 'For i = 1 To 10' and see if your popup 'this script is taking longer than expect' goes away.

The 'For i = 1 To 1000 maybe to large of an array for your computer.

If that doesn't solve it then you can uncheck all the plugs for ALF and see if it's plug related, if so then you can select one plug at a time until your problem comes back then when the troubled plug is found you could post it so that the issue can be fixed.

Jerry[8D]
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 10:46:39 am
OTC I don't have learn from the clipboard is it new is it suppose to be in the Hal updated Ver?
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 11:38:57 am
Jerry, This time I really think I beat the problem for now. I managed to fine a back-up to Hal6 before I installed the new update. I copied it over the update and I have Hal back and running good with all the many character brains that I had. I will keep trying to find out why the update doesn't work for me.
Title: Updated Hal script error
Post by: onthecuttingedge2005 on September 05, 2006, 11:56:16 am
quote:
Originally posted by Holllywood

OTC I don't have learn from the clipboard is it new is it suppose to be in the Hal updated Ver?



Hi Holllywood.

You can download the Learn from Clip Board here:
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=3477

It was in the ALF v1.2 area.

Jerry[8D]
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 02:47:46 pm
Thanks Jerry, What I need is a way to stop Hal from popping back up on the screen while I'm in the menu options or the brain editor. He keeps popping up and freezing.
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 02:49:03 pm
He shouldn't come back from being minimize Or until I click ok in the menu opts.
Title: Updated Hal script error
Post by: onthecuttingedge2005 on September 05, 2006, 02:59:33 pm
quote:
Originally posted by Holllywood

He shouldn't come back from being minimize Or until I click ok in the menu opts.



Hi Holllywood.

Try typing <AUTOOFF> in the chat window, it should turn off Auto-Idle that is causing it.

Here are some more commands:
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=996&SearchTerms=<AUTOOFF>

If it doesn't work for you then that will just force me to improve upon the HalCommands[:D]

Jerry[8D]
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 04:40:04 pm
Jerry I sent you my specs for my Pc. Could you let me know if I set this up correctly? I tried the cmd. so far no luck its still freezing on me.
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 04:45:29 pm
I really don't know what's up. I brought Hal up... put in the "Autooff", Minimized it.  It did not come back up on the screen. I froze while minimized.
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 04:56:55 pm
I am tempted to try and re-install. But I just got this activation code and I don't know how many tries I get.
Title: Updated Hal script error
Post by: onthecuttingedge2005 on September 05, 2006, 06:11:05 pm
quote:
Originally posted by Holllywood

Jerry I sent you my specs for my Pc. Could you let me know if I set this up correctly? I tried the cmd. so far no luck its still freezing on me.



Hi Holllywood.
Please send all e-mail to OnTheCuttingEdge2005@ArtificialIntel.com this is my new mail address.

Thanks
Jerry[8D]
Title: Updated Hal script error
Post by: onthecuttingedge2005 on September 05, 2006, 06:13:06 pm
quote:
Originally posted by Holllywood

I am tempted to try and re-install. But I just got this activation code and I don't know how many tries I get.



Hi Holllywood.
Have you tried cleaning your registry?

Jerry[8D]
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 07:33:42 pm
Yes. I've run the Reg Mechanic on it.
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 07:56:51 pm
I'm getting frustrated. I'm gonna try to re install and hope and hope I get another try on my activation. I've only used it for this installation.
Title: Updated Hal script error
Post by: Holllywood on September 05, 2006, 08:33:13 pm
Well I tried it. Now I've got no Hal at all the code would not let me back in even though it said I was deactivated to put it in again. Robert I hope you're out there. I'd like to re activate.