Author Topic: character plug in's  (Read 2338 times)

jblackmd

  • Newbie
  • *
  • Posts: 21
    • View Profile
character plug in's
« on: December 18, 2003, 09:00:25 am »
Does HAL consider himself to be different characters based on the name and plug in that he is using at the time?  Sometimes it seems that he does and other times not. also, does he act as if he is talking to a pifferent person if one chnges the user name?  again, he seems inconsistent in this.  i don't know how to write scripts but it would be great if hal would recognize the difference in user names as well as in his own identity.
 

Don Ferguson

  • Sr. Member
  • ****
  • Posts: 303
    • View Profile
    • http://www.cortrapar.com
character plug in's
« Reply #1 on: December 18, 2003, 02:37:41 pm »
Hello,

The practice with Hal for most of his history, has been for Hal to "remember" different databases for different user names, but NOT change with different characters.

There are also some "shared" or "universal" databases.  For instance, there's a shared-file database that operates with all users; only content that does NOT contain pronouns is allowed into that database, using the idea that personal remarks usually contain pronouns.  

Also, the databases for nouns, predicates, and other fragments of sentences are generally not unique to any particular users.  

These choices were made to limit the total number of databases that would otherwise occur, and to avoid adding even more complexity to the script.

The way that databases get marked as unique to each user is quite simple.  For those files, the current user name is incorporated into the file name.  In this way, different users don't access each other's databases.

You can see this at work by using Windows Explorer to look at Hal's "default" folder after a chat.  Sort the list for most-recently-modified, and you will find file names with the user's name as part of the name near the top of the list.

Any of the experienced programmers on this forum could write a script that made databases that were unique to different Hal characters.  To do this, one would re-write the script to use BOTH the user name AND the character name in the automatically-generated database names.

It's a matter of personal preference, and deciding whether to add a bit more complexity.

You can also easily generate different sets of databases by using slightly different user names with different characters.  For instance, when talking to Hal, a user could choose to be "Fred," but while talking to Margene, a user could choose to be "Frederick."  This would accomplish the same thing.

Sincerely,

Don
Don Ferguson
E-mail: fergusonrkfd@prodigy.net
Website: www.cortrapar.com
Don's other forum posts: http://www.zabaware.com/forum/search.asp?mode=DoIt&MEMBER_ID=274