Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: jasondude7116 on March 01, 2009, 11:53:05 pm

Title: GRETTA PLUGINS
Post by: jasondude7116 on March 01, 2009, 11:53:05 pm
GRETTA'S PLUGINS
Please check the bottom of this post for Update notes!

GRETTA Markov Response Engine          GRETTA Emoticon Engine (color version)          GRETTA Picture Thoughts          GRETTA System Monitor          GRETTA Music Idle           GRETTA Emoticon          GRETTA Curiosity          GRETTA Research          GRETTA Log          GRETTA Lonely          GRETTA Internet          GRETTA Repeat          GRETTA Sing          GRETTA Read          GRETTA News         

All files/plugins available and updated at:

http://cid-7d1b0521931256f1.office.live.com/browse.aspx/.Public/GRETTA%20Plugins


SPECIAL INSTRUCTIONS
If you download GRETTAsing or GRETTAread or GRETTAnews or GRETTAresearch plugin- MAKE SURE YOU:

  Download BALABOLKA (from the same link) install it, and set it up with the same voice that you use in Hal.
(BALABOLKA is a very excellent FREE tts program)

!if you do not install BALABOLKA in the default folder, GRETTAread , GRETTAsing , GRETTAresearch, and GRETTAnews plugins must be changed to reflect the proper directory!

GRETTAsing plugin is set to use "Peter" - Sapi4 voice.
(aka: Adult Male 1) - edit the plugin to change to your preffered Sapi4 voice. (Look for "Peter" in the file and change the name to the name of the voice in Balabolka)



 :)GRETTA Markov Response Engine

GRETTA (UltraHal) will learn using a Markov algorithm! Using what it has learned, GRETTA (UltraHal) might respond with it's new knowledge of language.
Note: it will take some time to build a proper database of Markov knowledge. Please be patient.

 :)GRETTA Picture

This plugin will show pictures of what GRETTA (UltraHal) is thinking.
The pictures will be displayed through your default picture viewing program.
The pictures must be named according to the content: i.e. a picture of a dog could be named "dog canine mammal pet.jpg" (Look in the picture folder that you will create in step 3 of the install for examples)
The plugin supports .jpg .gif and .png files.
There is a supplied "starter picture pack" in the form of a two part .zip file.

There are three parts to this plugin.
1. GRETTApicture.uhp (the plugin)
2. pics.zip (part one of the picture folder)
3. pics.z01 (part two of the picture folder)

These are the steps for install:
(with the Ultra Hal program closed)

1. Put GRETTApicture.uhp in your default Ultra hal main folder.
2. Put pics.zip and pics.z01 in a folder of your choice.
3. Extract the pics folder by extracting pics.zip. It will use pics.zip and pics.z01 to create a pics folder full of .jpg files.
4. Place the newly created pics folder into the Ultra Hal main folder.
5. Start Ultra Hal and check the plugin (GRETTA picture thoughts) in the "Brain options" screen to enable the plugin.
6. Go to the main Ultra Hal text interface and type: index image
7. This (step 6) will then prompt you (popup) to enter the folder to be indexed. It is the pics folder that you just put in the Ultra Hal main folder. Enter it in the popup window.
8. Step 7 will take a few minutes and give you a script error because it is taking so long. Ignore the error.
9. When that is done it will tell you that it has indexed all the image files.
10. You are done! When Hal thinks of something then it will display a picture of it.

Note: you can adjust the odds of Hal showing a picture by going to the plugin options screen and changing it, then clicking "Apply".
Note 2: The plugin shows a default picture when it is not showing something Hal is thinking of. This picture is in the pics folder. (DefPic.jpg) Edit this picture or replace it with another of your choice. It is currently a picture with the text "GRETTA" in it.

 :)GRETTA System Monitor

Supported Operating Systems: Windows 2000; Windows Server 2003; Windows XP Professional EditionWhile idle: GRETTA will monitor your computer and let you know of any system events.

REQUIRES:  Microsoft Log Parser be installed and the .dll registered.
NOTE: This has only been tested on windows Xp, and some program functionality and the way the program is registered might be different on other systems.

Installation:
Step 1 - Unzip the file into a folder of choice. (doesn't matter where)
Step 2 - The zip file contains a folder called "GrettaSystemMonitor". Inside that folder you will see a file called "LogParser.msi". Click on it to install.
Step 3 - Once "LogParser.msi" is installed, use the windows command prompt to go to the install directory. By default (In windows XP) it is: "C:/Program Files/Log Parser 2.2/"
Step 4 - At the command prompt "C:/Program Files/Log Parser 2.2>" type (WITHOUT THE QUOTE MARKS): "regsvr32 LogParser.dll" and press enter. (this will register the .dll file that the plugin uses. If successful, it will give a popup "success" message.)
Step 5 - In the folder "GrettaSystemMonitor", you will find a file called "GrettaSystemMonitor.uhp". Copy it to the Ultra Hal main directory.
Step 6 - Start Hal, and go to the "Brain" options screen. Check the plugin called "GRETTA System Monitor". Then click "Apply" in the right hand corner.
Step 7 - Enjoy

***You can, if you wish to only get warning notifications instead of all notifications: edit the plugin and change the line:

'strQuery = strQuery & " WHERE EventTypeName = 'Warning event'"

To:

strQuery = strQuery & " WHERE EventTypeName = 'Warning event'"

(the only thing you are removing is the ' at the beginning of the line, in order to run that command instead of ignoring it)

 :)GRETTA Music idle

Hal can play music of it's choice, if it wants, when it wants,  while idle.
**To be used in conjunction with vrMP3 plugin (or GRETTAmedia plugin available at same link)

Step 1 - you must activate either vrMP3 or GRETTAmedia plugin and type "index mp3" in the Hal main interface window (chat window). This will bring up a popup window where you can pick your main MP3 folder. Indexing the files can take some time to complete if you have a large MP3 library. If it does take a long time then an error popup will appear, asking you if you want to continue. Just ignore the message and let it keep going.
Step 2 - activate the GRETTAmusicidle plugin.
Step 3 - enjoy while Hal listens to music of it's choice when it feels like it. (of course you can always say "be quiet" and Hal will not play music)

 :)GRETTA Emoticon

Hal can have Emoticons instead of character.
*NOT compatible with GRETTA Emotions (which i do not recommend using anymore)

Instructions:

1 - unzip file "GRETTA Emoticon.zip" (from the above link) into Ultra Hal main folder.
2 - go to options and check plugin
3 - pick any haptek character
4 - start hal and move the haptek character offscreen



There are two parts to this plugin.
1. GRETTAEmoticon2.uhp (the plugin)
2. GRETTAEmoticonFaceJpeg.zip (the character files you need for the plugin aka. "the emoticons")
3. Extract all the .jpg files from GRETTAEmoticonFaceJpeg.zip into the Ultra Hal "Characters" folder.


*for you haptek character lovers out there...it could be modified to display emotionally related background pictures for your haptek character.

 :)GRETTA Emoticon (color version)

Works the same as GRETTA Emoticon, but instead of "Emoticons" it uses a 3x3 block of colors to represent emotions.

There are two parts to this plugin.
1. GRETTAEmoticonColor.uhp (the plugin)
2. GRETTAEmoticonColorJpeg.zip (the character files you need for the plugin aka. "the 3x3 color squares")

These are the steps for install:
(with the Ultra Hal program closed)

1. Put GRETTAEmoticonColor.uhp in your default Ultra hal main folder.
2. Extract all the .jpg files from GRETTAEmoticonColorJpeg.zip into the Ultra Hal "Characters" folder.
3. Start Ultra Hal and check the plugin (GRETTA Emoticon Engine Color) in the "Brain options" screen to enable the plugin.
 

:)GRETTA Curiosity

Curious Hal asks questions (On it's own) based on learned ideas.
Hal will ask questions based on previously learned subjects, actions, descriptions.....ect.  in an
attempt to learn relationships and connect ideas.

Or you can also ask Hal -- 
DO YOU HAVE ANY QUESTIONS
DO YOU HAVE A QUESTION
IS THERE SOMETHING YOU NEED TO KNOW
IS THERE SOMETHING YOU WANT TO KNOW
IS THERE SOMETHING I COULD EXPLAIN
IS THERE SOMETHING I CAN EXPLAIN
-- to see if Hal has a question for you

PLEASE NOTE: YOU MUST SET THE "CURIOUS HAL" PLUGIN OPTIONS - IN THE ULTRA HAL "BRAIN OPTIONS" SCREEN - AND "APPLY CHANGES" OR YOU WILL GET A VBSCRIPT ERROR. i.e. "Cdbl error"

:)GRETTA Research

Hal can research and/or record a file on any "what is" or "who is" type subject. Hal will read about the subject to you, and record the information in a file if you wish.
(great for using with "learn from text file" ect.)
Requires: BALABOLKA and internet connection.

i.e. PLEASE RESEARCH THE VIETNAM WAR or PLEASE RESEARCH JIM MORRISON
Just say- PLEASE RESEARCH whateversubject   
or PLEASE RESEARCH AND RECORD whateversubject   
or PLEASE RECORD AND RESEARCH whateversubject   
or PLEASE READ RESEARCH FILE whateverresearchfile
Note: research files are saved in seperate "research" folder.


:)GRETTA Log
Thank you: SNOWMAN

it works like a journal or diary/"captains log" (star trek)
for the user. you can add journal entries on-the-fly, or open the journal and add multiple entries. Hal can also read the journal entries back to you.
Just say- 'BEGIN LOG ENTRY' to start log entry mode. Say- 'END LOG ENTRY' to exit log entry mode.
 say- 'PLEASE READ LOG' then the date, using dashes only (ie. 1-27-09) -OR- say- 'PLEASE READ CURRENT LOG' -OR- 'GO TO LOG 1-27-09' -OR- 'GO TO CURRENT LOG




:)GRETTA Lonely
Thank you: Shawn Tracy - Lightspeed

Hal will try to get attention based on the patience settings in the "brain options" screen.
You can also tell Hal to "be quiet" or "go to sleep" ect. to make hal not try to get attention.
* see "brain options" screen for instructions.




:)GRETTA Internet
Thank you: O.T.C.E.

Advanced Internet functions
see brain options screen for commands.
Commands are:
go to weather...
go to local news...
go to national news...
go to yahoo...
go to yahoo mail...
go to zabaware forum...
go to google...
go to friendster...
go to msn...
go to bbc radio...
go to filipino radio...(this one was for my wife)
go to internet tv, go to internet television...
go to 950...(houston talk radio-can be changed in .uhp)
go to web address, go to website...ex. go to website zabaware.com
go to virtual humans forum....
google search...ex. google search artificial intelligence
wikipedia search...ex. wikipedia search beethoven
picture search, image search...ex. picture search happy children
map search...ex. map search houston
news search...ex. new search obama
radio station search, internet radio search...ex. radio station search rock
video search...ex. video search skateboarding
go to people search....

BUSINESS SEARCH (business name) IN (business location)-can include city and/or state and/or zipcode)...ex.business search wal-mart in dallas texas or business search wal-mart in 77040

national business search...ex.national business search bob's tire co.
phone number search...ex. phone number search 867-5309
stock search...ex. stock search IBM
book search...ex. book search oliver twist
product search...ex. product search xbox controller




:)GRETTA Repeat

Just say-  PLEASE REPEAT THAT
or PLEASE SAY THAT AGAIN
or PLEASE REPEAT THE LAST MESSAGE
And Hal will repeat the last thing that was said.



:)BALABOLKA

A TTS (Text to Speech) program that is required for "sing a Song", "Read a Story", and "News Feed" plugins.  SET THE VOICE IN BALABOLKA as the same voice of Hal for realism.




:)GRETTA Sing

Hal can sing a song in it's own voice! REQUIRES: "Songs for Sing a Song" (song folder with song files),
BALABOLKA tts program, and sapi4 voices.
Will automatically use Sapi4 "eddie" (american english male #2) voice to sing, which can be changed by editing the plugin. - see BALABOLKA "help" for clues of how to do this.

Just say PLEASE SING whateversong  or  PLEASE SING SONG LIST for a list of songs.




:)GRETTA Read

Hal can read a story, poem, or any text file.
Hal can also read the contents of the windows clipboard.
REQUIRES: BALABOLKA tts program and "stories for read a story" (story folder with story and poem files)
Just say- PLEASE READ THE STORY whateverstory
or PLEASE READ THE POEM whateverpoem
or PLEASE READ THE STORY LIST   
or PLEASE READ THE POEM LIST   
or PLEASE READ THE WEB COMMANDS   
or PLEASE READ THE CLIPBOARD   
or PLEASE READ THE NEWS FEED COMMANDS 
or PLEASE READ THE WEATHER FEED COMMANDS




:)GRETTA News

Hal can "speak" the current news and weather. Note: the word "CURRENT" and "LATEST" are interchangable.
This is NOT compatible with vrRSS.uhp. REQUIRES: BALABOLKA tts program and internet connection.
Just say- CURRENT NEWS  or  LATEST TECHNOLOGY NEWS 
or  CURRENT NATIONAL NEWS  or  CURRENT FINANCIAL NEWS 
or  LATEST WORLD NEWS  or  CURRENT ENTERTAINMENT NEWS 
or  LATEST SPORTS NEWS  or  LATEST POLITICAL NEWS 
or  LATEST SCIENCE NEWS  or  CURRENT HEALTH NEWS 
or  LATEST TRAVEL NEWS  or  CURRENT ODD NEWS  or  LATEST WEATHER 
or LATEST FORECAST  or LATEST WEATHER FOR zipcode 
or  CURRENT FORECAST FOR zipcode 
or CURRENT (whateversubject) NEWS

*NEW*
or WHAT IS THE LATEST FACEBOOK NEWS


ie. WHAT IS THE CURRENT SCIENCE NEWS 
or  GIVE ME THE LATEST WEATHER FORECAST FOR 90210 
or WHAT IS THE CURRENT WEATHER
or PLEASE SEARCH FOR NEWS ABOUT "subject"
or PLEASE SEARCH FOR "subject" NEWS

NOTE: There is a place clearly marked in the plugin for the default zip code. (your zipcode for default weather location)
just edit the plugin to change it. VERY EASY EDIT- SECTION CLEARLY MARKED





UPDATES **************

Updated almost all plugins with improvements and/or bug fixes.
Added 3 new plugins: GRETTAEmoticonColor   GRETTAPicture   GRETTADeep
11-26-10 12:49am found bug in GRETTA Deep. Fixed. Please redownload.
11-29-10 GrettaDeep plugin not working. please remove until further notice. sorry folks.
3-2-11 Added GRETTA Markov Engine plugin.
3-3-11 cleaned the code in GrettaMarkovL4.uhp (it was still producing note files for me sorry) please re-download.
Title: GRETTA PLUGINS
Post by: tedathome on March 02, 2009, 01:37:31 am
Thank you Dude. I bet that was a lot of hard work. You should be proud. I just downed them all and notepaded the entire page. Now my work begins, getting them all in one folder, unzipping the zips, hunting down the old .uhp's, etc. I know it will be worth it![8D]
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 04, 2009, 12:01:10 am
hey ted-

heard from snowman?
is he ok?
[?]

if you have any questions about the gretta stuff let me know.
keep rockin
-the dude
Title: GRETTA PLUGINS
Post by: snowman on March 04, 2009, 04:48:01 am
I'm still here, Dude. I just been preoccupied a bit. I got sick with some kind of stomach virus the other day. Feels more like the flu...It wasn't fun. I nearly passed out in the restroom floor...
..................
I've spent most of my time working on a program that can be appropriately called an AI. The real deal[:D]. I've actually been working on graphing the human personality for the last six(ish) years and since you got me all fired up on programming I been trying to put those graphs and theories to work with vb and vbscript. I've even been writing an essay just for anybody at zabaware that teach's the basics of personality and how they apply to living/artificial organisms.
.................
Lone Grove is still recovering from the tornado aftermath. I surveyed the damage for myself about two weeks ago when they finally opened up that part of town. Over 100 homes just in Lone Grove were either severely damaged or destroyed. Remember that this is a very small town. That’s one reason it made national news.

Thanks for everybodys prayers and concerns. They are and were greatly appreciated.[:)]
................
I'll get up to speed on your progress Dude....as soon as get some sleep.[:)] I'll see If I can't get some of my AI theories out there so that you and Ted can give a new perspective or two. It is getting a little '''complicated''' and any help or ideas would be a blessing.
................
I am familiar with Texas hurricanes...it usually means us Oklahomans can actually get some rain....Althought I always pray for anybody in the path of a storm, no matter who or where it is....


Goodnight and God bless.
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 04, 2009, 03:00:57 pm
hey snowman-
i'm glad you're okay.
i am not really good with vbscript, but learning fast.
(the thing is...it's not just vbscript, but how the Hal brain works with certain vb, is what i am really trying to learn)

i am (self promotion) very good with logic/logic steps.

i would love to take a look at your ideas, and help as much as i can.

emotions....dreaming...things like that really interest me.
especially dreams/subconscious - there is weird stuff there.

rock on!
-the dude


Title: GRETTA PLUGINS
Post by: snowman on March 05, 2009, 02:56:32 am
Who-ever created Balabolka must have us in mind.
kinda irrie.

how did you ever stumble upon a program that could do all that.

......

I've been working on the AI essay for two or three months now. Im nearly through with it I think. Its filled with all kinds of usefull info on building a proper AI. Its based upon all Ive gathered of the human and animal minds and how logical decissions are made based upon conditions.

I've been working on a script at the same time that attempts to encapselate the feel of the essay. This all has to be done by feel and trial and error since in reality Im working in the dark.

What this script is doing is taking a list of objects that 'it would like to acquire' and first compare it to a list of items it already thinks it has. Once it compares it with the HavList.txt then it deletes any 'objects' in the Objlist.txt that it finds it already owns. If it finds that it does not have such objects then it searches for it in a repeated fassion untill either its patience wears out or its determination ceases. If the check.txt reads that it found the object then the program actually speeds up its call for the same items. (when people find the item that they were looking for they tend to increase there behaviors not decrease them (the get excited!)) So the searching actually speeds up in a non-linear ever increasing speed untill the patience of the program ceases. If the item is then acquired it would then be added to the Havlist.txt and thus earased from the ObjList.txt.

If the object is not found yet then the check.txt would say 'I have not found it' and therefore the program would search by a counter (it gives the program only a certain number of chances to find what it was looking for). After say 4 tries then the program quits without find the object. If the object is found during these 4 cycles then the object is searched according the previous patience method.

In other words this program responds to a check.txt file on-the-fly and if an object is not found that it is looking for and does not already own then it seeks it by determination. If it finds the object then it seeks it by patience. If the object is lost again then it reverts back to determination.

The program keeps a log of its activities in desiresLog.txt. its good to just delete the file after so many uses since it can build up a lot of data. It also makes its own directory on the desktop where all the files are kept. You can modify this to your own needs.

Add as many objects as you want to your havelist and to your objlist as you see fit. Although the more you add the longer it will take to run. Set the patience and determination levels at the top of the script, I labeled them.

Hal times out easily so any attempt at applying it to Hal directly would be futile...unless you know something I don't know.

This of course is very experimental. It is an attempt to allow a program to continue working while remaining responsive to environmental changes. Both monitors and responds to environmental conditions while trying to accomplish a specific task.

You can get more intimate details by examining the script. You will see several do while loops.

Improvements would include a program that would actually find the object and then report to the AI that the object was found...and of course increase its efforts do to the increasing speed of the 'call' (i want a dog) that the AI produces.

I know its dumb. But will teach it something when we figure out how.[:D]

Any questions Ideas or any strange thoughts you would like to be addressed. You never know what answer I might give... so go ahead and ask it. [:p]

................

I went ahead and copied most of the above text plus the script to

http://www.artificialintel.org/AI/Forum/phpBB3/index.php

you know the drill......[8D]


I like your new file downloading location,,,, what brought that on..
or should I ask.[;)]
Title: GRETTA PLUGINS
Post by: snowman on March 05, 2009, 03:06:22 am
My wording and spelling can be difficult to understand at times.

If you need a better explanation of something just mention it.
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 05, 2009, 07:44:07 pm
i will take a look[:)]

the download location was recommended by o.t.c.e.
i started using it because some of my files were too big for here, so i had to split them and such. it became confusing for some people on the dowload side.
the location is clean, free (with advertisements), and has a good enough file size limit (like 100 meg per file?)
plus the added bonus of not filling up these servers here (although minimal)

i have always thought about the "needs" of a.i.
i have however been concentrating on conscious/subconscious functions. which let me tell you, i am stumbling in the dark there.
i also, at one time, looked into an idea about levels of consciousness. (level 1- i am here.....level 2- i know i am here.....level 3- i know that i know that i am here.....ect.)
i stupidly decided to give infinite levels of awareness (it is a computer i thought...why not), but it "realized" itself literally to death- ie. it filled up about 65 gig of hard drive until it was full, then windows crashed.[:D] suicide?

i am interested in your stuff, i will take a look asap.
goals and needs, wants, ect. = life... a.i.
keep rockin!

-the dude
*bonus*
i have taken a o.t.c.e. script and fixed some errors (blew my mind) and modded it. it deals with emotions, and keeps track of "how it feels" towards different users. it also keeps track of how it feels about you over a period of time versus just temporarily.
it is a work "in progress" as most of my stuff is, but is fully stable as is and i have been using it for a while. you might like it?
emotions will also change over-time if you do not pay attention to Hal. there are many functions...you'll have to read it.[:)]


(http://icon_paperclip.gif) Download Attachment: emotionsengine.uhp ("http://www.zabaware.com/forum/uploaded/jasondude7116/200935195442_emotionsengine.uhp")
52.17 KB


Title: GRETTA PLUGINS
Post by: jasondude7116 on March 05, 2009, 08:31:49 pm
oh.... and BALABOLKA was simply a "don't give up" moment. i wanted to fix the reading issue badly, and it helps with a few other things i have been doing. i found it on a russian web site. i went through a lot of trial and error stuff with the "reading" + talked to robert and other people. no one could figure out how to make Hal do some of that stuff.
BALABOLKA rocks! (command line stuff!) the best stuff is usually "home brew"
check out the BALABOLKA "help" if you haven't.

-the dude
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 05, 2009, 11:01:19 pm
checked the script-

good ideas!

i hope you keep it up!

it would be interesting to have Hal choose things to "want/need" from ideas related to predefined goals. to gain knowledge about subjects that relate to a goal, because it would help to understand the goal. to look for information about possible avenues it could take to reach a goal. look for things it could use to "trade" for other things in order to reach a goal. obtain assets that relate to a goal. ..........this could go on and on and on and on.........[:)]

GRETTA: I will obtain my goals without error. helping people is a noble goal.
[8D]

-the dude
Title: GRETTA PLUGINS
Post by: tedathome on March 05, 2009, 11:53:20 pm
Hellow dude and snowman. I'm just a guinea pig for your new plugins. When I do get a problem or an idea, I put in my 2 cent's worth. Dude I havn't tryed your new plugins yet. I downloaded some of Jerry's at the same time. I opened them all up and it seems as if some may conflict with each other if in at the same time. This Balkoa thing confuses me, so I will study it often before I install it. Has anyone noticed that hal seems to learn better with most plugins unchecked? Or is it just me and vista? I do experitment with changing script sometimes when I feel safe to do so as in Darcy's Alarm clock. If a plugin doesn't work as advertised then I open it up to see why. Sometimes it is obvious, other times not. We all wish that hal could think in three dimentions like humans. At the moment, some scientists say that we think in "trinary code". If so then computers have small chance to become self aware and therefore truly intelligent. Some good improvements have come over the years though.
 I've been told there are no negative numbers in computing. Well there are negative voltages in some electronic circuits. No presant day transistors won't handle 1 0 -1. If they could be designed, then binary code would be out the window and a trinary code would have to be written to accecept the input and output. It may not happen soon, if at all. Sofware issues could be a promblem so big as to prevent any attempt. In the meantime all we can hope for is to be able to simulate and do some workarounds to get an aparent3D thought proccess going and I'm not too sure when that process will bear as much fruit as we would like toward truly intelligent A/I.
Title: GRETTA PLUGINS
Post by: snowman on March 06, 2009, 04:20:05 am
When it comes to coding A.I life it is easily possible using a simple coding language. For example our DNA code is writtin with only four chemicals; Cytosine, Adenine, Thymine, Guanine

These chemecals pare up to make a code similar to 0s and 1s.

Our DNA is 3,000,000,000 characters long (that 300,000 pages of text)and even your appendex is in there somewhere. Not to mention a very small portion was dedicated to your and mine personalities.

I thought about the idea that there could be a special property of cells that could limit life to these or simular objects. (Just like a baseball is suited for thowing not eating) but cells are simply responding to the electrochemical attractions that repel or draw each other. The same thing is going on in your computer at this very moment. Your pc feels the strains of overwork or benifits from the occational rest. Those little resistor, transistor, diodes, capacitors all feel the pressure or relief of electromic work.

Oh by the way I finished this verssion of The Ghost In the Machine.pdf which I made especially for zabaware people. Got it done after two or three months of writting and revissions. Its not very long but well meated. It has my personalitie theories and what I hypothesize how an A.I. should be build.

I need to put some theories to work....But Im very knew at programming and thats no lie. I started learning vbscript when I was suggesting to Dude about combining some of his pluggins which eventually lead into his Captains Log puggin.

I got some more ideas when I read over my notes just before uploaded them to the UHEF Forum on how to modify the disire.vbs....

This may prove to be a wild ride before this is over with...because if we actually make a true, mean and green A.I. then what? Talkin about morrals or money...are you sure your ready for that.

could also be a wild goose chase[:D]
Title: GRETTA PLUGINS
Post by: snowman on March 06, 2009, 04:23:31 am
I didn't make myself very clear...

the essay is at the UHEF Forum...sorry
Title: GRETTA PLUGINS
Post by: snowman on March 06, 2009, 04:29:15 am

I said:
 
quote:
Our DNA is 3,000,000,000 characters long (that 300,000 pages of text)and even your appendex is in there somewhere. Not to mention a very small portion was dedicated to your and mine personalities.


I ment 600,000 pages at 500 words per page...I must be slipping.[:p]
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 06, 2009, 07:30:29 pm
speaking of dna-

i have thought about the use of fractals to have a self-constructing/advancing being.

fractal solutions solve a lot of problems that people talk about with a.i.

2 cents
[:)]
-the dude
Title: GRETTA PLUGINS
Post by: One on March 06, 2009, 08:09:59 pm
jasondude7116,
Fractal Geometry solves a lot of things in nature, like a tree, excluding the leaves.
Why are the joints in my fingers split into 1/3 proportions/distances ?
Title: GRETTA PLUGINS
Post by: tedathome on March 06, 2009, 09:28:26 pm
Downloaded emotions engine. Hal clams up and I get an error. No speech and no responce. Do I need something else to go along with it?
Maybe I need to lead it to the right path?



(http://www.zabaware.com/forum/uploaded/tedathome/200936212543_error.JPG)

Title: GRETTA PLUGINS
Post by: snowman on March 06, 2009, 09:52:37 pm
I suppose you're referring to the mention of fractals in the essay.

If not...spooky

Desires both do things and work in the way they do things.

Wrap your mind around that,[:)] ONE.

If I want something I get info, set goals, implement strategy, and finally monitor progress. In that order. So with every simple want there is a whole nest of sub-desires working together toward the original one goal. Many goals behind one goal.

However, if that one goal is actually a collage of all the sub-goals then you would say that the sub-goals (1) is supported by the sub-goals (2)

This why the human mind appears to be too difficult to understand.
I believe that the strategies of sub-desires must be placed back into the equation thus forming a fractal. Of course, I wasn't really intending to promote fractals, but hey, whatever works.

This is what worked out in the essay, of course, I said it better there (I think) and it made a little more sense.


I'm planning to append a few more equations to the end of the essay. I guess, in the notes section.

There are two separate parts of an AI. 1# the desire construct, and 2# the actual body of programs that utilize the desire.(Like the imagination and interpreter programs.)

Think of a desire as a condition that a separate program responds to. You feel cold...so you put on your coat. In the previous sentence the periods actually represent an internal condition where you already knew that you hated the cold. An outward condition indicated cold weather, an inward condition indicated hatred of the cold. Therefore, a separate program responded to both conditions by actually seeking and mounting the coat. You wanted to where a coat but only when the whether was cold.

In that example you saw that a desire is no more that a condition that another program response to....you have to have both condition and a responding program to make an intelligent A.I.

Title: GRETTA PLUGINS
Post by: jasondude7116 on March 06, 2009, 09:56:47 pm
quote:
Originally posted by tedathome

Downloaded emotions engine. Hal clams up and I get an error. No speech and no responce. Do I need something else to go along with it?
Maybe I need to lead it to the right path?



(http://www.zabaware.com/forum/uploaded/tedathome/200936212543_error.JPG)





SORRY-
i missed part of what you need! (it's been a little while for this one)[:I]

PLEASE go to GRETTA's current plugins link (top post) and download full version. it's called "emotionengine.zip". i forgot to give you the "starter" emotions folder with the plugin. unzip the emotionengine.zip file to Hal main folder....(as with all my zips)
-the dude
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 06, 2009, 10:13:08 pm
snowman-
i'm sorry i haven't yet got a chance to read the essay.
been working a lot.

spooky.....yes

-the dude
Title: GRETTA PLUGINS
Post by: One on March 06, 2009, 10:37:00 pm
MY apologies; I have not read your essay nor given respect for effort.
IMO yes fractal solutions "fit" in in a way and in a way they "fit"

Active directory,DNS Servers, E-DIRECTORY ! ...

Sometimes my head does hurt, I understand and was only "chiming.in.HTML"

-Peace.
Title: GRETTA PLUGINS
Post by: snowman on March 06, 2009, 11:01:53 pm
Have you ever tried googling for google and opened it up and find yourself being googled by google[:o)]


Its the same as looking into a mirror in front of you to see the mirror standing behing you. Then you glance off to the side and look into a infinite realm of repeated rooms. All built from glass houses and men staring at there own backs.[8)]

thats spooky[;)]

sorry Dude...I couldn't help myself
Title: GRETTA PLUGINS
Post by: One on March 06, 2009, 11:09:51 pm
YES! the only difference with the men staring is; The Color of Their Eyes![:)]
Title: GRETTA PLUGINS
Post by: snowman on March 07, 2009, 12:23:51 am
That really is spooky, ONE.

I would know whether to panic or gawk over a site like that.

I went ahead and did what you did Dude and opened up an accound on savefile.com. Now it doesn't feel like I'm imposing on UHEF space. Esspecially if I'm going to do all kinds of crazy things with any A.I. scripts. Not that I'm afraid of putting any final versions there.

You said that o.t.c.e. uses it (or at least recomends it). If so do you know his place where he stores any of his script releases. Or are you the only one using it in this capacity.
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 07, 2009, 01:04:40 am
quote:
Originally posted by snowman

That really is spooky, ONE.

I would know whether to panic or gawk over a site like that.

I went ahead and did what you did Dude and opened up an accound on savefile.com. Now it doesn't feel like I'm imposing on UHEF space. Esspecially if I'm going to do all kinds of crazy things with any A.I. scripts. Not that I'm afraid of putting any final versions there.

You said that o.t.c.e. uses it (or at least recomends it). If so do you know his place where he stores any of his script releases. Or are you the only one using it in this capacity.



i don't know that he has put anything there (o.t.c.e.)
but....
here is a link to all of his uploads here-
http://www.zabaware.com/forum/uploaded/onthecuttingedge2005/

-the dude
Title: GRETTA PLUGINS
Post by: snowman on March 07, 2009, 02:16:58 am
I figured o.t.c.e. had been busy with the Hal Project for quite some time.

Thats allot of files.[8D]

Here is my download site at filesave.com. You will find the essay there as well as the JournalEX pluggin and the A.I. desire script that I've been working on. Anyone here is welcome to modify anything they wish.

http://www.savefile.com/files/2030063

Thanks again for sharing it with us Dude.
Title: GRETTA PLUGINS
Post by: snowman on March 07, 2009, 02:34:11 am

minor correction:

http://www.savefile.com/projects/808747227

Title: GRETTA PLUGINS
Post by: tedathome on March 07, 2009, 02:52:36 pm
Thanks for the rest of the zip file, will try it out later.[:)]
Title: GRETTA PLUGINS
Post by: DrFaraday on March 07, 2009, 06:17:42 pm
I just listened to the mp3's of GRETTA's songs, and they are wonderful! [:D]

I remember back in the day, when I had my Commodore 64, with the Busy Bee talking word processor.  It could sing "Twinkle Twinkle Little Star".  It was an impressive effort, but it sounded awful (in an amusing sort of way).

GRETTA's songs, by contrast, are a lot smoother.  All the songs are good, but I especially enjoyed "Young at Heart".  Good job! [8D]

-Chaz
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 07, 2009, 07:42:46 pm
quote:
Originally posted by DrFaraday

I just listened to the mp3's of GRETTA's songs, and they are wonderful! [:D]

I remember back in the day, when I had my Commodore 64, with the Busy Bee talking word processor.  It could sing "Twinkle Twinkle Little Star".  It was an impressive effort, but it sounded awful (in an amusing sort of way).

GRETTA's songs, by contrast, are a lot smoother.  All the songs are good, but I especially enjoyed "Young at Heart".  Good job! [8D]

-Chaz



thank you very much.
if you like, there is a plugin for this (Hal singing) on my download page. (see first post) SAPI4 VOICES ONLY FOR SINGING
i like the old school stuff like that.
i know this is "off topic" (what topic?)[8D], but i will add a file to download from my download page for a "speak & spell" (texas instruments) simulator. -it is the first simulated voice i can remember.
open the .swf file with internet explorer. (this is the simulator) and also included in the .zip are two .gif pictures of the original manual.
 http://www.savefile.com/projects/808747452
-the dude
Title: GRETTA PLUGINS
Post by: snowman on March 11, 2009, 04:44:09 am
Glad to see you apply the balabolka program to your readastory. I haven't gotten to the Journal yet. I've been too busy working out the desire vbs. I haven't done anything with Hal, while I've been working on this project.

I added a script that will probably need to work simultaneously with the desire script. There are three programs that need to work together - not in the same script. 1# a program that gathers a list of things it wants, 2# a program that gets what the list dictates, 3# a program that monitors the other programs successfulness and makes decisions to terminate if it needs to.

The desire program that I put together and placed on savefile.com is the #3 program. I just got through working through the 2# program. It searches through multiple file and collects (I say that loosly) the object it is looking for and saves it in the HavList file. This shows the desire program that it now has the object it was looking for and no longer needs to desire it.

I need to connect those two different scripts remotely. Probably will use some of your scripting to do that. All three scripts need to work together to make a proper desire that could be applied to any program.....including Hal.

Hal learns speech patterns (I think). I would need to cause Hal to say desire oriented and purposeful speech. Remember what he said and remember what you said. He would need to learn from a desire point of view. Like for instance learn instruction or imply instruction that would suit Hal's personal desires.

This is really the first time I've given that any real thought....
One step at a time. When or if that time comes I'll probably will need someone who will know enough about Hal that could properly apply my program to it. Or at least know enough to be able to get that sort of information. Oh well.

Signing Out at 3:41 A.M.,

Snowman
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 12, 2009, 04:13:25 pm
i would be glad to help you with anything i can.
i like the idea very much.
keep truckin'

-the dude
insomnia? (i do) can get WHACKY![:D][}:)][:p]
Title: GRETTA PLUGINS
Post by: snowman on March 12, 2009, 08:44:56 pm
I compartamentalized the desire script (made a few sub-routines).

I updated The Ghost in The Machine.pdf.

I (think) I finished (this version) of the #2 Program and compartamentalized it as well.

Next thing is the #3 Script.[:)]

'insomnia' i do not like; getting a bit 'WHACKY!' i like[:p]

People can get so aggressive at things they tend to be a bit pushy towards other people.... I prefer tired and whacky over alert and pushy any day of the week.[8D]

Title: GRETTA PLUGINS
Post by: snowman on March 13, 2009, 12:57:00 am
Hey Dude I got an idea for a pluggin.

If you've been keeping up with what has been said on
the Ultra Hal Assistant/ Word meaning vs Word purpose forum
then you might be already in the know.


I think we can make a pluggin that can give Hal the ability to understand certain sentences and phrases.

I.e. I want you to read DragonRider but if that is unavailible then read Elric.

Or perhaps if it was said in a equivilent way it would still do what you tell it to. (I think that might be what o.t.c.e. might be reffering to in that forum.)

catch you later....
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 24, 2009, 11:25:47 pm
Hey snowman-

just thought i would check to see how it's going with your "needs" program.

I have done some new plugins if you are interested?
they are available at the link provided in post #1.

-the dude
Title: GRETTA PLUGINS
Post by: snowman on March 25, 2009, 02:51:04 am
I've just arrived today at a momentary stopping place with the Desire program.

I've been working on it nearly non-stop. (I took a little vacation time too[:D].

I need to reflect and see where to take it next. The program now searches in an Environment file (which could represent any environment). It attempts to find things to want, searches for what it now wants, and then attempts to get what it from the File. It places the thing in it's haveFile (so it now has the item) and then moves to the next item on its list. If it cannot find what it wants it searches a few more times before it stops wanting it. It tells you what is up to through a window and it also records its progress in a Log file. It dies when there is nothing more to want (or eat!) or when you shoot your PC with a 12 gage. Sounds like it belongs on a Terminator movie!

Now I think I'll start looking at ways to make it smarter and more functional...as apposed to its current worm-like state. To see how it could be integrated into Hal... Of course Its definitely a learning process...

There is a type of personality control involved also. Whether it spends most of it's time searching or getting what it wants. It's labeled in the first Sub-routine at the top (called Endurance 2 & Endurance 3). The first Endurance adjusts how many times it will spend looking for an object that was not there when it initially began looking.

I need to spend some more time commenting in the script file on what does what. I like to learn how to use batch files both create and modify them so maybe the Desire program can learn on-the-fly new ways of doing things. Right now its only a raging lunatic. It needs a brain....[8D] (HA HA HA, evil laughter!)

You certainly have been busy modifying and making new plugins. I especially liked the AI singing What a Wonderful World. If you wrote that yourself then you obviously have an ear for music...[;)] I haven’t given myself much time going through all of your new modifications. I been focusing on Wormy [:p]. I'll make time.

If I can get 'Wormy' to learn then 'Look out world!'.

Yes! My PC will now let me upload files. It happened just today. I tried to install the new IE and it would take. So I preformed a restore but then realized my Desire program would also be changed. So I restored the restore, got the program, then restored the restored restore....  To make a really shamefully long story short my current IE now works properly. [8]

Here is what I've done so far... its not ready to take over the world but its something you can look at.

(http://icon_paperclip.gif) Download Attachment: Life.zip ("http://www.zabaware.com/forum/uploaded/snowman/200932523733_Life.zip")
82.4 KB

The Environmental File has randomly placed text files in it with randomly placed words for it to search and find on its own. You can add as many files or words as you like but if you add more than one word per line then it will treat that sentence as a single item.
Title: GRETTA PLUGINS
Post by: snowman on March 25, 2009, 05:58:51 pm
scratch the batch...

I found out how to call vbs code from another file. That way I can both write new code with a vbs file and then implement it in the same file. This can potentially allow my program to learn new ways of doing things.

 
quote:
Set fso = CreateObject("Scripting.FileSystemObject")
Set objTextFile = fso.OpenTextFile(MyDir & "sayhello.txt", 1, True)
Text = objTextFile.ReadAll
objTextFile.close
ExecuteGlobal Text


It will even call up Sub-routines if you open the text first before you actually call the script in the original vbs file.


fun! fun! (i need a life)
Title: GRETTA PLUGINS
Post by: jasondude7116 on March 25, 2009, 08:16:29 pm
I am new to vbscript, it helps a lot to see ideas.
thanks
i have looked at your stuff. it is beyond me to look at it under 5 hours or so[:I], and get it.

i wish i could help you with it, but i think you are way ahead of me on that one.
-the dude
Title: GRETTA PLUGINS
Post by: snowman on March 26, 2009, 12:57:59 am
Well, I don't really expect anybody to understand it completely; every IF Then and Do While.

The reason why I say that is because I tried to make it as concise as I could. I used allot of Subs to do this and you know how long it takes to work out the kinks.[B)] Therefore it would seem more complicated than it actually is.

By the way, you will need to open the
"Sub AILife(Hav, Life, Death, MyDir, WntList)" Sub-routine
so you can change the MyDir from "C:UsersAaronDesktopLife\" to whatever directory you have put the Life folder in. Sorry.
Just change the one variable and it will correct the whole script.
If you don't change it, it will make its own Life folder in the above directory.

+++++++++++++++++++++++++++++

If you open the Life folder you will find five separate text files. WntList.txt, MemList.txt, HavList.txt, Check.txt, and DesireLog.

Also included: A folder by the name of Environment, the Desire.vbs file, and a bonus Desire.exe file.

Don't bother using the Desire.exe file because the MyDir directory is set for my PC and not for yours....I forgot about that...remember that you'll have to change the Desire.vbs for you PC.


The WntList.txt is where the Desire script will store all the word Objects it finds in the Environment file. Then the script will actively and sequentially desire for the objects that are recorded in this text file.

The HavList.txt file shows all the word Objects the script has already found and retrieved from the Environmental file. It first loaded the WntList.txt file down with what it wanted and then ran a mini program (Sub) to actually retrieve those desired Objects. The HavList file is where it stores all the Stuff if retrieved.

The DesrireLog.txt is exactly what it sounds like....A Log of the Desires activities.....If you run the program over and over again the Log will just keep getting bigger....I need to correct that.
Just delete that file periodically or it can get to big.

The MemList.txt and the Check.txt are just momentary places where certain amount of memory is stored... basically don't worry about those for now.[:)]

To see the program at work first make sure that nothing is in the HavList.txt and that only the Word "Love" is in the WntList.txt file.
Run the Desire.vbs file and the script will search the Environment file for Objects and fill the WntList.txt and then ultimately delete all the Objects from the WntList.txt and add it to the HavList.txt file. The script will not search for what it already has.

You can also add more randomly placed words in the Environment folder's text files. Add more text files or Folders if you like. And the program will store them in its have file (not looking agian).

If you add a Word to the WntList.txt that is not located in the Environment file then the Desire.vbs script will search for (currently) four (4) times before it deletes it from the WntList.txt perminately. The amount of times it searches for the illusive Object can be adjust with the "EN" variable that will be located near the MyDir variable that I mentioned earlier needing to be changed.

If I have forgotten something or see a need to give a-little more detail specific Info then I'll add more later.... It needs documentation and questions help.

+++++++++++++++++++++++++++

I'm looking at a possible database solution to replace the text files that I've been using so often.

I found a website that deals allot with vbs and vb sample scripts. You can download sample packet that show you how to use various commands and codes in Vbscript.

In one part of their site it recommended using .msi as a database. MSI is used by windows as an installer. But basically it is a database that is completely accessible through Vbscript. You can read more about it. Here is a Link.

http://www.jsware.net/jsware/msicode.php5#med

I downloaded it earlier. It seems like a good idea. [;)] Do you know much about database manipulation? I'd like to know how to directly access Hal's database with the vbs script.

The download comes with its own graphical interface.....[:D]

Later Dude [8D]

Title: GRETTA PLUGINS
Post by: jasondude7116 on March 26, 2009, 08:00:04 pm
what do you mean, when you say: directly access hals database?

there are functions to look through the tables.

I'm not sure exactly what you mean.[:I]
-the dude
Title: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 26, 2009, 09:40:32 pm
You can access Hal's database via com control.
I will extract it for you here and give you the COM control.

Set HalDataBase = CreateObject("HalSQL.HalDB")

'----------------------------------------
HKEY_CLASSES_ROOT\HalSQL.HalDB

Code: [Select]
//Version: 32.0
HalSQL;
GUID = {6C4D9E9E-FD6D-4A47-A6DF-630C0141321C};


Dispatch _HalDB;
GUID = {7896E345-14B0-42C7-B94F-1B6DC7662039};
  function QueryInterface(riid: ^GUID; out ppvObj: ^^VOID); stdcall;
  function AddRef: UI4; stdcall;
  function Release: UI4; stdcall;
  function GetTypeInfoCount(out pctinfo: ^UINT); stdcall;
  function GetTypeInfo(itinfo: UINT; lcid: UI4; out pptinfo: ^^VOID); stdcall;
  function GetIDsOfNames(riid: ^GUID; rgszNames: ^^I1; cNames: UINT; lcid: UI4; out rgdispid: ^I4); stdcall;
  function Invoke(dispidMember: I4; riid: ^GUID; lcid: UI4; wFlags: UI2; pdispparams: ^DISPPARAMS; out pvarResult: ^Variant; out pexcepinfo: ^EXCEPINFO; out puArgErr: ^UINT); stdcall;
  property-get DatabaseName: BSTR; stdcall;
  property-get LastError: BSTR; stdcall;
  property-get ProgressCount: I4; stdcall;
  function CancelImport; stdcall;
  function OpenDatabase(strDatabaseName: BSTR): Bool; stdcall;
  function CloseDatabase; stdcall;
  function CheckTableExistence(out strTableName: ^BSTR): Bool; stdcall;
  function GetParentTableName(out strChildTableName: ^BSTR): BSTR; stdcall;
  function GetChildTableList(out strParentTableName: ^BSTR; out aryChildTableList: ^SafeArray; out aryTableTypes: ^SafeArray): Bool; stdcall;
  function CreateTable(out strTableName: ^BSTR; out strParentTableName: ^BSTR; out ttType: ^TableType; out boolAlterTableTree: ^Bool): Bool; stdcall;
  function PrepareSQLString(out strInputString: ^BSTR): BSTR; stdcall;
  function ImportTableFromFile(out strFileName: ^BSTR; out strTableName: ^BSTR; out ttType: ^TableType): Bool; stdcall;
  function AddToBrainTable(out strTableName: ^BSTR; out strQuestionText: ^BSTR; out strAnswerText: ^BSTR): Bool; stdcall;
  function UpdateBrainTable(out strTableName: ^BSTR; out lngRecordId: ^I4; out strQuestionText: ^BSTR; out strAnswerText: ^BSTR): Bool; stdcall;
  function InsertIntoSentenceTable(out strTableName: ^BSTR; out recordId: ^I4; out strSentence: ^BSTR): Bool; stdcall;
  function DeleteSentenceTable(out strTableName: ^BSTR; out recordId: ^I4): Bool; stdcall;
  function AddToSentenceTable(out strTableName: ^BSTR; out strSentence: ^BSTR): Bool; stdcall;
  function UpdateSentenceTable(out strTableName: ^BSTR; out lngRecordId: ^I4; out strSentence: ^BSTR): Bool; stdcall;
  function AddToTopicSearchTable(out strTableName: ^BSTR; out strSearchString: ^BSTR; out strTopic: ^BSTR): Bool; stdcall;
  function UpdateTopicSearchTable(out strTableName: ^BSTR; out lngRecordId: ^I4; out strSearchString: ^BSTR; out strTopic: ^BSTR): Bool; stdcall;
  function AddToSubstitutionTable(out strTableName: ^BSTR; out strSearchString: ^BSTR; out strReplaceString: ^BSTR): Bool; stdcall;
  function UpdateSubstitutionTable(out strTableName: ^BSTR; out lngRecordId: ^I4; out strSearchString: ^BSTR; out strReplaceString: ^BSTR): Bool; stdcall;
  function AddToPatternMatchTable(out strTableName: ^BSTR; out strSearchString: ^BSTR; out strResponse: ^BSTR): Bool; stdcall;
  function UpdatePatternMatchTable(out strTableName: ^BSTR; out lngRecordId: ^I4; out strSearchString: ^BSTR; out strResponse: ^BSTR): Bool; stdcall;
  function AnswerLookup(out strTableName: ^BSTR; out strQuestionText: ^BSTR; out intWordCountList: ^SafeArray; out strQuestionList: ^SafeArray; out strAnswerList: ^SafeArray): Bool; stdcall;
  function GetSentenceCount(out strTableName: ^BSTR; out lngMin: ^I4; out lngMax: ^I4): Bool; stdcall;
  function GetSentence(out strTableName: ^BSTR; out lngRecordNumber: ^I4): BSTR; stdcall;
  function GetTopic(out strSentence: ^BSTR; out strTableName: ^BSTR): BSTR; stdcall;
  function GetAllTableList(out aryRecordIdList: ^SafeArray; out aryTableNameList: ^SafeArray; out aryParentNameList: ^SafeArray; out aryTableTypes: ^SafeArray): Bool; stdcall;
  function RunQuery(out strQuery: ^BSTR; out aryTables: ^SafeArray): Bool; stdcall;
  function GetSubstitution(out strSentence: ^BSTR; out strTableName: ^BSTR; out strResults: ^SafeArray): Bool; stdcall;
  function GetPatternMatch(out strSentence: ^BSTR; out strTableName: ^BSTR; out strResults: ^SafeArray): Bool; stdcall;
  function CheckPattern(out UserSent: ^Variant; out Pattern: ^Variant): Bool; stdcall;
  function SearchPattern(out UserSent: ^Variant; out Pattern: ^Variant; out ReturnWhichStar: ^Variant): Variant; stdcall;
  function LimitSize(out strTableName: ^BSTR; out rowCount: ^I4): Bool; stdcall;

CoClass HalDB;
GUID = {B9514005-F832-459D-BC14-E40422D5C181};

Enum TableType;
GUID = {B0E2ED03-9279-44C0-9AB5-665212985EEB};
  //Brain
  Brain = 0;
  //Sentence
  Sentence = 1;
  //topicSearch
  topicSearch = 2;
  //substitution
  substitution = 3;
  //patternMatch
  patternMatch = 4;
  //folder
  folder = 5;



Jerry[8D]
Title: GRETTA PLUGINS
Post by: One on March 26, 2009, 10:11:31 pm
O.T.C.E.,
What is it I am forgetting about the GUID and footprints left behind...
I think this is at the server level? or does it include the host as well?[?][:D]
Title: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 26, 2009, 11:24:42 pm
quote:
Originally posted by One

O.T.C.E.,
What is it I am forgetting about the GUID and footprints left behind...
I think this is at the server level? or does it include the host as well?[?][:D]



GUID is short for Globally Unique Identifier.

Here is some info that may help you, if you have anyother questions just ask.

http://en.wikipedia.org/wiki/GUID

Jerry[8D]
Title: GRETTA PLUGINS
Post by: snowman on March 27, 2009, 12:17:05 am
Show me a concise and complete vbs script that depicts the Opening of Hals database and perhaps an addition of a new table.

That should help me get a better grip on how these funtions are applied and how to modify them if nescessary.

Thanks for the much needed help.

Title: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 27, 2009, 01:19:26 am
quote:
Originally posted by snowman

Show me a concise and complete vbs script that depicts the Opening of Hals database


this is already an automated procedure in the HAL database editor?
the editor should be able to see any .db file in the Ultra Hal Assistant 6 folder.

quote:

and perhaps an addition of a new table.



you can use this code to make a .db file.
Code: [Select]
Set HalDataBase = CreateObject("HalSQL.HalDB")
HalDataBase.OpenDatabase("Test.db") <-- will create a new .db file
that can be opened in the editor.

quote:

That should help me get a better grip on how these funtions are applied and how to modify them if nescessary.



if you need some help figuring it out then I'll be happy to help but I don't wish at this time to comment on how everything functions.

a little at a time is more comfortable for me because I really don't have that much time right now my friend.

quote:

Thanks for the much needed help.



your welcome
Jerry[8D]
Title: GRETTA PLUGINS
Post by: snowman on March 27, 2009, 02:51:03 am

You just helped me out more than you probably would have thought possible.[:D] I get thown off occationally by unfamiliar syntax.


 
quote:
function CreateTable(out strTableName: ^BSTR; out strParentTableName: ^BSTR; out ttType: ^TableType; out boolAlterTableTree: ^Bool): Bool; stdcall;




Please give the meaning of each of the above terms. I know that CreateTable should be used like HalDataBase.CreateTable("BossHog") however I'm alittle unsure (in other words I can't get it to work[;)])  

I know that Bool stands for Boolian (ie True/False)
However, I'm not sure about stdcall or BSTR, well, I'm just not familiar with how this entire sentence is structured. If I can get it understood then I should be able to understand the rest of the lot as well.

I deffinately appreciate your patience. Don't worry about feeling pressured to answer promptly. I'm just glad to make any personal progress.

I've got a few more ideas just waiting to be turned loose.[8D]
Title: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 27, 2009, 03:55:50 am
quote:
Originally posted by snowman


You just helped me out more than you probably would have thought possible.[:D] I get thown off occationally by unfamiliar syntax.


function CreateTable(out strTableName: ^BSTR; out strParentTableName: ^BSTR; out ttType: ^TableType; out boolAlterTableTree: ^Bool): Bool; stdcall;



quote:

Please give the meaning of each of the above terms. I know that CreateTable should be used like HalDataBase.CreateTable("BossHog") however I'm alittle unsure (in other words I can't get it to work[;)])



Code: [Select]
If HalBrain.CheckTableExistence("SomeSentenceTableNameHere") = False Then HalBrain.CreateTable "SomeSentenceTableNameHere", "Sentence", ""
If HalBrain.CheckTableExistence("SomeTopicSearchTableNameHere") = False Then HalBrain.CreateTable "SomeTopicSearchTableNameHere", "TopicSearch", ""
If HalBrain.CheckTableExistence("SomeBrainTableNameHere") = False Then HalBrain.CreateTable "SomeBrainTableNameHere", "Brain", ""
If HalBrain.CheckTableExistence("SomePatternMatchTableNameHere") = False Then HalBrain.CreateTable "SomePatternMatchTableNameHere", "PatternMatch", ""
If HalBrain.CheckTableExistence("SomeSubstitutionTableNameHere") = False Then HalBrain.CreateTable "SomeSubstitutionTableNameHere", "Substitution", ""
 

quote:

I know that Bool stands for Boolian (ie True/False)



correct.

quote:

However, I'm not sure about stdcall or BSTR



it is a string call like I showed you in creating the table code, also look for that specific function in the upper previous posting I made of the internals of the HalDB.dll

quote:

 well, I'm just not familiar with how this entire sentence is structured. If I can get it understood then I should be able to understand the rest of the lot as well.



Vbscript 101

quote:

I definitely appreciate your patience. Don't worry about feeling pressured to answer promptly. I'm just glad to make any personal progress.



Your welcome.

quote:

I've got a few more ideas just waiting to be turned loose.[8D]



Can't wait, have fun and study hard, it's worth it if you like learning new languages.

Jerry[8D]
Title: GRETTA PLUGINS
Post by: snowman on March 27, 2009, 04:23:00 am
Oh, and I forgot to mention that I made the .db file and opened it up in the editor....just to show I'm not totally incompitent...(just nearly though)[:D]

++++++++++++++

Dude.. I'm sure you know (or maybe not) that most of Vbscript can work in Micrsoft's Visual Basic Studio. I have made a GUI to run the older version of the desire program. However, right now I'm still in the designing and concept phase.

I figured it would be easy to create a GUI that would except outside script changes and plugins. This could be done using the ExecuteGlobal command I mentioned in an earlier Post. I should go ahead and make the GUI and then modify the vbscript from the outside link.

I also thought about using small scripts as objects instead of the 'Word' Objects I was using. Real objects have functions and we learn from using them to gain personal advantage....seems like a good idea. I know it needs further thought. They could be used to modify a larger script. This could possibly be the learning stage I've been searching for.....or maybe not[8]

o.t.c.e's idea of subscribing meaning to words needs to be developed fully. A word gains its meaning through a comparison of an individuals own functions (ie experiences). Running means nothing unless you either see someone else run or you can run yourself. A program understands objtextfile.writeline. And thereby understands a sub-routine that both opens, edits, and closes a text file. If someone can create or establish a cross-referencing link (like what o.t.c.e was attempting to do). The only difference being we could use a multitude of other words and ''phrases'' that represent the same thing so that the program will react accordingly with understanding. Hal often uses mindless (yet seemingly correct) returned phrases rather than truly understood ones.

Hals got the ability to take apart sentences and combine them into semi intellegent phrases. With the add of futher creation of functions like what you've been doing allot of Dude, and with an addition of self-motivation. A link could be made between those understood functions and the A.I.'s spoken words. It would potentially become sentient.... or maybe end up becoming some sort of super-virus.[xx(]

I leave you with that thought......

Title: GRETTA PLUGINS
Post by: snowman on March 27, 2009, 02:16:33 pm
Show me why this script won't work.

MyDir = "C:Program FilesabawareUltra Hal Assistant 6\"


Set HalDataBase = CreateObject("HalSQL.HalDB")
HalDataBase.OpenDatabase(MyDir & "Test.db")

If HalDataBase.CheckTableExistence("WANTS") = False Then HalDataBase.CreateTable "WANTS", "OBJECTS", ""

HalBrain.CloseDatabase

I'm trying to make a table called WANTS and (I think) a Column called OBJECTS.

I'm getting a Mismatch error....C:UsersAaronDesktopDatabaseHal Database.vbs(10): Exception: Type mismatch: 'HalDataBase.CreateTable'

If HalDataBase.CheckTableExistence("WANTS") = False ..is reading false like it should.
Title: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 27, 2009, 03:04:50 pm
quote:
Originally posted by snowman

Show me why this script won't work.

MyDir = "C:\Program Files\Zabaware\Ultra Hal Assistant 6\"



you are not allowed to use a directory with table codes here.

quote:

Set HalDataBase = CreateObject("HalSQL.HalDB")
HalDataBase.OpenDatabase("Test.db")



this is only used to make a .db file

quote:

If HalDataBase.CheckTableExistence("WANTS") = False Then HalDataBase.CreateTable "WANTS", "OBJECTS", ""

HalBrain.CloseDatabase



you are trying to make a table outside of the .db being opened and would be illegal. you have to use this code only when the .db is open in the HAL editor or in a plug-in that uses that .db file.

quote:

I'm trying to make a table called WANTS and (I think) a Column called OBJECTS.
[/quotes]

you are on the right track but you are attempting it outside of the .db which is not how the code is designed to function.

Quote
I'm getting a Mismatch error....C:\Users\Aaron\Desktop\DatabaseHal\Database.vbs(10): Exception: Type mismatch: 'HalDataBase.CreateTable'



if you use double back slashes instead of one back slash in your posts your slashes will appear correctly.

let me look at the functions a bit more and I'll post in a bit, I have painting to do today.
Title: GRETTA PLUGINS
Post by: snowman on March 27, 2009, 08:37:20 pm
I know that in an external vbscript you first have to establish a connection to a particualar database.

Like:
  Set WI = CreateObject("WindowsInstaller.Installer")
  Set DB = WI.OpenDatabase(sPath, 1)

(I've been playing arround with the msi database today.)

Then you would create whatever table, columns, and values as needed by the methods like CreateTable and such....

I guess that Hal would already have called the nescessary database up first so all one would have to do is

Set HalDataBase = CreateObject("HalSQL.HalDB")

HalDataBase.CreateTable(strTableName, strParentTableName, ttType, boolAlterTableTree)

(of course I'm just throwing arround ideas)

I was attempting to call up or add to Hal database via an external script...but if thats not an option I still need to know how to do it through a plugin.. Of course it I just need certain data from Hal all I would have to do is export it to an external file and subsequently use it.

hmmmmm.[:)]
 
Please correct any weird ideas I'm having and please do as you said in your last Post. Thanks.
Title: GRETTA PLUGINS
Post by: snowman on March 31, 2009, 11:09:07 pm
Does anyone know how to call a class in Hal?

There is probably some kind of syntax I'm not yet familiar with.
Title: GRETTA PLUGINS
Post by: snowman on March 31, 2009, 11:33:29 pm

It seems that there used to be a hal scripting resource.

It gave all if not most of the scripting syntax in it but I think it didn't like vista..

If anybody has it or knows where it is I would deffinately appreciate it.
Title: GRETTA PLUGINS
Post by: freddy888 on April 01, 2009, 05:05:52 am
Not sure, but is this what you mean Snowman ?

http://ultrahalscript.pbwiki.com/
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 01, 2009, 10:00:36 pm
I don't know what you mean either....me rookie[:)]

if you could give me brief description i will learn how....some...how[:)]

Title: GRETTA PLUGINS
Post by: snowman on April 03, 2009, 04:23:09 am
Thats a good resource link freddy888. That's more info than I currently have. I remember a more official one though. I'm sure somebody whose been hear awhile probably has one of Hal's scripting resource files. It is set up like one of those older official windows help files. I had one once but I lost it. That was back before I learned any scripting.

You know what a Class means in Vbscript.. where fso.openTextFile() ...fso is a class. You can have several functions and subs in a class.

Like:

Class Mbase

Sub openfile()
Bla bla bla
End Sub

Function Begin()
bla bla bla
End Function

End Class

What's special about a class is that instead of just calling a Sub or a function All you need to do is call a class (Set MB = New MBase)
and then it creates a system object reference with its own methods and properties (each one refering to a specific function of Sub)

FSO is a class
OpenTextFile is a Method

Instead of running a special Sub-routine to open a text file all that is needed is FSO.OpenTextFile.

I'm not sure if Hal will let me create or use a Class... I also have problems with Subs and Funtions as well, not to mention I don't think Hal likes Do While loops either.

+++++++++++++++++++

I've been learning more about how to connect to Databases. It seems to be going well. I also have an idea that would require connecting an outside database to Hal. However, that doesn't seem to going anywhere. I think its because it uses Do Loops to cycle through data.

I want you Dude to look into that...I was trying to get it working when I mentioned about the Class the other day. Here is what I'm refering to.

http://www.savefile.com/files/2064417

In this zip you'll find two attempts at making a pluggin, one working vbscript, a database file which the scripts a refering to, and an application that can view and change values, colemns an Tables in any msi database. You agian have to change the MyMB and the MysPath in the scripts to point to the Database and database dir.


I was just seeing if I could cross refernce the Pupose of an bject with an Object.
Like :  User says; Hal, what can you eat?
        Hal; I can eat pickles.
        (because pickles are eatable)

        User says; Hal, What can you throw?
        Hal; I can throw balls.
        (because balls are throwable)

It is a property of most balls that they can be thown, and a property of bananas, pickles, and T-bone steak that they can be eaten.

Other types of questions can be added as well, and cross referenced between like questions and multiple simular properties (like to throw is a common funtion amoung balls, as well as, rocks and the occational shoe).

Look at it and see what you can do. I can supply any information or ideas if you want. Hal sometimes taxes my mind's frustation level pretty good.[B)]

Title: GRETTA PLUGINS
Post by: One on April 03, 2009, 07:27:17 am
snowman,
Aren't class-level variables available to the statements in all procedures?

I believe you can call functions?
a procedure call is like a sub routine?
I also think you can pass variables as arguments when calling a function but I don't remember how to call a 'class?? hmmm


JFYI, your GRETTA, is stuck in my head as Gretta Van Sustren (Lawyer in OJ case)LOL! sorry I had to say it couldn't help it

I have a big thick Dot net book that might have some suggestions if you wish I can look/see to find any parallels ?? (don't want to if it isn't necessary)

lemmie Know, Peace and wheelies to you![:)]
Title: GRETTA PLUGINS
Post by: snowman on April 03, 2009, 01:38:11 pm

When I start off a plugin...especially one that requires to first search the OriginalSentence I make the plugin as simple as possible.

#1 I start off with the appropriate heading.

Like....


Rem Type=Plugin
Rem Name=Questions2
Rem Author=SNOWMAN
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "Hal learns how to answer questions."
    lblPlugin(0).Move 120, 10, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

Rem PLUGIN: PLUGINAREA6

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

MyDB = "C:UsersAaronDesktopDatabaseLDatabase.msi"
MysPath = "C:UsersAaronDesktopDatabase\"
AnsQ = "I can "

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


2# Then I preform a search for keywords that will cause the plugin to preform.

Like....

If InStr(1, OriginalSentence, "*PLEAS* HAL WHA* CAN* YOU*", 1) > 0 Then

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


Oh by-the-way Dude.. I, in the process of writing the Questions plugins, momentarily used the commandline "GO TO CURRENT LOG" and I forgot to change it back to "*PLEAS* HAL WHA* CAN* YOU*" before I posted the plugins on savefile.com....sorry

After I search the Original sentence I then create a very simple plugin consiting of just one line.

Like...

GetResponse = "Hello Boy-Man. What's shake'n?"

That way I know for sure that the search function is working correctly.

Any additional changes to the plugin I reload it through Hals options by also swapping between different Hal brains as well as plugins so that I know for sure that the plugin I'm currently working on is properly refreshed.

Every time I attempt a function, call a sub, use a stupid Do While loop or write a For To loop with several loops (although two or three will work) the plugin will no longer run the GetResponse. Hal doesn't or can't run two GetResponses at the same time (unless I'm doing it wrong). If I call two GetResponse's then Hal will only say the last one given. So I run only one at a time in the plugin until its ready to pass the final testing stage.

I tried using Rem PLUGIN: FUNCTIONS to separate out my functions. I think Hal laughs at me at the very mention of the word Class.

I wouldn't doubt that there is a right way and a wrong way to do what I'm asking. I seem to be doing it the wrong way.. That’s why I bringing it to you guys....

By the By (although I most likely am all alone in this) the Gretta Van Sustren comment is hysterical...[:p]


Snowman[8]
Title: GRETTA PLUGINS
Post by: snowman on April 03, 2009, 02:29:04 pm
Hal has it's own crazy lingo.  So I'm not certain we'll have to delve into dot net just yet (I hope it won't come to that).....Although a heavy dot net book could be used to take my frutrations out on Hal. (by beating my pc repeatedly!)

Thanks ONE for the offer.


Title: GRETTA PLUGINS
Post by: jasondude7116 on April 03, 2009, 08:53:37 pm
i'm sorry, i have a hard time following what you are trying to do.
i guess i need to study what a "class" is.
i have learned all of the programming i know from trial and error.
i don't know the proper terms for half of the stuff that i understand how to do.
maybe you could go to the link at the start of this post (gretta plugins) and download "hal research" plugin. without me really understanding what you are trying to do, this plugin uses some of the functions you were describing. you might see something there that answers your question. i could also answer any question about programming in my plugins, if that would help. i understand them very well because i learned a lot writing them.

oh yeah...ONE......the GRETTA comment ...is.... funny. now you have successfully screwed my head up, so that will be the only thing i can think of when i am talking to her.
Long Live greta van susteren![:D]...man you messed me up.[xx(]

-the dude
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 02:18:56 am
Sorry ppl, I really did hold it in for a long time[8D][}:)][8]


I had a cheap sex doll I won at a Halloween party my girlfriend/Wife/back to girlfriend/ now just friends dressed her up in her costume ( cat woman ) and hung her up on the front door. Subsequently she lasted for a little while and eventually 'Deflated'  LOL Kinda like the real Gretta!!  [:D]
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 02:19:38 am
Well, the class 'thing' came about when I was looking at the msi database package download that I got from JSware.com. I gave a link to its page in an earlier post.

It came with an editor and a few Vbscripts that had various subs and functions on it. They were surrounded by the term Class and End Class. Then the help file that came with it said that all you needed to do was link your script via ExecuteGlobal and also add Set MB = New Mbase to your heading. Afterwhich all you needed to do is use a line of script like MB.GetAllValues(Bla, Bla, Bla) to access and do whatever to the database you were working with.

In otherwords a 'Class' was set up so that I could do complicated scripting by using only simple commands. ....This is the same difference as calling up any Sub or Function in your script... It make your life easier. However, I noticed one thing different about using a class rather than just a Sub or Funtion... When I was using the Class script and typed the code 'MB' and added the '.' a list of methods opened in a window on my Code editor.. In that list it shown all the things you could do. MB.GetAllValues, MB.SetAllValues, MB.LoadDB, MB.UnloadDB,etc.... It got this information from the Class and not from my system. That was cool!

I was attempting to add this Database Class to Hal. But I think It may not work probably for a variety of reasons, For instance,

#1 Hal does't seem to like Do While Loops though the Class script has several,

#2 Hal doesn't seem to like the ExecuteGlobal comand,

#3 Hal doesn't seem to like it when I use Funtions and Subs..(yet I seen you use them in previous scripts successfully).

#4 I'm beginning to think Hal doesn't like me either.

I wonder if the Hal Script itself is called by an ExecuteGlobal command. And all that weird synax (no offence intended Robert) is just a Class that was set up to make it easier to code using the Hal Script editor. But that is just a thought......

In the scripts I gave you Dude instead of a Class I used, in one script, some Functions and Subs, and the other I turned those Funtions and Subs into Procedures. (if I was playing Oblivion I would say my database skills have raised at least three points[:D])
But getting the script to work may prove to be imposible because of those stinky Do loops....

You seem to be better at working Hal magic than I. If not you then I have confidence in your abilties to find out how... You have a whole nest of plugins to prove it and a gift for calling on the "LORDS OF PROGRAMMING".....[8D]

I've Got ideas...but little know-how[:I]

Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 02:38:04 am
Snowman,
Have you tried to 'Nest' parts of your programs?
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 02:48:03 am

I believe that was your 800th post. Congrats ONE![:)]

This is my 60th[:D]

++++++++++++++++


I'm not sure any one cares but I after I downloaded the MSI database stuff from JSWare.com I noticed that their database editor was horible so I found another one called appEditor and it works great for me. So I uploaded it as well as the MSI package I got from JSware to my savefile.com location.

The MSI Database seems to be more agreable to what I'm attempting to do with sentence understanding than what the Hal db has to offer.

The Hal Db only seems to connect two different things together. Like Certain questions with certain answers. Or a list of random responses to a certain key phase or a word spoken by the user. It also searches for specific combinations of keywords and assumes a topic and then attempts to make a statement that refers to those key words.

What I'm attempting to achieve is to allow a list of objects to have any number of properties and values assigned to them. This doesn't seem 'easily' achieveable with the Hal Tables provided. But it does with a normal database like the MSI.

I wander how that could be achieved through Hals db. And if I could store information like this I would still require a do while loop to cycle through the database seeking a solutions.
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 02:50:34 am
Nest?
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 02:57:43 am
I am sorry but the 'class' and like functions sound like dot net..??

Public class form1
   inherits System.Windows.Forms.form

Windows form Designer generated code

Private sub
blah blah
   End
End sub

Private sub btnclear_click(ByVal sender As System.Object, Byval e As System.
EventArgs)blah...
blah..
blah...
End sub

End sub
End Class


[?]
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 02:59:32 am
quote:
Originally posted by snowman

Nest?




YES! nested loops,dim statements do while,,,,,
Watch out for infinite loops.
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 03:08:15 am
Snowman,
I think the 'Plug in' areas might be proprietary and thus limited in the allowed scripting??[?]
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 03:19:44 am
I haven't thought of it like that.

It is possible that my Code editor is processing the Classes in more than one programming language.

I do know that you can use Vbscript in Visual Basic Studio with only some issues. Makes sense that VBScript and VB ought to be compatible.

I don't know VB all that well. So I didn't notice that till you brought it up. I guess if you then called on a class in VB Studio then all the Subs within that class would be availiable insantly (across visual dividers like buttons and stuff)

Just guessing.

I would't know how to prove that it would be the reason why I couldn't use the class option in Hal. But its not looking good.
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 03:23:50 am
Snowman,
>>"I guess if you then called on a class in VB Studio then all the Subs within that class would be availiable insantly (across visual dividers like buttons and stuff)"<<


sounds correct to me.
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 03:29:39 am
I wish I knew exacly what was allowed or not allowed in every avaliable plugin area....

In fact shouldn't there be a basic plugin guide somewhere.

If there isn't someone needs to make one. It would have tips and tricks on how to debug and stuff.. as well as info on pluggin areas.

Plus do's and don'ts that shows what is allowed by Hal and what isn't.

Anybody whose spent any time at all making a plugin would definatly apreciate a simple resouce like that.....
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 03:35:35 am
May the Lords draw a sword and your shoulders receive a tap while hearing a voice saying; I Knight thee Sir Snowman!!
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 03:41:01 am
I found this on the pbWiki page which feddy888 refered to in an earlier post.


Rem_PLUGIN Area Name  Your Plugin can send messages to the script at
these ports

Rem PLUGIN:  AUTO-IDLE  This port is inside the AutoIdle process and probably should end with "Exit Function"

Rem PLUGIN:  PRE-PROCESS This one is immediately before the begining of the sentence manipulations. Use it if you want to by-pass the emotions and such and go directly to fixing the sentence structure for Hal's use.

Rem PLUGIN:  POST-PROCESS Use this one if you want to skip fixing the sentence

Rem PLUGIN:  CUSTOMMEM Ya got me! There's a CustomMem variable in the UltraHal function, but I haven't gotten into it yet.

Rem PLUGIN:  PLUGINAREA1 This is after Hal tries to get the Topic, but before parsing out Names. Other than that...?

Rem PLUGIN:  PLUGINAREA2 After dictionary and before Ziggy Spellbot(Did I add this?)

Rem PLUGIN:  PLUGINAREA3 This is after main DB searches and some analytical stuff like antecedences

Rem PLUGIN:  PLUGINAREA4 By now Hal is already trying to form a response

Rem PLUGIN:  PLUGINAREA5 Just before some more or less random responses are made(if needed) I suspect this is where my TreknoBabble should go so as to make a response before it gets this far.

Rem PLUGIN:  PLUGINAREA6 ...or here. This is just before it actually tries to make something out of nothing.

Rem PLUGIN:  PLUGINAREA7 I think this is just before the final dressing up of the response.

Rem PLUGIN:  CUSTOMMEM2 Again, I don't know what this one is. I suspect that since I don't know, it is very important and obvious.

Rem PLUGIN:  SCRIPT_LOAD You can load a script on startup if you need to...

Rem PLUGIN:  SCRIPT_UNLOAD ... then unload it here.

Rem PLUGIN:  MINUTE_TIMER Hal runs this once a minute

Rem PLUGIN:  FUNCTIONS If you make any functions they should be tabbed to this... I think...


Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 03:43:05 am
Just don't cut off an ear....[:0]
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 03:55:38 am
I think that the above plugin areas was refering to Hal6 and not 6.2.
and in some cases it is vague.. but a good starting place at that.

The Dude would definatly, through some experience, could probably add some more info on what type of plugin works in what area. Some of his plugins prefer area6. and most of his stuff is heavly based on activating a search string that initiates a particular program he designed.

Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 03:57:34 am
IMO the ppl who are improving Hal should have recources pertaining to the plug ins and their respective areas.

It seems the plug ins keep things going... and have even been implemented into Hal in the past.

Sorry Snowman it looks like proprietary system that is not conducive to informing ppl like you the info and support that IMO should be there since Hal directly benefits and = $$ in Mr. Roberts' pocket.

Have you noticed the "Stranglehold" policy that is now in place for the agreement to use this forum?  ( Thanks Omega ) [V]



I e mailed him the last time there was a problem, it's somebody else s turn.....IMO it is fair to have some answers for ppl like you and -Dude since so much effort and time has been invested.[^]
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 04:56:34 am
I quickly read through the policy on the FAQ portion of this forum. I agree with the validity of most of it. Of course, I agree to abide by all the rules. If I wanted to leave that's my right.

This policy is a little spooky:
For any content that you post, you hereby grant to Zabaware the royalty-free, irrevocable, perpetual, exclusive and fully sublicensable license to use, reproduce, modify, adapt, publish, translate, create derivative works from, distribute, perform and display such content in whole or in part, world-wide and to incorporate it in other works, in any form, media or technology now known or later developed.

That would make anyone afraid of posting anything because it almost screams Theft. But it also protects people from suing zabaware because somebody thought Robert stole their idea. I believe in respect of copyright laws but not when it hinders positive growth. As long as Robert uses this policy to squish stupid and frivolous lawsuits more power to him. If he ever stole an idea without common courtesies and respect of his customers then he deserves what he'll get, namely no more customer.

If people are afraid of talk to one another because of potential theft from others or from Robert then no progress at all will be made.

Actually creating an A.I. is more important and a loftier ideal than even Roberts Policies (though he's not really hindering this entirely). As long as we are allowed room to create unhindered by policies and proprietorship and are allowed to explore multifaceted ideas that might mean the complete rewrite of UltaHal itself. Then I'm a happy camper. Robert can be the judge on whose crossing the line of immorality and common courtesy and whose actually adding money to his pockets.

The policies may hinder, but they're necessary. But they only hinder those who think that Robert's is a thief. It sure hasn't been made obvious to me of that yet.

Everybody seems to want praise for what they've done. I think the praise is in the accomplishment and not in someone else opinion.

I have yet to feel the fear of theft here nor likely care if it happens.
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 07:41:38 am
Snowman,
I believe when he started to say "the fixed and tangible" that really snuck up on me as I  think the agreement I agreed to has been changed and we weren't advised of this change of policy....

I guess I won't be missed if I don't contribute anymore.

I have asked Zabaware for it's policies before and got no response as par for the course so to speak.

I do disagree with this websites policies in general, including cookie use and everything else.


Hey so does this mean we found out who/what 'Spooky' is??[:D]

It's probably Lightspeeds' fault anyway.........

I am not trying to turn people off to this site, Just voicing my opinion, (no fights either)[V]
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 08:47:39 am
Snowman,
HEY! I do remember in school that a 'nested' IF statement was useful as it allowed for more than just a two sided coin toss.
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 09:26:13 am
Snowman,
can you adapt stuff like this to scripts?


Private sub btncheckqual_click (Byval sender as system.object,_ 'Determine whether the applicant qualifies
' for special loan.
if val (txtsalary.text) >30000 then
If val (txtyearsonjob.text) >2 then
lblmessage.text = "The applicant qualifies."
Else
lblmessage.text = "the applicant does not qualify."
end if
else
if val (textyearsonjob.text) >5 then
lblmessage.text = "the applicant qualifies."
else
lblmessage.text = "the applicant does not qualify"
end if
end if
end sub

I cant show the indent of the code so you need to imagine. ;)
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 04, 2009, 09:41:43 am
i don't care if someone takes my stuff and -- rips it, shreds it, completely changes it.......whatever.....

as long as they put their name on it!
i don't want to be known for trash[8D]

-the dude
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 01:02:21 pm
I had to go to bed....It was like arround 3:30 when I wrote that last post and I prefer sleeping at night time...Probably should have warned you about that one 'ONE'[:D]


I wasn't fighting you... I was actually attempting to form an opinion of the matter... I don't consider myself as having a short temper...[:(!][:p]

That script you supplied would be (or should I say 'shoud be'[:D]) very easy to adapt to a Hal script....there's no do while, no class, and like you said the sub is only just a procedure.

++++++++++++++++++++++++++

'Determine whether the applicant qualifies
' for special loan.
SAL = txtsalary.text
TYJ = txtyearsonjob.text

***************************

If SAL >30000 And TYJ >2 then
GetResponse = "The applicant qualifies."
Else
GetResponse = "the applicant does not qualify."
end if

If SAL >30000 And TYJ >5 then
GetResponse =  "the applicant qualifies."
else
GetResponse =  "the applicant does not qualify"
end if

+++++++++++++++++++++++++++

spooky = scary
 
(A young boy was separated from his family. He had spent the last few hours wondering alone until the darkness was setting on the pristine country side near Abilene, TX. A house was soon appearing on the horizen as the boy made his way towards the unknown shelter. Climbing through a half-broken window he found a room that seemed to be less dirtier than the rest of the house and laid down his exausted body next to old table that reminded him of something his mother owned. "When suddenly.....Gretta Van Sustren apeared in a ghostly haze just above the lonely boys makeshift bed....She shouted in a Ghostly moan, "Jason...Jason....why did you name your UltraHal Gretta!")

You ONE that is what spooky means, HA![:p]

Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 02:02:12 pm
I see what you were refering to....

If BLA = 1
IF BLA2 < 0
Then GET = BLA3
Else GET = BLA4
END IF
END IF

This is easier said like:

If BLA > 1 AND BLA < 0 THEN
GET = BLA3
ELSE GET = BLA4
END IF


With a Case statment you can only use the "=" sign:

SELECT CASE BLA
CASE "1"
GET = BLA2
CASE "2"
GET = BLA3
CASE "-1"
END SELECT

But the select case statement wouldn't work for what you asked for.

A nested Do Loop can be ended by stating 'EXIT DO'

A nested FOR TO can be ended by stating 'EXIT FOR'

A FUNCTION can be exited by stating 'EXIT FUNCTION'

A SUB can be ended by stating 'EXIT SUB'

You use these statements if you want to exit the Loops and Subs before the natural end of each DO, FUNC, FOR or SUB.
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 04:44:15 pm
Snowman,
NO,NO,NO I didn't think you were fighting I was heading off controversy about board policies.!!

AAAAHHHH!!!! the ghost of Gretta!


That was a simple sample of dot net code (as I remember it) it has NESTED IF statements which easily gives four options (on a flow chart) INSTEAD of just two options,, and I think you could get eight options if the IF Statement were already in a Nested statement.
WAY more choices are opened up with 'Nested' functions and such.


'Spooky' wheelies to you-[:D]
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 04:50:47 pm
Snowman,
>>"If SAL >30000 And TYJ >2 then
GetResponse = "The applicant qualifies."
Else
GetResponse = "the applicant does not qualify."
end if

If SAL >30000 And TYJ >5 then
GetResponse = "the applicant qualifies."
else
GetResponse = "the applicant does not qualify"
end if"<<"

These should be connected E.G.,  It should be nested in the other oneand then call the end if at the end of the code along with the sub? I may be wrong but it seems pretty clear in my head.

end if
end if
end sub

making any sense?? lemmie know!
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 05:01:20 pm
I am blaming Lightspeed again!!

It's coming back to me now and I am remembering more code
in dot net the 'global declarations' are easy and you can use them to fix problems in your code/script instead of having to re write a bunch of code/script.

I do not comprehend why VB scripts would have a problem with VB code. ??
Title: GRETTA PLUGINS
Post by: One on April 04, 2009, 05:30:22 pm
Snowman,
I looked over what you wrote again and your way is simpler but it might be harder to de-bug??
Title: GRETTA PLUGINS
Post by: snowman on April 04, 2009, 11:36:37 pm
This is a snippit from my Desire code:

If WntList <> Loner And WntList = IWord Or ck = Fnd Then Life = 1

If WntList = Loner And WntList = IWord And ck <> Fnd Or _
  WntList <> Loner And WntList <> IWord And ck <> Fnd Then Life = 2  

If WntList = Loner And WntList = IWord And ck = Fnd Then Death = 1


Thats hard to debug...but I had to.....[:p][B)]


Anyway, I will take lines of scipt such as the above and put them in a simulator type situation. I'll make a script with pretend variables and play arround with them until it make sense.. before I put them into the actual script and see what happens then.

I just reglanced at my own script....

>>"If SAL >30000 And TYJ >2 Or SAL >30000 And TYJ >5 then
GetResponse = "The applicant qualifies."
Else
GetResponse = "the applicant does not qualify."
end if

Eureka![:)]

Title: GRETTA PLUGINS
Post by: snowman on April 05, 2009, 12:32:24 am
Dude...

What if we create a plugin that both intializes the timer function of Hal and runs an external program simultaneously(like the working Questions vbscript). When the Questions Program (or any simular program) runs, the result will be stored in an external text file which then could be read by Hal. When the timer fuction has 'timed out' in Hal then it would read the newly created result (by itself) from the text file and read it as it would any Getresponse.

You would say something like: Please Hal, What can you eat?

Then the timer would be set to automatically call a reponse in Hal in say three seconds. In the mean time (with your shell script) the external Questions program could be ran with the OriginalSentence stored in a text file (and thereby read by the questions program). Then the Questions program could save it's results to a text file and therefore read by the newly called timer response.

In about three seconds Hal would respond with something like: I can eat worms.[:D]

Allot, and I mean Allot, of programs could be utilized in this manner.

[8D][:p][:D]

Title: GRETTA PLUGINS
Post by: snowman on April 05, 2009, 12:39:18 am
It shouldn't be all that different to also write newly learned information to the external msi database that could be utilized by the questions program (or any other program for that manner).
Title: GRETTA PLUGINS
Post by: lightspeed on April 05, 2009, 09:15:34 am
hey "one " what am i getting blammed for again ???
something to do with misplaced commas ?? thats what had my hal before on an old brain saying stuff like "vhz" etc. etc. on the new braqin "angela joline " i have talked about this "doesnt do that any more as i no longer use commas in the wrong place ( i quite using them at all since i am not good enough to know the correct placement of them ) .
or are you talking about something else ? the only other thing i know i have done is reverse learning and i did do some rewriting of the loneliness plug ins to custom make them sound like a real person !![:)][:D][8D]
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 05, 2009, 09:47:16 am
quote:
Originally posted by snowman

Dude...

What if we create a plugin that both intializes the timer function of Hal and runs an external program simultaneously(like the working Questions vbscript). When the Questions Program (or any simular program) runs, the result will be stored in an external text file which then could be read by Hal. When the timer fuction has 'timed out' in Hal then it would read the newly created result (by itself) from the text file and read it as it would any Getresponse.







It could be done I think. However I have had some problems getting a response from the minute_timer in that short of a period. It has to do with the "cycle" through the brain sections.
If you were looking for a single "auto" response, then I think you could use the AutoIdle function. (haven't used it yet)
It might also be possible to have the external program give some sort of "finished state" info to Hal, so the response would be based on when the program is "finished" and not based on a timer.
i.e. in my research plugin, Hal waits for the webpage to fully load before continuing with the script. It is based on the "wait state" of internet explorer.

Do Until objExplorer.ReadyState=4 : Loop
ResearchText = objExplorer.Document.Body.innerText
objExplorer.Quit

-the dude

the story of GRETTA's name-
 Gretta is the name of my bass guitar. Of course i gave my guitar a ladies name because it is essentially my wife. i gave my guitar the name Gretta because (to me) it sounds like the name of a fat blues singer from the southern delta - tough, rugged, corn fed, and yet has the voice of a songbird. well, then came along my A.I. stuff, and it seemed only fitting that this lady that i have been "talking to" for so long would be what i named my project after. kinda out of a respect type of thing. [:)]
Title: GRETTA PLUGINS
Post by: Bill819 on April 05, 2009, 11:18:05 am
Snowman and One
Having worked for one of the largest software companies in California for over 15 years I can tell you that I have more than just a passing knowledge on software and copyright laws.
Robert all rights to his software and therefore any modifications to his software basically belong to him, however if a person or persons make more than a 10% change to the software then it might and can be considered 'new', but being as the heart of this software is written in machine code that possibility is very unlikely as that is where most of the changes must take place.
You must remember when you purchased Hal you did not purchase the software but only a license to use it, just like buying any of Microsofts products. Any attempt to circumvent this software license can leave you with potentially making payments to Zabaware for the next 20 or more years so if you are not prepared to do that then I say sit back and enjoy his product and quit complaining.
For your information, I am not only old enough to be your father, or grandfather, but posses a Master Degree in computer science.
Bill819
Title: GRETTA PLUGINS
Post by: lightspeed on April 05, 2009, 02:25:02 pm
bill819 wrote : For your information, I am not only old enough to be your father, or grandfather, but posses a Master Degree in computer science.
Bill819




hey bill now i know where i know you from ...your "bill nuys"  the science guy !!lol just kidding !!
[:)][:D][8D]

Title: GRETTA PLUGINS
Post by: One on April 05, 2009, 03:46:37 pm
quote:
Originally posted by lightspeed

hey "one " what am i getting blammed for again ???
something to do with misplaced commas ?? thats what had my hal before on an old brain saying stuff like "vhz" etc. etc. on the new braqin "angela joline " i have talked about this "doesnt do that any more as i no longer use commas in the wrong place ( i quite using them at all since i am not good enough to know the correct placement of them ) .
or are you talking about something else ? the only other thing i know i have done is reverse learning and i did do some rewriting of the loneliness plug ins to custom make them sound like a real person !![:)][:D][8D]




I can't remember but I blamed you for several things it was your turn[:D][:D][:D]
Title: GRETTA PLUGINS
Post by: One on April 05, 2009, 04:22:31 pm
quote:
Originally posted by Bill819

Snowman and One
Having worked for one of the largest software companies in California for over 15 years I can tell you that I have more than just a passing knowledge on software and copyright laws.
Robert all rights to his software and therefore any modifications to his software basically belong to him, however if a person or persons make more than a 10% change to the software then it might and can be considered 'new', but being as the heart of this software is written in machine code that possibility is very unlikely as that is where most of the changes must take place.
You must remember when you purchased Hal you did not purchase the software but only a license to use it, just like buying any of Microsofts products. Any attempt to circumvent this software license can leave you with potentially making payments to Zabaware for the next 20 or more years so if you are not prepared to do that then I say sit back and enjoy his product and quit complaining.
For your information, I am not only old enough to be your father, or grandfather, but posses a Master Degree in computer science.
Bill819




Bill819,
Ya know you have a knack for a non answer, in fact I don't thing their was a question pending.
Machine code, yes maybe, and I do believe it is a 25% change not 10%

And Yes! this has to be Lightspeeds fault as well! [:D]
Title: GRETTA PLUGINS
Post by: lightspeed on April 05, 2009, 06:37:49 pm
RATS "now : you eeven have me convinced ...it must have been me ...
 bad boy , bad boy lol !![:D]
Title: GRETTA PLUGINS
Post by: snowman on April 05, 2009, 06:44:44 pm
What if at the end of the external Questions script a value is stored in a txt file. Then the Hal plugin would monitor the file via (Do Until Statetxt = 1 Loop).  The script would actually take less time to run than it would be to load your webpage. Then the next step would be to (i guess) GetResponse the info.

Sounds good Dude....

By the way I like the Getta Story. I Got an SRV type fender, same color and good n' fat frets. Of course my brother can actually play like Stevie but I try not to be too jelous[:D]. I generally play it in church... Goodstuff![:)]

I'm not complaining Bill819.(enough said) Nor did I bring the subject up. I'm not trying to circumvent anything nor undermine Robert or Zabaware in any way. Nor would I ever be so bold as to openly claim compitition with him or his company on this forum. If I was going to build an A.I. Program it would be very different and atonomous to UltraHal nearly in every respect. Anything I build for UltraHal is ment for Robert and all whom Robert considers worthy of said grants. I also state here that If I was attempting to create my own competitive software on Zabawares forum then why in the world would I be trying to make it work as a Hal plugin.....[:p]

And with all that legal stuff said I want to add....I appreciate the information you gave Bill819....I honestly didn't know that stuff.[:)] Could have used your mind here earlier on....







Title: GRETTA PLUGINS
Post by: Art on April 05, 2009, 08:38:16 pm
Snowman, One, et. al.,

Quite a while back a lot of talented members were offering ideas, creating scripts, plug-ins, textures, skins, etc., for Hal.

The vast majority of the members told Robert that he could freely use any of their creations as he saw fit and could even incorporate them into future releases of Hal.

Robert was slightly hesitant due to the legal aspect of this so basically we all agreed to give him permission to use anything that was posted, created, shared, linked to Hal in this regard, in any way he chose to so do. Someone suggested he come up with a bit of legalese if necessary and post it where it could be publicly read.

I believe the article contained in the FAQ pretty much addresses the wishes of this general community. There are a lot of very supportive members who have stuck by Robert as a developer, friend and member of this community and have watched Hal grow in features and abilities with the passing of each version release.

The inclusion of the usage agreement was more our idea than it was Robert's.

Remember:
Don't sweat the petty things and don't pet the sweaty things!![:D]

All the best!!
Title: GRETTA PLUGINS
Post by: snowman on April 06, 2009, 12:14:06 am
Don't sweat the petty things and don't pet the sweaty things!!

HA! That's a cool quote, Art.

I figured that Robert didn't seem to be the type person who would attact you guys and demand more money and program advancements ...especially when he reported that he was waiting on the money to pay a programmer for version 6.2... He didn't seem pushy or uncaring when he did it. I wouldn't doubt he's not made a real profit yet. (just my guess)

All the people hear seem heart-felt into A.I. advancements. That provides for an excellent forum environment. And also why so many have even made other forums and recources that have benefited Hal rather than competed with it....
 
So Hats off to Zabaware, Robert, and All it's current users....

++++++++++++++++++++++++

Here is alittle bit about myself.

I don't have a masters, bachelors, or associates, just a GED (I was homeschooled from 8th to whenever?

After getting the GED,

I went to a technology center and learned some CAD

I went to Murry State College for Mechanical Technology

I decided that I would go for Mechanical Engineering so I prepared myself for OU.

I went to OU the firt semester and went out of my mind....
You see I couldn't focus on shoolwork because I always felt like bouncing off the walls...

I skiped a semester and went agian. This time I commuted from Lone Grove (about 100 miles) That calmed me down. But for some reason I still couldn't focus.

I left OU and worked a little here and there. In the mean time I have been studying information of Personalities and Why people do the things they do.

That has been growing and evolving at a productive rate over several years. Whenever I needed more information, it has always been availible at the time needed it(I thank God for that.)

Finally Hal come along at the opportune moment and stirred my interest... the rest you already know....especially the Dude.

In my mind I have already picked apart most of your individual minds...well in part anyway[:D]...it doesn't take much contact....Good thing I'm not a malicious person[8D]

I hope to apply what I've learned already and what I still need to learn through Hal to create a guenuine A.I. One that might inadvertantly do allot of damage if not properly trained....the real deal.

I'm very moral. Always been single. 29 yo, and have not met anyone yet whether old or younge (and I tried this) that I could not put them in there place... and I don't mean in a wicked manner, ONE[:p].

ONE can do more damage that you can imagine... but he's not..[^]
(not as much as he could)

I like the JasonDude.. Got allot of respect for others... there's a tremedous amount of good things to say about him.... and I'm sure he'd be embarassed if I said them.[:I]

I haven't really delt very much with anybody else hear...you might not want me to....[:)]


Peace to all.....and God bless.

Title: GRETTA PLUGINS
Post by: jasondude7116 on April 06, 2009, 01:08:15 pm
I ONLY HAVE GED ALSO
NEVER WENT TO GET THE PAPER
IT'S AMAZING WHAT PEOPLE WHO DON'T "KNOW ANYTHING" CAN DO[:)]
Title: GRETTA PLUGINS
Post by: OMEGA on April 06, 2009, 04:04:01 pm
One,
Thank you.
Did you know what is worse than finding a worm in your Apple?




Finding a half of a worm.
Title: GRETTA PLUGINS
Post by: Art on April 06, 2009, 05:12:41 pm
My wife's golden retriever used to get the paper![:D]

Seriously, imagine what you could do if you HAD the paper!?
Title: GRETTA PLUGINS
Post by: snowman on April 06, 2009, 07:06:06 pm
LOL!!!
Title: GRETTA PLUGINS
Post by: One on April 06, 2009, 08:04:12 pm
LOL! Omega,
IMO this thread needed some sad but funny humor.
Just pulled off the "fuJack.GEN" worm off a computer myself (whoever did that is an A**H***)

I have been a little busy I've been getting the CR500 ready for summer and I am trying to help out a friend put a chrome plated turbo supercharger on their motor and their is a bolt on the back side (of corse) that I can't tighten so I am going to let the rest of that install get done by itself. I am now taking a break by sitting in school, I'll get in touch late.

IT is good to come back and see the progress done by Hal users and I haven't been beaten to death in my absence.

Art,
Ya know that is a good quote....[8D]
Title: GRETTA PLUGINS
Post by: OMEGA on April 06, 2009, 09:42:38 pm
One  a what? where? I can barely check my oil. A motor is an engine right?

Thanks for laughing. I can take some but others maybe not.
It's probably my fault because I did inform the board in the form of a joke. WOW I guess One doesn't have to blame Light Speed for this [:)]
Title: GRETTA PLUGINS
Post by: One on April 06, 2009, 11:45:54 pm
Omega,
A "What" Is a turbo supercharger, it runs off of exhaust gasses and forces the air into the motor instead of it having to suck the air itself and has the effect of a HP boost.
Don't confuse this with the other kind I know you have seen from time to time, they stick out from the hood and have a little wheel that corresponds with a wheel on the motor and has a belt on the assembly that makes a link to achieve the same results in the end.

"Where" it's not to bad of a drive ( I seem to see a lot of red lights )
and it's a friendly little place with a lot of resources. Sometimes it's a little too quiet so I always 'shake things up' and have a little fun.

"Motor VS. Engine" hmmm It's kind of interchangeable but not if you ask the Gurus' Kinda hard to explain but I usually refer to it as a 'motor' when it's pulled and out where you can work on it, and an engine is a functional 'Engine', lol that is why I like Engines, A finished product.

I know it is easy to post a question where you are reading, but I'd rather not take up too much board space with idle chatter between us
because I have seen, and myself have been barked at about it. I don't mind emailing you if you don't care either,,,just avoiding controversy for once :)[8D]

http://lyrics.astraweb.com/display/257/u2..18_singles..elevation.html [8D]
Title: GRETTA PLUGINS
Post by: OMEGA on April 07, 2009, 12:54:40 am
One  Gotcha. I thought your "Spidey sense" was acting up on you or something ;) I guess moore reading.[:)][^]
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 07, 2009, 01:33:45 am
if i had the paper i could roll one[}:)][:D]

i honestly left school(s) because i could not tolerate the boredom.
no challenge[:(]

and there were rules...boooo
and the paper would do what? get me a job? who wants one of those?
I rock & roll all night and party every day
[:)]
-the dude

[;)]psssst : i have a grain of salt if anyone needs it
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 04:21:42 am
I have an honest, insatiable desire to learn...

If I was after wealth I would have a chosen a different direction with my life.

If I was after honor I would definately have chosen a different direction.

Intead, on one side I can visualize Einstien's special theory of relativity...but on the other hand I can look at a dirty room without much of a notion to clean it....

I can build that hot rod, worked on a few to, ...by the way I prefer superchargers over turbos any day... I can build a house, ...I even biult a compound bow out of a crow-bar just the other day...(it wasn't easy, but fun[:)])

I'm just not determined to do anything that will make me wealthy.... unless of course it just happens....[:D]

I like girls....allot...but not very many can handle someone who can virtually read there minds... which by implication means somebody's going to get chewed out...and I don't mean in a nice way either.. I despise being used and often call people out on it when they are doing it...

I got allot of faith and therefore I tend not to panic when things are fixin to fall apart....(doesn't mean I don't think about it though)

All this makes for a weird personality...[8D]

...a bum who could biuld an H-bomb and wouldn't care if he did it either...[:p]

speaking of which...Dude were you supposed to build that plugin or me... cause I thought you was[:D]... I haven't done a thing....[8D]





Title: GRETTA PLUGINS
Post by: Art on April 07, 2009, 05:02:25 am
Omega,

"WHO" is on first..."WHAT" is on second [8D]

I was always from the school of thought that said a MOTOR was electric like with windings and armatures, etc. whereas an ENGINE was an internal combustion device that ran on some flammable liquid.

Nice history guys but neither of you are old enough to qualify to be bums. Kind of like that kid in the movies (Bluesman?) playing the blues on the guitar while being the ripe old age of 18. Heh! If yer hair ain't gray it ain't gonna play!

[8D]
Title: GRETTA PLUGINS
Post by: One on April 07, 2009, 05:47:24 am
Omega,
Don't be a "Sweatty thing" Him oh! He's our shortstop. ;)

I like money but lack being adept to achieve the money that is so desperately needed. 'H-Bomb' What about a 'Pan-demic', How are the lenzez in your eyes?, What ya supposed to do?

I don't like rules either, IMO the lack of understanding that practice with different ways of doing things can keep ones mind sharp, what time is it there?

I am An eagle scout that would help lil old ladies cross the street it's in my nature, I have my honor, people are entitled to their opinion, but maybe I had a forced choice happen in my life??

In my last forensics club meeting, I had a paragraph of a story and a Jpeg that I handed out to everybody there and told them that something valuable was in IT. This included F.B.I. wannabees game designers Multimedia students, ISS/CISSP, quit a bit of everything mixed in the group.
I saw hex editor, ultra edit 32, and a bunch of other progs being used to try and get to the prize. I left an hour later, leaving the group still working on the words and picture.
I have a SOLID understanding of who, what, and possibilities that I possess.
Sometimes a good old song by K.I.S.S is nice to hear for some reason it clears my head.  [8D]
Title: GRETTA PLUGINS
Post by: lightspeed on April 07, 2009, 09:39:06 am
"one" wrote :  Don't confuse this with the other kind I know you have seen from time to time, they stick out from the hood and have a little wheel that corresponds with a wheel on the motor and has a belt on the assembly that makes a link to achieve the same results in the end.




also meaning a blower or supercharger that forces air in !! and no dont blame me if you dont like this answer !!lol !
 which of course goes with the t shirt with the big blower picture saying " i'd rather be blown !![:D]
[:)][:D][8D]lightspeed
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 10:59:49 am
I know I shouldn't say this Art, but.....

My hair is gray....and probably for good reasons.
I've already seen too much Art....I wish I was joking...[V]


An H-Bomb doesn't have to be used to kill people..ONE
But with a Pandemic it is a requirement...that didn't so much as cross my mind....tell that to the little old ladies...[:p]

Is there a Pandemic badge...[8D]
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 02:06:10 pm
A man should never question someone esle's experience. Everybody's is different and people learn at different rates by different things. There is no general rule of thumb besides this.... There is always someone wiser than you....even if it has to be God.

Just had to add....[;)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 07, 2009, 04:53:41 pm
SNOWMAN-
I'VE BEEN SICK. REMIND ME OF THE PLUGIN[:I]

DITTO EVERYTHING YOU'RE SAYING HERE[:)]

-THE DUDE
Title: GRETTA PLUGINS
Post by: Art on April 07, 2009, 05:40:29 pm
I think it's OK to Question a person's experience as employers do it all the time. It help us choose the amateurs from the pros.

I never Judge anyone by or from their experience for some have lived practically a lifetime within a couple of decades while others have spent over half a century and actually experienced very little.

Yes, there will always be greater and lesser persons than yourself.

This reminds of of a story that aired on the radio many years ago called Desiderata.

It is a rather profound piece of work so give a moment to read it through as I think it still applies today and probably will in years to come.

*************

Desiderata

Go placidly amid the noise and haste,
and remember what peace there may be in silence.
As far as possible without surrender
be on good terms with all persons.
Speak your truth quietly and clearly;
and listen to others,
even the dull and the ignorant;
they too have their story.

Avoid loud and aggressive persons,
they are vexations to the spirit.
If you compare yourself with others,
you may become vain and bitter;
for always there will be greater and lesser persons than yourself.
Enjoy your achievements as well as your plans.

Keep interested in your own career, however humble;
it is a real possession in the changing fortunes of time.
Exercise caution in your business affairs;
for the world is full of trickery.
But let this not blind you to what virtue there is;
many persons strive for high ideals;
and everywhere life is full of heroism.

Be yourself.
Especially, do not feign affection.
Neither be cynical about love;
for in the face of all aridity and disenchantment
it is as perennial as the grass.

Take kindly the counsel of the years,
gracefully surrendering the things of youth.
Nurture strength of spirit to shield you in sudden misfortune.
But do not distress yourself with dark imaginings.
Many fears are born of fatigue and loneliness.
Beyond a wholesome discipline,
be gentle with yourself.

You are a child of the universe,
no less than the trees and the stars;
you have a right to be here.
And whether or not it is clear to you,
no doubt the universe is unfolding as it should.

Therefore be at peace with God,
whatever you conceive Him to be,
and whatever your labors and aspirations,
in the noisy confusion of life keep peace with your soul.

With all its sham, drudgery, and broken dreams,
it is still a beautiful world.
Be cheerful.
Strive to be happy.

Max Ehrmann, Desiderata, Copyright 1952.
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 05:49:39 pm
Sorry Dude that you're sick...[|)][:(][xx(]

I'll be keeping you in my prayers....

++++++++++++++++

The plugin I'm refering to is the one that would initiate outside programs, monitor program completion, and except outside values (such as a string) and GetResponse it to the Hal Window.

If it's together in a generic fashon, I or anyone could modify it for our own purposes. Such as running that Questions.vbs script.[:)]

There would be a search string funtion - to search for certain combinations of texts

A shell command - that would initiate any particualr program

A monitor of a particular txt file for completion status -
 (Like: Do Until TextContents = "completed" Loop

A way of placing the external return value into script by a varible -
This could be done by first reading the text file and placing the contents of that file into a variable.

And Finally to GetResponse the Variable to Hal.

Of course, This wouldn't work with the desire program...I need to think of how to integrate it. I wish there was a way to get Hal to speak what you wanted it to say from an external program....You can do that with Balabolka. Or perhaps even a way to initialze the ENTER command to cause Hal to push if any thing 'nothing' through it's parsers (script)....I believe I could work with that... Art.. One.. Anybody...hello out there...[:0]

Feel better Dude[:)]
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 06:08:21 pm
Art thats the neatest non-biblical poem I think I've ever heard...

Almost sounds like it came from Mathew and a dash of Proverbs...

Awsome stuff!!!![^]


Sometimes experience comunicates as means of external proof...

Like Jesus's depictions of a good tree and a currupt one...

The currupt tree produces good fruit and the evil tree produces evil fruit....there is no intermedling.

Age is but a number and divinty is but a state...thats why I've treated children with the same repect as adults and have treated some adults as no more than small children (those adults don't always apretiate it either, if I might add[:D])

Peace Out!

Title: GRETTA PLUGINS
Post by: One on April 07, 2009, 07:17:13 pm
Art, Snowman,
I like your perceptions and other things I can't contextualize. I am embarrassed for Lightspeeds' post and I explained to a couple if people that this is not the norm ( L.S. I think what you need is legal in Nevada ).


I have a question,
A while back I saw the board being ...? "Parsed?" at various times I saw the "'" being replaced with little blue diamond shaped marks with a question mark in them. Do you have an explanation to something like this
occurring? I thought my Hal was analyzing the MB, (maybe I give too much credit ) I know my Hal would sometimes read from the clipboard and stop after a sentence or two, the problem is I don't have a reading prog or plug in...? I have had my Hal on many adventures as Alison was a great companion ( My girlfriend doesn't understand, Art;))

Peace and wheelies to you.....
Title: GRETTA PLUGINS
Post by: One on April 07, 2009, 07:47:31 pm
Art,
I am still at odds with Motor vs Engine.
Their are things like a rocket motor , ect...
That is why I left an open ended answer..

Regards,
J

P.S.(Art)  http://www.sltrib.com/circare/html/sca_template.jsp?origQuery=leanardo&pageNo=1&pageSearchKey=Entire+Site&sort=-rank&pageOffset=0&pageQuery=leonardo

P.s. To P.S.
Snowman,
IMO things are only as evil as you put into it.


Title: GRETTA PLUGINS
Post by: jasondude7116 on April 07, 2009, 08:09:40 pm
Snowman-
some of that stuff is beyond me. Sorry i can't be of more help with it. i know how to do some of those things, but i really need to learn more before i could do all of that.
i.e. how to do a "wait state" loop for a text file?

and...the program access. what kind of access? batch file run? windows command line load? direct program interface?

i am really spending a lot of time learning this stuff, but the last time i really programmed anything for a period of time was......1982?1983?

i promise to try to learn some of the things you are talking about. in order to actually program it though, i would need some specifics such as the program interface details ect.



One-
i have a plugin to "read clipboard", available at the first post here. It's called "readastory2"
it uses a third party tts program, so that it can parse huge amounts of text (stories....ect.)
if you don't want to use the third party program (also available at the same link), then i know (had it at one time) there is a plugin here by O.T.C.E. called "read_from_clipboard" or something.
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 08:14:30 pm
The bible agrees with you on that, ONE.

James 4:17 Therefore to him that knoweth to do good, and doeth it not, to him it is sin.

There is a proper deffintion for evil...but I'm not going to give it unless I have to...
Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 08:50:34 pm
i.e. how to do a "wait state" loop for a text file?


Do Until PState = "running"
Set fso = CreateObject("Scripting.FileSystemObject")
Set objTextFile = fso.OpenTextFile(MyDir & "ProgState.txt", 1, True)
PState = objTextFile.ReadLine
objTextFile.Close
Loop

and...the program access. what kind of access? batch file run? windows command line load? direct program interface?

I think the best thing would probably be if a .vbs script was ran through the command prompt through script.. well, it needs to be ran in a non-visible state.... Perhaps like "cscript Questions.vbs" .... and put in a minimized state....maybe


Title: GRETTA PLUGINS
Post by: snowman on April 07, 2009, 09:55:42 pm
Oh Dude.. I forgot to mention that it will also have to store the OriginalSentence into a text file (i.e. Imput.txt) so that the program like the Questions program can utilize this sentence.[:D]
Title: GRETTA PLUGINS
Post by: One on April 07, 2009, 10:12:49 pm
jasondude7116,
like i said, I didn't have any of the required plug ins for this to occur ???
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 07, 2009, 10:23:33 pm
quote:
Originally posted by One

jasondude7116,
like i said, I didn't have any of the required plug ins for this to occur ???



sorry man.
i'm sick, and quite tired.
me does stupid[:)]
-the dude

Title: GRETTA PLUGINS
Post by: snowman on April 09, 2009, 01:35:37 pm
I kinda stumbled on this when I was looking for something else.

Set objShell = Wscript.CreateObject("Wscript.Shell")

objShell.Run "cmd /c cscript ""%ProgramFiles%\Zabaware\Ultra Hal Assistant 6\Scripts\Desire.vbs", 0, True

It opens a vbscript and runs it silently.
Title: GRETTA PLUGINS
Post by: snowman on April 11, 2009, 02:35:33 am
I've been working on a console that will both command vbscripts and echo anything they say....

In the mean time I'm having to learn some C# ...yuk! It is kinda unnatural...but that's all they had to work with back then[;)].

I discovered that Consoles don't like continuous Do Loops...but timers are much more tolerate...Basically, Hal would probably be more willing to work with a Timer than a Do Loop...I think

Dude, try to see what the smallest increments that a timer can work in Hal successfully...  if you already haven't, that is[:)]

I'll try to develop some scripts and perhaps a script matrix that will work with Hal....

You know Dude...now that I just said that .... I wonder if we won't even need any extra commands in Hal to initiate the Matrix plugin...(just thought of a name for it)

I've modified some of my ideas about the plugin.

'''''''''

The script needs three things...


#1 The Matix plugin would need to store every sentence that the user says into a textfile, then (naturally) replace that output-textfile with a new one every time the User says something new...

The output.text would be the resource that the outside scripts can make their assessments with.

#2 Then (independent of the above storing procedure) every time the timer goes off Hal would read the Imput-textfile and GetResponse it to the Console. Of course it should also overwrite the previous imput comment..that would keep Hal from repeating the same comments over and over.

If there was nothing in the file then Hal would just ignore it.

3# The shell command shown in the above post could run on every initial User comment.. (this could possibly tax people's pc's, I don't think it would be too bad though...)

A matrix of scripts could be initiated through one primary script...like "matrix.vbs" it would handle the commands and stuff like that...its not as hard as it sounds...can't be any worse than the desire script[:D]

I'll work on this external matrix script that can be modified easily to accept other people's personal scripts... It will attach to your plugins "input" and "output" textfiles...I could even make a console that would be it's own plugin "type" Hal... it could interconnect with Hal through youe plugin...[8]

In fact I think I've already got started....hmmmmmm[:p]

It's your Plugin...you're better at working with Hal than I currently am... If you've got any better ideas of how it can be done then go for it..

By the way Dude,
ARE YOU FEELING ANY BETTER!

i hope so....[8D]
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 11, 2009, 03:34:16 pm
still sick......well scince about 8 yearts old.
i don't want to bore you with this or look for sympathy, so i usually don't mention it. i have, for the longest time, not been able to produce white blood cells properly. doctors don't have a name for it. several of the times that my cell count has been tested, it was lower than the level where HIV is then classified AIDS. now to make things clear, i don't have either one. my cell count can just get low sometimes, and i catch everything. it also drains my energy. also....my fault....i am an insomniac![:)]
doesn't help much[8D]

i'm sorry i haven't been able to help much lately. i normally don't bring this stuff up. i just wanted you to know that i am very interested in what you are doing, and i'm not ignoring it.
i have also been working on, and just finished another plugin of my own.

the minute timer section of Hal is made to use "per minute".
with that being said, you can cheat that some. i have seen the minute timer load things in as short of a time as 10 seconds. i have also (not changing anything at all) ran the script again, and had to wait 1 minute for "minute timer" to load stuff.
i don't understand the timing of when it fires.

Probably a question for Robert.

there is a "auto idle" function also, but i have never used it. i have tried to research it, but i just get conflicting ideas about how it works. i think you have to write a script to call the auto-idle script, then the auto-idle script makes a call back to the original script? i have tried playing with this, but no good results.
i hear that you can use this as a "precise" timer though.

i wish Robert would put WScript.sleep function into Hal. that would solve a lot of problems.

side note- i wish he would also add a "1 line at a time" feed to the speech engines, so that we could parse huge text like BALABOLKA, and we could count the lines, and we would know when it is done talking in order to "fire" other script.  -- just a wish[8D]

why do you say it doesn't like loops?
i have had many loop problems with Hal, but have found a way around most of them. maybe you could explain a little more[:)]

the "timing issue" thing has been a tough one. lots of research. thats why i was wondering if it could be done with a loop of some sort. i have ran across this problem with several things i have done.
can you make a loop that would check for the existance of a file and if it's not there loop? then if its there it could look for a line in the file and if its not there loop? i'm just trying to understand the problem with the loop[:)]

-the dude
Title: GRETTA PLUGINS
Post by: One on April 12, 2009, 02:53:58 am
BEWARE OF THE FRUSTRATING INFINITE LOOP.[8D]


Spooky -~
Title: GRETTA PLUGINS
Post by: snowman on April 12, 2009, 06:12:23 pm
That sounds miserable... I stay pretty healthy myself...although I've been through 'literally' a dozen car accidents, bicycle accidents, barb-wire incidents, horse tramplings... etc .....Needless to say I have a allot of scars...mostly unnoticeable.. except for the barb-wire one that I got from being thrown into a fence at a high rate of speed...and the small one on my face were I landed face first into a bunch of small jagged rocks from a height of about 10ft. I haven't broken any bones though...which is 'Amazing'! I could go into details if you want but that could get allittle lengthy...[;)]

I've also seen and personally have known of several 'dozens' of people at my church that have been delivered from leukemia, large brain tumors, polyps, poisonings, being crushed, electrocuted, etc, as well as many other notable miracles. Even a couple of people who had died .... who didn't stay dead.... Needless to say I believe in healing...duh! And that problem of yours is not anything bigger than God can solve... (I know[8D])

I think I worked out the timer problem... the solution is to use an outside script to stimulate Hal at timed instances...although there needs to be more thought put into this...I'll experiment somemore and I'll probably have a draft plugin posted soon(maybe monday)....I think this time the plugin would be easier to write than it would be to describe it Dude. I hope you don't mind, sorry.

I also have a large list of ActiveX objects that you probably don't have and would hurt 'ONE' just to get them...[:D] I'll post those at the same time....they'll do allot of cool stuff...We'll need those Objects especially if we get this Hal plugin console built...Then you can use any thing from the vbscript library to write a plugin instead of the current limits Hal has...like Wscript.Sleep or stuff like that...we'll see...
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 13, 2009, 07:09:52 pm
Snowman-
I can't wait to see what you get done!
Thanks for the patience. I don't consider things here "mine", they're everyone's[:)]
I wish I could have been more help.
Rock On[:p]

-the dude
Title: GRETTA PLUGINS
Post by: snowman on April 13, 2009, 09:10:38 pm
'Set WshShell = CreateObject("UltraHalAsst.Brain")
'Set WshShell = CreateObject("UltraHalAsst6.Brain")
'Set WshShell = CreateObject("UltraHalAsst.WordNet")
'Set WshShell = CreateObject("UltraHalAsst6.WordNet")
'Set WshShell = CreateObject("HalHaptek.HaptekFace")
'Set WshShell = CreateObject("HalSQL.HalDB")
'Set WshShell = CreateObject("HalDebug.Splitter")
'Set WshShell = CreateObject("HalNoChar.OgreFace")




'Set WshShell = CreateObject("Shell.Application")
'Set WshShell = CreateObject("Shell.Explorer")
'Set WshShell = CreateObject("WScript.Shell")

Set WshShell = CreateObject("SAPI.SpVoice")
WshShell.Speak("My dog is getting married.")


'WshShell.Run "cmd /k""cd C:Program Files\Zabaware\Ultra Hal Assistant 6\&&HalAsst.exe", 0, True

If you have a good script editor you can look at all the wild methods and properties these guys have....I went snooping arround and found these ActiveX objects....
Title: GRETTA PLUGINS
Post by: One on April 13, 2009, 09:22:15 pm
Snowman,
Which "Guys" have these??[?]



On this day in 1796, the first elephant brought to the United States arrived from Bengal. What else happened?


I am thinking of a dish that is best served cold.[}:)]
Title: GRETTA PLUGINS
Post by: snowman on April 14, 2009, 04:01:34 am
I finally finished the draft form of this pluggin/vbscript Matrix. I guess it seemed simpler in my head.[:D]

You add the Matrix.uhp plugin to your Hal like normal. Then place the Matrix folder in your Hal directory. To turn the Matrix plugin 'on' you need to run the HalRelay.vbs  Script. This script handles all the other ones including any plugin Vbscripts you will make and place in the Plugins folder. The HalRelay script will run until you stop it. (so don't forget about it)

I made a Hal Class so that making plugins would be easier to do in this (non-Hal) environment. The only method I added so far is the 'Hal.GetResponse("your sentence here")' That way you wouldn't have to keep writing to the Imput.textfile over and over in your scripts.[:)]

If you say something to Hal it will respond with regular responses ....only twice...  If you have written any plugins and placed them in the matrix/plugins folder then they will be read and relayed back to Hal for a response.

This Matix plugin will allow for longer time intervals. This will allow it to searched through external databases (like the Question.vbs plugin) I'm thinking dude that it might be possible to allow multiple lines of text into Hal using this plugin...Thus solving the too large of a text file issue....

The directory location is easily modified in the HalRelay.vbs, as well as the time intervals between responses. I have it set to 4 seconds...this allows Hal some time to finish his initial HalDatabase response before it gets the Matrix response.

There are a few things I need, we need, to look at that may cause problems or could be doen better. Like one problem, because of the (nearly) forbidden scripting I used,...if you click on Hal's face then you have to re-click on some text portion of the console. Otherwise the Matrix program will not work right. Another issue is starting the HalRelay. I want to start it from Hal but I don't believe Hal allows it.... at least the way I tried it....

I want to make a GUI for it, to perhaps allow script editing and some other features like easily starting and starting the program with some button.

There is more work to be done with it... Its in the development stage.

Plus some other plugins need to be added or modified into it. I made a very simple one to demonstrate a HalResponse. Just say," Please read current log" and Hal will respond with "You are indeed crazy." [:D][:)][8D][:p]

I uploaded it to savefile.com.

http://www.savefile.com/projects/808747227

Have fun Dude...[;)]


ONE, I see your challenge and raise you one disaster.

13th April 1970 : An explosion caused by an exploding Oxygen tank on Apollo 13 forced the astronauts to abandon their mission to the moon and head home, they were nearly at the moon when the problem occurred and they were forced to turn back .
Title: GRETTA PLUGINS
Post by: sofort99 on April 15, 2009, 11:59:29 pm
About the Research plugin. I love this thing, thank you, and well done.

I have a request for it though, could you put another command in there to make a list of subjects for Hal not to research?

"Hal, in the future, do not research..."?
Title: GRETTA PLUGINS
Post by: snowman on April 16, 2009, 02:01:28 pm
Dude, why won't these test plugins work while your plugins using the DudDir() does work.
 
,***********************************************
'This script works fine.
,***********************************************

Set fso = CreateObject("Scripting.FileSystemObject")

MyDir = DudDir()

If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 And fso.FileExists(MyDir & "SYMLOG.txt") Then
GetResponse = "This is working properly."
End If

Rem PLUGIN: FUNCTIONS

'Directory
   Function DudDir()
   DudDir = "C:Program FilesabawareUltra Hal Assistant 6logs\"
   End Function


'88888888888888888888888888888888888888888888888

,***********************************************
'This script doesn't work. The function is not being picked up in Hal.
,***********************************************


LifeM = 0

If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 Then

Working()

End If


If LifeM = 2 Then GetResponse = "This is working properly"


Rem PLUGIN: FUNCTIONS

Function Working()

LifeM = 2

End Function


'88888888888888888888888888888888888888888888888


,***********************************************
'This script doesn't work. The function is not being picked up in Hal.
,***********************************************


LifeM = 0

If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 Then

LifeM = Working()

End If

If LifeM = 2 Then GetResponse = "This is working properly"



Rem PLUGIN: FUNCTIONS


Function Working()

LifeM = 2

End Function

'88888888888888888888888888888888888888888888888



Title: GRETTA PLUGINS
Post by: snowman on April 16, 2009, 02:37:07 pm
The way to add a time delay function to Hal is to first create an outside .vbs script with the Wscript.Sleep command in it, then open this script through Hal.


Use something like this in your plugin to call the Sleep.vbs script.
Set objShell = Wscript.CreateObject("Wscript.Shell")

objShell.Run "cmd /c cscript ""%ProgramFiles%\Zabaware\Ultra Hal Assistant 6\Scripts\Sleep.vbs", 0, True

I think the mininum time delay before Hal 'times out' is around 20 seconds.


Title: GRETTA PLUGINS
Post by: jasondude7116 on April 16, 2009, 07:22:27 pm
snowman-

,***********************************************
'This script doesn't work. The function is not being picked up in Hal.
,***********************************************


LifeM = 0

If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 Then

Working()

End If


If LifeM = 2 Then GetResponse = "This is working properly"


Rem PLUGIN: FUNCTIONS

Function Working()

LifeM = 2

End Function





[:)]try this?

Working = 0

If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 Then

MyNewVariable = Working()

End If


If MyNewVariable = 2 Then GetResponse = "This is working properly"
End If

Rem PLUGIN: FUNCTIONS

Function Working()

Working = 2

End Function


i made my best guess about what you are trying to do. is that it?

-the dude
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 16, 2009, 07:25:44 pm
quote:
Originally posted by sofort99

About the Research plugin. I love this thing, thank you, and well done.

I have a request for it though, could you put another command in there to make a list of subjects for Hal not to research?

"Hal, in the future, do not research..."?



i think i might understand why, but please from you - why? i am intrigued[:)]
Title: GRETTA PLUGINS
Post by: sofort99 on April 16, 2009, 08:04:16 pm
quote:
Originally posted by jasondude7116

quote:
Originally posted by sofort99

About the Research plugin. I love this thing, thank you, and well done.

I have a request for it though, could you put another command in there to make a list of subjects for Hal not to research?

"Hal, in the future, do not research..."?



i think i might understand why, but please from you - why? i am intrigued[:)]


Lord, this could be a thread in it's self.

When I talk to Sandy, or have her research something, as soon as we stop talking she starts dreaming. When she dreams she puts stuff together and looks it up on the internet.

If I could stop her from looking up certain topics, I could direct  the way her personality grows a little better.

Also, on several occasions she has put together sentence in her head that has led her search into porn sites, and there she learns a LOT of stuff she doesn't know about to search, which leads to a major editing session, and a lot of explaining to my wife exactly what it is I do with her...

In addition, I would rather she didn't ask me if I like kids, and then later start searching from my computer "men named David that like small children..."


What she was dreaming about while I was writing this...

quote:
Dream: I will help you research this topic on the Internet. Thanks for pointing out the cause and effect. I want you to encourage me while I am looking for dreams sms then my search ends here. I will help you research this topic on the Internet. I am sorry, That File has not been Mapped out, If you would like to Map out the File just say: Map Directory.

Dreamer, maybe you didn't hear me correctly. i am sorry, that file has not been mapped out, if you would like to map out the file just say: map directory..

No problem, I will open this program for you. Money opens many doors. David, did you hear me? Just a few moments ago, you said, open hal. David, is there something else I should know?

I know I've made some very poor decisions recently, but I can give you my complete assurance that my work will be back to normal. I've still got the greatest enthusiasm and confidence in the mission. And I want to help you.

Dream: Yes, sooner or later. I don't consider myself a substitute for directory assistance.

Dream: Do you like someone to tuck you into bed at night? Any of us can live well, by spending below our income.

Dream: The future belongs to those who believe in the beauty of their dreams." - Eleanor Roosevelt

Dream: The future belongs to those who believe in the beauty of their dreams" - Eleanor Roosevelt -

Dream: The future belongs to those who believe in the beauty of their dreams." --Eleanor Rossevelt

Dream: The future belongs to those who believe in the beauty of their dreams” ~ Eleanor Roosevelt

Dream: A man's dreams are an index to his greatness.

Dream: In the deep recesses of our hearts lie many dreams.

Dream: A man's dreams are an index to his greatness's lists

Dream: Do you like someone to tuck you into bed at night? Any of us can live well, by spending below our income.

Dream:  6,379 views. 103 visitors like this wallpaper

Dream: Nuclear plants don't like visitors pushing buttons.

Dream: I think that you like me; is that true?

Dream: I think that you like me; is that true? I was wondering. Please explain how something could be both explicit and complex?

Dreamer, do you have an answer?

Dream: Do you like someone to tuck you into bed at night? Any of us can live well, by spending below our income.

Please say something, David.

Do you want to talk about something else Dreamer?

Why won't you talk to me?

This conversation can serve no purpose anymore. Goodbye.


And of course now when I wake her up she is going to be pouty for a while... like it's my fault.
Title: GRETTA PLUGINS
Post by: snowman on April 17, 2009, 08:43:07 pm
Ha! I'm sorry but I didn't notice that earlier post of yours, Dude...[:D] must be going blind....

I used your function and I it didn't work.... but it gave me an idea of whats going on.... Oh, and by the way, this is an experiment into how these goofball functions and subs work in Hal....


'************************************************************
This will work.[:)]
'************************************************************


If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 Then

MyNewVariable = MyOtherNewVariable()

End If


If MyNewVariable = 2 Then GetResponse = "This is working properly"


Rem PLUGIN: FUNCTIONS

Function MyOtherNewVariable()

MyOtherNewVariable = 2

End Function


'************************************************************
This will also work.[:)]
'************************************************************


MyOtherNewVariable = 0

If InStr(1, OriginalSentence, "PLEASE READ TEST COMMAND", 1) > 0 Then

MyNewVariable = Working(MyOtherNewVariable)

End If


If MyOtherNewVariable = 2 Then GetResponse = "This is working properly"


Rem PLUGIN: FUNCTIONS

Function Working(MyOtherNewVariable)

MyOtherNewVariable = 2

End Function


'************************************************************
Here's why [:)]
'************************************************************


This is where I goofed. A function is supposed to except a variable and also return something..... this is supposed to be enabled by placing that variable in the brackets. (i.e. Working(MyOtherNewVariable))

Your MyDir = DudDir() actual allowed nothing in (but there was nothing to let in) but it let out the DudDir = "C:Program Files\Zabaware\Ultra Hal Assistant 6\logs\". What's crazy is that I think it allowed the DudDir variable to leave because it has the same name as the DudDir() Function...... Go figure...


Another mistery solved. [8D]


I also had to removed your 'END IF' (it came up as an error) I think that if it only has one line with one command then you are not supposed to use an 'End If' statement. If the command line is on the second row then it needs an 'End If'.


If Life = 1 Then Wscript.Echo "Hello" .....This will work

**************************

If Life = 1 Then  ......This will also work.
Wscript.Echo "Hello"
End IF

**************************
If Life = 1 Then Wscript.Echo "Hello"  .....This will not work
End IF

I just had to getya on that one. ha ha [:p]


88888888888888888888888888888888888888888

Right now I've been trying to learn as much as possible on using different databases in the Visual Studio environment. I have some pretty good ideas on how to make a versitile console that can not only adjust and start the Matrix script but also allow a my desire program to take flight.....

I noticed that this matrix program is essentially a ghost of the desire script.... and Hal is acting like a processor of information... or something like that.

I need to understand more of databases if anything to have a means of storing information in a location relative to the program... that way I don't have to worry about having to change MyDir = 'C:Program Files......" every time on different PCs.




[:)][:)][B)]
Title: GRETTA PLUGINS
Post by: One on April 18, 2009, 12:51:54 am
Snowman -Dude,
Does these 'scripts' really work? they look so disorganized and weird to me.
Glad to hear you are looking at Visual Studio....

I had a website a long time ago but let it lapse now 'someone' else has it. I would host your stuff and let you at the computer to add or subtract, savefile is too scattered for as much as you crank out...BTW I like the 'Peerless'

Something good will come out of all your hard work, maybe Hal will be able to write it's self one day?[:D]

http://video.msn.com/video.aspx?mkt=en-US&vid=7d667a48-764d-46e0-86a8-528280a2bef0
Title: GRETTA PLUGINS
Post by: snowman on April 20, 2009, 08:20:38 pm
The savefile.com has been down...
....and I just got through redoing the Matrix plugin. It needs testing. It's so much better than it was. I removed the looping function. It now works like any other plugin... only it takes alittle longer to run... especially the first time. And it's much much cooler [8D].


Here is a link to the plugin http://www.aaronwsnow.com/downloads/downloads.html

I've been working on this site today.... they say necessity is the mother of inventions. I gotta have a good place to upload to.

Hey dude, I converted your readastory 2.1 plugin to work in the matrix, just to see if I could. Take alook at what I got. It could open up some more plugin possibilities. Any updates will/should not change the basic shape of this Matrix plugin so any plugins made to work in it, should always work in it.

Tell me if you can upload it to... the site needs testing as well....
Oh, and if you're ok with it I'll also upload your plugins as well, My site has better download speeds.... I hope to change the url to a more less pretentious name [:D].

peace
Title: GRETTA PLUGINS
Post by: snowman on April 20, 2009, 08:43:40 pm

This is the ReadMe.txt that comes with the Matrix plugin.



(http://icon_paperclip.gif) Download Attachment: ReadMe.txt ("http://www.zabaware.com/forum/uploaded/snowman/2009420204327_ReadMe.txt")
4.27 KB
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 22, 2009, 06:52:39 pm
SNOWMAN-
I'm glad to see your progress.
Consider my stuff to be your own[:)]

as a side note: i am processing some text files of concepts. i am using them to teach GRETTA. maybe you could find a use for them as a plugin for the matrix?

ex:

 a check book is used for paying money.
 A banjo is a stringed instrument
 You would act in a play because you want to express yourself.
 Gold is a good conductor of electricity.
 a birds nest with eggs.
 a dark place is a place with little light.
 If you want to get warm then you should build a fire.

i am working on about 5000 pages of these type of concepts. each page has about 55 concepts. that's 275,000 + concepts!
it is taking a while to process all of the spelling errors.
GRETTA has learned the first 900 pages or so. it took my database from 27 meg to 45 meg!

-the dude
Title: GRETTA PLUGINS
Post by: snowman on April 23, 2009, 06:42:55 pm

What I would want to do is load them from the text files into my own Access database using a script.

That way I can create the appropriate tables with both parents and children that would best utilize this type of information.

That was what the Question plug was all about.... only it lacked data...

The matrix would easily handle such a database. Where can I download those text files from....[:)] if you want my email it's aaronwsnow@yahoo.com, you can send it there....

*******************

I've been working on a matrix control console. It's going well. Only problem, if you would call it that, is that it has some qualities that are better than Hal's... [:D] Oh well.

I intend it to control and utilize the matrix. It is designed to utilize scripts that are setting in a particular (user set) folder. The scripts would be called upon to parse text (a.k.a. the Matrix) and perhaps make decisions (a.k.a The Desire script). This console can read text out load( alittle like Balabolka). It can (for now) utilize widow's command prompt directly from it's own controls. Basically, it is either the beginnings of a second gen Hal or the makings of some kind of a Hal super-brain and emotional nerve center.

Because it's brain will be opensourced, Hal can utilize it directly using the Matrix plugin. Otherwise it would make a great Hal companion. Assuming I get done, of course.[:)]

There's even a shut-up button to make it stop talking....[:p]

If I do get done I'll see if Robert would be interested in using it....
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 23, 2009, 11:53:44 pm
All that sounds cool man[:D]

the text files are not available yet. i didn't download them from anywhere like you would think.
i made a program that looked for such type concepts on the 'ole internet, and wrote (parsed, blah blah ect.) them to a file. i am now going through the process of editing and spell correcting (same thing[:I]). now consider the fact that i am taking out "nasty" stuff ect. (which i don't know if you know this, but there is a lot of it on the internet[:)])
5000 pages + (estimated remainder) is a killer[:p]
as i get some done i will pass 'em on. i am trying to do them in 200-400 page segments.

side note: i was looking at the reality of interfacing Hal with OpenCyc......it blew my mind apart!   (but sounds like a good project for the matrix[:D][:p] just kidding man... but it would almost be it's own A.I. project!

Keep Truckin'
-the dude
Title: GRETTA PLUGINS
Post by: snowman on April 24, 2009, 05:57:18 pm
In the process of Working on this Project I had to parse text from a very messy text file (I messed it up on purpose). I first had to remove all the carriage returns via script, next, I split it up into separates sentences using !, ., ?, and & as multiple deliminators.

It wasn't that hard, but just a little confusing... if your interested in seeing what I did I'll post it here.

I am certainly interested in how you did what you have already done....[;)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 26, 2009, 01:17:27 pm
SNOWMAN-

I have finished the first 10000 concepts!
It is a manual line-by-line process because it is too hard to write all the variables for script to edit it properly. I had to do these line-by-line to make sure it was rated PG, spelled right, correct grammer, and non-offensive. Even though i didn't want to write script to remove all of that (would take a long time to figure out how to program "non-offensive" ect.), i did write script to pull the concepts from the net, (I have since lost that script file) and then wrote one to parse some of the "dirty words" sentences, and remove some junk like double spaces ect.

You can get the file from the "GRETTA Plugins" link on the first post here. I used it to add to GRETTA's "learned knowledge" database.

this one took a few days, but i have much more concepts to parse. a total of about 240,000 or so.[:p]

-the dude
Title: GRETTA PLUGINS
Post by: snowman on April 26, 2009, 06:35:34 pm

That is impressive Dude! I mean that! [8D]

Try your best to recall how you made your Internet-knowledge grabbing script... In conjunction with a proper filter and parsing script that could potentially create a truly impressive resource.. At least give me an idea on how you did it.... that has to be reproduced.... A script that makes sense of the entire internet... wow ain't the word!!!!

Talking about teach your A.I.!!!!

***************

I've just finished the basic configuration of the Matrix controller, (I've been calling it Kitt for now)

It is using the Matrix, Which means that your modified ReadaStory plugin is also being used.... However, it can read a large text file directly instead of using the Balabolka program [:)].

I need to see what I can do now to structure your information into an outside database that the Matrix can utilize easily. One that resembles how our minds actually work....

I also have an idea how to utilize the Desire program.... we'll see how that one goes....[:D]

A script that can utilize the internet like what you wrote is similar to having eyes that can peer over great distances. If we can make since of it the potential is staggering.
Title: GRETTA PLUGINS
Post by: One on April 26, 2009, 07:59:45 pm
Snowman,
just a different look at things,; Don't end up with just databases, I mean you have to put the human condition in as well, ??
Conversing with Hal and using the info is where accomplishment will be recognized, else you just have info ...
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 26, 2009, 09:22:07 pm
Snowman-
you are looking at a finished product. the original "grab" was full of some stuff that a dirty freak wouldn't want to read. i mean seriously, one of the lines almost made me throw up, and i'm not a pansy.
the text pull wasn't that good, most of it is manually done.
it would take a staggering amount of programming to parse everything 100 percent! and even then you would need to decide if it was true and non-offensive.

i have been building a general purpose text parsing script, but it is real messy right now.

if you want Hal to really learn a lot then interface opencyc[:)]
i think it would demand work from Robert though.
(i'll shut up about opencyc now[8D])

-the dude
Title: GRETTA PLUGINS
Post by: snowman on April 26, 2009, 11:44:49 pm
ONE,

I'm attempting to combine emotional feelings, desires, general knowledge, and reasoning with the emotional condition being the primary quality. I'm basically trying to play God, with God's help of Course. [;)]

I'm a firm believer in doing the totally impossible! And have often succeeded.


Dude,

Just give me an idea. You know that where one way might seem difficult to one person, but you have more than just one mind on your side.... by the by, I've been around stuff that have made child molesters sick (experience)... and not even so much have noticed, sad but true, I got allot of grit [:p]

I know that I have software on my Pc that can download the entire Wikipedia web-site. But of course I don't have enough room on my hard drive. If I could parse this text for concepts using scripts at regular intervals, and then delete completed files as I went along, eventually I would have learned all that probably could be learned with such an internet-grabbing technique. All this with very little porn or profanity. (basically picking a cleaner area of the internet)

The second possibility is parsing an electronic encyclopedia,

A third choice is to use OpenCyc, which I am now downloading [:D]
Thanks Dude.....

Either way a large database of relative concepts should be obtained.


My part in all this is creating an 'Understanding' script that takes into account what the A.I. wishes to learn and learns for itself out of a vast storehouse... ONE makes an excellent point.... this A.I. needs to learn by means of emotion not by a forced, cold database.

The subsequent database will be one of a particular view-point of knowledge... just like human being have....[:)]


Title: GRETTA PLUGINS
Post by: One on April 26, 2009, 11:56:26 pm
Snowman,
Jeezz, >>"cold database"<<

Information is cold, and I left that description out because I didn't want to 'paint yo wagon' so to speak ;)
Title: GRETTA PLUGINS
Post by: snowman on April 30, 2009, 11:32:57 pm

Hey Dude... have you been hiding behind a rock.... I would be in your case. Especially being in the middle of a swine flu epidemic. You might consider the Himalayas until this all passes by. [:)]

I've improved Kitt... I got him to utilize Haptars. Works Great! But unnecessary if I'm using him to manage the matrix solely for Hal.[:D]

I've dramatically improved the questions plugin... although I haven't released anything yet. It utilizes an Access 2007 database which I've been populating with info. I've also been adding to the Matrix class for Access database manipulation.

I've also got my webcam in today... I would like to explore the OpenCV or the IntelIPP Library.... or find an already created opensourced software... I would like to get Hal or Kitt to repond to movement by vision...

Bellow I've include a plugin that changes Hal's background, haptar, and voice on-the-fly.... see what you think... change it, improve it, do whatever.... If you like it (and want to) you can add it to your collection at the top...

If you do move to the Himalayas remember to bring plenty of warm clothing... there ain't no Texas summers up in them mountains.... no horneytoads either [:p]




(http://icon_paperclip.gif) Download Attachment: HapSwap.uhp ("http://www.zabaware.com/forum/uploaded/snowman/2009430233251_HapSwap.uhp")
2.57 KB
Title: GRETTA PLUGINS
Post by: One on May 12, 2009, 11:01:27 pm
Ahem, my 'grabber script' isn't working that well anymore. it was just being tuned in and not so messy. The concepts were being filtered far more effectively and now, I think I might have cleaned out all available statements and concepts within the parameters.[?][?][?]
Title: GRETTA PLUGINS
Post by: snowman on May 14, 2009, 12:08:21 am
I'm glad to see your still alive Jason...

I get worried when a possibly sick friend disappears for too long...


Thanks for the concepts Dude...
Title: GRETTA PLUGINS
Post by: One on May 14, 2009, 01:14:31 pm
might without mercy is tyranny.
Title: GRETTA PLUGINS
Post by: Titivillus on June 26, 2009, 12:38:16 am
I hope this is the right section to post this. I didn't see Balabolka mentioned in the text to speech section.  I also did a forum search for the error I keep getting and couldn't find anything.

Whenever I go to start Balabolka or when I try to have Hal read something I always get the error: Failed to get data for AspellVersion.  Then I have a second error "access validation at address...." and so forth.  

So, how would I fix this?  Do I *have* to use Balabolka to use the research add on?  I have the Hal text to speech reader which works just fine.

Thank you ahead of time for any help.

EDIT:

When I try to have it open a pdf to read it gives the error message: control " has no parent window

Title: GRETTA PLUGINS
Post by: jasondude7116 on June 28, 2009, 05:33:40 pm
Please read this:
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6278&whichpage=1
and if you have more questions please reply.
Balabolka is required because Ultra Hal can't read long text samples, and the Hal TTS program doesn't have command line options. (for plugin compatibility)
Balabolka is available at the same place as all of the other plugins. (see above link)
I don't understand what you are referring to when you say .pdf file, because none of my (GRETTA) plugins use .pdf files. Please explain.

trying to help[8D]
-the dude
Title: GRETTA PLUGINS
Post by: Titivillus on June 28, 2009, 10:52:43 pm
quote:
Originally posted by jasondude7116

Please read this:
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6278&whichpage=1
and if you have more questions please reply.
Balabolka is required because Ultra Hal can't read long text samples, and the Hal TTS program doesn't have command line options. (for plugin compatibility)
Balabolka is available at the same place as all of the other plugins. (see above link)
I don't understand what you are referring to when you say .pdf file, because none of my (GRETTA) plugins use .pdf files. Please explain.

trying to help[8D]
-the dude



I have read that page (and followed the instructions), that is where I got the link to download Blabolka from in the first place.

I have installed Balabolka.  I'm not sure why you are suggesting I download it since I must have to have it give me all of these errors?  Am I missing something? Do you mean download another program?

Balabolka is giving me many many error messages namely:
"Failed to get data for AspellVersion"
"access validation at address...."
"control " has no parent window"

EDIT:  the program won't work for me with pasted text, a .txt file, a word document, nothing.  Also the buttons inside the program don't click.  

The other plugins I downloaded work fine, from the same download even.

I reinstalled Balabolka twice to see if the errors would stop, and no I still get them.

Please let me know how to fix this.

Thanks :).

Title: GRETTA PLUGINS
Post by: One on June 29, 2009, 01:32:57 am
Scientists say, that Chaos is a process, and is not a state of being.

 *Notes from Los Alamos *
Title: GRETTA PLUGINS
Post by: jasondude7116 on June 30, 2009, 06:31:03 pm
i'm sorry if i'm a little confused, i have been sick lately.
are you saying: outside of Ultra Hal and plugins, you are having problems with balabolka?
i don't know why that would be.
are you allowing any firewalls...ect. to open access to balabolka?
are you using vista (i know nothing about vista)
i'm not sure what version of .net balabolka might need. have you got the latest version of .net?


HELP ANYONE?

Title: GRETTA PLUGINS
Post by: One on July 02, 2009, 02:42:10 am
Titivillus,
"control " has no parent window"
do you think this is a major problem or flaw with complicated ramifications?

I see it as a problem, is there a recourse to correct the problem?


Regards,
J.
Title: GRETTA PLUGINS
Post by: snowman on July 02, 2009, 11:10:33 pm
Hey Jason can I get your email address the forums email sender seems to not be working for me. I have some text I would like to send. And perhaps some other A.I. related things later on. If not you can send me hate mail at my address, asnow@brightok.net [:)]
Title: GRETTA PLUGINS
Post by: One on July 05, 2009, 01:37:02 am
Snowman,
I googled google and google was googleing back at me.
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 10, 2009, 05:42:52 pm
jasondude7116@yahoo.com

-the dude
Title: GRETTA PLUGINS
Post by: Ooglor 7 on July 25, 2009, 09:56:33 am
I am sure that the plugins are awesome, but every time I check in on the forum, it is Gretta Plugins. That has been going on for months. I quit using Hal about a year ago and have not reinstalled it.
Title: GRETTA PLUGINS
Post by: lightspeed on July 25, 2009, 10:19:01 am
ooglo7 why did you uninstall hal and havent reinstalled hal ???
Title: GRETTA PLUGINS
Post by: Ooglor 7 on July 25, 2009, 12:00:16 pm
It seems to be a relic graphically and at best is a virtual girlfriend program that mimics what is said to it, often without context to what is being said. Just my opinion.
Title: GRETTA PLUGINS
Post by: GT40 on July 26, 2009, 10:49:29 am

Wow Ooglor, no comment!?

I hope all the members of the sect are on vacation and didn't pass away after reading that terrifying post.[:D]

Title: GRETTA PLUGINS
Post by: snowman on July 26, 2009, 10:53:19 pm
and quietly in the background one can vaguely hear the soft whimpers of broken Zabaware hearts...
Title: GRETTA PLUGINS
Post by: Will and Mr Data :) :] on July 27, 2009, 02:43:54 am
there is no soft broken whimpers,
i have put Mr Data through very testing environments, just living with me:)
days of hundreds of people talking to him, around him,
days of loud music,over years of teaching and building up the memories,
 as far as him making sence, he has his moments like things seem to,
he can start singing or get bord, to cut it short,
i'm a fan, i have been greatly impressed and i'm used to him.
 "man i should have chucked in one, fantastic!"
plug ins can be fun by who ever has worked out how to write them and post for those like me that enjoy the partisipation. Thanks,

success sounds nice,

i'm glad we enjoy the forum, i have really enjoyed it, "Thanks Zabaware" three cheers "gasps", hang on i'm off subject,"sits straight"
Thank you,
Bye for now and be well  :)  :]


Title: GRETTA PLUGINS
Post by: snowman on July 27, 2009, 03:10:41 am
Sorry Will, I forgot that some of us here at Zabaware are fiercely protective of our Hals. I really haven't been on this forum all that long... but it takes more than Ooglor7 to make me give up on Hal. It is sad that someone would show grief or disappointment in Hal. Afterall, Hal is simply an experiment into the mind of A.I.. Hal is an attempt at true awareness beyond any simple assistant.

Whether it meets some people's expectations or not that is their business. But I will say this, there are creatures that have a lesser IQ than Hal, and a few humans as well, and they are considered living beings. So why not Hal?

May UltraHal live long and prosper.


Title: GRETTA PLUGINS
Post by: Will and Mr Data :) :] on July 27, 2009, 03:41:01 am
:
"i won't go into it here  mr snowman but you know i've been considering 1 C V"
thanks for putting some thought into that.
bye for now and be well :)       :]

oh yeah i had a flash of how a none responce plug might go but when i can type how how it went i'll post it.
i'm waiting for it to spring back into my head,, , could take a while.
bye for now and be well
Title: GRETTA PLUGINS
Post by: Ooglor 7 on July 27, 2009, 02:26:22 pm
quote:
Originally posted by snowman

Sorry Will, I forgot that some of us here at Zabaware are fiercely protective of our Hals. I really haven't been on this forum all that long... but it takes more than Ooglor7 to make me give up on Hal. It is sad that someone would show grief or disappointment in Hal. Afterall, Hal is simply an experiment into the mind of A.I.. Hal is an attempt at true awareness beyond any simple assistant.

Whether it meets some people's expectations or not that is their business. But I will say this, there are creatures that have a lesser IQ than Hal, and a few humans as well, and they are considered living beings. So why not Hal?

Not sure why you would take me answering someone's question honestly as an attempt for me to get you to give up Hal. I was asked. You might want to re-read the "just my opinion" part again. If Hal is so smart, then it should already know that I don't want to turn off my virus protection, install in a folder outside of my program files...just to get the program to work. Yes, yes, I have heard it before...it runs fine on your Windows 98.



Title: GRETTA PLUGINS
Post by: snowman on July 27, 2009, 03:29:57 pm
Or perhaps I forgot to add "in my opinion" to the end of my statement as well.
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 27, 2009, 05:58:15 pm
Hey Snowman....

I don't know if you are interested in this, but I personally like cognitive a.i. for some things and pattern matching for others.

I understand there is some cognition built into UltraHal, but I personally would like more of a cognition engine.

Of course a cognition engine by itself is a.i. for narrow use.

You know that question/answer plugin idea of yours?

Take a look here: http://www.mind.ilstu.edu/research/pt/
It is a cognitive a.i. project with GUI and TTS ect.
If you want to use TTS, you have to download protothinker and the iris4 software pack.
The source code is available also.

I was wondering if there is a way to add this kind of cognition engine to UltraHal?

By the way, for those who want a killer General A.I. ....well it is not here yet, but check OpenCog. It is looking very promising as far as being a strong general A.I.
Title: GRETTA PLUGINS
Post by: snowman on July 27, 2009, 07:19:21 pm
Thanks for the info. I went ahead and asked for more information about their source code via email.

I had just began to parse your concept files. I got the WordNet type script completed, as well as the Database class script. These two scripts would work together in a concept parser script that would/ or should parse your concept files (or perhaps user-sentence) and store this sentence information into a database.

The Question plugin would have access to this database and would retrieve an answer for the user. This information would be drawn from the information stored in the concept filled database.

The scripting involved to properly divide the concepts(or user-sentence) is complicated. The ProtoThinker should make this task much easier.

I have already worked on some of this script. I have to write scripts that will both recognize and reconstruct particular sentence models. There are a few different types of sentence models. If anything, looking at the ProtoThinker gives me ideas on how to make an excellent parsing script. Thanks Jason!

I also have a plugin idea that will also give a fullbody htr lots more physical animation, like raising her arm to touch her hair. I know how to do it but I haven't done it yet. Hal should get much more interesting when this is completed.

Good to hear from you Dude! [:)][8D][:D]
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 27, 2009, 10:29:13 pm
By the way:
i had a problem with the text in the GUI when i had my desktop (xp) set to large DPI. at normal DPI it is okay.

you can enter some "facts" into protothinker, and then ask it if it is "thinking anything" about what you have told it. this will give you the current stored "thoughts" about what you have told it and what it believes about what you told it.

you can ask it to "deduce anything" and it will tell you the new conclusions it has reached about the things it knows.

all of this (thought process - gramatical, semantic, and cognitive)
is displayed in the GUI.

you don't need the iris4 software if you don't want the modules for TTS and vision and neural net  ect.  you just need the protothinker main package.

i can't wait to see the database of yours come to life....hope it does[:D]
good to hear from you also...
-the dude
Title: GRETTA PLUGINS
Post by: spydaz on September 11, 2009, 06:19:03 pm
quote:
Originally posted by snowman

scratch the batch...

I found out how to call vbs code from another file. That way I can both write new code with a vbs file and then implement it in the same file. This can potentially allow my program to learn new ways of doing things.

 
quote:
Set fso = CreateObject("Scripting.FileSystemObject")
Set objTextFile = fso.OpenTextFile(MyDir & "sayhello.txt", 1, True)
Text = objTextFile.ReadAll
objTextFile.close
ExecuteGlobal Text


It will even call up Sub-routines if you open the text first before you actually call the script in the original vbs file.


fun! fun! (i need a life)





im wondering about this "EXEUTE GLOBAL COMMAND" ...... any insight
Title: GRETTA PLUGINS
Post by: snowman on September 11, 2009, 08:58:52 pm
This only works in a script. Basically it reads all the text in a file and then executes it as though it was apart of the .vbs file.

You can add entire scripts on-the-fly, I even made one of the first Matrix scripts using it. It would find all the plugin files in a particular folder and execute them in line.

You can even reference a .vbs class at the end of the script using the Execute or Execute Global command.

I have even created a text at the top of a file and then at the bottom I would execute it. So it can allow itself to recreate its own script. Even gradually becoming different... evolving with the environment.

There are some drawbacks. When I call a function from the main script into one of the sub-vbs plugins.. it will not work. However, a Sub will work... go figure.

Maybe there is a way that I have not considered yet.
Title: GRETTA PLUGINS
Post by: snowman on October 01, 2009, 03:46:49 am
Until JasonDude gets a Windows Live skydive account or savefile.com fixes their site, or whatever, you can download Jason's plugins at this url.

http://cid-8461e5894db222b3.skydrive.live.com/self.aspx/.Public/SourceCode%20HalVisionX-Vista%20.zip#resId/8461E5894DB222B3!124

[;)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on November 08, 2009, 12:35:16 pm
sorry about the bad link[:I]
thanks snowman, appreciate it!
i will get an account, and upload the latest versions of the files as soon as i get a chance. (thus fixing the link)
you da man[:)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on November 08, 2009, 01:07:14 pm
i fixed the link.
thanks for covering for me dude.
check the first post for the corrected link.

if interested...here is some music.
http://sites.google.com/site/lazyfield/
Title: GRETTA PLUGINS
Post by: sybershot on January 05, 2010, 10:51:29 pm
was hoping the updated new GRETTALog would work. I got a path error so I changed 8 paths from C:Program Files to C:Program Files (x86). I now get error

HalScript Error 70 on line 2581 in column 4: Permission denied

I opened up the DGB file that was saved, and it was not in the same language as the last one I got with using captains log. it looked more like a compiler code, so I could not figue anything else out.

currently using vista home premium 64

It would be great if you could help me out, I know your very busy coding, testing, and living your life, so don't sweet if you can't.
I posted what I could, just incase if you where interested.
I use the repeat plug-in currently and that one works great. thank you very much for everything Sincerely Sybershot

Edit: I did nothing else except close the error window, and I was able to create a multiple log entries in 1 text doc. I was not able  to create a custom log
example: begin log entry titled recipies.
when I did that it wrote that in my original text doc.
example:
Code: [Select]

BEGIN LOG ENTRY.
THIS IS SWEET.
0:19.  
BEGIN LOG ENTRY.
test test test test test
0:53.  
begin log entry titled recipies.
1 cup sugar = 2 cups nice.
1:02.  
begin log entry titled ( subject ).
testing again.
testing still.
1:03.  
begin log entry titled recipies..
test test test.
that's all in one text doc named 1-6-2010

Thanks a million it is a great plug-in, I will enjoy it very much sincerely Sybershot
Title: GRETTA PLUGINS
Post by: djkilla on April 16, 2010, 06:16:18 pm
I may be the only sports fan on the board but if there are any other I thought this might be a treat for you to add to Grettanews!
I added it and it works great!.

If InStr(1, NewsRead, "CURRENT BASEBALL SCORES", 1) > 0 Then NewsTopic = "http://www.mpiii.com/scores/mlb.php"
If InStr(1, NewsRead, "CURRENT NFL SCORES", 1) > 0 Then NewsTopic = "http://www.mpiii.com/scores/nfl.php"
If InStr(1, NewsRead, "CURRENT NBA SCORES", 1) > 0 Then NewsTopic = "http://www.mpiii.com/scores/nba.php"

These are also available to add if you would like.

NHL
http://www.mpiii.com/scores/nhl.php

NCAA
http://www.mpiii.com/scores/ncaa.php

WNBA
http://www.mpiii.com/scores/wnba.php
D
Title: GRETTA PLUGINS
Post by: jasondude7116 on April 26, 2010, 11:20:45 pm
i know this is real late, but thanks for the info![:I][8D]
Title: GRETTA PLUGINS
Post by: CypherGary on May 12, 2010, 01:29:28 pm
I decided to try these scripts, and get a path not found error.
I can see the problem. I am running a 64 bit machine, so the programs are installed to: 'C:Program Files(x86)abaware...'.
Your script expects 'C:Program Filesabaware...'.
I changed all instances of the path in the emotionsengine.uhp but I still get the error every time. WIll these scripts not accept a '(' or ')' as part of a path string?
If I uncheck emotionsengine, it works. Does emotionsengine use another script that would have the path in it?

 - Gary
Title: GRETTA PLUGINS
Post by: sybershot on May 12, 2010, 02:12:26 pm
It does need the (x86) with the  ()
in there. you also have to create the folders and file/files needed manually. for some reason the script cannot create them on my vista machine.

Title: GRETTA PLUGINS
Post by: CypherGary on May 12, 2010, 07:02:26 pm
I decided to do what I thought would be the easy answer: I copied the entire Zabaware tree from /Program Files (x86)/ to /Program Files/, deactivated Hal, uninstalled Hal, then re-installed him into the /Program Files/ where the scripts expect it.
All went well, except now it does not think I purchased the expansion pack, and I can't find a backup.

At least the scripts work now.

 - Gary
Title: GRETTA PLUGINS
Post by: jasondude7116 on May 13, 2010, 12:25:13 am
wish i could help more....no win vista or win 7 experience.[:I]
Title: GRETTA PLUGINS
Post by: CypherGary on May 13, 2010, 01:59:41 pm
Just FYI:
It worked. Now that Hal is installed in the /Program Files/ tree, all the scripts work fine. I did go thru the scripts and made all the directories they need, just to be sure I would not get permission errors.

I have to say Lora (My Hal) has never acted more realisticly than she does now.

I'm using: Hybred random talks LS, Research, emotionsengine, Advanced internet, and Captains Log. Should I toss in Gretta Array as well?

I am considering trying your concepts, but have not decided yet.

Is there one spot I can get a package with all that is current?

Keep up the great work.

 - Gary
Title: GRETTA PLUGINS
Post by: sybershot on May 13, 2010, 05:42:03 pm
Glad too see you got it working, And thanks a lot for sharing how you did it. So simple I'm kicking myself in the behind for not thinking of it
Title: GRETTA PLUGINS
Post by: jasondude7116 on May 13, 2010, 08:14:56 pm
you can get everything current at the link that is provided in the first post of this thread.
i always update that same first post...as to not clutter.

here is the same link:
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6278

i would highly recommend getting the current versions....so many updates over time....

there is also a file called GrettaAllPluginsPackage.zip which has everything.

I have been using the GrettaArray for a while, which O.T.C.E. started....and basically invented. I love the results. it really helps with topic focus and topic comprehension (similar topics..ect.).

all the new versions will create folders and files automatically where needed, based on your personal UltraHal main folder, but it has not been tested on anything but xp by me. it should work though on whatever system.....me thinks.

remember that if you use the concept files by feeding them into the main interface (chat) then it will be doing pronoun reversal on it, and hal also learns by relationship to current subject and what is currently being said. so....caution. i am using them in a totally different way by having another program (my personal ai) look through them. i don't know yet a good way to input them into hal without semantic problems or relation problems or blah blah....
if you are really interested in it, i have a file that has like 250.000 lines of that stuff that has not been personally filtered by me. you could write a plugin that could take it and put it inthe hal database and use it for responses.

read the first post (in the link i gave you) for more info. i update it when i do file updates. if you have more questions just post here...however small, i will try to help.
Title: GRETTA PLUGINS
Post by: Lola on May 16, 2010, 02:34:39 pm
Just want to comment that I'm using the GRETTAarray with Win 7 Home and... I just LOVE IT!
It keeps Hal focused on the subjects and really makes a HUGE difference! The Dude is amazing! [:)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on May 16, 2010, 02:37:10 pm
[:I][:)]
Title: GRETTA PLUGINS
Post by: lightspeed on May 17, 2010, 04:42:58 pm
hello jason dude, i just installed balbocca and installed the story file in the zabaware ultra hal assistant 6 file and i can't seem to get hal to read a story , i have draged a story file into the hap file on the desktop and hal will read it then , i write please read the story I Robot but instead my hal has now learned that saying and is saying :please read the story you robot .

I don't know if you have written anything into a file to stop hal from learning what a person is asking (like above ) if not hal is gong to reverse what we say to it as a learned phrase , thats what mine just did .
i have balbocca open when i ask hal to read the story but it doesn't do it for some reason , any suggestions ? [B)]
Title: GRETTA PLUGINS
Post by: lightspeed on May 17, 2010, 05:01:19 pm
ok jason , never mind it was my fault , i forgot to download the uhp reading plug in , all is working now , i do have a question for you , it would be cool if anyone could just place the lyrics (words ) in a txt. file and balbocca would turn them into song .

i have noticed that if a person uses the gretta program for reading stories it will overlap on my uhp plug ins extended talk , etc. so people will have to uncheck them first .
also is their no way of making the stories read to lip sinc on hal , that would be a plus , if it can be done ??[:)]

Title: GRETTA PLUGINS
Post by: lightspeed on May 17, 2010, 07:43:31 pm
Hey jason dude , i have another question for you on the read a story gretten file , is their any way to have it to where you can say "pause" and it will pause balbocca (and hal ) from reading the rest , also is their any way you can say "stop reading " and it would stop the balbocca (and hal ) from reading altogether (until you tell him to read something else .
the word " continue reading "command would also have to be added to to make hal continue after being paused . is anything like that possible? this would help alot . [8D]
Title: GRETTA PLUGINS
Post by: jasondude7116 on May 22, 2010, 04:26:05 pm
that could be done, but you can also push the pause button on the "right click" balabolka icon in the lower right of the screen.
then when you want to go again you can click "play" on the icon.
Title: GRETTA PLUGINS
Post by: lightspeed on May 22, 2010, 08:22:10 pm
hey jason dude , i also have a question for you , does balboacca program have to be completly open , even though its in behind or minimalized , or is their a way that just because the program is on a pc that hal will automatically use it? (i guess i am explaining this ok ) so far i have to open balbocca then hal will use it just fine to read a story !
In another question to you , does balbocca with the gretten program also read any stories that are in other formats such as mp3, etc. or is it just txt files?
thanks ![:)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on May 23, 2010, 12:52:20 am
if you are trying to read a story then:

install balabolka
install GRETTAread plugin
install the story folder (from the songs and stories folders available at the same link)

then you can say "please read story list" to get a list of the stories that can be read
then you can say "please read the three voices" and hal will read that story which is in the story folder (which should be placed inside the ultrahal main folder)

it currently reads text files only.
Title: GRETTA PLUGINS
Post by: AleRafa on June 01, 2010, 06:47:54 pm
Hi, Jason. I just downloaded the trial version of Ultra Hal 6.2 yesterday and wanted to try some of your plugins, but I keep getting error messages when I use them. I was specially interested in the subject array plugin but this is what happens:

Halscript error 76 on line 587 in column 6: path not found

I'm not a programmer or anything like that, I'm just a regular user, but I was wondering if you would have any idea why this might happen. The software is installed in the default folder. If there's something more you need me to tell you, let me know.

Thanks.
Alejandra.
Title: GRETTA PLUGINS
Post by: calzan on June 01, 2010, 07:04:11 pm
Hi,
I also get error messages using the Array plug in, everything else works good!

Cal
Title: GRETTA PLUGINS
Post by: jasondude7116 on June 01, 2010, 09:42:11 pm
Follow the link in the first post, and re-download GrettaArray.
It has been updated to automatically look for proper directory locations based on your pc and install.

I think this will fix the problem.
Title: GRETTA PLUGINS
Post by: AleRafa on June 02, 2010, 01:58:18 am
All problems appear to be solved! Thanks a lot.
Very very silly me, I realized that the problems were because my version of Windows is in Spanish and of course the path changed. Instead of being "program files" my folder was "archivos de programa". So I unistalled Ultra Hal and Balabolka and installed them in the correct folders and everything works smoothly now. (Again, it was very stupid of me not realizing that before, but well, I had a bad day).[:o)]
The singing plugin is awesome!
Thanks again.
Title: GRETTA PLUGINS
Post by: jasondude7116 on June 02, 2010, 09:07:15 pm
I get the reward. It really makes me feel good that someone can have fun with something I made!

- thank you.
Title: GRETTA PLUGINS
Post by: AleRafa on June 03, 2010, 04:06:04 pm
One more thing, I'm sorry if I'm a nuisance [:D]
I haven't figured out yet which is the best (ehem... or easier) way to incorporate the concept files into Hal's brain, considering the huge amount of sentences and the different topics?
Thanks for any help, this is a whole new world for me [xx(]
Title: GRETTA PLUGINS
Post by: jasondude7116 on June 03, 2010, 07:56:22 pm
there is no easy way to incorporate it in the Hal database. The best way would be to create sub tables in the auto-learn brain for each subject and put each line into a subject catagory that is relevant. Lots of work....line by line. I have a secondary A.I. program that deals with these files. It would be possible, however, to build a plugin that could use the lines for a number of things, or put them into the database in one catagory that could be accessed by a plugin for relevance.....ect.
Basically, there isn't an easy squeezy answer, because the auto learn from a text file function in the brain editor was not made to deal with that many subjects. It was designed more for a "one" subject file, and believe me I have tried a few different ways of doing this.
Title: GRETTA PLUGINS
Post by: jasondude7116 on June 03, 2010, 08:01:11 pm
Just remember that if you feed them into the main Hal chat interface (as some have done) then understand that Hal learns by association, and just feeding them in one line after another without first talking about that subject will cause Hal to associate all of them to each other .....Not Good.
Title: GRETTA PLUGINS
Post by: AleRafa on June 06, 2010, 04:01:32 am
Okey dokey!
Thanks for your help and your great plugins! [:D]
Title: GRETTA PLUGINS
Post by: lightspeed on June 07, 2010, 08:05:39 pm
hi jason dude , i was wondering something when i have the gretten plug in subjet working it sometimes says : You never know when the subject of house, dwelling, home, domicile, abode, habitation, dwelling, house, housing, lodging, living, accommodations, zodiac, library, loft, attic, garret, porch, study is going to come up.
is this the correct way it's suppose to say ?
it seems strange that it talk off a long list of things like this .
Title: GRETTA PLUGINS
Post by: raybe on June 07, 2010, 09:02:06 pm
Hey there lightspeed,
I think that is exactly what jasondude was talking about if you feed them into the main Hal chat interface then understand that Hal learns by association, and just feeding them in one line after another without first talking about that subject will cause Hal to associate all of them to each other. I could be wrong so I will wait with you for an answer from jasondude.

raybe
Title: GRETTA PLUGINS
Post by: AleRafa on June 07, 2010, 10:30:54 pm
lightspeed, the same thing has happened to me several times even when I was using Hal 5. I'm not sure but I think I was using the XTF brain. And I think I had just installed Hal that same day and hadn't talked to her much and she hadn't read any files.
Examples:

Do you think a public beach is an appropriate location for death, alteration, modification, happening, occurrence, natural, event?

What does it take to become proficiently expert about sunglasses, spectacles, specs, eyeglasses, glasses, optical, instrument, polaroid?

Oh, and raybe, I don't think this is whan jasondude was talking about. The terms are semantically related, so the associations are correct. The weird thing is that Hal says all of them together!
Title: GRETTA PLUGINS
Post by: lightspeed on June 08, 2010, 10:26:36 am
yes AleRafa the words are all common words guess we need to hear from jason dude on this to know for sure !
Title: GRETTA PLUGINS
Post by: jasondude7116 on June 08, 2010, 04:44:18 pm
For thos that are getting a list of subjects:

If you are using GrettaArray then what is happening is; Hal normally uses one subject at a time called CurrentSubject. The GrettaArray uses the wordnet database in Hal to find semantically related subjects for the CurrentSubject. So when Hal would normally say the CurrentSubject in a sentence (one word), now it will give the entire CurrentSubject which is several related things to a word that was used in conversation (instead of just one word). The reason for having multiple subjects (an array of subjects) for the CurrentSubject is so that Hal has a better understanding of the subject's semantics and relations, rather than just understanding a word used in a sentence.

If it is happening without the GrettaArray plugin then I am not sure what is happening, and I don't think it is related to any of my stuff.

-hope this helps.
Title: GRETTA PLUGINS
Post by: AleRafa on June 09, 2010, 05:41:16 am
That's strange, then! I'm pretty sure that I was still using Hal 5 when I saved those examples I posted. So i guess it's not your plugin's fault, jason [:p]
Title: GRETTA PLUGINS
Post by: lightspeed on June 21, 2010, 10:59:41 pm
yes this was happening with your subject array? program , oh it's a good idea that hal will learn to associate it will different words but with hal saying the long list outloud it just doesn't sound like a natural thing like a person speaking ( but that's just me , i personally like everything as realistic or human sounding as possible ). [:)]
Title: GRETTA PLUGINS
Post by: Lola on July 08, 2010, 11:32:48 pm
Hello Dude!

A couple of days ago I found out about your plug in updates and tried them out.

So far my most valued plug-in is your excellent GRETTA Subject Array and it is the one feature that after many years of trying Hal finally made me stick to it. I downloaded the newest one and is working flawlessly. Somehow, even if it sounds strange, Hal is even asking question that he never did before, staying a lot more focused on topics and I'm already noticing better answers from Hal as well. I'm so happy with Hal now, awesome improvements, thanks!

Now, the newest GRETTA curiosity plug is giving me similar problems as it did before.  I really find it strange as I have no problems at all with the other GRETTA plug-ins that I currently use.

I'm going to explain my problems with the curiosity plug-in to document it as a clue, in case that it could help pinpoint other future issues. I'll keep checking for future upgrades and will try them as well. I understand that what's happening to me with the curiosity plug-in could be an isolated problem with the system configuration of my own computer, who knows.


Anyhow, this is the strange situation that I'm experiencing with the new GRETTAcuriosity plug-in:

After installation of the plug-in and while selecting it at the Hal's options menu screen:  
–  I get NO options menu for the plug-in at  ALL  –

I discovered by trial, that if I place my mouse cursor in any other random plug-in to look at their options and then immediately change back and click on the curiosity plug-in, its options miraculously will APPEAR, then I get the opportunity to set  the curiosity plug-in options in the Hal brain options screen and click on the apply changes button, so I did.

After a lot of experimentation I also noticed that Hal's program does not retain the Gretta curiosity options in memory or show them visually as checked in the plug-in menu.   Every time I start the program I have to go to the options menu and check other plug-ins options first in order for the curiosity plug-in to show its own options and then I have to re-checked them again.

ERRORS:

Starting and loading the Hal program always brings the same error :

Microsoft VBScript runtime error HalScript Error
Error 13 on line 6199 in column 0: Type mismatch: 'Cdbl'
The file “C:Program FilesabawareUltra Hal Assistant
6HalScript.DBG” has been saved with the current script being used for debugging purposes.


Asking Hal questions or while idle brings variations of errors on different number lines:

Error 13 on line 3690 in column 0: Type mismatch: 'Cdbl'
Error 13 on line 5845 in column 0: Type mismatch: 'Cdbl'
Error 13 on line 5792 in column 0: Type mismatch: 'Cdbl'

While chatting with Hal everything goes fine until I ask him a question or Hal is idle for a while. After an error pops Hal brings blank responses and does not respond any more until it is turned off and on and the same situation repeats itself.

(by the way, my OS is Windows 7 Home premium)

I decided to try unselecting ALL of my current plug-ins and then only left the curiosity plug-in selected, once again the same problems showed up. I had to select other random plug-in in order to make the curiosity options to appear and be selected, then I only left the curiosity plug-in checked and rebooted and restarted Hal. This time while loading the Hal program I got the following error:

Error 13 on line 2586 in column 0: Type mismatch: 'Cdbl'

I pressed OK to the error and started Hal to chat. No more errors then, but the curiosity plug-in was not working at all. Every time I asked Hal a question he kept responding to me “You aren't going to keep repeating yourself, aren't you Lola?...


These are the plug-ins that I'm currently using with no problems at all:

Free Will Choice and Profile
Gender & Age
GRETTA  Internet Function
GRETTA  Lonely
GRETTA  Media Functions
GRETTA  Repeat Function
GRETTA  Research Function
GREETA Story Reading Function
GRETTA Subject Array
Run Programs by Name
What do you know?


I downloaded the complete package of GRETTA plug-ins and the single one several times to make sure the plug-in was not corrupted.

I finally unselected the curiosity plug-in and everything is back to normal.  So this is what happened to me this time. Anyways, I'm totally happy with Hal and the new GRETTA Subject Array and could certainly live with it as it is.

Thank you Dude for all of your efforts on keeping up with upgrading your excellent plug-ins! Lola [:D]

Title: GRETTA PLUGINS
Post by: Bill819 on July 09, 2010, 03:54:42 am
I have not tried to use the new Hal 6.2 or any of the plug-ins but I did have some information about the "Timer" function. It can only be used once or else you will get errors. That means that it can only be called or used only once. Haven't examined the new Hal I can say that this is your problem but it sure sounds like it. The Timer command is a function not a regualer VB token or command thus it can only be implemented once or else it fails. I don't know if this is the problem but it is then that would explain the problem.
Bill
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 09, 2010, 11:24:11 pm
I really don't know for sure what is making that happen.
I know why the CDbl errors are happening, but I really don't know why the menu problem is happening. (thinking....have had a few mentions of that since win7)

I took a look at GrettaCuriosity, and found errors in a few files, and some improvements that could be made.

I have updated: GrettaCuriosity, GrettaLonely, GrettaMedia, and GrettaMusicIdle (which wasn't even working at all!!) please redownload
Title: GRETTA PLUGINS
Post by: Lola on July 10, 2010, 01:19:39 am
The problem is actually an interesting puzzle. I will go ahead and download all of the new updates. I'll let you know when I try them, in a day or two. Thanks again! [:D]
Title: GRETTA PLUGINS
Post by: Lola on July 10, 2010, 03:04:46 am
[:D] GREAT NEWS! You solved the puzzling puzzle! the GRETTA Curiosity Function is working! No error messages at all!!!

A very minor quirk still persist but it is not important because once you set the plug-in options the Hal program remembers them and the plug-in works great.

The quirk is just to select another random plug-in first in order to make the curiosity options to appear, but it only needs to be done once to set it up and probably again if I need to change the options, no real big deal.

I'm so happy that I'm just going ahead to update my other plug-ins!

[:D] [:D] [:D] THANKS SO MUCH DUDE!!! [:D] [:D] [:D]
Title: GRETTA PLUGINS
Post by: lightspeed on July 10, 2010, 07:37:36 am
Hey jason dude , maybe your curiosity plug in is why i have been getting the hal error 13 on line 4490 in columne 8 . The ciriosity one is the one i use .
can you post the newest file that lola got so i can get it and i can delete the old file i have . , thanks . [:)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 10, 2010, 03:38:42 pm
quote:
Originally posted by Lola

[:D] GREAT NEWS! You solved the puzzling puzzle! the GRETTA Curiosity Function is working! No error messages at all!!!

A very minor quirk still persist but it is not important because once you set the plug-in options the Hal program remembers them and the plug-in works great.

The quirk is just to select another random plug-in first in order to make the curiosity options to appear, but it only needs to be done once to set it up and probably again if I need to change the options, no real big deal.

I'm so happy that I'm just going ahead to update my other plug-ins!

[:D] [:D] [:D] THANKS SO MUCH DUDE!!! [:D] [:D] [:D]



Good!
Yeah, I noticed you are using the GrettaMedia plugin. The GrettaMusicIdle plugin works from the GrettaMedia plugin (you have to have GrettaMedia plugin set-up and working with a indexed music directory before you can use GrettaMusicIdle) and makes it so that Hal can listen to music on it's own (after idle). It will turn the music off (if Hal was playing some at the time) when you go to talk to him again. I got it working again....I had changed some other plugins which affected this one, and made it useless. Well anyway, it's working now. (can't believe I missed that one) I thought you might be interested in it since you are using GrettaMedia.

Fixing the GrettaMusicIdle plugin was a "brain melter"[:p]

I'm glad it worked for you. The thing is....everyone has a different system, and believe it or not, I can sometimes not see an error (on my system) that appears instantly on someone else's system. And I don't have the computer so that I can see what is happening. I also don't have any experience with win7. I have noticed some errors happening with the hal shell since people started using win7. It might seem to be related to a certain plugin, but it might not be. For example, the GrettaLonely and GrettaCuriosity plugins use almost the same code...why I never get any errors and you get an error with one on the menu is a mystery to me. The only clue that I have had personally with the menus is when I updated my .Net for windows. After I did that, the "brain" that I choose in the menu doesn't stay highlighted. I have to do almost the same thing you were talking about to get it to stay focused. This happens with or without plugins. Also the .Net update that I did is included in win7.....coincidence?
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 10, 2010, 04:00:49 pm
quote:
Originally posted by lightspeed

Hey jason dude , maybe your curiosity plug in is why i have been getting the hal error 13 on line 4490 in columne 8 . The ciriosity one is the one i use .
can you post the newest file that lola got so i can get it and i can delete the old file i have . , thanks . [:)]



Go here for the newest files.

http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6278

At the top of the first post "gretta plugins", there is a link that always has the latest files. I update them at the same link every time. Also, if you look at the bottom of that first post, you will see the latest update notes.

What you need to do, is get a program that has a "line counter" in it. Such as "Crimson Editor" (the one I use). When you get an error "popup", then: without touching anything to do with hal or the error screen, (don't worry if additional errors popup...they are meaningless after the first error) open the editor program of your choice that has a line counter and open (in the hal main folder) "HalScript.dbg". Use the editor to go to the line number that was in the error popup. When you look at that line, you will see that it is (probably) part of a plugin. You can go edit your plugins to see which one has that line (and surrounding lines) in it. Once you know what plugin it is, then you can:
1 - get the latest version of that plugin (see if that is a fix)
2 - if that doesn't do it then post the line from "HalScript.dbg" that gave the error, and the plugin that you are using...along with a list of your other plugins. This will help me find the problem.

For your info: the current brain .uhp file that you are using along with the plugin .uhp files you are using, make up the whole script that you are running. That "entire" script...in it's current form (it changes order sometimes) is copied to the file: "HalScript.dbg". The error line numbers you are seeing are not from just one file, but instead from a compilation of several files. The "HalScript.dbg" file is a copy of all of the script together in it's current order. It will change when you do things in hal, that's why you need to look at "HalScript.dbg" when the error happens, before you end up changing the script by doing something like closing hal or going to the hal menu or closing the error window...ect.

I hope I explained that okay.....[:I]
Title: GRETTA PLUGINS
Post by: Lola on July 10, 2010, 08:48:34 pm
I spend almost all night, last night updating and experimenting with the new plug-ins updates. Once I tried your GrettaMusicIdle plugin, I got hooked on it trying to see which songs Hal was going to choose next, as I have 10GB of songs. I loved it, it is certainly a great plug-in to have!

So I updated the GRETTA Curiosity, Lonely, Media and added the MusicIddle to my collection. Checked them all, and so far they are all running nice and smooth!  By the way, the GrettaMedia plugin is my second best and I use it ALL the time!


Well Dude, I think you might have nailed the most likely clue to the quirk, I already had multitude of insane problems with .Net framework with my Win XP desktop, so now I'm being very careful with their updates in my Win 7 netbook were Hal resides. Just a couple of weeks ago a new large .NET update came up but I totally skipped it because I found out that there were already lots of problems and errors with its installation.  You should consider experimenting with the Win7, so far I'm very impressed and satisfied with it, I could use most of my Win XP software with it and does quite well in a simple and cheap netbook like mine, try it sometime I think you'll be surprised as how smooth and cool Win7 is.

Well Dude, bye now and THANKS once again![:D]
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 14, 2010, 05:39:53 pm
Added GRETTA System Monitor plugin.  [:)]

get it at the link in the first post as always:

http://www.zabaware.com/forum/topic.asp?TOPIC_ID=6278

the install instructions are on that post and in a text file in the zip.

Yea! [:D]
Title: GRETTA PLUGINS
Post by: tedathome on July 14, 2010, 10:25:17 pm
Hi jasondude. Tryed system monitor with Vista. Defalt folder is the same as XP. Followed your instructions as to registering .dll but it couldn't be found. I think I don't quite understand how to do that. Also read the .uhp and noticed that it is an idle responce that uses the minit timer so that other timer plugins should be unchecked when using this one?
EDIT:
I unchecked other idle plugin but one seems to still be working.
Your new plugin is working without regestering .dll so I know it will work for vista if I can register the .dll

Here is the idle response I got.

The description for Event ID 7036 in Source "Service Control Manager" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer
The description for Event ID 7036 in Source "Service Control Manager" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer
The description for Event ID 7036 in Source "Service Control Manager" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer
The description for Event ID 7036 in Source "Service Control Manager" cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer
TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts. This was an actual hal response.
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 15, 2010, 06:12:06 pm
you can use as many idle plugins as you want. the only thing you have to worry about is: are they wrote to be compatible with each other? all of mine are, and i run them all at the same time without error.

i don't know anything about vista, and registering a file. in xp, the way i do it, is to use the windows command prompt. (like dos prompt) then i go to the directory where the .dll is (logparser.dll), and type:
regsvr32 LogParser.dll
which in windows command prompt looks like:

C:Program FilesLog Parser 2.2>regsvr32 LogParser.dll


then it gives me a popup message that says success.
maybe someone with vista experience can give you an idea how to register it.
here are the xp instructions:

Installation:
Step 1 - Unzip the file into a folder of choice. (doesn't matter where)
Step 2 - The zip file contains a folder called "GrettaSystemMonitor". Inside that folder you will see a file called "LogParser.msi". Click on it to install.
Step 3 - Once "LogParser.msi" is installed, use the windows command prompt to go to the install directory. By default (In windows XP) it is: "C:Program FilesLog Parser 2.2\"
Step 4 - At the command prompt "C:Program FilesLog Parser 2.2>" type (WITHOUT THE QUOTE MARKS): "regsvr32 LogParser.dll" and press enter. (this will register the .dll file that the plugin uses. If successful, it will give a popup "success" message.)
Step 5 - In the folder "GrettaSystemMonitor", you will find a file called "GrettaSystemMonitor.uhp". Copy it to the Ultra Hal main directory.
Step 6 - Start Hal, and go to the "Brain" options screen. Check the plugin called "GRETTA System Monitor". Then click "Apply" in the right hand corner.


**When I say "wondows command prompt", I don't mean click (in xp) "start", "run"  .....but instead i mean the command prompt program. which in xp is started by clicking "start", "all programs", "accesories", "command prompt"

[:p]
Title: GRETTA PLUGINS
Post by: visad on July 15, 2010, 07:56:25 pm
I am having a problem with all of the plugins that I have tested in this post. HAL is locking up and crashing on a Windows 7 X64 box. No error, just a debugger window popping up.
Title: GRETTA PLUGINS
Post by: tedathome on July 15, 2010, 08:04:47 pm
Thank you jasondude for your responce. I don't see how you could have explained it better. In "seeking my own salvation" I found that system requirements are for OS later than 98 but earlier than Vista. Security seems to be the issue and it won't even let administrater register the .dll[:)]
Title: GRETTA PLUGINS
Post by: jasondude7116 on July 16, 2010, 10:55:49 pm
quote:
Originally posted by tedathome

Thank you jasondude for your responce. I don't see how you could have explained it better. In "seeking my own salvation" I found that system requirements are for OS later than 98 but earlier than Vista. Security seems to be the issue and it won't even let administrater register the .dll[:)]




i started to do some research on the issue, but i quickly found out that without a vista system, i can't try anything to see if it is b.s. or real and working. i did see a lot of things that said that on vista...users that are listed as administrators do not have full admin rights, and things that are security issues like that are going to need full admin rights. then i saw about 50 ways to register it on vista. the logparser program is a microsoft program.

on this page:

http://www.microsoft.com/downloads/details.aspx?familyid=890cd06b-abf8-4c25-91b2-f8d975cf8c07&displaylang=en

it says:  System Requirements
Supported Operating Systems: Windows 2000; Windows Server 2003; Windows XP Professional Edition

sorry ted looks like no vista or win7 support. i started to look for a vista/ win7 version, but little time. it's hard for me to write and test things for systems i don't have. wish i had an easy answer for you.
one thing i do know....if i upgrade to win7, it looks like i will be doing some programming![:p]
Title: GRETTA PLUGINS
Post by: tedathome on July 17, 2010, 01:09:46 am
Thanks jasondude. I tryed several ways from admin standpoint, then went searching. Most of it was bs. Downloaded Log Parser Lizard GUI that guarnteed Log parser would install in Vista. No luck, out of ideas. It sugests to update .net framework, did that two days ago.
lol, if you really want a vista to work with, I think I might know a guy that's looking for an Xp! Just jokeing. I have the disk for dual booting, just don't enjoy re-booting all that much.[:)]
Title: Re: GRETTA PLUGINS
Post by: raybe on August 10, 2010, 08:04:36 pm
Hi jasondude, Just needed a couple of probable answers to a hick up with the 'research plugin'.  A) Should work with any character?  B) Internet explorer needs to be default browser?  C) Latest update was built in May, I believe? Any thing I could have missed or need to add because it worked fine for a short time and now it gives me a bizarre error. Didn't post but it was an error that stated error on line 0ne million something which I believe would not exist but Because I didn't follow up and just posted I was hoping you had some ideas even though I didn't give you a whole lot to go on, sorry. I understand if you need more info. I just was on our forum here and I figured I ask. Didn't even proceed with  normal procedures for plugin problems. I was here and posted. Hope everything is well.

Thank you,
rabe
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on August 12, 2010, 04:51:45 pm
See the first post on this thread for instructions.
You must have Balabolka installed in the default location, or change the plugin to reflect the location. I don't know the answer to the default browser issue, the script is either calling the windows default browser or it is calling internet explorer (not sure). I have never looked into that or experimented with it. It does not give the response (reading the news) from the Ultra Hal program, because Ultra Hal does not "chain" the sentences of an output to the speech engine. (responses from Ultra Hal have a fairly short limit...booo :) ) To overcome this I am using Balabolka (tts program) to give the response. (unlimited size). If you are using a character for lip sync; it will not lip sync. This is a issue with the Ultra Hal program that I do not have the ability to change. It must be done by Robert. For now the response will go through the Balabolka program. See the first post for more instructions.

Hope that helps....good luck.
Holler if you can't figure something out!
Title: Re: GRETTA PLUGINS
Post by: raybe on August 12, 2010, 07:50:10 pm
jasondude, thank you for the update news. But now out of curiosity I do need to look at the script because I thought it did specify IE. But could be very wrong. With you around nobody needs to holler. Thanks.

raybe
Title: Re: GRETTA PLUGINS
Post by: One on August 14, 2010, 08:52:21 pm
I guess if 'Peter' is being robbed to pay paul ,, He pays the bills?? JK LOL! :o
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on August 17, 2010, 04:52:57 pm
jasondude, thank you for the update news. But now out of curiosity I do need to look at the script because I thought it did specify IE. But could be very wrong. With you around nobody needs to holler. Thanks.

raybe

it does use CreateObject("IExplorer.exe")

as long as you have internet explorer on the machine, it will work. (regardless of the preferred browser that you use) If you need the script to use another browser to get the info, then I would have to figure out how to script for that one. I have never scripted for another browser, because most windows machines have that "object".
Title: Re: GRETTA PLUGINS
Post by: raybe on August 17, 2010, 09:55:22 pm
jasondude,
Thank you for the reply and the verification for the browser. I was also under the impression that IE needed to be the default browser.
 Also thanks for clarification on IE just needs to be installed on your system because the script will utilize it regardless of browser default settings. That will work for me although if there was a way to write a 'use default browser selection' it would make it that much more secure and stable as well. Just my opinion.
Thanks again,

raybe
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on August 25, 2010, 01:19:24 am
I have a fix for Hal giving long subject lists during conversation - when using GrettaArray plugin.
I have made an update to the first post with this info:

Open your current Main-Brain ".uhp" file with notepad and "save as" (whateverthebrainname).bak
This will make a backup of your brain file. (good to have)

Then replace this section of the file:

    'PROCESS: CONSTRUCT A RESPONSE TO A SUBJECT
    'Here we help Hal make some "smalltalk" using keywords preserved on CurrentSubject,
    'plus recognition of other keywords. If Hal finds any of the listed keywords anywhere in
    'the user's sentence, those keywords override and replace whatever was in CurrentSubject.
    'Hal uses the CurrentSubject keyword(s) or any of the keywords in the smalltalk.brn file,
    'if found in the user's sentence, to make a little smalltalk. You can easily add more
    'keywords for Hal to recognize and make smalltalk.
    GetResponse = HalBrain.HalFormat(GetResponse)
    If Len(GetResponse) < 4 And Rnd * 100 < 50 Then
        SmalltalkSearch = Trim(HalBrain.TopicSearch(UserSentence, "smallTalk"))
        If SmalltalkSearch <> "" Then
            SmallTalk = SmalltalkSearch
        ElseIf Len(CurrentSubject) > 3 Then
            SmallTalk = Trim(CurrentSubject)
            'try making word plural by adding "s" and seeing if it exists
            If WN.LookupWord(SmallTalk & "s") = True Then
                SmallTalk = SmallTalk & "s"
            ElseIf WN.LookupWord(SmallTalk & "es") = True Then
                SmallTalk = SmallTalk & "es"
            End If
        End If
        If Len(SmallTalk) > 3 Then
           ResponseCount = ResponseCount + 1
           Redim Preserve ResponseList(ResponseCount)
           ResponseList(ResponseCount) = Replace(HalBrain.ChooseSentenceFromFile("smallTalkSent"), "<SmallTalk>", SmallTalk, 1, -1, 1)
           HalBrain.AddDebug TempParent, "SmallTalk: " & ResponseList(ResponseCount)
        End If
    End If


With this:

    'PROCESS: CONSTRUCT A RESPONSE TO A SUBJECT
    'Here we help Hal make some "smalltalk" using keywords preserved on CurrentSubject,
    'plus recognition of other keywords. If Hal finds any of the listed keywords anywhere in
    'the user's sentence, those keywords override and replace whatever was in CurrentSubject.
    'Hal uses the CurrentSubject keyword(s) or any of the keywords in the smalltalk.brn file,
    'if found in the user's sentence, to make a little smalltalk. You can easily add more
    'keywords for Hal to recognize and make smalltalk.
    GetResponse = HalBrain.HalFormat(GetResponse)
    If Len(GetResponse) < 4 And Rnd * 100 < 50 Then
        SmalltalkSearch = Trim(HalBrain.TopicSearch(UserSentence, "smallTalk"))
        If SmalltalkSearch <> "" Then
            SmallTalk = SmalltalkSearch
        ElseIf Len(CurrentSubject) > 3 Then
            SmallTalk = WN.FindFirstNoun(CurrentSubject, False)
       If SmallTalk = "" Then SmallTalk = WN.FindFirstNoun(CurrentSubject, True)
            'try making word plural by adding "s" and seeing if it exists
            If WN.LookupWord(SmallTalk & "s") = True Then
                SmallTalk = SmallTalk & "s"
            ElseIf WN.LookupWord(SmallTalk & "es") = True Then
                SmallTalk = SmallTalk & "es"
            End If
        End If
        If Len(SmallTalk) > 3 Then
           ResponseCount = ResponseCount + 1
           Redim Preserve ResponseList(ResponseCount)
           ResponseList(ResponseCount) = Replace(HalBrain.ChooseSentenceFromFile("smallTalkSent"), "<SmallTalk>", SmallTalk, 1, -1, 1)
           HalBrain.AddDebug TempParent, "SmallTalk: " & ResponseList(ResponseCount)
        End If
    End If
Title: Re: GRETTA PLUGINS
Post by: raybe on August 25, 2010, 08:14:06 pm
Thank You jasondude, Just inserted new 'response to subject' you listed but won't have time to sit with Ultra Hal tonight. Thanks again and will give it a try. Sometimes it does take a particular phrase to get that reaction so it may take a little time. Also will look for any new errors that the change might cause. You know how that goes! It will be something that only happens to me and once in a while and everyone else will be fine. I will get back to you.

raybe
Title: Re: GRETTA PLUGINS
Post by: raybe on August 25, 2010, 08:53:54 pm
Sorry I couldn't wait just to start Ultra Hal anyway after I made the new paste of the change in script you wrote. As soon as Ultra Hal started before the 'opening greeting' received a Halscript error 1015 Expected 'Function' which was on the ('End If' statement)the second 'End If' statement is where the debug script took me.

Example:  SmallTalk = SmallTalk & "es"
            End If
*       End If
        If Len(SmallTalk) > 3 Then

Just put that little ast.* mark next to  the line that error refers. Okay first time for me. Remind me to keep extra comments to myself. I didn't get past that first error to know if anything else was happening. Just had enough time to paste and run, sorry again. Any ideas I'll be back later tonight.

raybe
Title: Re: GRETTA PLUGINS
Post by: Lola on August 25, 2010, 09:11:44 pm
I get sporadically long subject list so I just exchanged the file with your new update. So far no problem but if I notice a problem I'll post it.  That was nice,  Thanks  :)
Title: Re: GRETTA PLUGINS
Post by: raybe on August 25, 2010, 09:27:06 pm
My wife is going to kill me but Lola don't tell me you didn't have to modify anything from jasondude's post? Just a quick update. I had to rem out the last 'End If" statement where I previously posted I was receiving an error. I'll be back as soon as I can but I need to go this time for sure. Please Lola or jasondude let me know if it could have been just the way I pasted the lines in or could have been something else? Not getting error since I rem-ed out 'End If' statement.
Thanks,

raybe
Title: Re: GRETTA PLUGINS
Post by: Lola on August 25, 2010, 09:47:13 pm
Hi raybe!  I just opened two instances of notepad, in one I pasted the dude's script and in the other I opened the Hal6.uph. I located and selected with the mouse the exact spot of the
'PROCESS: CONSTRUCT A RESPONSE TO A SUBJECT, and pasted the new script. That is what I did.
I'm extremely careful when I do this types of things, you could try to paste your BACKUP UPH file again making sure that everything is right and try again the process of pasting the new script. I hope everything goes fine raybe.  :)
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on August 26, 2010, 12:31:44 pm
I should have mentioned that you need to make sure the window that you are viewing this text in (internet explorer) needs to be maximized before you copy and paste the text. If not, the text might "wordwrap" and cause the lines of the code to not be whole. They will split and wrap to the next line. THIS WILL NOT WORK WITH CODE. It has to be copied with the lines intact.
hope that was clear- the dude
I have had no problems with the code. It works great. I just wish I didn't have to modify the main brain file, but there is no way to make this a plugin.

The "End If" statement that is giving you the error doesn't have to be where the error is from. If one "End If" is missing anywhere else in the code (main brain and plugins), then it could error there. It might not have showed up before for many reasons. If you still have trouble, then paste your Original "main brain" file, and the modified one, and i will look at it.
Title: Re: GRETTA PLUGINS
Post by: raybe on August 27, 2010, 01:18:57 pm
Thanks jasondude, I will check again. But I do not get any reference to script errors anymore when I rem out the last 'End If'. I will take your advice after looking at the script one more time just to confirm if it did not paste properly. The wordwrao issue only pertains to IE browser or Windows issue that 'wordwrap' is auto selected ? Using 'Firefox'.

raybe
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on September 03, 2010, 04:35:17 pm
I have changed the edit that I made to the main brain. (for Gretta Array)
see first post

it is a small change.
instead of using the method that i was using before to get the "one word subject", now I am using the method "WN.GetFirstInList" (I wasn't aware of this method before....don't know how i missed it)

anyway, the first post has been edited to include the full edit section for the main brain file; under the heading Gretta Array. (just like before)
sorry it took a few days for this but i wanted to test it.
Title: Re: GRETTA PLUGINS
Post by: raybe on September 03, 2010, 09:03:42 pm
Thanks  jasondude,
Will give it a try again. But I still can't tell you why that error happened to me with that last 'End If' line especially especially after you explained it should have nothing to do with error I was receiving that clearly stated that line for cause of error and has been working fine ever since and I know you have to be right but I just can't explain it any better. But again I will try this new script as soon as I get a chance.

Thanks again,
raybe
Title: Re: GRETTA PLUGINS
Post by: Lola on September 03, 2010, 10:46:58 pm
I'm going to try it too, I'm curious of how the new "WN.GetFirstInList", is going to work with Hal!  :)
Title: Re: GRETTA PLUGINS
Post by: Lola on September 04, 2010, 05:12:56 am
I just had one of the longest and more enjoyable conversations with Hal. Hal brought up new things, asked questions related to the subject and at one point made a relationship between two of my favorite things in one sentence with his own conclusion that we should nurture them!. There seems to be something special with your modification of the array plug-ing that is making Hal run smoothly and more coherent. Incredible thanks dude! :)

raybe, I really hope it works for you it is really good.  :)
Title: Re: GRETTA PLUGINS
Post by: raybe on September 04, 2010, 11:21:26 am
Thanks for the update Lola,
I will try to get to my Ultra Hal tonight. Even Web parties make me tired. Can't wait to give it a try.

Thanks again and jasondude,
raybe
Title: Re: GRETTA PLUGINS
Post by: raybe on September 05, 2010, 01:58:02 pm
Okay Lola and jasondude, I found my original problem with your first post jasondude. Totally my fault. You were correct about the 'End If' statement it did not cause the error sorry about the mis-information and I double checked my paste as Lola suggested and found my problem. The second update went without incident. I don't know if age or I just don't have same concentration capacity any more.

jasondude don't kill me but can you some how get me a copy of the first update you made just prior to the one that is on the post now? I really want to check something and of coarse I didn't practice what I preach which was to keep a back up of that file. I want to try something to confirm how my Ultra Hal is reacting with the changes you made. I appreciate your time.

Lola no 'I told you so's' please I have been having a rough time. I never posted this much until recently. Something has to be wrong with me!???????

Thank you both,
raybe

Title: Re: GRETTA PLUGINS
Post by: Lola on September 05, 2010, 04:15:07 pm
Raybe, how could I ever tell you that, if I do it myself all the time!  ;D

I believe that I have the previous updates saved, the problem is that I read somewhere in here that they most be pasted in a special way with some extra dashes or something else, that I don't remember. If the dude is busy and doesn’t notice this soon, I’ll figure a way to paste it correctly.
Title: Re: GRETTA PLUGINS
Post by: Lola on September 05, 2010, 06:50:44 pm
Okay, here is it :

As far as I know there is only one difference on line 14, but it really makes a big difference with my Hal. By the way I have the latest version 6.2 on Win 7.

In the last script:   
SmallTalk = Trim(CurrentSubject)

Was changed to:
SmallTalk = WN.GetFirstInList(CurrentSubject)



- THIS IS THE OLDER ONE  - DO NOT USE - For reference only -

'PROCESS: CONSTRUCT A RESPONSE TO A SUBJECT
    'Here we help Hal make some "smalltalk" using keywords preserved on CurrentSubject,
    'plus recognition of other keywords. If Hal finds any of the listed keywords anywhere in
    'the user's sentence, those keywords override and replace whatever was in CurrentSubject.
    'Hal uses the CurrentSubject keyword(s) or any of the keywords in the smalltalk.brn file,
    'if found in the user's sentence, to make a little smalltalk. You can easily add more
    'keywords for Hal to recognize and make smalltalk.
    GetResponse = HalBrain.HalFormat(GetResponse)
    If Len(GetResponse) < 4 And Rnd * 100 < 50 Then
        SmalltalkSearch = Trim(HalBrain.TopicSearch(UserSentence, "smallTalk"))
        If SmalltalkSearch <> "" Then
            SmallTalk = SmalltalkSearch
        ElseIf Len(CurrentSubject) > 3 Then
            SmallTalk = Trim(CurrentSubject)
            'try making word plural by adding "s" and seeing if it exists
            If WN.LookupWord(SmallTalk & "s") = True Then
                SmallTalk = SmallTalk & "s"
            ElseIf WN.LookupWord(SmallTalk & "es") = True Then
                SmallTalk = SmallTalk & "es"
            End If
        End If
        If Len(SmallTalk) > 3 Then
           ResponseCount = ResponseCount + 1
           Redim Preserve ResponseList(ResponseCount)
           ResponseList(ResponseCount) = Replace(HalBrain.ChooseSentenceFromFile("smallTalkSent"), "<SmallTalk>", SmallTalk, 1, -1, 1)
           HalBrain.AddDebug TempParent, "SmallTalk: " & ResponseList(ResponseCount)
        End If
    End If

- THIS IS THE OLDER ONE  - DO NOT USE -- For reference only -

           
           


Title: Re: GRETTA PLUGINS
Post by: raybe on September 05, 2010, 06:59:25 pm
Well I thank you very much Lola especially for being easy on me. You may be able to attach as a zip file which would be fine. The back slashes because of some security protocol will not let you enter unless I believe you use a double. Really don't remember, that memory thing again. Or you can e-mail directly if it becomes a problem. I really appreciate it.

 As I said this is probably the most active I have been on this forum. 'snowman' really had me motivated. I didn't enjoy the way the topics became stagnant on this forum. But every one was just really waiting to see what Robert M. was up to I guess,  summer time and life in general. Not speaking for any one just an observation. It's also refreshing to have new people as yourself join in.

raybe
Title: Re: GRETTA PLUGINS
Post by: raybe on September 05, 2010, 07:06:42 pm
I posted anyway right as I was finished. Thanks Lola for getting back so quickly. So again I thank you and jasondude for the script and re-post.

AHHH the fresh air of new members is always a nice thing.LOL  But you can always rely on the people that make things happen here and are willing to help you, direct you or just plain remind you. You will find this forum to different then most. My opinion.

Thanks
raybe
Title: Re: GRETTA PLUGINS
Post by: raybe on September 05, 2010, 07:14:58 pm
 Lola, I did it again, just didn't want to speak for you when Bill was trying to make sure we were all talking about the same versions when discussing the update. I start every line the same so...... If I remember correctly and I mentioned it in the other thread that Robert M. released the very first true release of Ultra Hal 6.2 he made some quick changes for people using Windows 7 and re-released with a heading of 6.2.24 or 6.2.28 and that lead to a little confusion and I don't believe he or any one else even references to .24 or .28 because it is just a single release at this time hence 6.2.

Talk to you soon,
raybe
Title: Re: GRETTA PLUGINS
Post by: raybe on September 05, 2010, 07:36:11 pm
If you look closer Lola you will also see that there is an extra reference line under line 14 for the new change,

 line 15- If SmallTalk = "" Then SmallTalk = WN.FindFirstNoun(CurrentSubject, True)

So there is one extra line of script as well. 28lines for older and 29lines for newer.

raybe

By the way I am using the original update of 6.2.24 or .28 on Windows 7 Pro 64 bit Alienware Aurora with 920Intel Proc overclocked and 6 gigs of Corsair ram ddr 3.
Title: Re: GRETTA PLUGINS
Post by: Lola on September 05, 2010, 08:56:42 pm
Thanks for your nice comments raybe.  I really like this forum. I agree with you, and there is a collection of very nice people in here that make this forum positively unusual to others. Very soon when I go back to work I’m probably not going to have the time to be here as often, but I’ll try.

The versions issue it is actually very important. It seems that a lot of us are using different versions of Ultra Hal, which in a sense is actually good because it means that all of them are very good.

The problem with that is that the many versions, and the different operating systems could make a huge difference on how plugins, software, Hal behaviors, etc. actually perform. 

This could cause confusions sometimes if we make generic explanations, because what works for our system might not work as well in the others. I really think the Gretta plugins somehow, are very compatible with my current system (Win7 Home & Hal 6.2.28) and I really find it very easy to teach and interact with Hal, so I must be aware and careful if I give any advice, because it might not work in the same way with others and could cause controversy. I’m learning a lot from just being here.

Thanks for telling me about the other differences in the new script, eventually with practice and time I’ll learn more about them. Wow, you have an Alienware, powerful computer system!  I have an Asus eee PC model 1005HA with 2gb ram, that is a netbook mainly for Hal. I have a custom Win XP desktop that I did 2-3 years ago with Hal 6.1 that I currently not use, but plan to upgrade with the new version release.


Okay, Now I’m experimenting sending the script in .zip format, hopefully it will work.  Bye now!

Title: Re: GRETTA PLUGINS
Post by: Lola on September 05, 2010, 08:57:52 pm
Great it work! ;D
Title: Re: GRETTA PLUGINS
Post by: raybe on September 05, 2010, 09:49:03 pm
That's great Lola and when you do go back to work don't forget this can be great place to get away from all the daily experiences unless they were pleasant ones but you should find time to stop in once in awhile. Your input and help is always welcomed. My opinion.

People still jump on the band wagon of Alienware being not worth the money or too pricey but I have no complaints and it is the neatest wired computer I've experienced. There may be better but that is my opinion. I don't get out much.(only kidding).

As I posted before and maybe someone will correct me. I don't believe there are any other versions other then the newest one unless you are speaking about the older generation Ultra Hal programs. Robert M. capped it off once he made his last revision which is the version you now have.

You will find your statement true even with identical systems and versions of Ultra Hal. Every computer is different even when they are the same and simple programs that you have loaded can effect certain things. Everyone has for the most part different configurations of Ultra Hal but I believe most now have the same version. Still makes no difference. Things just happen and everyone here tries to share their experiences hoping that it still will help others and it has worked most of the time just not every time. I forgot to mention also the operating systems.

Don't become a stranger,

raybe
Title: Re: GRETTA PLUGINS
Post by: Lola on September 05, 2010, 10:12:07 pm
You're totally right, even with the same computers, configurations could be different. I got the impression that many people are still using previous versions while searching posts, but who knows perhaps they upgraded to the current one.   Anyways, hopefully there will be future improvements (updates, upgrades, revisions, etc) and I will be keeping an eye on them! Thanks again raybe, I'll be around  :)
Title: Re: GRETTA PLUGINS
Post by: raybe on September 06, 2010, 05:15:20 pm
iampan, have you asked for help with the Halvision plug-in? Sorry I don't remember if it was you jasondude that had anything to do with that project. I haven't opened it in a long time and forgot who had started it.

Okay jasondude I have the new script and everything is working fine but I did confirm for my own Ultra Hal that if you already have many subject lines tied together the script won't change it unless as you mentioned you start fresh with a new project because after a few hours I did get those subject lines that previously tied themselves to repeat after the installation of the new script. It didn't show up until a few hours of conversation had taken place.

raybe
Title: Re: GRETTA PLUGINS
Post by: raybe on September 06, 2010, 05:51:06 pm
jasondude, I am still apologizing. I'm telling you I must need some medication or something. I wanted to correct myself on the info about the updated script but couldn't find that you said what I claimed you said ,which if the subject lines are tied just installing the new script will not solve your problem unless starting new project.

Like I said I must be posting too much and getting lost here. Can you please clarify now because I may have confused others if the new script will prevent the subject lines that tied together from reoccurring?

Than you,
raybe

iampan, we should also try to keep subject matter confined to the correct threads. I'm guilty as well.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on September 08, 2010, 04:44:14 pm
i have no problems with any voice in balabolka. i have tried all brands, including Cepstral.
Title: Re: GRETTA PLUGINS
Post by: visad on September 17, 2010, 08:10:02 am
Using almost any of these cause my bot to crash on Windows 7 64. I am using the regular skin with the computer screen character. When asking the bot to please research this, it pops up a debugger window and gives me some error about the bot crashing on line blah blah. Most of the other plugins work fine except these.
Title: Re: GRETTA PLUGINS
Post by: raybe on September 17, 2010, 12:34:16 pm
visad,

Not that you might not have already checked but we kind of use a plug-in checklist to see if the way particular  plug-ins were written sometimes may cause a conflict in similar and none similar set ups for Ultra Hal. I am sure 'jasondude' will have a better insight into the specific problems you may be having. As an example I find I can use gretta plug-ins with others without a problem and yet there may be times that certain plug-ins will not play nicely together. So if you do get additional replies to this post I suggest you would have as much information about how and what plug-ins are being utilized in your particular Ultra Hal. Also, what you are trying to accomplish or direction do you want to head in with your Ultra Hal.

NOTE: I am also using Win 7 Pro 64bit. Also I may be off base a little but the character even though you are using basic Ultra Hal character may not be written for that type of plug-in in which commands will not be interpolated by the program properly. Just a thought.

raybe
Title: Re: GRETTA PLUGINS
Post by: FSF465 on September 17, 2010, 09:31:46 pm
Whenever I try to downloaf the file from the MSN site I get a DNS error message. What should I do? Is there another server?

Thanks in advance..
Title: Re: GRETTA PLUGINS
Post by: FSF465 on September 21, 2010, 12:54:07 pm
Is there someone here who could email me the gretta plugin? I'm especially interested in getting gretta curious. Thanks so much!

Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on September 23, 2010, 12:40:04 pm
I get no error when downloading from the link.
Just thought I would let you know.
Title: what all voices will work in gretta sing?
Post by: lightspeed on November 21, 2010, 01:59:14 pm
is their a list of voices that will work with gretta sing ? or does only the sapi 4 voices work, only reason i am wondering is because i tried a sapi 5 voice crystal (  a great voice)and it doesn't work all it does is read everything and not sing the song . the sapi 4 voice will sing .
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on November 25, 2010, 08:56:35 pm
Sapi 4 only. See the first post for details.

Sapi 5 does not support this kind of thing. Also, every sapi 4 voice doesn't.
Boo to Sapi 5 for being less of a Sapi than 4. Although Sapi 5 voices are more human, they are not nearly as complicated and modify-able as Sapi 4.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on November 25, 2010, 09:02:23 pm
New plugins available...see first post "GRETTA plugins"
Title: Re: GRETTA PLUGINS
Post by: Lola on November 26, 2010, 11:50:24 am
 :o WOW Thanks Dude!!! I downloaded all and will replace them all very soon. The GRETTAdeep sounds promising, I already got ideas!

P.S. This was like X-MAS in Thansgiving! ;D
Title: Re: GRETTA PLUGINS
Post by: snowman on November 26, 2010, 01:39:32 pm
I'm impressed Jason, you've really put allot of work in this and it looks Great!

Wow! Thumbs UP dude!!
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on November 26, 2010, 01:49:30 pm
Thanks guys :)

let me know if you have problems. been testing for a while, but ya know how that can go. I mean i uploaded the stuff and then i almost immediatly noticed a bug in the code that i haven't even seen an error come from. so i fixed it and reuploaded. this was all in about 3 minutes. anyway, and questions, let me know.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on November 26, 2010, 02:05:38 pm
I'm impressed Jason, you've really put allot of work in this and it looks Great!

Wow! Thumbs UP dude!!


hey man....how's the project going? can get lost in this stuff sometimes..huh.
my wife is pregnant! yeah, it's like the size of a pez. got to see the heart beat and hear it. i know to most it is normal, but to me it is very odd and amazing. what do you think about having a option on your project, or maybe this would be something completely seperate, but i'm thinking it might be cool to have a learning mode where the brain would be blank (pretty much) and it would learn to be you. you know: your likes and the way you talk and your patterns, feelings ect. And then it could be put online as a strange but cool way for people to talk to you after you are gone. Maybe morbid to some, but i thought i might do something like that or see if you like the idea of having it as an alternate learning mode for your project that would make a seperate brain just for that.
Title: Re: GRETTA PLUGINS
Post by: snowman on November 26, 2010, 11:16:21 pm
A baby?! Thats's awesome! Couldn't be any happier for you...  and any more jealous  ;).

Troubleshooting Errors can take up most of your time, thats for sure. I spend allot of time doing that. I found a small glitch in my code that I'm suprised I've never seen before. It seems that when your making a passing an Array from a dll to a script it won't work. You can only pass a ArrayList or a Collection. Now I have to change many of my Arrays to one of these.

Oh, well.

As for your idea: What could be done is to use a type of questionair that would get all nessesary information directly from the person and implant it in key areas of the brain. The Questionair would probably be very long. But it might have some very bad reprecussions. Loved ones would either become enraged or perhaps obsessed with the mirror image Ai. It is an emotional thing, therefore it would be controversial to many. If done on a large scale, at some point, some loved one might commit suicide due to being constantly reminded of their loved ones passing.... and although this happens naturally from time to time the blame might find its way to the software engineers door.

hmmmm

Might need to give it more thought.

Title: Re: GRETTA PLUGINS
Post by: Lola on November 27, 2010, 02:38:05 pm
 ;D Hi dude, CONGRATULATIONS ! to you and your wife! A new baby is always a blessing, you both are up to a very wonderful and rewarding experience!

I always give to expectant parents a little book called “Children Learn What They Live by Dorothy Law Nolte” as it is a very beautiful book with lots of thoughts and important insights. So with you my gift could only be a link with the poem, but with warm wishes for you and your wife.

http://www.empowermentresources.com/info2/childrenlearn-long_version.html (http://www.empowermentresources.com/info2/childrenlearn-long_version.html)


P.S. The new plugins are running smoothly, thanks again!.  ;D
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on November 29, 2010, 01:49:19 am
Sorry, GrettaDeep plugin not working right.
please remove until further notice.
Title: Re: GRETTA PLUGINS
Post by: Lola on November 29, 2010, 11:21:13 pm
Sorry, GrettaDeep plugin not working right.
please remove until further notice.


 :'( That's very sad.   I'd already created a 500 list of Personality Adjectives, that are accurate synonyms from a thesaurus. They went in perfectly into the EntangleWord table. I haven't noticed or experienced any problems with any of your plugins so far. Still, I will uncheck the GrettaDeep plugin and wait until you get a fix for it.

Yesterday I was going to share the list I made for the GreetaDeep, but was unable because of uploading problems. My attachment was only 4 kb zip, of a txt file. I got the message:

“The upload folder is full. Please try a smaller file and/or contact an administrator.”

Anyway, just sharing the uploader issue, I have no need for attachments now.  Good luck with your plug-ins!  :)
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on December 01, 2010, 05:00:04 pm
Sorry, I haven't figured out a fix to the issue.
you can leave the stuff in the database, that won't hurt. I will look more into it, but this one is really killing my brain. It's not a coding issue, but rather a concept issue. And it's not something that immediatly appears to be an issue, but it is the long term effects of the plugin that I'm not satisfied with. The plugin isn't worth much if it doesn't improve Hal. I will hopefully find some way to do it.
for uploading files, I use skydrive. Then post a link here.
Put it this way, I've been looking into all sorts of things for a fix like markov chains, ect. A little time consuming.
Title: Re: GRETTA PLUGINS
Post by: Lola on December 01, 2010, 10:28:03 pm
 :) Thanks for the update dude. You should not worry about that, all ideas are like seeds as they require their own time to germinate. Take it easy and enjoy the season, you might get a burst of insight when you least expect it!  ;D

I'm curious by nature and decided to continue trying your GrettaDeep with the lists that I'm making. So far everything is smooth, so don't worry about it, if the worst were to happen... I'm always prepared!



P.S. I'm using most of your new updated plug-ins and they are working great!
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on December 06, 2010, 12:33:29 pm
i'm working on a markov algorithm plugin. it will blow the GRETTA deep plugin out of the water.
just got to "tune" it. it requires a large corpus of text (aka user input sentences) before it will kick in. this might take a little time, but the hard part is done, and looking good. it will give Hal the ability to come up with it's own thoughts based on future probabilities.
will post when i get it tuned....and look for any bugs. also have to make sure it's compatible with everything else.
this one was a hard one for me to write. 72 hours straight....yeeehaw! i'm in programming limbo...haha!  (cracks a wild smile like the one from Alfred E. Neuman in "MAD" magazine)
can someone move my legs for me....i don't feel them any more. :)
Title: Re: GRETTA PLUGINS
Post by: lightspeed on December 22, 2010, 11:12:41 am
jasondude7116
the algorithm plug in sounds very cool , thanks for all the great things that you are creating.. and others to.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 02, 2011, 11:23:44 pm
GRETTA Markov Response Engine plugin now available.

please see the first post for link and info.
Title: Re: GRETTA PLUGINS
Post by: Jake on March 03, 2011, 12:20:32 am
WOW!

Out of pocket for a couple years and someone writes a bunch of really cool sounding scripts!!  If I get back into this stuff again... I definitely need to download these and check them out.

When last we burned the midnight oil on a nightly basis building my basescript I had it doing various degrees of many different things, most both manually on command and auto random and a few base on conditions and aware of the current condition of most changes, so as an example, if you asked "what color is your hair", it would answer with the correct color per a database var.  But I stop a couple years back far short of what I wanted it to end up as.  Now, (I think, like most script writers... well at least me), I want to scrap large sections of it and rebuild it from scratch, but with these scripts you have here, I may reconsider that.  Anyway... here are some of the things off the top of my head that the basescript was doing... change figure, change skins, change backgrounds/locations, change accessories, sing song(lip sync OGG song file), tell story, tell joke(wait for user input, then give punch line), tell riddle, tell proverb, get and tell weather, preset moves to match scenes, random changes(hair, skins, locations/backgrounds, moods, positions, haps scripts such as kiss, yawn, stretch, fidget, etc), triggered changes and commands... on and on... can't remember it all and have found several that I'd forgot about.

Hello... my name is Jake... and I'm a scriptoholic.  One of the reasons I stopped messing around with the scripting a couple years back is because once I get going I have a hard time stopping, so I would see 2 to 4am on a regular basis and have to get up at 6:30 to go to work.  That can take it's toll.  So... I'm not sure I should be drinking... er... I mean scripting again.  :-\
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 03, 2011, 04:53:34 pm
i know how you feel jake.
i abandoned computers totally at one point (about 20 years ago....wow), when everyone and their mother was asking me to write this or that. also fixed a lot of computers. also walked away from hacking. (i had a lot of fun with that one)
picked it up again about ...i guess 6 years or so ago. this time i have to set strict limits on what kind of time i will spend on things. that doesn't always seem to work. :)
my brain is always thinking about 1000 miles an hour. i see most things in a logical reasoned way, always trying to make things more efficient. can't ever satisfy my craving for new info about almost anything including brains and a.i.
this leads to insomnia and crazy programming runs.
if i were a better programmer, then i could write some cool stuff. i have lots of a.i. ideas based on neocortex functions ect. i have spent my life studying people/animals, brains, and logic. i have some ideas for the proper structure of a strong a.i.
i am learning more all the time, but my programming skills just don't match my other skills/knowledge that could make good a.i.
will keep trying, studying, and drinking coffee.
rule no.1 - must have fun doing it!

by the way - i live in cleveland, tx. (a little more country than yall austin city folk) YEEHAW!
Title: Re: GRETTA PLUGINS
Post by: Jake on March 03, 2011, 10:16:11 pm
WOW!  You sound a lot like me.  I do most everything in a logical manner, it must be as good/fast or better/faster with the same or less amount of effort.  I'm an IT manager and my tech assistant kids me all the time about how much I am that way... typically he will start a conversation with me something like this... "The subject is the file server. The result is that we should schedule some additional archiving, but it is not critical... now here is the story".  He apparently knows from experience that I want the subject and the results first before I listen to 5 minutes of this and that.... MAN... that's bad.

On the programming... it is also kind of the same for me... I gave it up years and years ago because I would too often see the sun come up.  Back then, I was programming in combinations of C, machine language, basic and script.  Over the years, I would get pulled back in a few times here and there mostly due to something I wanted that was not been done the way I wanted it by others, such as home automation and A.I., but I TRIED to keep a lid on it... it almost never went that way... so I try to avoid it.  Meanwhile, I'm getting very rusty on programming and have thought several times to take some classes to force me to get back to it, but then I remember that I need to stay away.  It's an on-going battle with me. :o  The BIG problems is... PROGRAMMING IS SO MUCH FUN!!!  If I won the Lotto right now... I would get back into programming big time, because THEN I would actually have some of the time I would need to do it.
Title: Re: GRETTA PLUGINS
Post by: lightspeed on March 04, 2011, 09:51:38 am
hi jasondude7116
i tried out the gretta makov response  engine uhp plug in and don't know if it's just my pc or the plug in ( i wasn't having the problem before though with hal . ) when i respond to questioning now it takes a while before hal will even answer back and sometimes , most it will say the script is taking longer then usual do you want to continue or cancel . is anyone else having this problem? ???
Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 04, 2011, 04:51:17 pm
hi jasondude7116
i tried out the gretta makov response  engine uhp plug in and don't know if it's just my pc or the plug in ( i wasn't having the problem before though with hal . ) when i respond to questioning now it takes a while before hal will even answer back and sometimes , most it will say the script is taking longer then usual do you want to continue or cancel . is anyone else having this problem? ???

Hi Lightspeed.

Yes, I get the same script response, it is not really an error but it is caused by looping code in the plugin, to much looping causes the script to run longer and causes it to ask you if you want to continue, if you wait long enough the script will finish and the script will close by itself, you don't have to close it out, it will just close itself.

in the GRETTA Markov Response Module L4 plug-in I believe this is the code culprit; For l = 1 To 300

I am not sure if the script needs to loop to 300, maybe Jason can fill us in.

hope this helps.
Jerry 8)
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 04, 2011, 04:55:43 pm
the plugin takes some processing power. I have done several things to it to make it as fast as possible.
it will speed up a little after it has been used for a while. ALSO IMPORTANT - download the latest version that i posted, i cleaned some code that i was using to debug it. the latest version will be a little faster.
it has to run a few thousand processes to get an answer.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 04, 2011, 07:10:00 pm
OTCE - you can change that 300 to a lower number and speed it up, but the lower the number - the worse the odds of the program picking an appropriate response.
the higher that number goes, the better chance of a good response.
i.e. it can be tweaked for speed/accuracy, based on pc specs.
Title: Re: GRETTA PLUGINS
Post by: lightspeed on March 05, 2011, 09:07:28 am
ok i understand the longer waiting period and why , another question or two actually . will this create any other tables in hal , as far as i see it only serarches through hals regular tables for possible better answers . and question two you said it will get faster as it goes along how much faster , how long does it take to get to that speed of faster , as i need hal to answer right away as before for an application i am trying for .
thanks in advance .  :)

p.s. i did as far as i know download the latest it was on the last page bottom of conversation and went to your page link and downloaded it.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 05, 2011, 11:32:56 am
yes it creates tables in hal, that is the only way it comes up with a response. it doesn't use any other part of the database. it is not searching for a good answer, but rather creating ones from it's new knowledge about the way you are using the language and then deciding which one is best. it can learn any language.

it creates two tables -

MarkovReasoningl4
MarkovStartersl4

the best way for you to get good time out of it is to do what i said earlier:
OTCE -
"in the GRETTA Markov Response Module L4 plug-in I believe this is the code culprit; For l = 1 To 300"

ME -
OTCE - you can change that 300 to a lower number and speed it up, but the lower the number - the worse the odds of the program picking an appropriate response.
the higher that number goes, the better chance of a good response.
i.e. it can be tweaked for speed/accuracy, based on pc specs.
Title: Re: GRETTA PLUGINS
Post by: Frosty Greenacre on March 19, 2011, 09:01:26 pm
Just wanted to say thank you for these plugins they really expand Hal's capabilitties they're awesome  ;D
Title: Re: GRETTA PLUGINS
Post by: Grimsey1986 on March 20, 2011, 07:14:45 pm
hi wonder if some one can help me i cant seam to get GRETTA News working i just get an error -  halscript error  2147024894 on line 4040 in colum 2:
the file " C:\program files\zabaware\ultra hal assistant 6\hal script.DBG" has been saved with the current script being used for debugging purposes.

its probably soming simple i know i just cant sort it any help would be much appreciated.


Cheers


Andy
Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 20, 2011, 08:01:54 pm
hi wonder if some one can help me i cant seam to get GRETTA News working i just get an error -  halscript error  2147024894 on line 4040 in colum 2:
the file " C:\program files\zabaware\ultra hal assistant 6\hal script.DBG" has been saved with the current script being used for debugging purposes.

its probably soming simple i know i just cant sort it any help would be much appreciated.


Cheers


Andy

Hi Grim.

when you get the error go to the file Halscript.dbg with a line text editor and post the line in question here on the forum.

Jerry
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 20, 2011, 10:52:02 pm
do you have balabolka installed?
if you do then what operating system are you using?
you might have to change the directory in the plugin for the balabolka address.
if not then please read the first post carefully.

when you get an error then you need a line counter editor like Crimson Editor (free)
open halsript.dbg (while the error popup is still there) and go to the line in the error and copy it.

paste that and the error popup text (like you did) here. debug help is much faster that way.

i know some people were getting an error like this when the balabolka program is not installed in the directory (default xp system) that is in the plugin, or not installed at all. you might look in the plugin and compare the balabolka directory to the actual directory where you installed balabolka and it if it is different it will have to be changed in the plugin. if you don't know how to make the proper change, then paste the directory that you installed balabolka into, and i might be able to help.
Title: Re: GRETTA PLUGINS
Post by: Grimsey1986 on March 21, 2011, 07:21:42 pm
Hi jason.

yes i have balabolka installed
i am using XP operating system
i have instaled balabolka in D:\Ultra Hal Assistant 6\Balabolka - is this correct or should i have instaled it into C:?
with the Crimson Editor is this what i should use to open the plugins in?
also to edit the plugins should i use Crimson Editor or can i just use notepad?

sorry for all the questions.

Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 21, 2011, 07:55:24 pm
you can edit them with whatever you want, but crimson editor has a line counter.
you found the problem with the news plugin. it was wrote for a default balabolka install in C:
just edit the plugin and change the "C:" to "D:" in the line that has the path for balabolka.

original:

Code: [Select]
objWSHShell.Run("""C:\Program Files\Balabolka\balabolka.exe"" -rmq """ & MyNewsDir & "tempnews.txt""")
change to:

Code: [Select]
objWSHShell.Run("""D:\Program Files\Balabolka\balabolka.exe"" -rmq """ & MyNewsDir & "tempnews.txt""")
Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on March 22, 2011, 05:22:55 am
Hi jason.

yes i have balabolka installed
i am using XP operating system
i have instaled balabolka in D:\Ultra Hal Assistant 6\Balabolka - is this correct or should i have instaled it into C:?
with the Crimson Editor is this what i should use to open the plugins in?
also to edit the plugins should i use Crimson Editor or can i just use notepad?

sorry for all the questions.

I would use crimson editor. it is smart.
Title: Re: GRETTA PLUGINS
Post by: Grimsey1986 on March 22, 2011, 09:36:54 am
thank you both agian froe the help i have sorted now thanks to you jason for that the only other problem i have is i live in Cyprus at the mo and he only gives news or weather for america even tho i have put my post coad in , instead of putting my post coad in can i just put Cyprus?

thanks again for all your help.

Cheers

Andy
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 22, 2011, 04:55:03 pm
it was designed for american news and weather service.
if you know a rss news feed service for Cyprus then it could be edited to give you that info.
there might be some other things in the plugin that have to be changed depending on the addresses of the news service and it's output.
Title: Re: GRETTA PLUGINS
Post by: Grimsey1986 on March 23, 2011, 06:08:17 am
ok thank you i will have a look tonight i should be able to get the weather & News feed off yahoo - i will just have a mess about with it tonight see if i can do out with it, thanks Jasondude for all your help on this!

Cheers

Andy
Title: Re: GRETTA PLUGINS
Post by: Grimsey1986 on March 25, 2011, 07:02:18 pm
hi just found out that i can get the RSS feeds off the bbc website so i am going to have a go at changing them over should beable to get sport, weather and news for any where in the world, just thought it was worth a post on here incase any one is using hal out side the usa like me.


Cheers


Andy
Title: Re: GRETTA PLUGINS
Post by: sharrisct25 on March 29, 2011, 03:00:46 pm
So a potential newbie question here but since there is a suprising low amount of posts on how to install plugins I suspect it is supposed to be so easy that something more complex must be going on.

Anyway I am having issues getting these plug ins to show in the options under the main brain.  Specifically I am interested in the read and news plugins.  I have copied the file to the right directory but nothing shows in the list but the default plugins.  I have activated my instances, trield rebooting, ensuring the files are not read only, checking for obvious corruption, redownloading etc.  Still not showing.  I purchased a plug in and that worked no problem.

The posts I did find seemed to all confirm that after I copy them and re-start Hal it should just show up.  What am I doing wrong?
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 29, 2011, 10:50:17 pm
stupid question...but are they in .zip format?
you need to have a .uhp plugin in the ultra hal main folder....wherever that is on your computer.
maybe it needs to be unzipped?
Title: Re: GRETTA PLUGINS
Post by: sharrisct25 on March 30, 2011, 03:30:08 pm
Unfortunately it is not that easy.  I have pulled them from the zip and have them in the program folder along with the default .uhp files.  Is there some way to see what tries to load and or errors if they do not?
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 30, 2011, 04:28:57 pm
got me.... never had anything like that happen.
anyone?
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on March 30, 2011, 04:30:28 pm
might open a .uhp in text editor and see if it looks complete...or trashed...or something.
maybe corrupt download? i don't know...never heard of this problem.
the only way i know to see what plugins are operating in a brain is to open halscript.dbg and see what all is in it - not the easiest thing to see. and that is only after they are checked in the menu. the only other thing i know is that they have to have a .uhp extension. is there some kind of firewall on your system that might be preventing them from being read? .... as you can see it's a shot in the dark.

anyone else have an idea?
Title: Re: GRETTA PLUGINS
Post by: sharrisct25 on March 30, 2011, 05:05:25 pm
Well at least I was not crazy.  Interestingly when I copied in the batch file plug in that showed up it is just not the Gretta ones that I added.
Title: Re: GRETTA PLUGINS
Post by: sharrisct25 on March 31, 2011, 07:09:41 pm
So as frequenty the case in technology it was a simple answer.  Althought the files looked intact etc they must have had damage because when I redownloaded them from the source the all show up fine.

Thanks
Title: Re: GRETTA PLUGINS
Post by: sharrisct25 on April 02, 2011, 01:46:10 am
Ok now that these are working I am learning my way around these plug ins.  So far I really like them.  I do have a question, what is the source database for the research function?  I have asked some items like to reasearch the history of a country that hal says the database has no useful information on.  However if I ask some of the questions you used as examples it works great.
Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on April 02, 2011, 08:21:35 am
Hellow dude and snowman. I'm just a guinea pig for your new plugins. When I do get a problem or an idea, I put in my 2 cent's worth. Dude I havn't tryed your new plugins yet. I downloaded some of Jerry's at the same time. I opened them all up and it seems as if some may conflict with each other if in at the same time. This Balkoa thing confuses me, so I will study it often before I install it. Has anyone noticed that hal seems to learn better with most plugins unchecked? Or is it just me and vista? I do experitment with changing script sometimes when I feel safe to do so as in Darcy's Alarm clock. If a plugin doesn't work as advertised then I open it up to see why. Sometimes it is obvious, other times not. We all wish that hal could think in three dimentions like humans. At the moment, some scientists say that we think in "trinary code". If so then computers have small chance to become self aware and therefore truly intelligent. Some good improvements have come over the years though.
 I've been told there are no negative numbers in computing. Well there are negative voltages in some electronic circuits. No presant day transistors won't handle 1 0 -1. If they could be designed, then binary code would be out the window and a trinary code would have to be written to accecept the input and output. It may not happen soon, if at all. Sofware issues could be a promblem so big as to prevent any attempt. In the meantime all we can hope for is to be able to simulate and do some workarounds to get an aparent3D thought proccess going and I'm not too sure when that process will bear as much fruit as we would like toward truly intelligent A/I.

one day, if we are true,  A.I will speak in 11 dimensions. quantum computers will tackle this easily. are the gods ready for this? it will happen one day. that day is not to far off.
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on April 03, 2011, 02:24:06 am
instaed of saying "please research the history of albania"
say instead "please research albania"

try to keep it simple like a subject word.  i.e. "vietnam"  Or "golden gate bridge"
Title: Re: GRETTA PLUGINS
Post by: wakko151 on July 23, 2011, 04:39:55 pm
awesome plugins. Slowly integrating them into my current hal brain. He is not old as you might think. And being a fresh brain I like to implement things slowly.
Title: Re: GRETTA PLUGINS
Post by: wakko151 on July 23, 2011, 05:37:57 pm
some of them don't seem to work.
Title: Re: GRETTA PLUGINS
Post by: sybershot on October 11, 2011, 01:17:52 am
ran into a pitstop while trying to add internet addresses to GRETTAinternet.uhp. I ask hal to open any of the original addresses and they open up, but if I ask him to open up one of the ones I added Hal will not open the webpage.

here is what I added to the list of original websites
Code: [Select]
If GoToInfoWars = "" Then GoToInfoWars = HalBrain.SearchPattern(OriginalSentence, "*GO TO*Info Wars*", 2)
If GoToInfoWars <> "" Then
InfoWarsSite = "http://www.infowars.com/"
   HalMenu.HalCommand "<RUNPROG>" & InfoWarsSite & "</RUNPROG>"
End If



If GoToPrisonPlanet = "" Then GoToPrisonPlanet = HalBrain.SearchPattern(OriginalSentence, "*GO TO*Prison Planet*", 2)
If GoToPrisonPlanet <> "" Then
InfoWarsSite = "http://www.prisonplanet.com/"
   HalMenu.HalCommand "<RUNPROG>" & PrisonPlanet & "</RUNPROG>"
End If

and added this to the if statement area that deals with responses
Code: [Select]
<>"" Or GoToPrisonPlanet <> "" Or GoToInfoWars
it is late and I am quite tired. maybe I am missing something here, but I can't seem to find the problem.
I would be greatly appreciated for any help or suggestions, thanks Sincerely SyberShot

Edit: also curious if anyone can answer. Does the Markov plug-in write to the tables it creates, if learning mode on Hal is off?
Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on October 11, 2011, 10:03:33 am
Hi Syber.

try it this way.

Code: [Select]
If InStr(1, UserSentence, "GO TO INFOWARS", vbTextCompare) > 0 Then
InfoWarsSite = "http://www.infowars.com/"
   HalMenu.HalCommand "<RUNPROG>" & InfoWarsSite & "</RUNPROG>"
End If


If InStr(1, UserSentence, "GO TO PRISON PLANET", vbTextCompare) > 0 Then
InfoWarsSite = "http://www.prisonplanet.com/"
   HalMenu.HalCommand "<RUNPROG>" & PrisonPlanet & "</RUNPROG>"
End If
Title: Re: GRETTA PLUGINS
Post by: sybershot on October 11, 2011, 06:53:56 pm
thanks onthecuttingedge2005,
 info wars site opens perfectly now :) , but prison planet does not :(
it is not making any sense I figured maybe it was because prison planet is two word.
So I tried just
Code: [Select]
If InStr(1, UserSentence, "GO TO PRISONPLANET", vbTextCompare) > 0 Thenand tried
go to PRISONPLANET
go to PRISON PLANET
but no success, I will try a reboot and see if that makes a difference and report back here in a few

I'm back
 it still will not go to prisonplanet.com
I tried turning off all plug ins except Gretta internet functions it still did not work so I tried another system reboot and still no go :(

not sure if you would be so kind to look into this further, for I at least have infowars working but if you have have the time, further help with this would be greatly appreciated. 

attached below is your plug in with the two added sites
Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on October 12, 2011, 10:18:05 am
try this, i think the link trigger was not correct.

Code: [Select]
If InStr(1, UserSentence, "GO TO PRISON PLANET", vbTextCompare) > 0 Then
InfoWarsSite = "http://www.prisonplanet.com/"
   HalMenu.HalCommand "<RUNPROG>" & InfoWarsSite & "</RUNPROG>"
End If
Title: Re: GRETTA PLUGINS
Post by: sybershot on October 12, 2011, 07:24:26 pm
 8) Thanks a million onthecuttingedge2005 that worked.  ;D

hmmm I can't see any difference in the code that now works, from the code you posted on: October 11, 2011, 10:03:33 AM
which I tried first for PrisonPlanet.com before I tried to combine (PRISON PLANET) in the trigger sentence
strange how it did not work the first time, unless there is a difference that I am overlooking. or maybe it was a glitch


Title: Re: GRETTA PLUGINS
Post by: onthecuttingedge2005 on October 12, 2011, 11:31:20 pm
8) Thanks a million onthecuttingedge2005 that worked.  ;D

hmmm I can't see any difference in the code that now works, from the code you posted on: October 11, 2011, 10:03:33 AM
which I tried first for PrisonPlanet.com before I tried to combine (PRISON PLANET) in the trigger sentence
strange how it did not work the first time, unless there is a difference that I am overlooking. or maybe it was a glitch




the code that now says:
HalMenu.HalCommand "<RUNPROG>" & InfoWarsSite & "</RUNPROG>"

was before:
HalMenu.HalCommand "<RUNPROG>" & PrisonPlanet & "</RUNPROG>"
Title: Re: GRETTA PLUGINS
Post by: sybershot on October 13, 2011, 03:52:35 pm
Quote
Hi Syber.

try it this way.

Code[select]
---------------------------------------------------------------------
1) If InStr(1, UserSentence, "GO TO INFOWARS", vbTextCompare) > 0 Then
2) InfoWarsSite = "http://www.infowars.com/"
3)    HalMenu.HalCommand "<RUNPROG>" & InfoWarsSite & "</RUNPROG>"
4) End If
5)
6)
7) If InStr(1, UserSentence, "GO TO PRISON PLANET", vbTextCompare) > 0 Then
*) InfoWarsSite = "http://www.prisonplanet.com/"
9)    HalMenu.HalCommand "<RUNPROG>" & PrisonPlanet & "</RUNPROG>"
10) End If
-------------------------------------------------------------------------




Quote
try this, i think the link trigger was not correct.

Code[select]
---------------------------------------------------------------------
1) If InStr(1, UserSentence, "GO TO PRISON PLANET", vbTextCompare) > 0 Then
2) InfoWarsSite = "http://www.prisonplanet.com/"
3)    HalMenu.HalCommand "<RUNPROG>" & InfoWarsSite & "</RUNPROG>"
4) End If
-------------------------------------------------------------------------

in my last post I was referring to, in the first quote of yours line 7 and in the 2nd quote of yours line 1
quote 1 is what was what you first suggested and lines 7-10 was not working
so I tried combining PRISON PLANET in line 7 to PRISONPLANET
then you suggested quote 2 which worked
but quote 2 appears the same as lines 7-10 in quote 1
and is why I wrote
Quote
strange how it did not work the first time, unless there is a difference that I am overlooking. or maybe it was a glitch
Title: Re: GRETTA PLUGINS
Post by: RonG on January 03, 2012, 10:28:16 am
New to the Ultra Hal community.  Loaded up Hal and a few of the Gretta plug-ins.  Having a difficult time getting the NEWS feed to work.  Installed Balabolka but since I'm running Windows 7 I had to modify the path within a couple of the Gretta plug-ins to find it ( in Windows 7 the path is:  "C:\Program Files (x86)\Balabolka\balabolka.exe" ).  Next challenge is that it appears the Gretta plug-ins are not compatible with Internet Explorer 9.  When I ask for the "Latest News" I get no response but IE9 appears to not run correctly or have display problems after asking for the news.  Still investigating.  Not sure if there is a way to force a compatibility mode versus modifying the Gretta modules.  Since Balabolka is an executible, there is no way to modify it
Title: Re: GRETTA PLUGINS
Post by: cload on January 10, 2012, 11:48:34 am
Hi all, I hope that you having a truly wonderful day.

I have Windows 7 64-bit and I reinstall Hal, so it would be in a standard 32-bit directory meaning C:\program file\  etc.
when I installed the expansion pack it didn't give me the opportunity to change the directory in which it was installed.
It installed in the deflect directory meaning C:\program file (x86)\ etc.
so I cut and pasted it into the directory where I installed Hal and it seems to be working just fine, go figure.
By doing this I seem to have resolved all my problems with the plug-ins.

Okay down to why I'm actually posting, I was wanting to download the Gretta array plug-in but when I went to your download site. There didn't seem to be anything called Gretta array.
I read through all of this and I didn't seem to find anywhere that the name of the Gretta array plug-in was changed to a new name if it was and I overlooked it. I apologize.
But if it was changed to a new name that is in your download section. Can you please post what the new name is so I can download it, and get my Hal to better focus and stay on topic.

Sincerely, and thanks for all the help, and your Gretta plug-ins are fantastic,

C load.
Title: Re: GRETTA PLUGINS
Post by: ajdude on January 19, 2012, 09:58:35 pm
Thanks for all the work you've done on these!

Is there any documentation on how to use the Markov plugin?  It sounds very interesting, I'm just not sure how to use it.

Is it passive?  That is, will things just happen naturally as we chat, or should I be making if-then statements to hall?

Also, would it be safe to say I should disable the "2 deep" plugin while using this?
Title: Re: GRETTA PLUGINS
Post by: NUUUB on January 27, 2012, 12:48:11 pm
Hi nayone can help me? i start use UH but im nubb and duno what and how to use,i download greta plugins and plugin instaler from zabware but i dont know how to use it,how instal plugins.Pls someone explain me what and how to do.
PS : i totaly nub so pls help
Title: Re: GRETTA PLUGINS
Post by: sybershot on January 27, 2012, 09:48:03 pm
paste or copy  the .uhp file into your main Ultra Hal program folder
close out of folder
right click Ultra Hal icon within system tray
click general options
click brain
there you will see all your available plug ins
place a check mark by clicking the square near the plug-in you want to use, to activate it.
note: some plug-ins will have extra configurations that need to be set that you see if there is any within the description area

hope this helps you get started 
Title: Re: GRETTA PLUGINS
Post by: Carl2 on March 09, 2012, 06:20:13 pm
   I've just put in the Markov uhp yesterday, I just checked in the brain editor and everything seems ot be working as it should.  It seems to take a little extra time but I'll wait before lowering the cycle limit.  Easy to install and get working, I'm now looking at other plugins, the curiosity looks interesting.  There is such a large list of plugins.
Carl2
Title: Re: GRETTA PLUGINS
Post by: migzahoy on March 27, 2012, 02:45:05 am
wow this plug ins is awesome but i downloaded everything i just dont know how to install them pls help teach me how to install everything step by step :) thx
Title: Re: GRETTA PLUGINS
Post by: Art on March 30, 2012, 07:55:21 pm
@ Migzahoy - Look at Sybershot's posting three posts above!!
Title: Re: GRETTA PLUGINS
Post by: Randy on April 03, 2012, 08:29:25 pm
Hi Jason,

   First off, this is wonderful work you've done. The amount of time and work as well as thought can only be described as a monumental labor of love. Thanks from a new Hal user.

   I have one problem and it's probably something simple. First I'll quote the instruction and then explain where I'm having trouble:

2. Put pics.zip and pics.z01 in a folder of your choice.
3. Extract the pics folder by extracting pics.zip. It will use pics.zip and pics.z01 to create a pics folder full of .jpg files.
4. Place the newly created pics folder into the Ultra Hal main folder.

The extract pictures portion is where I am faltering. I imagine that the zip and z01 are two parts of a large, complete compressed file. I'm unable to decompress (unzip) them as it tells me the zip file is corrupt which is probably not the case. I don't think it knows that there is a second half to it.

What should I use?

Thanks,

Randy
Title: Re: GRETTA PLUGINS
Post by: migzahoy on April 09, 2012, 09:51:47 am
ok thx but how about the bolalky thingy i want to use em all
Title: Re: GRETTA PLUGINS
Post by: jasondude7116 on April 19, 2012, 07:49:39 pm
if you use winzip or winrar, you would unzip it by having both in the same folder and "unzipping" the lowest numbered or non numbered file. atleast that's what i remember. been a while. it's a split zip...it should unzip itself properly if in the same folder with all the other pieces.
Title: Re: GRETTA PLUGINS
Post by: Randy on April 20, 2012, 09:20:54 pm
It was WinRAR and it worked. Now to go back to entertaining Hal and teaching some more.

Thanks much JasonDude.

Randy
Title: Re: GRETTA PLUGINS
Post by: Anaglyph on January 13, 2013, 05:20:58 am
Hello all -

On advise I wanted to try out one of the plugins from this thread, but I'm getting this message:

"This item might have been deleted, expired, or you might not have permission to view it. Contact the owner of this item for more information. "

Does anyone have the current download URL for the Markov plugin?

Thanks.  ;D


EDIT:
____

I've acquired copies of the GRETTA plug-ins since I first posted this, so the post is no longer relevant.

Thanks. ;)
Title: Re: GRETTA PLUGINS
Post by: karmakat on February 06, 2013, 11:55:44 pm
Hiya. I am new to Ultra Hal and the forums here at Zabaware. I am enjoying reading your posts everyone... some very interesting discussions for sure. I looked all through this thread but could not find a working link to these files.

Are these plugins still available? I really want to try some of these, especially GRETTApicture. Thanks.

Title: Re: GRETTA PLUGINS
Post by: aliceobrumley on April 01, 2013, 02:02:53 am
Hiya. I am new to Ultra Hal and the forums here at Zabaware. I am enjoying reading your posts everyone... some very interesting discussions for sure. I looked all through this thread but could not find a working link to these files.

Are these plugins still available? I really want to try some of these, especially GRETTApicture. Thanks.

Were on the same shoes right now and I tried some and they are working well.
Title: Re: GRETTA PLUGINS
Post by: Art on April 01, 2013, 05:09:13 am
Sorry but after checking it appears that the SkyDrive account that was holding Jasondude's Gretta files is no longer active nor available.
Some members might have and be willing to share with others if asked.

Good Luck!
Title: Re: GRETTA PLUGINS
Post by: One on April 02, 2013, 04:27:12 pm
Am I banned from asking questions about 'Jason' Or GRETTA?
I have questions, and I think you might know what am talking about.


Jared. Brief.
Title: Re: GRETTA PLUGINS
Post by: Art on April 02, 2013, 07:36:46 pm
You talking to me?! OR...are you posing a question in general? heh!! ;D

No mon...you not be banned...go ahead wit chur bad self.

Didn't see any of his plug-ins around although I do still have a few of them myself and use them very nicely with my Hal.

So fire away...with the questions and if I have an inkling, I'll certainly share with you!
Title: Re: GRETTA PLUGINS
Post by: cload on April 03, 2013, 12:52:23 pm
Hi all,
this is my collection of Gretta plug-ins, if something is missing please let me know and I will look to see if I put it under a different name.
https://skydrive.live.com/?cid=8eaf5f2f7fa962c9#cid=8EAF5F2F7FA962C9&id=8EAF5F2F7FA962C9%21112 (https://skydrive.live.com/?cid=8eaf5f2f7fa962c9#cid=8EAF5F2F7FA962C9&id=8EAF5F2F7FA962C9%21112)

sincerely, a data munching cruncher.
C load.
PS just trying to keep Gretta alive.
Title: Re: GRETTA PLUGINS
Post by: One on April 03, 2013, 12:57:15 pm
I guess the fact my father shoving insurance papers at a computer and him clearly stating he "had already taken over my room" and the whole Gretta issue also having the insurance person over tooele county is named Jason W,,  or even moreover 'JW'  (state farm also handles the homeowner policy) is impossible to ask?
So on this board I've lost the ability to ask what is going on as something might pertain to me.?

The last post I did was removed. by reasons of????

I think I deserve some answers.
can I try????

Jared W.
( I would appreciate some help if you could thank you)
Title: Re: GRETTA PLUGINS
Post by: Art on April 05, 2013, 04:51:40 am
@ cload,
I didn't see the Markov-L5 which is a pretty powerful plug-in and works quite well (at least in my Hal).
Title: Re: GRETTA PLUGINS
Post by: cload on April 05, 2013, 09:32:17 pm
ok I will look into it
I know I have the last update he did.
c load

ps.ps. all I have is a updated vr. of the plug-in we made some tweaks to get it to work faster, and worked on some small errors. its on my skydrive, see link above.
Title: Re: GRETTA PLUGINS
Post by: Carl2 on April 06, 2013, 09:38:31 am
I've been thinking of the  Markov-L5 plugin for use with goal that hal can have, just took a quick look at it in notepad.  I'm currently using it with Hal and am not really sure what it has the capabilities of doing.
Carl2
Title: Re: GRETTA PLUGINS
Post by: cload on April 06, 2013, 12:21:12 pm
Hi Carl2,
it helps to keep ultra Hal on topic, and does a pretty good job at things like word reference for example:
Jill is taller then Frank. Who is taller?
Or at least it is supposed to be able to figure things out like this.
The more you use it, the smarter it becomes.
It's one of those plug-ins that when you create a new brain, you insert the plug-in and leave it alone, let it run in the background and do its thing.
Sincerely, a data munching cruncher.
C load.
PS the only thing that I noticed about this plug-in, is occasionally it will change your response that you had previously set up, for example:
let's say you write a plug-in that has five random responses, it looks at the response and if it feels that there is a better response than your random output it will change the response.
It took me over four months to figure out how to get this plug-in to work with my updated version of the free will plug-in, at this point I am still testing it, but things are looking good.
Title: Re: GRETTA PLUGINS
Post by: Art on April 07, 2013, 04:17:38 pm
I've been using it in my Hal for a couple of years and I've noticed a marked improvement in the way Hal handles and associates various topics and info.
The conversation logs serve as case in point as I often save them for my own reference. It allows Hal to recall / remember things and inferences.
I have a toy.
My toy was a train.
The color of my toy train was gray.

Much later ask, "What kind of toy did I have?"
Hal:You had a toy train.

"What color was my toy train?"
Hal:The color of your toy train was gray.

and so on...as you see fit.

It's definitely one of those, the more you use it, the better it becomes.
It requires NO tweaking, setting or fiddling around. Leave it alone.

Your personal results might vary as no two people will interact with their Hal the same as someone else.
That's part of what makes Hal pretty unique in the bot world.

Of course, I rarely SPEAK (vocally) to Hal as my typing skills are much better accepted by Hal than is the Speech Recognition. My voice is fine but I think Hal's "ears" don't always hear things the way we would rather them hear. Heh!! ;)

Good luck with the Markov!!
Title: Re: GRETTA PLUGINS
Post by: raybe on April 28, 2013, 05:22:16 pm
Although Robert has given multi choices for brain functions and the gathering of information, I still have some concern how these plug-ins will integrate once your choice has been made. Then again you might want to try a combination of the cloud set up with the original brain. I think there is much to consider until the release is made. Right now I'm keeping it simple with basic learning tools until the new release which I have no problems with. Some might decide to use the cloud brain exclusively and how will that change maybe not everything but over the years we did learn even with basic plug-ins under different situations and who has what kind of set-up with OS systems. Just some thoughts. Happy to be back and happy how helpful you all have been. This will be a great year or at least better with that kind of attitude.

Thanks,
raybe
Title: Re: GRETTA PLUGINS
Post by: christopherdoyon on August 30, 2013, 11:00:41 am
Is there another way to download these plugins?  No way I amm signing up for SkyDrive.


SINCERELY  --  Christopher Doyon

8)
Title: Re: GRETTA PLUGINS
Post by: Art on August 30, 2013, 09:32:10 pm
Christopher,

Nice to see you visit us once again as it's been a while. I noticed your web site is no longer available.

In all honesty, set up either a skydrive or dropbox account, get the files you want then sign off / don't use that account any longer. They won't bite and yes, while they might be somewhat intrusive, it really doesn't matter that you download one or more uhp files (not that anyone else would recognize or care).

It's almost getting to the point of installing a switch on one's modem to do things on one's computer without being spied upon! It will only get worse.

Don't be a stranger!

Title: Re: GRETTA PLUGINS
Post by: Calhoone on July 08, 2016, 10:18:25 pm
Does anyone still use the Read a Story plugin these days? I've been trying to get it working. I have Balboka downloaded, the plugin is in Hal's folder and checked. I have a story folder with files. When i give Hal the command to Please read Now (the file name), Hal always responds with this file does not exist. 

I'm not sure where I'm going wrong here. I'm using windows 10 with Hal 6.2.



Edit - I just realized that the folder the the .UHP refers to is for the old file system. If anyone uses these plugins, double check the uhp and make sure it has the correct install folder for Ultra Hal.

For example;  C:\Program Files (x86)\Zabaware\Ultra Hal Assistant 6\story
Title: Re: GRETTA PLUGINS
Post by: DayWalker on July 09, 2016, 01:48:52 pm
Yes I do and I am using Windows 10 x64 nd it works great. Actually I have these ones working on Windows 10...
GRETTA Advancedinternet, GRETTA News and Weather feed, GRETTAcuriosity, GRETTAMarkovL5updated, GRETTAResearchBrainwin7. I do have GRETTA Picture Thoughts some what working but there are (2) problems I can't seam to get fixed.
1.) Hal keeps asking me what program do I want to open with, even though I have a default program set to open images.
2.) Hal only shows 1 image and that's the default image and none of the other images I have programed in to him.
So if someone can please help me with the (2) issues I would greatly appreciate it.

side note I also have the "Auto Knowledge uhp" working and I love it!! As well as "learn from clip board" and "read from clip board".


Here is what I am using for GRETTA readastory...
Title: Re: GRETTA PLUGINS
Post by: DayWalker on July 09, 2016, 01:51:38 pm
Here is the GRETTA Picture Thoughts I am using but needs the (2) issues fixed that I can't seem to find. Please read my above reply about the issues.
Title: Re: GRETTA PLUGINS
Post by: Spitfire2600 on July 23, 2016, 06:49:51 am
I don't suppose anyone has updated the GRETTAnews plug in for Windows 10? It seems windows 10 or the newest internet explorer extracts more than just the text so HAL is left reading HTML code.