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]