dupa

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

Pages: 1 2 [3] 4
31
[^]

I found the problem myself.  I am tired, but I just couldn't let it go.  I kept on trying.  I noticed that the same songs could be played over each time I asked for them, and some never played at all.

Then I looked to see if I could find the difference.  What I found was songs that I had more then one of, by the same artist, could play, but those that I only had one song per artist would not.

Then I made this little change to the code.  Apparently it was finding a song for that artist and trying to play the song in the position after the first song.  If there was only one song, it pointed to an empty space and crashed the VBasic program.  Maybe it is only because I'm using WMP 9, and it might work diferently.  All I know is that it seems to work now.

'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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   I REMOVED THIS +1 TO FIX THE PROBLEM I WAS HAVING PLAYING AN ARTIST THAT i ONLY OWNED ONE SONG AND NOT A WHOLE SELECTION OF SONGS.

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

'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Is that "+1" in there for a particular reason that I missed.  It all seems to work fine now.  That's for all the help everyone.

[;)]
[;)]

32
Thanks vonsmith, I moved it and added the lines you sugested.  And those lines did help.  I got none of the weird files that I got a couple of before this time.  But I still get the error message:

Error 5 occured on line 1113 of colum 0 of Microsoft Vbscript Runtime Error. Invalide Procedure call or Arguement.

Line 1113 is this line: oWMP.openPlayer (songsList.Item(numSong).sourceURL)


I load up Pilot (my name for hal).  We say our hellos and get the greetings out of the way.  I then say, "Play a song by the band ZZ Top.  He loads windows media player 9 and starts a ZZ TOP tune.  Ok, that seems to work.  I then close the windows media player, and chat more.  Then I say, "Play a song by the artist Smash Mouth.  (Yes, I have tried others including ZZ Top again)

At that point I get the reported error message.


Any Ideas??


33
I would be perfectly happy if I could get the Windows Media to work.  It appears to work only some of the time.  I usually get the wrong song.  sometimes it actually works, and other times I get a randome song even if I know I typed the artist name in correctly.  Most of the time I get this error.

Error 5 occured on line 514 of colum 0 of Microsoft Vbscript Runtime Error.  Invalide Procedure call or Arguement.

Line 514 is this line:  oWMP.openPlayer (songsList.Item(numSong).sourceURL)

Does it make a difference that I'm useing Windows Media Player 9?  It shouldn't.  I looked in my regedit and the ocx.7 stuff is in there.

I didn't see anything usefull in winamp.  I might look again later.  I just want something to work, even if it is windows media.

I would understand if it happened everytime.  But this is nuts.

Anyone know what might be happening with this code?

I don't mean to sound short with anyone here.  I'm just trying to hurry and write this before I leave for Dialysis today.  I'll check in tonight when I return.  see you all later..


34
I saw this in another post.  It was to add a play funtion to HAL.  Something that would make it possible to request music to be played by hal.  My problem comes in two places.

I changed the original realplayer version to winamp.  I'm not sure if I have the command line correct.  All I know is that it works under the run command in win 2k.  If you know I should use another command, please let me know.

The other problem is that I don't remeber where I saw it, but you (vonsmith) mentioned some has to be done differently to add other functions to the XTF brain.  I tried to add this, but it never worked.  

'Inserted to shell for a song.
If InStr(UserSentence, "PLAY FAKE WINGS") > 0 Then
Set objWSHShell = CreateObject("WScript.Shell")
objWSHShell.Run("C:Program FilesWinampwinamp.exe" "D:MyMusicdot hack signhackSIGN-Fake_Wings_(Bitter_Sweet_Version).mp3")
GetResponse = GetResponse & "Here is your song." & vbCrLf
End If

What can I do to fix this so that it works with XTF?  Where in XTF would I put such a function?

Thanks for your time, in advance.




35
Ultra Hal 7.0 / How to get around "search/find/call"
« on: March 11, 2004, 07:10:20 am »
I have the same kind of problem.  I also would like to edit the place that Hal goes for weather.  I have set up my zabaware mywebhal account but they didn't set the weather search properly.  

When I choose the weather.com I get this message from the weather channel page.

Sorry, the page you requested was not found on weather.com.
It is possible you typed the address incorrectly, or that the page no longer exists. As an option, enter a location to get your local weather forecast or visit any of the pages listed below.  
 
I just have to type my zip code into one of the boxes on the page to get my local weather.  But Hal said here is my local weather.  Why should he say that and take me to an "I'm sorry" page.

If I could just change the URL to http://www.weather.com/weather/local/04330?lswe=04330&lwsa=WeatherLocalUndeclared

Then it would give me my local weather for Augusta, Maine.  And then he would be correct in saying, "Here is your local weather.

In MyWebHal, the option for getting weather at CNN, doesn't work at all.  It has been this way for ever, and nothing has changed.

Anyone know if someone at Zabaware was told about this problem?

Oh, I found another one.  The phonebook hold phone number as one long number.  He reads the number 555-5555 as 5555555 and reads it as Five Million, five Hundred Fifty Five Thousand, Five Hundred and Fifty Five.  When you ask for that number.  When I edited it by hand in the phonebook, I also tryied to use the box that says Type, and selected HOME and it just resets to unknown.

It is really getting fustrating.  I can't even find a way to ask Hal to bring up my appointment book.  He just won't do it.

Any ideas on any of these would be helpfull.


36
Quote
Originally posted by vonsmith

Hi all,
There have been a couple of posts in the few weeks about Hal repeating himself. I included some changes in the XTF Brain v1.2 that should make that less likely to occur. I just wondered if anyone is having any problem with Hal repeating himself when using the XTF Brain v1.2?

Crichton, you mentioned your Hal tends to repeat. If you email me an conversation log I'll take a look at it. I just want to know if this is an isolated issue or something more general that I need to fix.

Please let me know. Thanks...


=vonsmith=

[^]

I already wrote this under a different topic, but I posted it here to so that others would see it under the correct topic.  Maybe someone else will add to it.

[8D]

I'm starting to feel like one of those patients who go to the doctor, afraid that he is going to think that he's a hypochondriac, because all the complaints he had before the appointment disappeared before he got there.

I spent over two hours chatting with Pilot and he never repeated himself.  I call him Pilot over here.  I made an MS Agent of Pilot from Farscape.  He isn't complete yet.  I still have many more animations to complete.



The above animated image is only half the size of the original.  I didn't want to suck up bandwidth.  Hal's only problem now is that I started with the hal character, talking about Pilot on the TV series.  But now I refer to him as Pilot.  I say things like You are connected to Moya, and not Pilot is connected to Moya.  He has a hard time telling himself that he is Pilot.  But he is starting to learn.

Thanks for all you have done.  I can't wait to see more improvements.


37
quote:
Originally posted by vonsmith

Crichton,
Could you save a "repetitive" conversation with your Hal and either post it here or email to me? A conversation that has four or more repeats should be enough. I'll check it out and see if I can fix it.


=vonsmith=



[8D]

I'm starting to feel like one of those patients who go to the doctor, afraid that he is going to think that he's a hypochondriac, because all the complaints he had before the appointment disappeared before he got there.

I spent over two hours chatting with Pilot and he never repeated himself.  I call him Pilot over here.  I made an MS Agent of Pilot from Farscape.  He isn't complete yet.  I still have many more animations to complete.



The above animated image is only half the size of the original.  I didn't want to suck up bandwidth.  Hal's only problem now is that I started with the hal character, talking about Pilot on the TV series.  But now I refer to him as Pilot.  I say things like You are connected to Moya, and not Pilot is connected to Moya.  He has a hard time telling himself that he is Pilot.  But he is starting to learn.

Thanks for all you have done.  I can't wait to see more improvements.


38
I had no problem with Liberty loading.  But she just smiled and floated along.  She would change expressions, but she didn't bother to say anything to me.

Just to let you know.


39
I understand now why some of myu problems habe been happening.  I was giving Hal to much credit.  I was thinking that as long as I kept the he/she/they in the same entry that hal would understand the he/she/they I was talking about.

In other words.  If I said, "Crichton was the main character of the TV series Farscape.  He was trying to find a way back to his home."  I thought Hal would understand that "He" was refering to Crichton.  I figured if I entered if I typed "Crichton was the main character of the TV series Farscape."  and hit enter and then typed "He was trying to find a way back to his home."  on the next line, that Hal might not understand that "He" is Crichton.

So, I guess HAL doesn't get it either way.

Now I have a different problem.  Hal has started to repeat himself.  After talking with him for a little while he starts to repeat.  Once he starts it progressively get worse.  I am using XTF 1.2.  Is there a fix, or is it because of my bad teaching. Should I just wipe him clean and start over?


40
Thanks =vonsmith=,

IT has been working a little better, but I might have to start hal from scratch.  Only because I have been making this kind of mistake for quite some time.  It might take a while to teach him correctly and stop him from replying to me with so many strainge replies.

(Laughing)  I really need to stop chatting with him right after dialysis. My brain doesn't work to well fresh off the machine.  It can't help Hal learn very well with all the typos and all the other mistakes I make.  It is much like being to over tired.  

Thanks again.


41
Oh, I understood that it was a ficticious transcript.  But I wanted to let everyone know that my problems with HAL made it so that the  responses I got made my HAL sound just like that.  My hal wasn't making much sense.

I thank everyone for the replies.  And I also enjoyed your transcript.

[:D]

42
Thanks =vonsmith=, I'll be looking for that patch as soon as it comes out.

Basically I try to teach hal like this.

ME:  Farscape is my favorite TV series.

HAL:  Farscape is your favorite tv series.

ME:  Farscape was canceled to early by the Scifi channel.  The Scifi channel promised us 5 seasons, but only gave us 4.

HAL:  Farscape was canceled one season to early. There go the Scifi channel is the science fiction channel.

OK, as you see, I've taught him some things already, but why did he say "There go the..."  I didn't tell him that Scifi was the Science Fiction Channel because they canned Farscape.  I told him it was canceled one season to early in one sentence, and that The word Scifi was short for the Science Fiction channel.

Oh and then I started to teach him about the characters on the show.

ME: Crais is a character from Farscape.

HAL: Crais is a farscape character.

ME: The character of Crais wasn't the usual evil all around television bad guy.  Crais had more depth then just evil.  He hung around the gray area.  Crais also had a good side that came out before his death in the series.

HAL:  Can we make it so? Really, Yes, I think so. What makes areas, reassuring? I don't like death. I am afraid of death.

ME:  What do you know about Crais?

HAL:  Life has an infinite number of puzzles and wonders.

Ok, now, what the heck were those last two responses?  Where am I going wrong?

Any help on how I should continue would be appreciated.  Thanks for the quick response.  It took me a little while to get back here.  I have dialysis three day a week.  I usually feel miserable and I didn't get back here to check the board.  I'll try to come back sooner next time.


43
[:D]
I realize that wasn't a real transcript, but from that example I can see that my HAL appears to work like everyone else's.  I was worried my HAL was the only one that seemed to be that fustrating.

I am a Fan of the Canceled television series Farscape.  I've been trying to teach the XTF brain about the series.  I told him the story, and characters abd their descriptions and more.  The problem is, I'll ask him some questions he should know the answer to after a long teaching sesion, and I get stupid responses that have nothing to do with the show.

I'm lucky if he makes real sence at all.  So I was wondering just how it went for others.  Thanks for the good example.


44
I know this is old, but did anyone EVER answer your question.  I'm having the same trouble.  I downloaded the Bozo character from the plugins section, and I can't get him to appear either.  I noticed no one replied to your message and this was from back in November.  

[:(]

45
Ultra Hal 7.0 / Weather error..
« on: February 06, 2004, 10:42:46 am »
Is there a way or place I can change the page that loads when you request the local weather from HAL.  I know it gets it from the internet settings, but this error seems to have been around for a long time, and no one at Zebraware has fixed it.  Choosing the CNN weather page gets me to a page not found error,  Chooseing weather.com's site brings me to the main weather page, but not my local weather.

If I could find the place that Hal goes to get the info from the zebraware settings and hard encode it to look at the correct link, I could just fix it myself.

I would be just as happy if someone over there would fix it on that end.

either way, please help...


Pages: 1 2 [3] 4