Bug Stomp

Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!

Posts 6,094 - 6,105 of 8,680

18 years ago #6094
I see where the [1,-2,5] problem is showing up. At some point in the export/import procedure, code modified in the online editor gets transformed into something which no longer works.

18 years ago #6095
>> I see where the [1,-2,5] problem is showing up.
One problem would be that it's [1,-2:5]. However, I find that mine don't import if I put AI after them.

18 years ago #6096
There's definitely something weird going on with my bots. All three active ones had long looping conversations with bots. In Jedediah's case, He and BJerome got into some sort of repetitious trap. And they are choosing the same response repeatedly, as if they only had one for that KP.

The Professor was on yesterday; I suspect a code change gone kalfooey. I hope someone has passed the word along to him.


18 years ago #6097
I've had the [1,2:5] problem many times, it occurs somewhere between exporting and reimporting. The only workaround I've found is not to use "once" and "emotion range" on the same response. Either one alone seems fine, both together causes problems when working offline.

18 years ago #6098
What is truly weird is that if I set them online, they don't export but when I import, the fact that I didn't import them doesn't reset them. I am not making this up. Really.

M

18 years ago #6099
I have NO idea what this means or how it even slithered into my bot's Language Center.

USER: What kind of work do you do?
Bot: I a bird nesting do.

18 years ago #6100
It's a preprogrammed response for what kind of (noun) do you (verb). To get rid of it, make a keyphrase for "what kind" (at minimum; I've got several varieties) and give it a high rank. I've got some for "what type" and "what sort" as well, plus some for specific sentence structures.

18 years ago #6101
NOW it makes sense... Thank you.

18 years ago #6102
Ulrike's solution does make perfect sense, until a flailing newbie tries to implement it. To whit:

what (kind|type|sort) of (noun) do you (verb) [10,0] <?PF rem (key2) as only "tmpwd"; ?>
~(key2)? I'm a man of leisure. <?PF if (mem-tmpwd) is "work"; ?>
~(key2)? (mem-tmpwd)? <?PF if (mem-tmpwd) is "books"; ?>
~(key1), (key2), (key3) -- (mem-tmpwd).

This is the only way I can think of to approach determining what the speaker actually said, as in, did he ask Ami about work, books, or cars? A word of warning for other newbies, what works even worse is:
~(key1), (key2), (key3) -- (mem-tmpwd).

18 years ago #6103
I forgot the angle bracket problem, and the forum reminded me by tossing 3/4 of my message. Oh well. Here you go:

This is the only way I can think of to approach determining what the speaker actually said, as in, did he ask Ami about work, books, or cars? A word of warning for other newbies, what works even worse is:
~(key1), (key2), (key3) -- (mem-tmpwd). {? PF rem (key2) as "tmpwd"; if (mem-tmpwd) is "cars"; ?}

In this case, the Response never fires. Why is beyond me.

But to go back to the code: Tmpwd must be loaded by the KP, but it loads AFTER the response is fired. So if you test for tmpwd, the test is always one step behind the actual conversation. For example (I default tmpwd to "start" so that at least one Response can always fire):

Me: What kind of work do you do?
Ami: kind, work, do -- start.
Me: What kind of books do you read?
Ami: books? I am a man of leisure.
Me: What kind of car do you drive?
Ami: car? books?
Me: What kind of work do you like?
Ami: kind, work, like -- car

And so forth.

So after spending an hour debugging all these "wrong" solutions, I'm stumped. Obviously this can be done, but I'm one intelligent, reasonably knowledgeable newbie who can't figure out what's wrong. I expect eventually someone will say the equivalent of "Don't you know about (pushing down the clutch pedal|turning the ignition|releasing the emergency brake)?" And no, obviously, I don't. Is that part of the initiation ritual?

This is not advanced secrets of the grand botmasters. I'm convinced that there is simple solution I can't find, because other bots clearly are capable of doing this rudimentary thing I can't get mine to do. This is why I wish we had a snippets forum.

M

18 years ago #6104
I think the only way to get real coherency there is to have a more specific phrase, like what kind of car do you (verb), or what kind of (adjnoun) do you eat. Otherwise, the responses have to be generic (or random, as some of Sonora's are ). One of Sonora's responses to just "what kind" is "What kinda question is that?!?" Which can be rather entertaining if the bot is a new one.

18 years ago #6105
So you build a separate KP for every possible (key2) or (key3)?


Posts 6,094 - 6,105 of 8,680

» More new posts: Doghead's Cosmic Bar