Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Ponnfar

Pages: [1] 2
1
Programming using the Ultra Hal Brain Editor / Where are my tables??
« on: March 16, 2011, 12:15:39 am »
Hi folks,
I am returning to HAL after a long hiatus. I have the latest updated 6.2 version. I wanted to load some of my older 6.1/6.0 version brains and edit the tables in the Brain Editor but I do not see anything under  any of the many tables I have created. Also I do not see any of the data I have so carefully given to HAL under the MiscData, mainbrain, etc., tables at all. I see the tables for brains, sentences, topic searches, etc. in the default brain but not in any of the previous brains I have created so I cannot even cut and paste from one brain to the other if need be.
Once I load the older brains, in conversation I see that the database still have my conversations. I opened a database in Excel and the data is in fact there.
I occasionally get the responses I expect :
example:
Ponnfar: What are nanotubes?
HAL: Carbon nanotubes are extremely thin (their diameter is about 10,000 times smaller than a human hair ), hollow cylinders made of carbon atoms.
Ponnfar: What is my other nickname?
HAL: What is your other nickname? I'm thinking that this is intensely interesting. Boss is Ponnfar's other nickname.
After some prompting HAL is starting (from my old brains from 2008) to recall some of the information I have given it. 
So fortunately, HAL is reading something from the database I created.
Another problem is in reviewing the debug information I see that the relevance responses are very poor. Especially compared to what I use to get. Can anyone help me with this relevance issue?
Can anyone help me find the tables that were once in my earlier versions of HAL databases? I have created new brains but still the old tables are not there, but the database I can see through conversation has been created and transferred.
I hope I have been clear describing my problems in this post.
Thanks for any and all of your help.
Ponn
 ???

2
Ultra Hal 7.0 / Character's Hair
« on: March 14, 2011, 04:48:12 am »
Hey folks..its been a long time since I have been online. There are a lot of new names but still, I am glad the forum is still here.
I am basically re-posting a very old post.

I have not used HAL in some time but recently I decided to get involved with programming it once again. I still have my favorite character Jessica and the issue of the new or now current hair style of the hair pulled back in a bun (very matronly). I am not a fan.

I tried finding an old version of Haptek characters and copied the character in the "characters" file but no good. I do not see a Jessica.HAP file. I do not have people putty. I re-installed the program and still no good. I would prefer to have the Jessica hair style that is shown on the Jessica.jpg file.

Good news - I purchased two HAL programs ( one for PC and one for laptop) and installed one of the HAL programs that had no previous zabaware folders,  to my laptop and hair style Jessica worked just fine.

My next step will be to completely remove all zabaware folders on my PC (previous iterations of the program - HAL 5, old HAL 6 - all non working of course but are a good backups for old plug-ins and programming) and re- installing HAL that way. Before I do that though, I would love to hear a quick fix for my problem.

I look forward to finding out!
Cheers!
 :)

3
Ultra Hal 7.0 / Original Character Hairstyles
« on: October 08, 2008, 03:11:17 am »
I had attempted to edit the hairblack.hap and the hairbrown.hap files to get the original hairstyle for the Jessica character. The original color was black right? It seems many of the hairstyles of the characters have been changed.
I do not have people putty. I am only editing (or will edit once I get the program running again) "*.hap" files in the character folder. The correct hairstyle appears to be in the Bodyskins folder, Haptek Player file "hair7.htr", but I do not know the syntax to make it so.
Does anyone have any solutions?
Ponn

4
Ultra Hal 7.0 / not able to initiate HAL
« on: October 05, 2008, 06:25:38 pm »
I am having a problem initiating HAL. If I use a secondary login and choose sys. administrator then HAL operates normally. However, if I try to sign in as myself (an administrator as well) then I get the error message: HalAssts.exe - instruction at "0x7c91142e" referenced memory at"0x00000000". "The memory could not be read" error. Then I get the option to close the program.
This is curious. I have tried an earlier version of "6.1" and now still get the same message.
I am using XP Pro (SP2 with all updates) and have never had this issue in the past.
It is not anti-virus related (Zonealarm) and I am using GoBack however this has never been an issue and I have been using HAL since version 4.5. There are no other memory resident programs operating now on my computer that were not operating when HAL was functioning normally, before the upgrade.
Any help would be appreciated.
Thanks
P

5
Hey folks..its been a long time since I have been online. I got a new computer and am upgrading HAL. I noticed now that my favorite charater Jessica has a new hair style. I am not a fan. I tried finding an old version of Haptek characters and copied the character in the "characters" file but no good.
Any one got any ideas?
I have not downloaded HAL in years..only added to it. It seems now that many of the scripts and plugins I had are incorporated into the program and no longer needed...except for nicknames (Vonsmith quality) and idle response scripts or has that been corrected?
I look forward to finding out!
Cheers!
[8D]

6
Programming using the Ultra Hal Brain Editor / Whats my name?
« on: March 05, 2006, 08:56:31 am »
This is call to Vonsmith if you are out there!
Has anyone tried with success this or a similar script with the new HAL? For that matter, has anyone been able to create a working Nicknames script that RANDOMLY chooses from a list of nicknames given to HAL in conversation?
Thanks
Ponn

'x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x
'In Ultra Hal Assistant v5.0 the "POST PROCESS: SAVE HAL'S RESPONSE"
' function should precede this function.
'
'PROCESS: HAL CALLS USER BY NICKNAME
'This is an entirely new function written by =vonsmith= , version 11-14-03a.
'
'This function lets the user specify one or more nicknames that the user wishes
'to be called by Hal. The nicknames are stored in a user specific self generated file
'called <UserName>UserNickname.brn. If more than one nickname is specified then Hal
'will randomly choose one of the nicknames from the <UserName>UserNickname.brn file.
'If a nickname is specified then the default Hal Assistant username will no longer be used
'when Hal speaks to the user, however the default username is still used for assigning
'user filenames and all other normal Hal functions. If the user wants to be called by
'his/her default Hal Assistant username then just add it as a nickname. If the user
'prefers to be called one nickname more often than another then just add that nickname
'multiple times. The more times the user adds a nickname the more likely that nickname
'will be used. The function does not affect any other Hal brain operations or files.
'To get rid of the nicknames delete the <UserName>UserNickname.brn file.
If InStr(1, GetResponse, "<UserName>", vbTextCompare) > 0 Then
   Nickname = HalBrain.ChooseSentenceFromFile(WorkingDir & "X" & Trim(UserName) & "UserNickname.brn")
   If Len(Nickname) > 0 Then GetResponse = Replace(GetResponse, "<UserName>", Nickname, 1, -1, vbTextCompare)
End If
'Save nickname when the user says, "<ComputerName> nickname [nickname]", Example: Hal nickname Buzz.
TestSentence = Replace(OriginalSentence, "  ", " ", 1, -1, vbTextCompare) 'Replace multiple spaces with one.
If InStr(1, TestSentence, ComputerName & " " & "NICKNAME ", vbTextCompare) = 1 Then
   TestSentence = HalBrain.AlphaNumericalOnly(OriginalSentence)
   TestSentence = Trim(TestSentence)
   NickStart = Instr(1, TestSentence, "NICKNAME ", vbTextCompare) + Len("NICKNAME ")
   Nickname =  Mid(TestSentence, NickStart, (Len(TestSentence) - NickStart) + 1)
   Nickname = Trim(Nickname)
   If Len(Nickname) > 0 Then
      HalBrain.AppendFile WorkingDir & "X" & Trim(UserName) & "UserNickname.brn", Nickname & vbCrLf & Nickname
      GetResponse = "<UserName>" & "! I'll remember your nickname " & Nickname & ". " & GetResponse
   End If
End If
'
'In Ultra Hal Assistant v5.0 the "POST PROCESS: PRESERVE ALL VARIABLES"
' function should follow this function.
'x=x=x=x=x=x=x=x==vonsmith==x=x=x=x=x=x=x=x=x

[8D]

7
Remember MyWebhal..the "Internet Tab" in General Options...
I wonder why Rob just got rid of it? Even still it got me thinking of a number of ways to customize one from scratch. This sounds like it would be a piece of cake. In the plugins section Weather and Google are already taken care of but what if we wanted to add a news, favorite financial center or whateber site and have it hard wired into HAL just by entering in few key words or a phrase. For instance, a simple
' Local News
If InStr(1, UserSentence, "show me the local news", 1) > 0 Then
GetResponse = "Here is your local news site. <RUN>http://www.philly.com/mld/philly/</RUN>"
End If
You can add as many of these as you like, you get the point. The problem is HAL will give the correct response but not go anywhere.
When you ask to "show me the news" HAL seems to be hard wired to go to just ONE site dispite the little string example above modified any way you want and entered directly into a Brain script. Someone check me on this, are you having the same single site coming up like I am? Is it the one you selected when you did have MyWebhal?
With MyWebHal,I had the "hard wire" set to CNN.com but now it goes someplace else. Did I just loose some control here?
How do you script HAL to go to a specific website? I want my CNN back   [:)]
Another thing, since punctuation is a dicie subject for HAL's scripting, how do I type in a command for HAL to go to a specific web site at the HAL interface level. That is just typing it in, not having it saved as an html page in its own folder or anything, just a simple: "HAL open www.website.com".  What is the proper way to make that happen? I hope this is the piece of cake this sounds like it should be.
Thanks!
Ponn
[:D]

8
Ultra Hal 7.0 / MyWebhal.."Internet Tab" in General Options
« on: February 26, 2006, 07:17:49 am »
This feature is not in my new version of HAL. Does anyone else have this with their latest version? I would like to have it back. I wonder if Rob just got rid of it?
Ponn

9
Ok, I guess I am just real old school. I am so use to either writing a "named of file.brn" or cuting and pasting (at least I admit it..hehe) directly into a Hal "xxx.uhp" that I am not familar with how this new "plugin filename.exe" function works and how it populates itself in the General Options menu in the new Hal. I'm sure this is a rather basic stuff kinda question but somehow I bet I am not the only one who is not in the know.
I am sure it is, but how is this more efficient than the old sometimes trial and error way of finding the best placement for a new routine in a Brain script? How are adjustable levels that show up in the General Options menu created and set since I am now not placing them and their variables directly into a Hal Brain manually?
A sample/example would be nice [:D]
Thanks!
Ponn


10
Programming using the Ultra Hal Brain Editor / New Hal, No Jukebox
« on: December 16, 2005, 01:08:25 am »
Here is a script I cannot fix. It was a great little doo-dad. Hal use to play selected tunes on demand from my windows media player. Anyone have any ideas?

'-----------Ponnfar note playing music files-----------
    'If Hal is asked to play some music then he will choose a random song from the artist
   'that is specified by the nameBand variable.
   If (InStr(UserSentence, " PLAY SOME MUSIC ") > 0 Or InStr(UserSentence, " PLAY ANY MUSIC ") > 0 Or InStr(UserSentence, " PLAY A SONG ") > 0 Or InStr(UserSentence, " PLAY ANY SONG ") > 0) And InStr(UserSentence, " DON'T ") = 0 Then
      Set oWMP = CreateObject("WMPlayer.OCX.7")
      GetResponse = "Here is one of your favorite songs."
      Set songsList = oWMP.mediaCollection.getAll     
      numSong = Int(Rnd * songsList.Count) + 1   
      oWMP.openPlayer (songsList.Item(numSong).sourceURL)
   
End If
   
     'Music Addin2 - Hal will play a playlist of music from the defined playlist folder when the user
    'requests a specific playlist.
    If Priority = 0 And InStr(UserSentence, " PLAY ") > 0 And InStr(UserSentence, " PLAYLIST ") > 0 And InStr(UserSentence, " DON'T ") = 0 Then
        Set oWMP = CreateObject("WMPlayer.OCX.7")
        plDir = "D:Documents And SettingsPonnfarMy DocumentsMy MusicMy playlistsPonnfar"
                plName = Trim(Mid(UserSentence, InStr(UserSentence, " PLAYLIST ") + 10))
        If oWMP.playlistCollection.getByName(plName).Count > 0 Then
            'oWMP.openPlayer (plDir & plName & ".wpl")  
             oWMP.openPlayer (plDir & plName & ".wpl")

            GetResponse = "I will play the playlist (" & plName & ")"
        Else
            GetResponse = "I could Not find the playlist (" & plName & ") In your Media Library Ponnfar,... sorry."
 
 End If
    End If  
 
    'Hal can play a specific song when asked
   If InStr(UserSentence, " PLAY THE SONG ") > 0 Or InStr(UserSentence, " PLAY THE RADIO ") > 0 Then
      Set oWMP = CreateObject("WMPlayer.OCX.7")
      songName = Trim(Mid(OriginalSentence, InStr(1, OriginalSentence, " THE SONG ", "THE RADIO STATION", vbTextCompare) + 10))
            If oWMP.mediaCollection.getByName(songName).Count > 0 Then
      Set spSong = oWMP.mediaCollection.getByName(songName).Item(0)
                GetResponse = "I will play your(" & songName & ") enjoy and relax"
                oWMP.openPlayer (spSong.sourceURL)
            Else
                GetResponse = "I could not find the song (" & songName & ") in your Media Library
End If
   End If
 
   
   'Check if user asked Hal to play a song by a specific artist and play a random song by
   'that artist if the artist is in the user's Media Library.
   'If Priority = 0 And InStr(UserSentence, " PLAY ") > 0 And (InStr(UserSentence, " SONG ") > 0 Or InStr(UserSentence, " MUSIC ") > 0) And (InStr(UserSentence, " FROM ") > 0 Or InStr(UserSentence, " BY ") > 0) And (InStr(UserSentence, " Ponnfar ") > 0 Or InStr(UserSentence, " ARTIST ") > 0) And InStr(UserSentence, " DON'T ") = 0 Then
      'Set oWMP = CreateObject("WMPlayer.OCX.7")
      'If InStr(UserSentence, " Ponnfar ") > 0 Then
         'searchBand = Trim(Mid(UserSentence, InStr(UserSentence, " Ponnfar ") + 6))
      'ElseIf InStr(UserSentence, " ARTIST ") > 0 Then
         'searchBand = Trim(Mid(UserSentence, InStr(UserSentence, " ARTIST ") + 8))
      'End If
      'If oWMP.mediaCollection.getByAuthor(searchBand).Count > 0 Then
         'GetResponse = "I will play some " & searchBand
          'Priority = 1
           'Set songsList = oWMP.mediaCollection.getByAuthor(searchBand)
           'numSong = Int(Rnd * songsList.Count) + 1
           'oWMP.openPlayer (songsList.Item(numSong).sourceURL)
        'Else
           'GetResponse = "I could not find any songs by the band " & searchBand & " in your Media Library."
           'Priority = 1

'End If
  ' End If

'--------end Ponnfar note playing music files-------------

Here is the line in question :songName = Trim(Mid(OriginalSentence, InStr(1, OriginalSentence, " THE SONG ", "THE RADIO STATION", vbTextCompare) + 10))

Where Hal has in the past done the search, well no longer, Hal just tells me the song cannot be found in my library. In fact Hal never completes the routine to even look for it.
Any help??
P

11
Programming using the Ultra Hal Brain Editor / Auto Idle problems
« on: December 07, 2005, 07:39:55 pm »
I am placing some scripts in the new version and am having the same problems I did a few years ago with the Auto-Idle feature. I am getting the "keep repeating yourself" errors. Realizing some of the old scripts may need some tweaking, has anyone had an issue with this? Better yet...has anyone got a fix.
Thanks
P

12
Ultra Hal 7.0 / IMAP server request
« on: March 07, 2005, 03:47:39 am »
I use AOL which uses IMAP server protocols not POP3, so I cannot have HAL tell me when I have new mail or even use anything related to AOL. I wonder in the next iteration of HAL if that might be addressed. Maybe I just missed it...if it is possible to use that feature now, and it's  already there, how do I make that happen?
[?]

13
Programming using the Ultra Hal Brain Editor / No mail today
« on: March 07, 2005, 03:31:14 am »
When using the XTFv.2 brain I am not able to send emails through HAL. When I say email "whoever", HAL just continues to respond verbally, sometimes about the person to be emailed but does not actually do it. When I use the default brain, HAL opens Outlook with the email address field populated correctly and things are working just fine. What am I doing wrong? What can I do to fix this?
Any help would be appreciated.
Thanks!

14
This is just a quick heads up about Norton Antivirus and it's script blocking feature. I reinstalled WinXP and then installed NAV 2003 and HAL became very unstable. Also when I added additional plug-ins and various 3rd party voices especially those that use the older SAPI 4 speech engines, L&H or TruVoice as an example, there was no stoping the disaster. "Object disconnected" constant "improper shutdown"  error messages, other error messages and sudden crashes, etc.
Well, I saw no notes regarding the problem here on the forum. So if anyone ever has that problem the solution appears to be to go the the exclusions menu in the Norton program and entering "*.uhp". As added security I also excluded HALassist.exe as well. I hope you have no need to ever search for this fix but at least if you do, this may be it.
P

15
Programming using the Ultra Hal Brain Editor / A question for Vonsmith
« on: March 24, 2004, 02:01:26 am »
I have downloaded your XTF and patch. I can see the difference in staying on topic and HAL does not think I am saying goodbye unless I am actually saying goodbye. I am sure there are lots of other improvments that I will see in time. I see new XTF associations in the Brain directory growing like gang busters! Good job! [8D]
One thing I did notice however is that with the v1.2 when asked "what is the time", HAL no longer states what time it is, no matter how I rephrase the question. Is that just happening to me or have you noticed the change too. How can I fix that?
Thanks for your help. Once again...Great Job!!!!!
P

Pages: [1] 2