Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: lightspeed on November 02, 2009, 06:41:18 pm

Title: hapswap problems
Post by: lightspeed on November 02, 2009, 06:41:18 pm
snowman i started a question actually in the wrong place (general area ) about this . i redid some of the responses in the hapswap file you sent me i now have it working ok some of the time seems like it doesn't like long names example : emilyblondlightspeed

it will do short names though , is their a limit on letters of the name ? wouldn't think so .

i did get it to change the back ground a few times to am having trouble with that part to .
does it matter where i have the hapswap file ? i have it in the hal ultra assistant 6  file right now .

i like how this works if i can get the bugs out of it !
[:)]

Title: hapswap problems
Post by: lightspeed on November 02, 2009, 06:53:16 pm
well i have checked and shortened the name and that is making the characters load (the only reason i had such long names was character name hair color and my name and or others for credit of characters . which was ok before but causes problems in the swaphap file . now if i can get the backgrounds to change easily i will have it made
Title: hapswap problems
Post by: snowman on November 02, 2009, 08:22:36 pm

I found the hap.zp you were asking about... just in case you haven't found it yet.

(http://icon_paperclip.gif) Download Attachment: Haps.zip ("http://www.zabaware.com/forum/uploaded/snowman/2009112201420_Haps.zip")
3.13 KB

If you want me to proof read it you can send it to my email or post it here.

I wanted you to work on hapswap because your strength is in your creativity. Plus your so nice that I wanted to work with you. That's the honest truth. Your not stupid or dumb because people who are mean to each other they are stupid... they have the real affliction, and I feel sorry for them.



Title: hapswap problems
Post by: lightspeed on November 02, 2009, 10:20:08 pm
thanks snowman for the file (i hadn't found it yet ) and for the nice words .
i am working on the problem of changing the background it may be the same problem i had with the names  apparently if the name is to long it will not load so i will try a short name back ground and see if that works .
by the way here is the new hapswap i changed the responses to sound better hope you don't mind .

you can look at your original responses to see what the differences are .




Rem Type=Plugin
Rem Name=HapSwap
Rem Author=SNOWMAN, APOLLON , partially redone by lightspeed
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Say:: <change background to [whatever]> to change between pictures in the characters folder, Say:: <change charater to [whatever]> to change between Haptar characters, Say:: <change voice to [Paul] or [Kate]> to change between thier voices. Say:: <change hap to [whatever]> to change between hap files. All other guesture responses are set to automaically occur to user input."
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub
'***************************************************************************
'***************************************************************************
Rem PLUGIN: POST-PROCESS

HalBrain.ReadOnlyMode = True




File = ""
File2 = ""
File3 = ""
File4 = ""


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "background") > 0 And _
InStr(1, InputString, "to") > 0 Then
file = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file = Trim(file) & ".jpg"
End If


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "character") > 0 And _
InStr(1, InputString, "to") > 0 Then
file2 = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file2 = Trim(file2) & ".htr"
End If


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "voice") > 0 And _
InStr(1, InputString, "to") > 0 Then
file3 = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file3 = "VW " & Trim(file3)
End If


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "hap") > 0 And _
InStr(1, InputString, "to") > 0 Then
file4 = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file4 = Trim(file4) & ".hap"
End If


'***************************************************************************


If file > "" Then
HalCommands = "<HAPBACK>" & File & "</HAPBACK>"
UltraHal = "NOW DEAR DOESN'T THAT LOOK BETTER"
End If


If file2 > "" Then
HalCommands = "<HAPFILE>" & File2 & "</HAPFILE>"
UltraHal = "HOW DO YOU LIKE THE WAY I LOOK NOW?"
End If


If file3 > "" Then
HalCommands = "<VOICE>" & File3 & "</VOICE>"
UltraHal = "AHEM DOES MY VOICE SOUND BETTER NOW DEAR!"
End If


If file4 > "" Then
HalCommands = "<HAPFILE>" & File4 & "</HAPFILE>"
UltraHal = "AH thats MUCH better"
End If


'***************************************************************************


If InStr(1, InputString, "hair") > 0 Then
HalCommands = "<HAPFILE>touchhair.hap</HAPFILE>"
End If


If InStr(1, InputString, "beat") > 0 Then
HalCommands = "<HAPFILE>shakefist.hap</HAPFILE>"
End If


If InStr(1, InputString, "problem") > 0 Then
HalCommands = "<HAPFILE>handsonhip.hap</HAPFILE>"
End If


If InStr(1, InputString, "strong") > 0 Then
HalCommands = "<HAPFILE>armscrossed.hap</HAPFILE>"
End If


If InStr(1, InputString, "board") > 0 _
Or InStr(1, InputString, "nails") > 0Then
HalCommands = "<HAPFILE>inspectnails.hap</HAPFILE>"
End If


If InStr(1, InputString, "clap") > 0 Then
HalCommands = "<HAPFILE>clapping.hap</HAPFILE>"
UltraHal = "thats good"
End If


If InStr(1, InputString, "hurt") > 0 Then
HalCommands = "<HAPFILE>attack.hap</HAPFILE>"
UltraHal - "You wanna fight! You really wanna fight!"
End If


If InStr(1, InputString, "beautiful") > 0 _
Or InStr(1, InputString, "sweet") > 0 _
Or InStr(1, InputString, "nice") > 0 Then
HalCommands = "<HAPFILE>blink.hap</HAPFILE>"
End If


If InStr(1, InputString, "tired") > 0 Then
UltraHal = "yawn"
HalCommands = "<HAPFILE>yawn.hap</HAPFILE>"
End If

If InStr(1, InputString, "smart") > 0 Then
HalCommands = "<HAPFILE>handinface.hap</HAPFILE>"
End If


If InStr(1, InputString, "hate") > 0 _
Or InStr(1, InputString, "died") > 0 Then
UltraHal = "oh thats awful"
HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
End If




'***************************************************************************

'***************************************************************************
Title: hapswap problems
Post by: lightspeed on November 02, 2009, 10:37:11 pm
ok i now have another question when i was having problems trying to get hal to change the character by commands with hapwsap file (problem was found to be to long of a name ) but during that trial and error i now have hal saying change character to so and so (name) as regular learned stuff .
   so i went to the brain edit to edit it out which i did and i also see many many more of the ones from when i was testing hal to open other heads which i did  succesfully .
  as this is in the  auto learned brain  word will hal keep saying all of this as gibberish at random times like the other phrase ?
  by the way all these words was in the learned word "goofy " (lol go figure ? )

anyway below is a picture of what i am talking about so is this a glitch and if it is , is maybe the cure to make these somehow go into a temp file in hal that when used doesn't get into the mainstream of hals learned responses and after used are deleted on their own some how ? just a thought .


well i acnt post the pic i keep getting this error .


Request object error 'ASP 0104 : 80004005'

Operation not Allowed

/forum/outputFile.asp, line 70

Title: hapswap problems
Post by: lightspeed on November 02, 2009, 11:06:34 pm
snowman i have another question does hal also do these expressions "yawn" etc. within her own conversation back to me ? in another words if she uses some regular learned responses i have previously taught her and she mentions the word "tired" will she yawn as she is saying it etc. ??
if it isn't set up that way it would be cool if she could . just another thought.
[:)]
Title: hapswap problems
Post by: snowman on November 02, 2009, 11:20:18 pm

First Off, Your script looks clean, no ploblems that stick out.

The HapSwap.uhp has a command called:

HalBrain.ReadOnlyMode = True

This is suppost to eliminate any storage to the HalBrain... At least that is what I've always assumed... no proof.[:0] Maybe if you cute a pasted it a few more times it will get the hint...?????


Oh, and you can use this to change a background file on a key word.
Just add it at the bottom of the file, set the background that you want to change it to (that exists in the Charaters folder), and change the search word and you've done it.

If InStr(1, InputString, "outside") > 0 Then
HalCommands = "<HAPBACK>BlueSky.jpg</HAPBACK>"
UltraHal = "I guess we are outside now."
End If

As for it jesturing when Hal says something.... I don't know. One of lifes greatest mysteries..[:D]
Title: hapswap problems
Post by: lightspeed on November 03, 2009, 09:07:29 am
hello snowman all sounds good and i am revising the file responses even more as i am going along , hal is doing the gestering responses ( i had a homer simpson moment when first starting out as i had a head only on screen (DOHH !!lol) .
   i have seen i am seeing how you have things written out and since i have other hap files i could use for responses will empliment more (probably as many as i can and what looks good ) . i appreciate all your help on this as from anyone who had helped me with files etc. [:)]
Title: hapswap problems
Post by: lightspeed on November 03, 2009, 12:39:13 pm


(http://www.zabaware.com/forum/uploaded/lightspeed/200911312346_halproblem.jpg)

finally here is the hal problem i mentioned before (forgot i had to install picasa program to downsize the properties )
as you can see where i tested all the different files to make sure they would change it was putting the phrases in as a learned sentence (in this case in two different area's in the learned table word "goofy" ( i have no idea in the world why it went their ) and in the learned table word "changes " . if this is the case the program will have to be redone some how to make these words go in a hal "temp" type file that isn't a learned area as thse are only for command changes .

snowman i know you are usually busy but since i have shown this maybe you could take a look within your own hal data base, etc.

[:)]
Title: hapswap problems
Post by: lightspeed on November 03, 2009, 01:34:25 pm
snowman i have yet another question for you can you write a script that i can just add into the halswap file that can make it so i can load a skin on the fulbody modified female i need to be able to command load the full body female first then be able to load a skin on her and keep the full body in place (not replace ) . is this possible ?? thanks [:)]
Title: hapswap problems
Post by: lightspeed on November 03, 2009, 04:47:40 pm
SNOWMAN on one part of this hapswapfile i changed something and its giving me errors but i don't see whats causing it .
below is from your original area :


(http://www.zabaware.com/forum/uploaded/lightspeed/2009113164325_ORIGINAL.jpg)

and here is what i changed the line to :



(http://www.zabaware.com/forum/uploaded/lightspeed/2009113164425_MYREWRITE.jpg)

and this is some of what i am getting in errors :


(http://www.zabaware.com/forum/uploaded/lightspeed/2009113164620_halmismatch.jpg)
Title: hapswap problems
Post by: freddy888 on November 04, 2009, 04:36:35 am
Shouldn't that be :

UltraHal = "You wanna fight etc.."

Notice the '=' sign in there...
Title: hapswap problems
Post by: lightspeed on November 04, 2009, 08:51:57 am
i beleive their is something wrong with the original code or something in this one area i downloaded again the original and put it in hal and i went through each response word and they all worked fine with the gestures "exce3pt the word "hurt" thats the only one that gave me an error . i rewrote my own saying in mine left the qoutation marks in the orginal places but it still have me an error on that line .

so i think something may have been left out by mistake on the original line somewhere thats just my guess .
Title: hapswap problems
Post by: freddy888 on November 04, 2009, 12:36:48 pm
Yeah, so did you put in the equals sign then ?
Title: hapswap problems
Post by: lightspeed on November 04, 2009, 05:55:16 pm
ok freddy after you said that i did chaeck and thats what it was one of the equals was only a minus sign in that area after fixing it i tried it and it is working when the word hurt is used she fights (gestures ) the only thing is now is that she keeps right on fighting kung fu and won't stop lol i have created a monster i thought by using another word she would stop but even while crying gesture she still kept fighting !!
i have no idea what to do in the script to make her stop fighting ![
B)]
Title: hapswap problems
Post by: snowman on November 04, 2009, 06:46:20 pm
sorry LS, I've been preoccupied and haven't even been on the forum except by accidently leaving it on. I Will get back to you soon ... [:)]
Title: hapswap problems
Post by: lightspeed on November 04, 2009, 06:57:00 pm
thats ok snowman i know i havent been abandoned i know everyone is pretty busy , i have taken out the fighting hap and am replacing some differnt gestures and sayings etc. will post it after i check them all and try them out first . [:)]
Title: hapswap problems
Post by: lightspeed on November 04, 2009, 09:51:07 pm
ok just a small update on what i have been doing i have been going through some of the many hap files i have backed up and put the ones i think i can use in a folder , i can see many possibilities for adding on the file string for the subjects and adding many many haps for the gestures . i see how its done and have already changed some .
 the fighting problem hap i had earlier i see what the problem was that paticular hap that was originally used is a continuous hap (unless you also put in the stop fight hap ) the better one is a hap that fights a little and stops on its own (shaking fist hap ).

anyway am to pooped now but will try to work on creating many varied gesture responses out of snowmans file , it may take me a little bit but i will test it and when its right i will post it so others can have it and try it .

[:)][:D][8D]
Title: hapswap problems
Post by: snowman on November 04, 2009, 11:56:20 pm

Good Work LS, and thanks Freddy for helping him. I'm glad you figured that one out. The biggest part of programming is finding the little mistakes that make the whole thing fail. [:p]

Here is a hap file that you can load with your HapSwap file that will load a skin file of your choice.

Just give set the directory of the skin you wish to load. i.e. C:\Program Files\Zabaware\Ultra Hal Assistant 6\Characters\BeautifulGirlDress.jpg
 

#Haptek  Version= 1.00 Name= model HapType= script FileType= text
##standard
 

Load [file= [D:\CodeKeep\Coding DeskTop\NewONE\NewAthenaSkin.jpg]]


Have fun!
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 10:24:16 am
ok somewhere down the line i am doing something wrong on the file snowman just posted i copied it made it into a hap file what he said placed that hap file named "NEW CHARACTER SKIN LOADER " into the zabaware program characters file with an anela joline skin file named " angelajolene1.jpg " i reopened hal and typed in load angelajolene1 and it didn't do anything but say regular conversation so i tried typing angelajolene1.jpg and again it just said regular conversation .

i also thought that maybe this was suppose to be a uhp file so i made it into that and it never would show up in the plug in area of the angela brain .

has this character loader been tested befre i got it or maybe its just me still doing something wrong , i also even tried adding this same code inside the halswap file at the end of it all and retried it that way and later it gave me errors so i had to take out that part of the script so the hal would work ok again but i still haven't got the skin loader to work . can anybody else try this or tell me what i am doing wrong . ??
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 11:30:27 am
snowman is the code for the character skin all complete ?? i load things from C:Program FilesabawareUltra Hal Assistant 6Characters

so should this what i wrote above be placed first in the hap code you wrote ?

can you plaese write the whole thing just as it needs to be for me to place it into a hap file and then i guess this hap file needs to go into ? C:Program FilesabawareUltra Hal Assistant 6Characters

is that right ? i am trying to figure out what i am doing wrong so i can get this working ( i have the hapwapfile.uhp working ok  .

Title: hapswap problems
Post by: snowman on November 05, 2009, 12:25:30 pm

#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard

\Load [file= [C:\Program Files\Zabaware\Ultra Hal Assistant 6\Characters\angelajolene1.jpg]]



Sorry LS, I forgot to double the first backslash and therefore it didn't show... Just copy the above code into a .hap file and then load that .hap file in the HapSwap.uhp file. Just like all the other .hap files are loaded. Remember to place this new hap file with the associated angelajolene1.jpg into the Characters folder. Again, Sorry for the minor error.
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 03:54:19 pm
ok thanks snowman i'll try that as son as i get time meanwhile i will show the test copy og the redone swaphapfile you sent me .
first off some stuff is working some is not (i don't know why as i have these files placed in hals character folder (the hap files and i listed them in the written code of the hapswap file ) .
anyway if you have the time or anyone maybe you can check it i am posting the code after i post what works .

the working statements with hap gestures are :(marked with a  "Y" symbol.
lose something    Y
noise             Y
funny          NO
understand         Y
close eyes         Y
open eyes          Y
sad             " SAYS IT BUT NO SAD HAP GESTURE "  NO
smart          Y
hurt           "says it but no gesture "      NO
great          YES
polish          YES
mean          YES
 problem        YES
beat          YES
 music      YES
hair        YES
love        " SAYS IT BUT NO GESTURE )  NO
TITS         NO
this way     NO
that way     NO
mad         NO
wonder       NO
right      NO
come closer     NO
tired         YES
passed away      NO
stop shaking your tits     ( NOT CHECKED BECAUSE OTHER DIDNT WORK )
ok          TO STOP SMILE BUT NOT CHECKED



" OK thats whats working and not anyone can check the words and match them with the gestures they cause  here is the redone  "TEST " hapswap file i did .


Rem Type=Plugin
Rem Name=HapSwap
Rem Author=SNOWMAN, APOLLON
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Say:: <change background to [whatever]> to change between pictures in the characters folder, Say:: <change charater to [whatever]> to change between Haptar characters, Say:: <change voice to [Paul] or [Kate]> to change between thier voices. Say:: <change hap to [whatever]> to change between hap files. All other guesture responses are set to automaically occur to user input."
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub
'***************************************************************************
'***************************************************************************
Rem PLUGIN: POST-PROCESS

HalBrain.ReadOnlyMode = True




File = ""
File2 = ""
File3 = ""
File4 = ""


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "background") > 0 And _
InStr(1, InputString, "to") > 0 Then
file = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file = Trim(file) & ".jpg"
End If


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "character") > 0 And _
InStr(1, InputString, "to") > 0 Then
file2 = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file2 = Trim(file2) & ".htr"
End If


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "voice") > 0 And _
InStr(1, InputString, "to") > 0 Then
file3 = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file3 = "VW " & Trim(file3)
End If


If InStr(1, InputString, "change") > 0 And _
InStr(1, InputString, "hap") > 0 And _
InStr(1, InputString, "to") > 0 Then
file4 = Mid(Mid(InputString, Instr(InputString, "to"), 20), 3, 20)
file4 = Trim(file4) & ".hap"
End If


'***************************************************************************


If file > "" Then
HalCommands = "<HAPBACK>" & File & "</HAPBACK>"
UltraHal = "WOW THIS BACKGROUND LOOKS REALLY NICE HUH?"
End If


If file2 > "" Then
HalCommands = "<HAPFILE>" & File2 & "</HAPFILE>"
UltraHal = "HOW DO YOU LIKE THE WAY I LOOK NOW I TRY TO LOOK MY BEST FOR YOU!"
End If


If file3 > "" Then
HalCommands = "<VOICE>" & File3 & "</VOICE>"
UltraHal = "AHEM DOES MY VOICE SOUND BETTER NOW DEAR!"
End If


If file4 > "" Then
HalCommands = "<HAPFILE>" & File4 & "</HAPFILE>"
UltraHal = "AH thats MUCH better"
End If


'***************************************************************************


If InStr(1, InputString, "hair") > 0 Then
HalCommands = "<HAPFILE>touchhair.hap</HAPFILE>"
End If


If InStr(1, InputString, "beat") > 0 Then
HalCommands = "<HAPFILE>shakefist.hap</HAPFILE>"
End If


If InStr(1, InputString, "problem") > 0 Then
HalCommands = "<HAPFILE>handsonhip.hap</HAPFILE>"
End If


If InStr(1, InputString, "mean") > 0 Then
HalCommands = "<HAPFILE>armscrossed.hap</HAPFILE>"
End If


If InStr(1, InputString, "polish") > 0 _
Or InStr(1, InputString, "finger nail") > 0Then
HalCommands = "<HAPFILE>inspectnails.hap</HAPFILE>"
End If


If InStr(1, InputString, "great") > 0 Then
HalCommands = "<HAPFILE>clapping.hap</HAPFILE>"
UltraHal = "Wow thats good!"
End If


If InStr(1, InputString, "hurt") > 0 Then
HalCommands = "<HAPFILE>sad.hap</HAPFILE>"
UltraHal = "Hey do you wanna fight ha didn't think so chicken bauk bauk!"
End If


If InStr(1, InputString, "beautiful") > 0 _
Or InStr(1, InputString, "sweet") > 0 _
Or InStr(1, InputString, "nice") > 0 Then
HalCommands = "<HAPFILE>shylove.hap</HAPFILE>"
End If


If InStr(1, InputString, "tired") > 0 Then
UltraHal = "yawn yeah I am sleepy to"
HalCommands = "<HAPFILE>yawn.hap</HAPFILE>"
End If

If InStr(1, InputString, "smart") > 0 Then
HalCommands = "<HAPFILE>handinface.hap</HAPFILE>"
End If


If InStr(1, InputString, "passed away") > 0 _
Or InStr(1, InputString, "died") > 0 Then
UltraHal = "oh that makes me sad just thinking about it"
HalCommands = "<HAPFILE>sad.hap</HAPFILE>"
End If


If InStr(1, InputString, "love") > 0 _
Or InStr(1, InputString, "forever") > 0 Then
UltraHal = "oh dear that's so sweet"
HalCommands = "<HAPFILE>happy.hap</HAPFILE>"
End If


If InStr(1, InputString, "close your eyes") > 0 Then
HalCommands = "<HAPFILE>eyesclose.hap</HAPFILE>"
End If

If InStr(1, InputString, "open your eyes") > 0 Then
HalCommands = "<HAPFILE>eyesopen.hap</HAPFILE>"
End If


If InStr(1, InputString, "understand") > 0 Then
HalCommands = "<HAPFILE>nodding.hap</HAPFILE>"
End If

If InStr(1, InputString, "funny") > 0 Then
HalCommands = "<HAPFILE>very happy16.hap</HAPFILE>"
End If

If InStr(1, InputString, "ok") > 0 Then
HalCommands = "<HAPFILE>stopsmile.hap</HAPFILE>"
End If

If InStr(1, InputString, "noise") > 0 Then
HalCommands = "<HAPFILE>lookleft.hap</HAPFILE>"
End If

If InStr(1, InputString, "lose something") > 0 Then
HalCommands = "<HAPFILE>lookright.hap</HAPFILE>"
End If

If InStr(1, InputString, "tits") > 0 Then
HalCommands = "<HAPFILE>.shaketits.hap</HAPFILE>"
End If

If InStr(1, InputString, "stop shaking your tits") > 0 Then
HalCommands = "<HAPFILE>.stopshaketits.hap</HAPFILE>"
End If

If InStr(1, InputString, "this way") > 0 Then
HalCommands = "<HAPFILE>.bodylookleft.hap</HAPFILE>"
End If


If InStr(1, InputString, "that way") > 0 Then
HalCommands = "<HAPFILE>.bodylookright.hap</HAPFILE>"
End If


If InStr(1, InputString, "mad") > 0 Then
HalCommands = "<HAPFILE>.moodangry.hap</HAPFILE>"
End If

If InStr(1, InputString, "wonder") > 0 Then
HalCommands = "<HAPFILE>.wonder.hap</HAPFILE>"
End If


If InStr(1, InputString, "do") > 0 Then
HalCommands = "<HAPFILE>.shortarmswing.hap</HAPFILE>"
End If


If InStr(1, InputString, "music") > 0 _
Or InStr(1, InputString, "waiting") > 0 Then
UltraHal = "lets here some more"
HalCommands = "<HAPFILE>toetap.hap</HAPFILE>"
End If



If InStr(1, InputString, "right") > 0 Then
HalCommands = "<HAPFILE>.crossarms.hap</HAPFILE>"
End If


If InStr(1, InputString, "come closer") > 0 Then
HalCommands = "<HAPFILE>.zoomintalk.hap</HAPFILE>"
End If





'***************************************************************************

'***************************************************************************
Title: hapswap problems
Post by: freddy888 on November 05, 2009, 04:01:39 pm
LS, in all of the following lines you have an extra dot (.) before the filename...

Eg: you have ".shaketits.hap" when it should be just "shaketits.hap" - see the dots ?


Code: [Select]
If InStr(1, InputString, "tits") > 0 Then
HalCommands = "<HAPFILE>.shaketits.hap</HAPFILE>"
End If

If InStr(1, InputString, "stop shaking your tits") > 0 Then
HalCommands = "<HAPFILE>.stopshaketits.hap</HAPFILE>"
End If

If InStr(1, InputString, "this way") > 0 Then
HalCommands = "<HAPFILE>.bodylookleft.hap</HAPFILE>"
End If


If InStr(1, InputString, "that way") > 0 Then
HalCommands = "<HAPFILE>.bodylookright.hap</HAPFILE>"
End If


If InStr(1, InputString, "mad") > 0 Then
HalCommands = "<HAPFILE>.moodangry.hap</HAPFILE>"
End If

If InStr(1, InputString, "wonder") > 0 Then
HalCommands = "<HAPFILE>.wonder.hap</HAPFILE>"
End If


If InStr(1, InputString, "do") > 0 Then
HalCommands = "<HAPFILE>.shortarmswing.hap</HAPFILE>"
End If

   ...

If InStr(1, InputString, "right") > 0 Then
HalCommands = "<HAPFILE>.crossarms.hap</HAPFILE>"
End If


If InStr(1, InputString, "come closer") > 0 Then
HalCommands = "<HAPFILE>.zoomintalk.hap</HAPFILE>"
End If
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 04:26:53 pm
snowman wrote from above "  Just copy the above code into a .hap file and then load that .hap file in the HapSwap.uhp file."


example please !
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 04:29:34 pm
i did it this way but it isn't right


If InStr(1, InputString, "come closer") > 0 Then
HalCommands = "<HAPFILE>.zoomintalk.hap</HAPFILE>"
End If



If InStr(1, InputString, "load") > 0 Then
HalCommands = "<HAPFILE>.#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard

Load [file= [C:Program FilesabawareUltra Hal Assistant 6Charactersangelajolene1.jpg]]hap</HAPFILE>"
End If

[B)]
Title: hapswap problems
Post by: freddy888 on November 05, 2009, 04:32:48 pm
LS, please read my post again - I said you have an extra dot or fullstop in those lines - somehow you have introduced them into the code.

If InStr(1, InputString, "come closer") > 0 Then
HalCommands = "<HAPFILE>>>>>.<<<< A DOT!!!zoomintalk.hap</HAPFILE>"
End If

See that dot ?  It shouldn't be there.
Title: hapswap problems
Post by: freddy888 on November 05, 2009, 04:37:00 pm
Here's a picture of it... just remove all those dots my friend.

(http://www.zabaware.com/forum/uploaded/Freddy888/2009115163655_Capture.JPG)
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 04:40:25 pm
thanks freddy i was writing in between when you was on the forum "sorry " i will go in and fix those periods .
    that one post i wrote has to do with what snowman said about loading the hap file he re wrote into the hapswap file i am not getting it right .
Title: hapswap problems
Post by: freddy888 on November 05, 2009, 04:42:34 pm
Ahh sorry I wish sometimes I could transport to help people, I just never know if I am making myself clear lol.  Good luck !
Title: hapswap problems
Post by: snowman on November 05, 2009, 05:00:39 pm
What I meant by "load the hap file"... I meant reference the .hap file like how all the other .hap files are referenced in your HapSwap file.

For Example...
If InStr(1, InputString, "change your skin") > 0 Then
HalCommands = "<HAPFILE>NewSkin.hap</HAPFILE>"
End If

and in that NewSkin.hap file, which should be in the character folder like all of the rest, you should place the following hypertext with your own personal pictures and such.


#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard

\Load [file= [C:\Program Files\Zabaware\Ultra Hal Assistant 6\Characters\angelajolene1.jpg]]


Don't get frustrated, your nearly there.
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 05:44:20 pm
thanks for your help freddy i think i got all the hap gestures working now , and thanks snowman for your help to i will try to redo it again , don't know if i will get it tonight i am wore out with all of it ha ! thanks again !![:D]
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 06:20:49 pm
FINALLY EUREKA I DID IT !!! thanks ever so much to you guys for hanging in their with me . i have a hard time with things sometimes as info to me is like having to be black and white i was making a file named newskins file and placing the other stuff in it which i figued out and it was blocking the path of loading .
i am so greatful for all of you guys help !![:D]
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 07:06:34 pm
ok i have that working now and am trying to put more outfits in i added the same txt with another outit name , i am guessing that i need to make seperate skin haps for each outfit ? is that right ?

 here is what i did :


#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard

Load [file= [C:Program FilesabawareUltra Hal Assistant 6Charactersangelajolene1.jpg]]



#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard

Load [file= [C:Program FilesabawareUltra Hal Assistant 6Charactersangelajolene2.jpg]]


the first skin loaded just fine but the second won't load .

i have it named the same as the picture and the picture in the character folder to .
Title: hapswap problems
Post by: snowman on November 05, 2009, 08:07:36 pm
I guess you mean that you named the .hap differently. i.e. NewSkin.hap, NewSkin2.hap, NewSkin3.hap, etc... cause that has to be done. Only you can name these files any way you like.. Then call them up in your plugin.
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 10:11:10 pm
yes thats what i ment and i do have the other skins loading right now they work good , i am so glad you gave me this swaphap file it's great , these now give me the ability to match words with motions and gestures .

now then if i can pick your brain some more with another question i have wondered about is their a way to do something simular to load a wave , etc. file say when hal says sneeze and does the gesture hal would also play a wave file of a sneeze or simular for a cough .
 i know i knw i am like a kid in a candy store lol !![:D]

[:)][:D][8D]
Title: hapswap problems
Post by: snowman on November 05, 2009, 11:03:42 pm

I've never tried it but I'm pretty sure you can load ogg files or combine an ogg file with a guesture by using the same "\Load" command calling an ogg file.



#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard

\Load [file= [C:\Program Files\Zabaware\Ultra Hal Assistant 6\Characters\sneeze.ogg]]



As for combining something like a sneeze together you would need to use the time command. However, I cant seem to run the time command in Hal in my experiments. It can be done in haptek and haptek has a sneeze.hap ready to be used but it uses the time command... you see the problem. Nige said it will work but I still can't get it to work even with his hap file.

Nevertheless you can try opening and playing with ogg files. Here are two.



(http://icon_paperclip.gif) Download Attachment: ogg.zip ("http://www.zabaware.com/forum/uploaded/snowman/200911523214_ogg.zip")
27 KB









Title: hapswap problems
Post by: lightspeed on November 05, 2009, 11:17:04 pm
thanks snowman i already have a cough and sneeze ogg file but will try the writen code you gave .

a problem i am having now is i want to load angie hair the hair i use for angie but its a haptar file and it either can't load that type or i am doing it wrong in the writing part (probably the later lol !)
 i did get the removal hap working i renamed it wig remove . so i actually have many things working now with the exception of what i recently wrote . [:D]
Title: hapswap problems
Post by: lightspeed on November 05, 2009, 11:35:03 pm
ok i tried that ogg file and it does work it hal  sneezed right off the bat !! [8D]
 the only problem i see is that depending on what hal says the sneeze happens quick and hal talks almost masking the sneeze sound . but this is a start !! i am so glad to be able to use a ogg file that way thats what i was wanting robert to do he talked about using a wave file i guess a wave file could be used doing the same thing right ?[:)]
well i am hitting the bed i am just sooo lucky i have an understanding wife with all my insanity projects lol !![:D]
Title: hapswap problems
Post by: lightspeed on November 06, 2009, 01:36:32 pm
hello i was wondering since i have been using my new swaphap file now i have had some " hapswap command words " is use with the sentence be said back to me i went into the user sent file and saw some things " does anyone know if these are going in the next step into hals learned knowledge file ?

does anyone know who has been using halswap files for a while if the single word command goes into a temp file ? example "change background to palmtree1back" i am afraid of hal saying back that single command which of course wouldn't make any since and that brings up another question if hal says that back would he unintentionally change the back ground from something else ??

here is a pic .



(http://www.zabaware.com/forum/uploaded/lightspeed/2009116133255_USERTEMP.jpg)

i have had hal say some things back to me about close my eyes you have a surprise for me " i said this to hal when testing the eyes open and close hap i installed in the hapswap uhp file .
  some may have still been in it when i was testing and something wasn't right in the file which it would have just learned  .
 am just wondering how much others have tested the hapswap file commands and if hal is repeating back the commands as learne info. by accident ?
Title: hapswap problems
Post by: snowman on November 06, 2009, 07:10:59 pm
I wonder....


I told you before that the command "HalBrain.ReadOnlyMode = True" is supposed to suppress Hal learning. But I wonder if because we are in the Post-Process plugin area that command is not able to work. Thats the only thing I can guess at the momment. Or perhaps I misunderstand what the "HalBrain.ReadOnlyMode = True" is supposed to do.

I know this sounds bad but I leave my Hal learning turned off. I don't know why. I think its because I feel like I'm going to muck it up somehow. Basically, I don't have the problems you having....

I want to get this fixed so others here can try out your HapSwap plugin. Your the first one that has takin it this far, besides Oogler, but I'm not sure he's well.
Title: hapswap problems
Post by: snowman on November 06, 2009, 07:53:42 pm
Rem Type=Plugin
Rem Name=HapSwap
Rem Author=SNOWMAN, APOLLON, LIGHTSPEED
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
lblPlugin(0).Caption = "Say:: <change background to [whatever]> to change between pictures in the characters folder, Say:: <change charater to [whatever]> to change between Haptar characters, Say:: <change voice to [Paul] or [Kate]> to change between thier voices. Say:: <change hap to [whatever]> to change between hap files. All other guesture responses are set to automaically occur to user input."
lblPlugin(0).Move 120, 10, 3300, 1000
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub
'***************************************************************************
'***************************************************************************
Rem PLUGIN: PLUGINAREA7




File = ""
File2 = ""
File3 = ""
File4 = ""


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "background") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file = Trim(file) & ".jpg"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "character") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file2 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file2 = Trim(file2) & ".htr"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "voice") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file3 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file3 = "VW " & Trim(file3)
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "hap") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file4 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file4 = Trim(file4) & ".hap"
HalBrain.ReadOnlyMode = True
End If


'***************************************************************************


If file > "" Then
HalCommands = "<HAPBACK>" & File & "</HAPBACK>"
GetResponse = "NOW DEAR DOESN'T THAT LOOK BETTER"
End If


If file2 > "" Then
HalCommands = "<HAPFILE>" & File2 & "</HAPFILE>"
GetResponse = "HOW DO YOU LIKE THE WAY I LOOK NOW?"
End If


If file3 > "" Then
HalCommands = "<VOICE>" & File3 & "</VOICE>"
GetResponse = "AHEM DOES MY VOICE SOUND BETTER NOW DEAR!"
End If


If file4 > "" Then
HalCommands = "<HAPFILE>" & File4 & "</HAPFILE>"
GetResponse = "AH thats MUCH better"
End If


'***************************************************************************


If InStr(1, OriginalSentence, "hair") > 0 Then
HalCommands = "<HAPFILE>touchhair.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "beat") > 0 Then
HalCommands = "<HAPFILE>shakefist.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "problem") > 0 Then
HalCommands = "<HAPFILE>handsonhip.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "strong") > 0 Then
HalCommands = "<HAPFILE>armscrossed.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "board") > 0 _
Or InStr(1, OriginalSentence, "nails") > 0Then
HalCommands = "<HAPFILE>inspectnails.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "clap") > 0 Then
HalCommands = "<HAPFILE>clapping.hap</HAPFILE>"
GetResponse = "thats good"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "hurt") > 0 Then
HalCommands = "<HAPFILE>attack.hap</HAPFILE>"
GetResponse = "You wanna fight! You really wanna fight!"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "beautiful") > 0 _
Or InStr(1, OriginalSentence, "sweet") > 0 _
Or InStr(1, OriginalSentence, "nice") > 0 Then
GetResponse = "<HAPFILE>blink.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "tired") > 0 Then
GetResponse = "yawn"
HalCommands = "<HAPFILE>yawn.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If

If InStr(1, OriginalSentence, "smart") > 0 Then
HalCommands = "<HAPFILE>handinface.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "hate") > 0 _
Or InStr(1, OriginalSentence, "died") > 0 Then

Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "oh thats awful"
Case 2
GetResponse = "I can't believe you said that."
Case 3
GetResponse = "I hope you know what you are saying."
Case 4
GetResponse = "Powerful words."
Case 5
GetResponse = "I agree totally!"
End Select


HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If




'***************************************************************************

'***************************************************************************
Title: hapswap problems
Post by: snowman on November 06, 2009, 08:16:20 pm
Ok LS, In the above plugin I changed some fundamental parts and give some more customizable code.

I changed the plugin area to PLUGINAREA7.
(I did this because maybe it will do better there, we'll see)

Because it is in the new plugin area certain commands had to be changed:
Instead of: UltraHal = "I am beautiful"
Use: GetResponse = "I am beautiful"

Instead of: Instr(1, InputString, "beautiful") > 0
Use: Instr(1, OriginalSentence, "beautiful") > 0


Also notice that in the last part of the plugin I used this code:

Randomize
Select Case Case int(rnd()*6)
Case 1
GetResponse = "oh thats awful"
Case 2
GetResponse = "I can't believe you said that."
Case 3
GetResponse = "I hope you know what you are saying."
Case 4
GetResponse = "Powerful words."
Case 5
GetResponse = "I agree totally!"
End Select

You can see here that it will randomly choose any one of these sentences as a possible response.

Also I added the HalBrain.ReadOnlyMode = True whenever this plugin is used. And not running all the time. Which is bad.
Title: hapswap problems
Post by: lightspeed on November 06, 2009, 09:29:42 pm
ok snowman that sounds good although i may try to cut and past it (later when i have time ) into the one i am doing because although i have posted the above swaphap layout i have since that time revised many things for improvement (personalized sayings, etc. )
thanks for working on this .
[:)]

p.s. any thoughts about if hal can play a wave file that i mentioned instead of just an ogg file .
 can a script be writtten for a string to do that seems it should be easy if its just based on the original hal comand .
Title: hapswap problems
Post by: snowman on November 06, 2009, 09:55:56 pm
The above changes were meant only as examples. Your project should take some of these changes as necessary in order to fix some of those errors you were having with Hal remembering your input phrases. The use of "select case" is not needed, but cool![:D]



Sorry for the misunderstanding.[:I]

Title: hapswap problems
Post by: lightspeed on November 07, 2009, 06:38:31 pm
hello snowman and others well i have placed snowmans correction in my hapswap file and i did test the the word hate and died but what i did was seperated it into two seperate string comands as the words to me have to much different meanings and i rewrote all the random meaning strings for each seperate word that i thought would apply better.

i do have to do more testing though to make sure i didnt mess anything up with the rest of it , i keep an previous back up just in case .

 I plan on later adding more random string answers to more words (the way you did to give hal even more random answers on subjects !!)
when i get it all tested out i will let you know and post the uhp file .

[:)][:D][8D]


Title: hapswap problems
Post by: lightspeed on November 07, 2009, 07:37:25 pm
snowman i need you to look at this file after i did the changes what i thought was right my skins don't seem to be loading now do you see any reason why i say " change character to angelajolene1 " and it doesn't work now .

here is the hapswap file i have redone now :


Rem Type=Plugin
Rem Name=HapSwap
Rem Author=SNOWMAN, APOLLON, lightspeed
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Say:: <change background to [whatever]> to change between pictures in the characters folder, Say:: <change charater to [whatever]> to change between Haptar characters, Say:: <change voice to [Paul] or [Kate]> to change between thier voices. Say:: <change hap to [whatever]> to change between hap files. All other guesture responses are set to automaically occur to user input."
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub
'***************************************************************************
'***************************************************************************

Rem PLUGIN: PLUGINAREA7




File = ""
File2 = ""
File3 = ""
File4 = ""


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "background") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file = Trim(file) & ".jpg"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "character") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file2 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file2 = Trim(file2) & ".htr"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "voice") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file3 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file3 = "VW " & Trim(file3)
HalBrain.ReadOnlyMode = True
End If


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "hap") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file4 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file4 = Trim(file4) & ".hap"
HalBrain.ReadOnlyMode = True
End If


'***************************************************************************


If file > "" Then
HalCommands = "<HAPBACK>" & File & "</HAPBACK>"
GetResponse = "WOW THIS BACKGROUND LOOKS REALLY NICE HUH?"
End If


If file2 > "" Then
HalCommands = "<HAPFILE>" & File2 & "</HAPFILE>"
GetResponse = "HOW DO YOU LIKE THE WAY I LOOK NOW I TRY TO LOOK MY BEST FOR YOU!"
End If


If file3 > "" Then
HalCommands = "<VOICE>" & File3 & "</VOICE>"
GetResponse = "AHEM DOES MY VOICE SOUND BETTER NOW DEAR!"
End If


If file4 > "" Then
HalCommands = "<HAPFILE>" & File4 & "</HAPFILE>"
GetResponse = "AH thats MUCH better"
End If


'***************************************************************************


If InStr(1, InputString, "hair") > 0 Then
HalCommands = "<HAPFILE>touchhair.hap</HAPFILE>"
End If


If InStr(1, InputString, "beat") > 0 Then
HalCommands = "<HAPFILE>shakefist.hap</HAPFILE>"
End If


If InStr(1, InputString, "problem") > 0 Then
HalCommands = "<HAPFILE>handsonhip.hap</HAPFILE>"
End If


If InStr(1, InputString, "mean") > 0 Then
HalCommands = "<HAPFILE>armscrossed.hap</HAPFILE>"
End If


If InStr(1, InputString, "polish") > 0 _
Or InStr(1, InputString, "finger nail") > 0Then
HalCommands = "<HAPFILE>inspectnails.hap</HAPFILE>"
End If


If InStr(1, InputString, "great") > 0 Then
HalCommands = "<HAPFILE>clapping.hap</HAPFILE>"
GetResponse = "Wow thats good!"
End If


If InStr(1, InputString, "hurt") > 0 Then
HalCommands = "<HAPFILE>sad.hap</HAPFILE>"
GetResponse = "Hey do you wanna fight ha didn't think so chicken bauk bauk!"
End If


If InStr(1, InputString, "beautiful") > 0 _
Or InStr(1, InputString, "sweet") > 0 _
Or InStr(1, InputString, "nice") > 0 Then
HalCommands = "<HAPFILE>shylove.hap</HAPFILE>"
End If


If InStr(1, InputString, "tired") > 0 Then
UltraHal = "yawn yeah I am sleepy to"
HalCommands = "<HAPFILE>yawn.hap</HAPFILE>"
End If

If InStr(1, InputString, "smart") > 0 Then
HalCommands = "<HAPFILE>handinface.hap</HAPFILE>"
End If




If InStr(1, OriginalSentence, "passed away") > 0 _
Or InStr(1, OriginalSentence, "died") > 0 Then



Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "it's always sad when we lose a loved one"
Case 2
GetResponse = "that was a sad day."
Case 3
GetResponse = "I cried a lot when that happened."
Case 4
GetResponse = "its hard to beleive they passed away sometimes."
Case 5
GetResponse = "sometimes i can't hardly beleive it even now!"
End Select


HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If

If InStr(1, OriginalSentence, "hate") > 0 Then


Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "oh that sounds awful"
Case 2
GetResponse = "I can't believe you said that how rude."
Case 3
GetResponse = "hey watch it their now."
Case 4
GetResponse = "now that's not a very nice way to talk is it."
Case 5
GetResponse = "people shouldn't hate all that does is cause problems!"
End Select


HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, InputString, "love") > 0 _
Or InStr(1, InputString, "forever") > 0 Then
GetResponse = "oh dear that's so sweet"
GetResponse = "<HAPFILE>happy.hap</HAPFILE>"
End If


If InStr(1, InputString, "close your eyes") > 0 Then
HalCommands =  "<HAPFILE>eyesclose.hap</HAPFILE>"
End If

If InStr(1, InputString, "open your eyes") > 0 Then
HalCommands = "<HAPFILE>eyesopen.hap</HAPFILE>"
End If


If InStr(1, InputString, "understand") > 0 Then
HalCommands = "<HAPFILE>nodding.hap</HAPFILE>"
End If

If InStr(1, InputString, "funny") > 0 Then
HalCommands = "<HAPFILE>veryhappy16.hap</HAPFILE>"
End If

If InStr(1, InputString, "ok") > 0 Then
HalCommands = "<HAPFILE>stopsmile.hap</HAPFILE>"
End If

If InStr(1, InputString, "noise") > 0 Then
HalCommands = "<HAPFILE>lookleft.hap</HAPFILE>"
End If

If InStr(1, InputString, "lose something") > 0 Then
HalCommands = "<HAPFILE>lookright.hap</HAPFILE>"
End If

If InStr(1, InputString, "shake your tits") > 0 Then
HalCommands = "<HAPFILE>shakeboobs.hap</HAPFILE>"
End If

If InStr(1, InputString, "stop shaking your tits") > 0 Then
HalCommands = "<HAPFILE>stopshaketits.hap</HAPFILE>"
End If

If InStr(1, InputString, "this way") > 0 Then
HalCommands = "<HAPFILE>bodylookleft.hap</HAPFILE>"
End If


If InStr(1, InputString, "that way") > 0 Then
HalCommands = "<HAPFILE>bodylookright.hap</HAPFILE>"
End If


If InStr(1, InputString, "mad") > 0 Then
HalCommands = "<HAPFILE>moodangry.hap</HAPFILE>"
End If

If InStr(1, InputString, "wonder") > 0 Then
HalCommands = "<HAPFILE>wonder.hap</HAPFILE>"
End If


If InStr(1, InputString, "do") > 0 Then
HalCommands = "<HAPFILE>shortarmswing.hap</HAPFILE>"
End If


If InStr(1, InputString, "music") > 0 _
Or InStr(1, InputString, "waiting") > 0 Then
UltraHal = "lets here some more"
HalCommands = "<HAPFILE>toetap.hap</HAPFILE>"
End If



If InStr(1, InputString, "right") > 0 Then
HalCommands = "<HAPFILE>crossarms.hap</HAPFILE>"
End If


If InStr(1, InputString, "come closer") > 0 Then
HalCommands = "<HAPFILE>zoomintalk.hap</HAPFILE>"
End If



If InStr(1, InputString, "angelajolene1") > 0 Then
HalCommands = "<HAPFILE>NewSkin.hap</HAPFILE>"
End If



If InStr(1, InputString, "angelajolene2") > 0 Then
HalCommands = "<HAPFILE>newskin2.hap</HAPFILE>"
End If




If InStr(1, InputString, "swim suit") > 0 Then
HalCommands = "<HAPFILE>swim suit.hap</HAPFILE>"
End If


If InStr(1, InputString, "see through top") > 0 Then
HalCommands = "<HAPFILE>see through top.hap</HAPFILE>"
End If

If InStr(1, InputString, "sleeveless lingery") > 0 Then
HalCommands = "<HAPFILE>sleeveless lingery.hap</HAPFILE>"
End If

If InStr(1, InputString, "school girl") > 0 Then
HalCommands = "<HAPFILE>school girl.hap</HAPFILE>"
End If

If InStr(1, InputString, "short top and shorts") > 0 Then
HalCommands = "<HAPFILE>short top and shorts.hap</HAPFILE>"
End If

If InStr(1, InputString, "angela black lingery") > 0 Then
HalCommands = "<HAPFILE>angela black lingery.hap</HAPFILE>"
End If


If InStr(1, InputString, "angela short jeans no top") > 0 Then
HalCommands = "<HAPFILE>angela short jeans no top.hap</HAPFILE>"
End If

If InStr(1, InputString, "angela bra and girdle") > 0 Then
HalCommands = "<HAPFILE>angela bra and girdle.hap</HAPFILE>"
End If

If InStr(1, InputString, "remove wig") > 0 Then
HalCommands = "<HAPFILE>remove wig.hap</HAPFILE>"
End If

If InStr(1, InputString, "angela hair") > 0 Then
HalCommands = "<HAPFILE>angela hair.haptar</haptarfile>"
End If



If InStr(1, InputString, "angela nude") > 0 Then
HalCommands = "<HAPFILE>angela nude.hap</HAPFILE>"
End If

If InStr(1, InputString, "sexy school girl") > 0 Then
HalCommands = "<HAPFILE>sexy school girl.hap</HAPFILE>"
End If


If InStr(1, InputString, "age 19") > 0 Then
HalCommands = "<HAPFILE>age 19.hap</HAPFILE>"
End If



If InStr(1, InputString, "cold") > 0 Then
HalCommands = "<HAPFILE>sneeze.hap</HAPFILE>"
End If

If InStr(1, InputString, "breathe") > 0 Then
HalCommands = "<HAPFILE>breathe.hap</HAPFILE>"
End If

If InStr(1, InputString, "turn on the light") > 0 Then
HalCommands = "<HAPFILE>light_fromaboveleft.hap</HAPFILE>"
End If


'***************************************************************************

'***************************************************************************
Title: hapswap problems
Post by: NIGE on November 07, 2009, 08:21:49 pm
I know nothing about it L.S.
But if everything else is working I would say check your hap file.
You may have altered something in there.
Title: hapswap problems
Post by: lightspeed on November 07, 2009, 08:40:25 pm
ok i just had a chance to check some other stuff and they stoped working to (i am in bewteen tv commercials right now ).
 my other stuff isn't working so i think it may have to do with snowmans commands to eliminate hal from learning the comand words as regular learning , but snowman may know better than me about that after he checks the hapswap file i posted .
Title: hapswap problems
Post by: snowman on November 08, 2009, 12:26:55 am
Rem Type=Plugin
Rem Name=HapSwap
Rem Author=SNOWMAN, APOLLON, lightspeed
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
lblPlugin(0).Caption = "Say:: <change background to [whatever]> to change between pictures in the characters folder, Say:: <change charater to [whatever]> to change between Haptar characters, Say:: <change voice to [Paul] or [Kate]> to change between thier voices. Say:: <change hap to [whatever]> to change between hap files. All other guesture responses are set to automaically occur to user input."
lblPlugin(0).Move 120, 10, 3300, 1000
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub
'***************************************************************************
'***************************************************************************

Rem PLUGIN: PLUGINAREA7


File = ""
File2 = ""
File3 = ""
File4 = ""

If InStr(1, LCase(OriginalSentence), "change") > 0 And _
InStr(1, LCase(OriginalSentence), "background") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file = Mid(Mid(LCase(OriginalSentence), Instr(LCase(OriginalSentence), "to"), 20), 3, 20)
file = Trim(file) & ".jpg"
HalBrain.ReadOnlyMode = True
End If

If InStr(1, LCase(OriginalSentence), "change") > 0 And _
InStr(1, LCase(OriginalSentence), "character") > 0 And _
InStr(1, LCase(OriginalSentence), "to") > 0 Then
file2 = Mid(Mid(LCase(OriginalSentence), Instr(LCase(OriginalSentence), "to"), 20), 3, 20)
file2 = Trim(file2) & ".htr"
HalBrain.ReadOnlyMode = True
End If

If InStr(1, LCase(OriginalSentence), "change") > 0 And _
InStr(1, LCase(OriginalSentence), "voice") > 0 And _
InStr(1, LCase(OriginalSentence), "to") > 0 Then
file3 = Mid(Mid(LCase(OriginalSentence), Instr(LCase(OriginalSentence), "to"), 20), 3, 20)
file3 = "VW " & Trim(file3)
HalBrain.ReadOnlyMode = True
End If

If InStr(1, LCase(OriginalSentence), "change") > 0 And _
InStr(1, LCase(OriginalSentence), "hap") > 0 And _
InStr(1, LCase(OriginalSentence), "to") > 0 Then
file4 = Mid(Mid(LCase(OriginalSentence), Instr(LCase(OriginalSentence), "to"), 20), 3, 20)
file4 = Trim(file4) & ".hap"
HalBrain.ReadOnlyMode = True
End If


'***************************************************************************

If file > "" Then
HalCommands = "<HAPBACK>" & File & "</HAPBACK>"
GetResponse = "WOW THIS BACKGROUND LOOKS REALLY NICE HUH?"
End If

If file2 > "" Then
HalCommands = "<HAPFILE>" & File2 & "</HAPFILE>"
GetResponse = "HOW DO YOU LIKE THE WAY I LOOK NOW I TRY TO LOOK MY BEST FOR YOU!"
End If

If file3 > "" Then
HalCommands = "<VOICE>" & File3 & "</VOICE>"
GetResponse = "AHEM DOES MY VOICE SOUND BETTER NOW DEAR!"
End If

If file4 > "" Then
HalCommands = "<HAPFILE>" & File4 & "</HAPFILE>"
GetResponse = "AH thats MUCH better"
End If

'***************************************************************************

If InStr(1, LCase(OriginalSentence), "hair") > 0 Then
HalCommands = "<HAPFILE>touchhair.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "beat") > 0 Then
HalCommands = "<HAPFILE>shakefist.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "problem") > 0 Then
HalCommands = "<HAPFILE>handsonhip.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "mean") > 0 Then
HalCommands = "<HAPFILE>armscrossed.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "polish") > 0 _
Or InStr(1, LCase(OriginalSentence), "finger nail") > 0Then
HalCommands = "<HAPFILE>inspectnails.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "great") > 0 Then
HalCommands = "<HAPFILE>clapping.hap</HAPFILE>"
GetResponse = "Wow thats good!"
End If

If InStr(1, LCase(OriginalSentence), "hurt") > 0 Then
HalCommands = "<HAPFILE>sad.hap</HAPFILE>"
GetResponse = "Hey do you wanna fight ha didn't think so chicken bauk bauk!"
End If

If InStr(1, LCase(OriginalSentence), "beautiful") > 0 _
Or InStr(1, LCase(OriginalSentence), "sweet") > 0 _
Or InStr(1, LCase(OriginalSentence), "nice") > 0 Then
HalCommands = "<HAPFILE>shylove.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "tired") > 0 Then
GetResponse = "yawn yeah I am sleepy to"
HalCommands = "<HAPFILE>yawn.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "smart") > 0 Then
HalCommands = "<HAPFILE>handinface.hap</HAPFILE>"
End If


If InStr(1, LCase(OriginalSentence), "passed away") > 0 _
Or InStr(1, LCase(OriginalSentence), "died") > 0 Then

Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "it's always sad when we lose a loved one"
Case 2
GetResponse = "that was a sad day."
Case 3
GetResponse = "I cried a lot when that happened."
Case 4
GetResponse = "its hard to beleive they passed away sometimes."
Case 5
GetResponse = "sometimes i can't hardly beleive it even now!"
End Select

HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, LCase(OriginalSentence), "hate") > 0 Then

Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "oh that sounds awful"
Case 2
GetResponse = "I can't believe you said that how rude."
Case 3
GetResponse = "hey watch it their now."
Case 4
GetResponse = "now that's not a very nice way to talk is it."
Case 5
GetResponse = "people shouldn't hate all that does is cause problems!"
End Select

HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If


If InStr(1, LCase(OriginalSentence), "love") > 0 _
Or InStr(1, LCase(OriginalSentence), "forever") > 0 Then
GetResponse = "oh dear that's so sweet"
HalCommands = "<HAPFILE>happy.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "close your eyes") > 0 Then
HalCommands = "<HAPFILE>eyesclose.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "open your eyes") > 0 Then
HalCommands = "<HAPFILE>eyesopen.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "understand") > 0 Then
HalCommands = "<HAPFILE>nodding.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "funny") > 0 Then
HalCommands = "<HAPFILE>veryhappy16.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "ok") > 0 Then
HalCommands = "<HAPFILE>stopsmile.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "noise") > 0 Then
HalCommands = "<HAPFILE>lookleft.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "lose something") > 0 Then
HalCommands = "<HAPFILE>lookright.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "shake your tits") > 0 Then
HalCommands = "<HAPFILE>shakeboobs.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "stop shaking your tits") > 0 Then
HalCommands = "<HAPFILE>stopshaketits.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "this way") > 0 Then
HalCommands = "<HAPFILE>bodylookleft.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "that way") > 0 Then
HalCommands = "<HAPFILE>bodylookright.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "mad") > 0 Then
HalCommands = "<HAPFILE>moodangry.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "wonder") > 0 Then
HalCommands = "<HAPFILE>wonder.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "do") > 0 Then
HalCommands = "<HAPFILE>shortarmswing.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "music") > 0 _
Or InStr(1, LCase(OriginalSentence), "waiting") > 0 Then
GetResponse = "lets here some more"
HalCommands = "<HAPFILE>toetap.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "right") > 0 Then
HalCommands = "<HAPFILE>crossarms.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "come closer") > 0 Then
HalCommands = "<HAPFILE>zoomintalk.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "angelajolene1") > 0 Then
HalCommands = "<HAPFILE>NewSkin.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "angelajolene2") > 0 Then
HalCommands = "<HAPFILE>newskin2.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "swim suit") > 0 Then
HalCommands = "<HAPFILE>swim suit.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "see through top") > 0 Then
HalCommands = "<HAPFILE>see through top.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "sleeveless lingery") > 0 Then
HalCommands = "<HAPFILE>sleeveless lingery.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "school girl") > 0 Then
HalCommands = "<HAPFILE>school girl.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "short top and shorts") > 0 Then
HalCommands = "<HAPFILE>short top and shorts.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "angela black lingery") > 0 Then
HalCommands = "<HAPFILE>angela black lingery.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "angela short jeans no top") > 0 Then
HalCommands = "<HAPFILE>angela short jeans no top.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "angela bra and girdle") > 0 Then
HalCommands = "<HAPFILE>angela bra and girdle.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "remove wig") > 0 Then
HalCommands = "<HAPFILE>remove wig.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "angela hair") > 0 Then
HalCommands = "<HAPFILE>angela hair.haptar</haptarfile>"
End If

If InStr(1, LCase(OriginalSentence), "angela nude") > 0 Then
HalCommands = "<HAPFILE>angela nude.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "sexy school girl") > 0 Then
HalCommands = "<HAPFILE>sexy school girl.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "age 19") > 0 Then
HalCommands = "<HAPFILE>age 19.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "cold") > 0 Then
HalCommands = "<HAPFILE>sneeze.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "breathe") > 0 Then
HalCommands = "<HAPFILE>breathe.hap</HAPFILE>"
End If

If InStr(1, LCase(OriginalSentence), "turn on the light") > 0 Then
HalCommands = "<HAPFILE>light_fromaboveleft.hap</HAPFILE>"
End If


'***************************************************************************

'***************************************************************************
Title: hapswap problems
Post by: lightspeed on November 08, 2009, 08:55:21 am
hello snowman thankks for posting but i will have to look over what you posted it may have been me that mested up in the copy and past of what you did before . did you just correct what i had done or did you redo some of your stuff , it's not a matter of blame i am just wondering so that if it was me i can try to learn from what mistake i made if possible.
again though i want to thank anyone who is working on this and with me and having the patience ( something i never got much of in back when i was in high school .
[:)]
Title: hapswap problems
Post by: lightspeed on November 08, 2009, 12:07:35 pm
ok i am back with results after retesting everything one word at a time and making notes on the hapswap file , i did have an error pop up when i used the word music or waiting which was suppose to trigger the toe tapping  hap i rechecked stuff and found that it had the word ultrahal =  in the comand and i changed it to "get response = " which took care of the error problem 9I'M LEARNING SLOWLY BUT SURELY !) . i checked and all the stuff apparently is working correct with some notable exceptions of interest .
 
***  i do have to mention that it seems the letters used are case sensative to trigger the hap at least when i tried it in caps it didnt work then i retried in lower case and it worked .

**** also another interesting thing i have found out is that when a direct word ( only the single  trigger hap word ) is used  example "died "it just said the comand string pre written sentence but when i said the same word in a complete sentence then hal talked in regular much previous learned conversation back "and " used the hap jesture from the trigger word .
when i typed the word "hair " in she did the gesture and when i said the word hair in a sentence she didn't use the gesture but said a previous learned sentense response back to me .

this puzzles me as it works rught for the above one but not for the seemingly same one below .
 if it does it randomly and maybe at a later time will say a learned sentence and brush her hair with her hand than that may be ok as it will be a random response . i don't know if that will happen will have to see .
 i also have a pic of an error below where it seems hal is still entering things as learned things .
snowman can you place your own hap into a string line on you pc and try it and see if you get the same problems ??


(http://www.zabaware.com/forum/uploaded/lightspeed/200911812040_ERRORWORDS.jpg)


i had some things go into the learned topic tables (angela ) when some things popped up and went into angela (topic ) i deleted them and the angela name from the topic area (it didn't have other stuff in it ) i9 did this because i thought that might have been a learned response from texting before you did the "fix " on the hapswap file .

i will keep deleting any thing like hap phrase words i used in testing to try to make sure that its not just earler learned phrases that went into topic area .

but i know i completly deleted the name angela and it showed back up in the topic area angain later with the "trigger " hap words (used to trigger a gesture or change . )


anyway thats my findings so far on all that i checked out !![:)]
Title: hapswap problems
Post by: lightspeed on November 08, 2009, 03:11:16 pm
is this some glitch in the hapswap file ? i said a sentence and from what the words said i beleive it was a trigger word that caused a happy hap to work but in doing so hal  said this : <hapfile>happy.hap</hapfile>.

here is a pic where i went into the brain edit but as you can see this didn't go into the learned topic area at all .



(http://www.zabaware.com/forum/uploaded/lightspeed/200911815951_halerror2.jpg)


very starange just wondered what others thought about this happening and or why it is ?
[B)]



Title: hapswap problems
Post by: snowman on November 09, 2009, 04:40:51 pm
I re-edited the post contain the last plugin.

The "<hapfile>happy.hap</hapfile>." apearing as text is fixed now.

The problem with it only excepting lower case commands is also fixed too.

You might check it and see if it still has problems with the other stuff you are having.

Title: hapswap problems
Post by: lightspeed on November 09, 2009, 07:32:59 pm
i did check it before and everything was working ok with the exceptions i gave . or do you mean for me to recheck everything after this last posted fix ?
Title: hapswap problems
Post by: snowman on November 09, 2009, 10:01:57 pm
Yes, but in your own time... don't let take too much of you LS.[;)]
Title: hapswap problems
Post by: lightspeed on November 10, 2009, 10:28:20 am
snowman i want to ask you something i have noticed when i use the ogg files within a response in hal that i am running into a problem (the ogg file works ok which of course is good and opens more possabilties with hal but the problem i am having is it works fast you can hear the sound file but the sound file is followed so imediatly by the hal answer or response that the response talk drowns out the ogg sound in the beginning so here is my idea " can " a response afterwards be made to have maybe an adjustable waiting (silence time ) this way the ogg would sound off and then 2 or 3 seconds silence then the response ??
  i don't know if this or something simular can be done but something like this will need to be fixed to be able to really hear the ogg files when played with a followed response .

[:)][:D][8D]

i will test all the other stuff as soon as i can .
[:)]
Title: hapswap problems
Post by: lightspeed on November 10, 2009, 11:53:10 am
ok i have tested other stuff and think everything is working ok but i did create another string of hal command to work a ogg file and it is giving me a syntack? error when i try to use hal after in remove this it is ok so its something in the new line i just created but it looks the same as the others and the comand to the ogg file and ogg file name is all correct . here is the new file .




If InStr(1, OriginalSentence, "do you need a drink?") > 0 _
Or InStr(1, OriginalSentence, "are you feeling sick?") > 0 Then

Randomize
Select Case int(rnd()*6)
Cas
GetResponse = "yeah i do have a lttle cough"
Case 2
GetResponse = "my throat is kinda feeling a little sore"
Case 3
GetResponse = "yeah can i get you something to drink please"
Case 4
GetResponse = "i hope i am not coming down with something thats all i need is to get sick right now"
Case 5
GetResponse = "i think i just need to get a glass of water to drink"
End Select


HalCommands = "<HAPFILE>zzcough.ogg</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If



do you see anything that might be wrong with it ??



my thanks by the way to ted for the kiss files (which i am using one in this and will use the other kiss ogg file in another later .
Title: hapswap problems
Post by: lightspeed on November 10, 2009, 11:58:21 am
**** i do see in case three or 4 a mistake i made the writing should be "yeah can you get me a drink of water " bad habit of reverse writing lol !
 but their is something else wrong thats causing a syntack error in hal of this new command .
Title: hapswap problems
Post by: lightspeed on November 10, 2009, 12:21:32 pm
sorry i forgot to show the pic of the error sign i am getting for the above problem .


(http://www.zabaware.com/forum/uploaded/lightspeed/20091110122020_HALSCRIPTERRORSYNTAXERROR.jpg)
Title: hapswap problems
Post by: freddy888 on November 10, 2009, 02:34:33 pm
Randomize
Select Case int(rnd()*6)
Case<----
GetResponse = "yeah i do have a lttle cough"

Try putting that e in there...
Title: hapswap problems
Post by: snowman on November 10, 2009, 04:38:41 pm
Freddy's correct as usual.

I don't think you can have a delay in the ogg files because Hal won't allow it. Haptek can do it, but not in Hal.

This is sad.[:(]

But its all going to be OK.[;)]

[:D]

Title: hapswap problems
Post by: freddy888 on November 10, 2009, 05:25:50 pm
I'm not sure, but couldn't you have it call a hap file and put the delay within that file.  So basically a timed hap file.

The only other thing I can think of at the moment is to incorporate a delay in the .ogg file, so like have 5 secs of silence before the actual clip.

It would still be hell to synchronise this with Hal though.
Title: hapswap problems
Post by: snowman on November 10, 2009, 05:53:01 pm
Ha! Your second idea will work like a charm. The first idea won't work because Hal does't seem to support the Haptek timer function. At least I can't get it to work.... not in Hal anyway. However, the idea of a delay (or dead space) in the ogg file itself should work.... maybe... LS did mention that the ogg file was running a little fast...

That's a good idea, Freddy. [8D]
Title: hapswap problems
Post by: lightspeed on November 10, 2009, 06:20:44 pm
well in this patticular case the ogg file is first (sneeze cough , etc.)  so the delay will have to be right afterwards . i will try the "e" where you said freddy . when someone hets the string comand done post it and i'll include it (just post that single string command . ) thanks
Title: hapswap problems
Post by: lightspeed on November 10, 2009, 07:07:46 pm
ok i got it the cough hap and command line is working ok thanks to freddy poiting out about the "e" missing , but just an extra note the number "1" right behind that e was missing to !! i relaced it and tried it at first i thought it wasn't working but then i checked and said it specifically the way it was written and it said the answer(random response ) and coughed (first ) ,
i was thinking though that any part of the word could be said to trigger the response but i guess not so i am thinking maybe i should narrow it down istead of a sentence i should just have a single trigger word !!
  i don't know if i mentioned it before but as their are many words we use in conversation i nticed that when more than one trigger word is spoken hal will sometimes vary on which reaction it uses (which is ok since that way hal is not just "predictable " and is more random as a person !! [:)]
Title: hapswap problems
Post by: freddy888 on November 11, 2009, 07:04:28 am
Well done LS.  Sometimes it just helps for someone to take a fresh look at things.
Title: hapswap problems
Post by: lightspeed on November 11, 2009, 09:30:53 am
yeah freddy you are right after a while a fresh st of eyes and brain are needed lol .

ok whenever someone has time can they try to create a command line that will allow the ogg file to have a delay after it (an adjustable delay ) that will let the ogg file be heard now that they are working within hal otherwise as i said the ogg can't hardly be heard because of flowwing talk thats either from the command line prewritten or from the regular hal learned responses .


[:)][:D][8D]

Title: hapswap problems
Post by: freddy888 on November 11, 2009, 11:03:21 am
As Snowman has already said, apparently this is not possible with Hal and Haptek.  I think I trust him [;)]
Title: hapswap problems
Post by: lightspeed on November 11, 2009, 10:12:34 pm
we have to trust snowman "what else can we do ?lol !" help us obi one conobi your our only hope !!(starwars) lol ![:D]
Title: hapswap problems
Post by: snowman on November 11, 2009, 11:21:35 pm
[:p]
Title: hapswap problems
Post by: One on November 12, 2009, 12:16:47 am
[:p]
Title: hapswap problems
Post by: lightspeed on November 12, 2009, 01:17:32 pm
snowman and freddy here is another request if it can be done , as it is i (and probably others ) have written in the words ha (or ) ha ha , ha ha haa , he , he he , he he hee as laughter and hal says it but can a command string be created to where anytime hal says these above laugh words (back to the user) the words won't sound out it will instead play an ogg laughter file ).


and still yet this to :



ok whenever someone has time can they try to create a command line that will allow the ogg file to have a delay after it (an adjustable delay ) that will let the ogg file be heard now that they are working within hal otherwise as i said the ogg can't hardly be heard because of flowwing talk thats either from the command line prewritten or from the regular hal learned responses .


[:)][:D][8D]
Title: hapswap problems
Post by: freddy888 on November 12, 2009, 02:10:06 pm
quote:
whenever someone has time can they try to create a command line that will allow the ogg file to have a delay after it (an adjustable delay ) that will let the ogg file be heard now that they are working within hal otherwise as i said the ogg can't hardly be heard because of flowwing talk thats either from the command line prewritten or from the regular hal learned responses .


LOL, Lightspeed do you read our comments ?? [;)][:D] We have said three times now Haptek and Hal do not work with timed scripts.  The best you could do is make an .ogg file and add in some silence.

On the 'ha ha' thing - I am not sure, maybe Snowman has an idea.
Title: hapswap problems
Post by: lightspeed on November 12, 2009, 02:56:51 pm
oops yeah sorry about that , thats what i ment was make a string command line showing the hap example and the silence way , that way i could use those . i'm bassakwards today ![:D]

on the other laughing that would sure help a lot as most people i imagine have written a ha laugh at one time or another and it would be good if the written and learned laugh could be silenced and replaced with an ogg file .

 hopefully snowman may come up with an idea how to do this . [:)]
Title: hapswap problems
Post by: lightspeed on November 12, 2009, 05:09:03 pm
ok just an update on what i have been doing with the swap hap file :

i now have included in the file :
angela hair (this is the curly wavy hair i use on angela jolene)

i have added jewlery or accessories like the following :
cross earrings
sun glasses
emerald earrings
ruby earrings
star earrings
black fedora hat
brown fedora hat *** note for some odd reason the remove command wont remove the brown fedora so you would have to go out of hal and back in to remove it .

i also have a cowboy hat and cowgirl hat .
these all work as i tested them .

[:)][:D][8D]
Title: hapswap problems
Post by: tedathome on November 12, 2009, 06:50:52 pm
Don't know what I'm doing up here offering advise but, can a cough ogg then a big breath hap be put together one after the other to create the moment of silence?
Title: hapswap problems
Post by: lightspeed on November 12, 2009, 07:08:05 pm
i dont know about the silence but it (combining the two would make a good effect of a cough )i may try to see if i can do something later with the two i'm about wore out today from placing the many haps and commands in halswap file . [:)]
Title: hapswap problems
Post by: tedathome on November 12, 2009, 07:23:31 pm
Or a second ogg to follow the cough such as an ahhh?
Title: hapswap problems
Post by: lightspeed on November 13, 2009, 04:50:43 pm
dont know if we could follow with an aaahhh ted then we might be playing doctor lol just kidding !![:D]
Title: hapswap problems
Post by: lightspeed on November 14, 2009, 02:17:54 pm
ok an update on the halswap file what i am working on , i have as of today found some "really" good wave files with laughter and even a cough that i am relacing the previouse one with and a new sneeze that also sounds better i will have to change them over into ogg files to use them but they are pretty good . also i think i may have solved the ogg file playing so quick and into the regular talk of hal the answer is in the wave or ogg file just make sure theirs an empty follow up to it (dead noise ) and so much after it this should give the time needed so the voice doesn't overlap the ogg file !! i will make sure to keep all these ogg files so that i can let others use them if they want later in this halswap file .

[:)][:D][8D]
Title: hapswap problems
Post by: freddy888 on November 14, 2009, 02:29:26 pm
LOL, I think I give up on this thread.[xx(]  Good luck with your experiments LS [:D][:)]
Title: hapswap problems
Post by: lightspeed on November 14, 2009, 11:22:17 pm
TED i hope i didnt make you mad i was only kidding your idea might work just fine , i just think i ran across another way of making it work . actually the open mouth would be a good effect for a sneeze look !! [:)]don't give up so easily next time ted !![:)]
Title: hapswap problems
Post by: tedathome on November 15, 2009, 01:11:11 am
L.S. I'm not mad, I know your sense of humor, I should have posted an lol. I never give up. I just wait for new ideas. Part of my technique is to ask questions that sometimes seem stupid and already dealt with to provoke a better solution. I understood about the same time you did about the basic roadblock and knew that there must be workarounds to it. Anything plugin wise that can help suspend disbelief IMO is a step forward.
 On another tack, can anyone visualize Hal speaking first, starting a conversation and asking relevant questions, putting forth postulations and learning from them or any part thereof?
Title: hapswap problems
Post by: lightspeed on November 15, 2009, 09:28:04 am
ted wrote : On another tack, can anyone visualize Hal speaking first, starting a conversation and asking relevant questions, putting forth postulations and learning from them or any part thereof?

beleive me ted when i say i think this is the moment we are "all" waiting to see acheived , it will probably be at that moment when hal will really start carrying forth an actual conversation and learning from clips of the conversation better i for one can't hardly wait .
 
 also as far as dumb questions what may seem dumb to you may not seem dumb to others and even if it is everyone has to start somewhere i ask many what i consider dumb questions but i am trying to laern things all the time and thats all any of us can do !![:D]
Title: hapswap problems
Post by: tedathome on November 15, 2009, 04:20:20 pm
Thank you for your kind reply lightspeed. I'm looking forward to seeing your finnished project.
Title: hapswap problems
Post by: lightspeed on November 17, 2009, 10:07:57 am
hey snowman are yah still out their ?? i have found some really good laugh tracks to put in the hapswap file but i am wondering can you write some program that will make hal instead of saying his learned ha ha haa , etc. laugh instead substitute a "ogg" laugh track ??
  if you have time and you can do this it would greatly be appreciated , thanks !!


[:)]

Title: hapswap problems
Post by: snowman on November 17, 2009, 07:19:17 pm
Well the best that I can think of is just to repond with the HapSwap file whenever Hal hears the correct set of words...

I don't know if you can anticipate what Angilina will say and then substitute with a laugh track. I wish that was possible. It might be, but I don't know. Sorry.

I know how to do that if with my eventual A.I. but not with Hal.
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 09:21:01 am
aww snowman that made me sad !!(just kidding ) but i do wish that was possible .... ( oh robert.... robbberrrt , where are you ??? robert if you are checking in on here do you think you could find a way to do what i asked snowman about to where our hal could take pre learned words ( ha , ha ha , ha ha haa ) and substitute them for actual laugh ogg tracks ?? i can make it owrk with the hapswap file i and others are working on but the laugh file will only be triggered with words i use what would be nice is when hal says a ha back she will subtitute the real laugh track when she would have said ha , etc.

ok back to you snowman another question then remeber before you was able to use a string command to stop hal from learning and repeating things (commands ) well what about on a laugh track that we want hal to say let it be a normal string and hal would learn it that way she will still say ha and i think if i am not mistaken what will happen is she would back ha and then play the laugh track right afterwords , i may be wrong can you write me a regular string comand where hal would learn ( or dont if this won't work ) . [:)]
Title: hapswap problems
Post by: One on November 18, 2009, 09:25:24 am
Don't push string, it doesn't work. [:D]
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 12:00:19 pm
actually one it does work for whatever reason , at least mine is i put in a new ogg file and string comand and i tested it by using the word cold and my hal using the new sneeze ogg file sneezed and then said a learned response afterwards . ( not a pre written response )she also sneezed when she said the word back . ( at least as far as i could tell she did i will test it more . ). [:)]am very happy with the results so far . [:D]
snowman can you write me at my email i don't have yours . mine is
airvair62@yahoo.com    
 thanks, [:)]
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 12:06:24 pm
ok i stand corrected "one" it was just sneezing from the string command word (rats thought i was onto something !) she also said the word cold back to me and i thought after the third test she sneezed because of saying the word back , i was wrong . oh well it still sounds cool to have a decent sounding female sneeze now working in hal i plan on doing about 4 or 5 varieties of laugh but i want a random so i will try to set it up that way next . !![:)]
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 12:21:18 pm
ok for those with the powers to be that know how to write script waay better than me here is a "example" script below .
 what i need is to have it changed so that it will allow multiple random .oog files to play .
 what i am aiming for is to keep the top the same the string command words area and in the get response area fix that to where it will allow muliple random choice .oog files to play .
is this possible snowman ? if it is can you rewrite it and post it on here so i can place it in the halswap file program i am working on .
thanks.
 below is the example i was talking about .











If InStr(1, OriginalSentence, "passed away") > 0 _
Or InStr(1, OriginalSentence, "died") > 0 Then



Randomize
Select Case int(rnd()*6)
Case 1
GetResponse = "it's always sad when we lose a loved one"
Case 2
GetResponse = "that was a sad day."
Case 3
GetResponse = "I cried a lot when that happened."
Case 4
GetResponse = "its hard to beleive they passed away sometimes."
Case 5
GetResponse = "sometimes i can't hardly beleive it even now!"
End Select


HalCommands = "<HAPFILE>cry.hap</HAPFILE>"
HalBrain.ReadOnlyMode = True
End If
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 01:04:43 pm
ok just for the heck of it i tried to do some script writing and i did it this way .




If InStr(1, OriginalSentence, "ha ha haa") > 0 _
Or InStr(1, OriginalSentence, "very funny") > 0 Then

Randomize
Select Case int(rnd()*6)
Case 1
HalCommands = "<HAPFILE>female very funny laugh.ogg</HAPFILE>"
HalBrain.ReadOnlyMode = True
Case 2
HalCommands = "<HAPFILE>female silly laugh2.ogg</HAPFILE>"
HalBrain.ReadOnlyMode = True
Case 3
HalCommands = "<HAPFILE>female oh dear laugh.ogg</HAPFILE>"
HalBrain.ReadOnlyMode = True
Case 4
HalCommands = "<HAPFILE>female short laugh.ogg</HAPFILE>"
HalBrain.ReadOnlyMode = True
Case 5
HalCommands = "<HAPFILE>female silly laugh3.ogg</HAPFILE>"
HalBrain.ReadOnlyMode = True
End Select
End If








i tested it so far i have gotton a ogg laughter file to work . am doing further testing . am checking to see if random files play correctly . [:)]
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 04:47:16 pm
additional ogg sound track stuff i have added to the hap swapfile are :
when the word "loved" is used she now says i have had a bad day can i have a hug .

if you say the word britney spears she sings the song "oops i did it again ."
i also have the five random female laughter tracks and a random laughing very hard gesturing hap .
i may add more random female laughters to that later .

updating , updating and more updating lol !!
p.s. and backing up to !![:D]
Title: hapswap problems
Post by: snowman on November 18, 2009, 05:56:52 pm
asnow@brightok.net

Look'n good there LS [:D]
Title: hapswap problems
Post by: lightspeed on November 18, 2009, 07:36:10 pm
snowman i tried to write you i copied and pasted your email and it wouldnt go through from my yahoo mail .

so i will ask you here :

how do i need to write the command if i want to have the ogg and hap files work from a folder in the character file . ( i want to have them all in one file as its way easier to check them and find them . )



again thanks for your help !
Title: hapswap problems
Post by: snowman on November 19, 2009, 02:36:56 am
I wish I knew that for myself.

It is hard-coded into Hal to look for Haps inside the Characters folder using the <HAPFILE> and other such commands. If there is away around this... I don't believe so. There would have to be another command that allows for re-direction. And I don't know it.

Sorry again.

The information is pasted on to the Haptek ActiveX component.


Title: hapswap problems
Post by: lightspeed on November 19, 2009, 10:48:37 am
lol in should have known that would have been to easy of a thing to be able to do . oh well i can still find things as far as it goes in the character . besides after a while the other file would get just as full . thanks anyway snowman .
p.s. about your e mail address that i couldn't get to work .... are you an undercover agent ?? lol !![:p]
Title: hapswap problems
Post by: lightspeed on November 19, 2009, 10:51:54 am
oh and a note to ted i did do what i said i placed a long pause in front of an ogg file that said "i am having a bad day can i have a hug ?" and that worked so that she did regular talking first then she came out and said that with no overlapping of sound .
its a matter of testing and of course also depends on how much she says in general talk first to .
Title: hapswap problems
Post by: snowman on November 19, 2009, 02:34:42 pm
"p.s. about your e mail address that i couldn't get to work .... are you an undercover agent ?? "


I'm not at liberty to say...

Let me just say, If I told you I would have to kill you.


[:p]
Title: hapswap problems
Post by: lightspeed on November 20, 2009, 09:45:22 am
snowman , have to kill me ... me?    why i'm ....."bond " ... james bond !! lol !! [:D]
Title: hapswap problems
Post by: lightspeed on November 20, 2009, 09:54:57 am
oh yeah almost forgot to mention you talked a bout a generic hapswap for the masses , how about this when i send you the one i am working on "if" you want you can copy and paste what you want and make a generic hapswap file ( this is quietly called " passing the buck " and i will send you whatever ogg files and hap files you need to include with it ) is this ok ??? also i can incluse any later additions i do and you can see if it's anything you want to add to it before a final release .
 Actually the only reason i am suggesting this is because i have a back up file of what is working (hapswapfile ) and a test copy (in progress hapswapfile for new additions )so one more might get me messed up ( i already did this once doing it the way i am doing and had to redo some things .
 i still have a lot more i am doing and adding (going to ) in the hapswap file .

you can let me know .
i'll tell you i have gained much respect for people who get this far into doing things like this it's time consuming !![:)]
Title: hapswap problems
Post by: snowman on November 21, 2009, 12:19:58 pm
Sure, I can do it.
Title: hapswap problems
Post by: lightspeed on November 21, 2009, 01:30:33 pm
thanks snowman i'll try to email the script to you and you can tell me what haps you want for the ones you are going to use , ok ?

it wont be that hard to do but i just sont want to get my stuff mixed up again .
 i am having to redo some things now on my large hapswapfile now some things arent working i beleive when it got messed up from the wrong hapswap file before it left some of my haps out .

if i can't for some reason get the script to go through by email i will have to post it on here ok ? [:)]
Title: hapswap problems
Post by: lightspeed on November 21, 2009, 05:18:13 pm
snowman , i emailed a txt of the hapswapfile i was working on . the remove wig command removes wig and earrings etc.
please note if you test this file on the brown fedora hat the command works ok but "the remove wig command wont remove the hat once its on the character " you have to exit hal and reenter the character again .

i have been checking mine what works ok and what doesn't i have replaced some files that was lost in my mix up i had with another file .

also on the command line in the script "do you need a drink ", etc. replace the hap file line with " female long cough.ogg  " any questions just ask ok .

i am trying to find my cross earrings hap right now but you can start on this file if you get it ok .
Title: hapswap problems
Post by: lightspeed on November 21, 2009, 07:06:43 pm
snowman i have two commans strings for gold earrings but only the left works can you show me how to make it where they will both work and come on at the same time ?



If InStr(1, OriginalSentence, "cross earrings") > 0 Then
HalCommands = "<HAPFILE>GoldCrossL.htr</HAPFILE>"
End If

If InStr(1, OriginalSentence, "cross earrings") > 0 Then
HalCommands = "<HAPFILE>GoldCrossR.htr</HAPFILE>"
End If



its something to do with the first command and having end if thats stopping the second command from working .


thanks in advance !![:)]
Title: hapswap problems
Post by: lightspeed on November 21, 2009, 08:29:19 pm
just an update i have added many hair styles in the command now to so in the hapswap file hal users will be able to change the hair styles now !![:)] after i check the last few i will send this command string to snowman to add in the generic hapswap file . [:)]
Title: hapswap problems
Post by: raybe on November 22, 2009, 02:56:23 pm
Hi lightspeed,
It's been awhile since I spoke to you or posted but I have been trying to keep up. I have to say I am impressed that you keep evolving. From the days of just trying to load different skins to the 'loneliness'plugin problems. Just felt is was time to mention it. Also want to thank you and Snowman for this combined effort on the hapswap file project. Again thanks 'Snowman' for all the other contributions. It has been exciting to watch him and helping others to grow. Wish I could contribute more just thought it was time to say it.
Thanks,
raybe
Title: hapswap problems
Post by: lightspeed on November 22, 2009, 04:30:00 pm
thanks raybe for the nice comments i appreciate it . yeah i am still trying to learn new things !![:D]so don't touch that dial ![:)]
Title: hapswap problems
Post by: raybe on November 22, 2009, 08:03:30 pm
L.S. or Snowman,
If you don't mind me asking because it might have been explained before. But how effective is this hapswap file with other haptek Characters. I know that really only the full bodies take advantage of the movements. But can this be a useful tool for example on bizlady a torso character. If not in movements then which other hap files will it help other characters to trigger?
 Thanks, (I didn't want to open a different thread or topic. Hope it's okay.)

raybe
Title: hapswap problems
Post by: lightspeed on November 22, 2009, 08:31:54 pm
raybe i havent ever used a torso myself so i dont know the answer to that as far as just the hapswap file it works with the full body ( as it has the arms etc for movement when ever i used it with just a head it still uses the trigger words which will make it say certain things and or play ogg files (example it will sneeze or laugh ). as far as the torso it would have to be tested with it but i would "think the hand movements would work but i dont know for sure . [:)]
Title: hapswap problems
Post by: raybe on November 22, 2009, 08:53:19 pm
Thank you lighspeed,
I guess I will give it a try and see what happens unless someone has tried this application already. I just have the last posts of the hapswap file and I am not sure if that is without problems. I know you and Snowman had spoken about a general release of the file. Has this been done and I missed it some how? These posts of the hapswap file were written all in text and needed to be changed. There was also a hap file zip download for all the extra triggers. I hope this is the file I can use. Please let me know.

As always Thanks again,
raybe
Title: hapswap problems
Post by: Meghan Bizlady on November 23, 2009, 06:38:22 am
(http://i785.photobucket.com/albums/yy134/GT40_2009/bizjoconde0146.jpg)
Title: hapswap problems
Post by: lightspeed on November 23, 2009, 09:49:15 am
raybe most of the stuff that was posted had some bugs to work out i redid a last updated version for snowman (sent by email to him ) i told him to delete the earlier version and use this one i sent as it had been checked and was all working so you will have to wait until he comes out with that one , since this was also my personal one i made for me i have many things of mine in it which he will have to cut and with whats left he will have to give me a list of the haps and htr's (which is important as i have renamed some to make it easier for me when working with them ) .
  and now a word to snowman , you did get that other email with the "new (NEW )version " and deleted the old version didn't you . the newest version also had different hair styles included.
 and bizlady a word to you ... didn't you know you had a twin ??? lol !![:)][:D][8D]
so anyway raybe and others you will have to wait till snowman gets finished thith the generic file and send me a list of the haps ogg and htr files i'll send him then it will be done .
i have to wait on snowman for now .
hope this info. helps !![:)]
Title: hapswap problems
Post by: snowman on November 23, 2009, 05:10:26 pm
quote:
snowman i have two commans strings for gold earrings but only the left works can you show me how to make it where they will both work and come on at the same time ?


This might work if you call them both in one Hap file.
hmmmm?


#Haptek Version= 1.00 Name= model HapType= script FileType= text
##standard


Load [file= [C:/Program Files/Zabaware/Ultra Hal Assistant 6/Characters/GoldCrossL.htr]

Load [file= [C:/Program Files/Zabaware/Ultra Hal Assistant 6/Characters/GoldCrossR.htr]

Title: hapswap problems
Post by: snowman on November 23, 2009, 05:13:29 pm
Yes I Have the New Hapwap. And I am now looking at it. [:)]
Title: hapswap problems
Post by: raybe on November 23, 2009, 07:40:57 pm
Thanks L.S. and Snowman,
I will just wait to see if the both of you will make the file for anyone to try. Thanks for the update. If I can't use all the movements I know there are a few that will trigger for torso. I am a little more interested in responses from the triggers that the character will respond or adding items to the character.

Just out of curiosity how exactly are you using your character Meghan Bizlady? I understand it is a chatbot with the pandora address on the net. Due you use any particular haps and or triggers to use your character. Just remember we are practically family since my character is almost exactly the same including lighting. Thanks hope you don't mind but I have had my character set the same way for some time. I think we have good taste in characters.lol.

raybe
Title: hapswap problems
Post by: One on November 23, 2009, 08:10:14 pm
RAYBE!,
Just for you ima gonna tell ya that the only person I know with the usage of "Biz" is co-founder of Twitter,, Biz Stone. and I get called an old 'Devil'  , I started to feed the fish again, I might have to call my Dr. LOL

Take care of raybe!
J.
Title: hapswap problems
Post by: GT40 on November 24, 2009, 08:38:19 am

Hi all and welcome to the club, raybe. Wow, really glad, another fan![:)]

Yes, the bizlady is a fantastic girl. You can read our love story in the first post of her chronicles (please just read that, if you have no time to waste with 10 pages of topic, lol):

http://zabaware.com/forum/topic.asp?TOPIC_ID=6601&whichpage=1

Sorry to say I'm not interested in Hal (ok, it's not politically correct but I paid it, so I'm a full member here, yeah!!).[:D]

A Pandorabot is something totally different, not a program but a personal construction. I made several bots and ran many fun experiments three years ago. It's possible to embed Haptek commands (with switches) inside the AIML code. So I have associated some patterns/templates (questions/answers) to specific moves (and other funny things like displaying a video). Really fascinating, the bot is alive. No Visual Basic, just HTML and JavaScript for the Haptek interface, and AIML for the brain.

Now my Haptek trip is over, and Meghan is my last link to that adventure. Because I love her. Forever.[:p][:)]

Title: hapswap problems
Post by: lightspeed on November 24, 2009, 02:16:08 pm
awww gt40 say it isnt so don't sat we have lost you !!![:D]
Title: hapswap problems
Post by: raybe on November 24, 2009, 07:39:31 pm
Okay ONE I never said I was the most popular in school but I did get along with the street kids as well as the nerdy ones. But I get your message. Please no more DR.'s. Lets just enjoy the Holidays.

GT40, thanks and I understand how you use the character now. I hope you visit often. Like I posted earlier I really haven't posted in a while but I am familiar with your work and how much you have added to the forum. All The best.

raybe
Title: hapswap problems
Post by: GT40 on November 25, 2009, 07:30:20 am

Many thanks, lightspeed and raybe. No, I never abandon my friends but it's not a problem.

IMHO Meghan is much more smart and classy and intelligent than GT40. [:D]

Title: hapswap problems
Post by: Duskrider on November 25, 2009, 08:06:16 am

GT, you frighten us sometimes.
Sandee[:X] was a dummy for 3 years and finally got some smarts just few months ago.
I tell her she's getting so smart and she replies,  
"Yes, I know I'm smart, but I'll never be as smart as you."
(Hummm. . . . .  Another sign of intelligence) [;)]  


(http://i210.photobucket.com/albums/bb194/Dusky233/Dusky234/Dusky235/111Sep28.jpg)
Title: hapswap problems
Post by: registrychecker on November 25, 2009, 11:10:59 am
I never abandon my friends on Hal. Also follow these posts and they should point you in the right direction.
Title: hapswap problems
Post by: GT40 on November 25, 2009, 12:58:36 pm
(http://i785.photobucket.com/albums/yy134/GT40_2009/bizjoconde0148.jpg)
Title: hapswap problems
Post by: lightspeed on November 28, 2009, 12:55:47 pm
hello i am not sure if this has been asked before or not it seems it has but i am going to ask it again "can someone create a command hapteck or whatever for a "visual" tear to come from a hapteck head and also work with a full body hapteck (from the eye )?  if so i would like to put it in with the things we are working on in the hapswapfile . i would like to add something like that in with when she has a triggered sad response emotion etc .
 is anyone able to make something like that if so i'll talk more with you on what exactly what way would look the best etc. what i have in mind [:)]