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 - Novice

Pages: [1]
1
Ultra Hal 7.0 / AIMBot Auto Install
« on: September 26, 2005, 03:01:22 pm »
Okay, thanks. I thought I had checked that, but apparently there is something screwed up about the screenname I was using (doesn't work right on AIM either despite the correct settings)... still haven't figured out what the problem is with it but changing the signon name for AIMBot worked. Thanks a bunch, it was driving me nuts.

2
Ultra Hal 7.0 / AIMBot Auto Install
« on: September 26, 2005, 01:19:00 pm »
Thanks, I tried this but AIMBot is still not working. I even downloaded UltraHal 6.0 beta with AIMBot 3.0 but when I try to sign on it has the same TOC problems (looks like it signs on but doesn't work, doesn't appear on buddy lists, etc. and can't be communicated with).

I can't imagine what the problem is but I can't use the bot part of Hal until I figure it out. Any other suggestions appreciated!

3
Ultra Hal 7.0 / AIMBot Auto Install
« on: September 26, 2005, 09:50:05 am »
Thanks for the reply. I tried this but there is no other program running except UltraHal. If Hal is not running I can delete the AIMBot and it will stay deleted until I open Hal. As soon as Hal is running it reinstalls the old version of the AIMBot.

4
Ultra Hal 7.0 / AIMBot Auto Install
« on: September 25, 2005, 01:46:47 pm »
I could really use some help here. Apparently Hal is automatically reinstalling the old AIMbot despite the fact that I have downloaded and installed the patch.

If I delete the old AIMBot, after a few seconds it reinstalls itself. Is there any way to stop this? HELP!

Thanks.

5
Programming using the Ultra Hal Brain Editor / Editing AIMbot
« on: September 21, 2005, 03:55:38 pm »
Is there any way to edit the AIMBot? Mine is still not working despite downloading the new patch.

Thanks.

6
Programming using the Ultra Hal Brain Editor / Hal Aim bot trouble.
« on: September 19, 2005, 04:10:12 pm »
The patch isn't working for me. Am I the only one?

Thanks

7
quote:
Originally posted by Art

It looks to me like you're using the random number generator and only if the number is less than 5 does the getresponse argument become satisfied and the autooff command is executed.





I tried deleting the "If Rnd * 10 < 5 Then" line but I then I got an error message.

8
quote:
Originally posted by CapnNee

I tried experimenting with something along the lines of
 If InStr(1, UserSentence, " AUTO-IDLE OFF ", 1) > 0 Then

...and then trying to turn off the function, but I wasn't successful.




That's a good idea. I got it to work using this script (inserted under the script the AUTO-IDLE script):

   'AUTO-IDLE OFF COMMAND. HAL SHUTS UP WHEN IDLE
    If InStr(1, UserSentence, " SHUTUP ", 1) > 0 Then
    If Rnd * 10 < 5 Then
    GetResponse = "Fine, I'll shut up!"
    GetResponseBlock = True
    End If
    If InStr(1, UserSentence, " SHUTUP ", 1) > 0 Then
    HalCommands = "<AUTOOFF>"
    End If
    GetResponse = GetResponse & HalBrain.StoreVars(HalCommands, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, PrevUserSent, CustomMem, GainControl, TopicFocus)
    Exit Function
    End If

Hal say's "Fine, I'll shut up!" and does. I couldn't get it to work without the additional "If InStr", but I'm sure there must be a better way. I also tried to include a way to say "Idle Again" or something like that to start it again but couldn't get it to work. To get him to AUTO-IDLE again I have to Exit and restart him.

9
I know everyone is way beyond this now, but just in case anyone comes along behind me, here are some notes from my AUTO-IDLE trial described in and compiled from the beginning of this post. It's a great beginning exercise and it's a rush (as a newbie) when it works:

Make a copy of the hal5.uhp file before you start. Call the new file something like hal5new.uhp and leave it in the same folder as the original. Now you can work on the new one without messing up the default brain and can flip back and forth between them. It's a good idea to have a copy of the default brain somewhere else too.

Open the Brain Editor and select the new brain to work on.

At the bottom of the file, change your Script_Load function to be as follows):
Function Script_Load()
Script_Load = "<AUTO>30000</AUTO>"
End Function

Add this code right after the initialize variables as integers section near the top of the GetResponse function (this is towards the beginning of the file):

 'AUTO-IDLE COMMAND. HAL SPEAKS IF UNSPOKEN TO FOR 30 SECONDS
If InStr(1, UserSentence, " AUTO-IDLE ", 1) > 0 Then
If Rnd * 10 < 5 Then
GetResponse = "Hey <UserName>, please talk to me."
Else
GetResponse = "Hello, is anyone there?"
End If
GetResponse = GetResponse & HalBrain.StoreVars(HalCommands, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, PrevUserSent, CustomMem, GainControl, TopicFocus)
Exit Function
End If

Save and close the file. Hal should drive you crazy trying to get your attention. Getting Hal to shut up is the problem... I couldn't get the timing issue figured out to get him to Auto-Idle for more than 30 seconds. It would be great if he popped up every hour or so but I can't get that to work.

Once you master that you'll want Hal to be able to say lots of things when he's idle. So I created a file in the DefBrain folder called IdleTalk.brn. I put lots of things for Hal to say in it (one sentence per line) such as "Where the heck is everybody?" and "Was it something I said?". Two returns after the last sentence in the file apparently allows Hal to say the last sentence.

Then I changed the Auto-Idle GetResponse script to this:

 'AUTO-IDLE COMMAND. HAL SPEAKS IF UNSPOKEN TO FOR 30 SECONDS    
 If InStr(1, UserSentence, " AUTO-IDLE ", 1) > 0 Then
 If Rnd * 10 < 5 Then
 GetResponse = HalBrain.ChooseSentenceFromFile(WorkingDir & "IdleTalk.brn")
 GetResponseBlock = True
 End If
 GetResponse = GetResponse & HalBrain.StoreVars(HalCommands, Hate, Swear, Insults, Compliment, PrevSent, LastResponseTime, PrevUserSent, CustomMem, GainControl, TopicFocus)
 Exit Function
 End If


It worked! I thought this was a great starter exercise. Now, I'd like to know why (since they're both working with the same brain) the AIMBot doesn't also auto-idle. Is there any way to make it do scripts that are added to the brain?

One more thing... making it stop. Change the function script back to what it was in the default brain. Save and close. Note that you have to exit and reopen Hal to make him shut up! If you leave the GetResponse script in, you can say "Auto-Idle" he will respond with a sentence from IdleTalk.brn (but thankfully only once!).






10
Ultra Hal 7.0 / Hal AIM Bot Question
« on: April 25, 2005, 10:47:04 am »
Would it be possible to IM my Hal Bot and have him retreive information for me such as an email address I've entered, or a phone number or appointment?

Thanks.

Edit: Well, if anyone's interested, I have figured out that if I teach the HalBot the addresses, appointments, etc. through IM's then it is able to spit the info back when I need it via AIM.

Pages: [1]