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.


Messages - Medeksza

Pages: 1 ... 73 74 [75] 76 77 ... 82
1111
Ultra Hal 7.0 / AIM Chat
« on: February 23, 2003, 04:17:30 pm »
quote:
Originally posted by lilwolfy

Why can't I get my bot into a chatroom? I want to let her chat with my friend and I.


Hal is programmed to handle one-on-one conversations only and would get pretty confused talking with a chatroom full of many people talking all at once. Hal would want to comment on every single sentence, even if the comment wasn't meant for Hal. Although a chatroom with only 3 people wouldn't be so bad, Hal would go quite insane if the chatroom had 20 people. The capability of talking in chatrooms has been intentionally not included.

1112
Ultra Hal 7.0 / UltraHal on aol's im
« on: February 23, 2003, 04:07:29 pm »
About a week ago AOL has made some changes to the protocol its instant messaging system uses. This has been causing the Ultra Hal AIM Bot to crash after a few hours of running, so our 24/7 bots have been taken offline for the time being. We are working on a fix for this problem as well as the "Invalid frame: 5" problem that started appearing the last time AOL made changes.

1113
Ultra Hal 7.0 / Password
« on: February 12, 2003, 12:47:22 am »
An email has been sent out to all of you with the password and redownload instructions if you need it.

1114
The forum software on this site has been upgraded a few days ago and now accepts attachments. You should now see a "paper clip" icon on the posting page which will allow you to attach files up to 160 kb, perfect for sharing UHP script files.

1115
MSScript.OCX should be installed as part of the Ultra Hal Assistant installation. But you can try downloading this component from Microsoft and installing it. Download and install the Windows Script Control and maybe also the Windows Script Components

1116
Programming using the Ultra Hal Brain Editor / INFO TEACH TO HAL
« on: January 25, 2003, 11:29:58 pm »
Don Ferguson, who programmed a large portion of Ultra Hal Assistant has made many informative posts about Hal's learning abilities and how to best utilize them. Read through some of his posts here http://www.zabaware.com/forum/search.asp?mode=DoIt&MEMBER_ID=274

1117
Ultra Hal 7.0 / THE DOWNLOADED FULL VERSION IS BETTER THAN THE CD
« on: January 25, 2003, 11:17:30 pm »
The CD and downloaded version of are identical in every way, byte for byte, you shouldn't notice any difference. The installation should always default to your program files folder.

http://www.zabaware.com/assistant/plugins.html lists all known plugins that work with Hal.

1118
Ultra Hal 7.0 / run and exe or play a wav etc..
« on: January 25, 2003, 11:07:48 pm »
Yes, Hal will say whatever is in the GetResponse function variable. Using your example you could write:

'Inserted to shell for a song.
If InStr(UserSentence, "PLAY AARON") > 0 Then
  Set objWSHShell = CreateObject("WScript.Shell")
  objWSHShell.Run("realplay.exe D:CreativeworkAaronsSpaz.mp3")
  GetResponse = GetResponse & "Here is your song." & vbCrLf
End If


Every time Hal runs, Hal scans your start menu for shortcuts and writes all the information to a file called programs.dat located in Hal's folder. If you disable automatic scanning from Hal's start up options, you can edit this file yourself to include any links. The link can be a document, exe, shortcut, anything windows can open. Just be sure automatic scanning is disabled, otherwise Hal will delete all your changes at startup.

1119
Ultra Hal 7.0 / Hal Appointments
« on: January 25, 2003, 10:59:15 pm »
Unfortunetely, that is not possible. The only choices for repeating an event are never, daily, mon-fri, weekly, monthly, and anually. There is currently no way of making it repeat every 2 weeks.

1120
Programming using the Ultra Hal Brain Editor / Complications of Language
« on: January 19, 2003, 12:00:49 pm »
Microsoft's VBScript page is a good place to start http://msdn.microsoft.com/scripting/default.htm

Planet source code is a great site to learn by example http://www.planetsourcecode.com/

And there are many books about VBScript http://www.amazon.com/exec/obidos/tg/new-for-you/top-sellers/-/books/4048/ref=pd_ts_b_nav/002-8847277-6420837

Robert Medeksza

1121
Ultra Hal 7.0 / Having Hal open a program
« on: January 16, 2003, 11:37:14 pm »
Download this file http://ftp://ftp.desaware.com/SampleCode/Updates/apigid32.dll and copy it into Hal's folder (usually c:/program files/zabaware/ultra hal assistant 4)

This DLL is used by Hal to access the help files of programs, if Hal can find a standard Windows help file associated with a program. This would explain why some programs open for you and others don't.

Robert Medeksza

1122
Programming using the Ultra Hal Brain Editor / I need a listmaker
« on: January 16, 2003, 11:30:46 am »
In Windows, a hard return is actually 2 characters, a carriage return and a linefeed (In UNIX its only a linefeed). These correspond to ASCII characters 10 and 13 respectively. A little trick in Windows to type ASCII codes is to hold down the alt key and type in the ASCII key using the number pad and then letting go of the alt key. So you can use this trick to write in a return in the Search/Replace dialog of Notepad. Just hold down alt and type in 13. Then hold down alt and type in 10. You will see 2 little boxes appear.

Or, if you are looking for a more advanced text editor then notepad I recommend UltraEdit http://www.ultraedit.com/

Robert Medeksza

1123
Ultra Hal 7.0 / No sound
« on: January 16, 2003, 01:03:53 am »
Ultra Hal Assistant installs a "Speech" control panel. See if you can get it to say a test sentence from the control panel.

Robert Medeksza

1124
Programming using the Ultra Hal Brain Editor / UHP DLL notes
« on: January 16, 2003, 12:51:04 am »
Here are some other undocumented features of Hal:

The HalAsst.Exe executable understands the following command line options:

-freever
Forces a registered version of Hal into shareware mode.
-startup
Makes hal think startup folder was used to launch him.
-config
or
-setup
Forces the first run setup wizard to launch.
-dde
Disables Hal's DDE (Dynamic Data Exchange) capability for communication with 3rd party programs.
-debug
Shows a log window with messages that were usefull during programming.
-noface
Disables all of Hal's animation capability.



The HalAsst.EXE program is capable of receiving commands from 3rd party programs through DDE. The EXE name of Ultra Hal Assistant is "HalAssitant"  The link topic for Hal is "HalCommand" You can send the following commands to Hal through DDE:



<SHOWHAL>
Pops up Hal's window.
<HALPAD>
Opens the HalPad subprogram.
<SPEAK>text string</SPEAK>
Hal will speak outloud whatever is inbetween the tags.
<DIAL>name or number</DIAL>
Hal will dial whatever number is inbetween the tags, or access its phonebook to look up a name and then dial it.
<RUNPROG>program name</RUNPROG>
Hal will search through the start menu and run whatever program is mentioned in between the tags.
<RESPOND>sentence</RESPOND>
Hal will respond to the sentence in between the tags as if the user entered it and pressed return.
<CUSERNAME>name</CUSERNAME>
Hal will change the current user to whatever is mentioned in the tags.
<CHALNAME>name</CHALNAME>
Hal will change his name to whatever is in the tags.
<SCRIPT>filename</SCRIPT>
Hal will run the VBScript file mentioned.
<RUNCMD>VBScript code</RUNCMD>
Hal will execute the VBScript code inbetween the tags.


Robert Medeksza

1125
Programming using the Ultra Hal Brain Editor / UHP DLL notes
« on: January 16, 2003, 12:27:29 am »
There is also a file called HalsMind.DLL which is placed in your windows system folder. This is new in Ultra Hal Assistant 4.5 and is a C++ DLL of Hal's 3 most processor intentensive functions. This is a real Windows DLL, not an ActiveX DLL so it is not accessible through VBScript. However, the functions QABrain, KeywordBrain, FragmentMatch, and ConvBrain in the ActiveX HalBrain.DLL simply call this DLL for you. However, if anyone ever wants to directly access this DLL directly, here is the type library declaration taken straight from the project:

[
   uuid(05076D47-C64C-4f5c-AEB3-AB32A394B5A7),
   helpstring("Hal's Brain Functions"),
   lcid(0x0409),
   version(1.6)
]

library HalsMind
{
   [
      helpstring("Hal's Brain Functions"),
      version(1.6),
      dllname("HalsMind.dll")
   ]

   module MyDllFunctions
   {          
      
      [
         helpstring("Gets a response from a Hal database file."),
         entry("qbrain")
      ]   
      int __stdcall qbrain([in] LPSTR usersentence, [in] LPSTR file_name, [out] LPSTR output);

      [
         helpstring("Gets a response from Hal's special database file."),
         entry("convbrain")
      ]   
      int _stdcall convbrain([in] LPSTR usersentence, [in] LPSTR prevsentence, [in] LPSTR file_name, [out] LPSTR output);

      [
         helpstring("Gets a response from a Keyword and Priority Hal DB file."),
         entry("keybrain")
      ]   
      int __stdcall keybrain([in] LPSTR usersentence, [in] LPSTR file_name, [out] LPSTR output, [in] int lowpriority);

      [
         helpstring("Gets a response from a User Strings Hal DB file by comparing sentence fragments."),
         entry("fragmatch")
      ]   
      int __stdcall fragmatch([in] LPSTR usersentence, [in] LPSTR file_name, [out] LPSTR output);

   }
};



Robert Medeksza

Pages: 1 ... 73 74 [75] 76 77 ... 82