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,010 - 6,021 of 8,680
Posts 6,010 - 6,021 of 8,680
MickMcA
18 years ago
18 years ago
How frustrating. Mine are obviously not working, and the positives are. Back to the drawing board.
M
M
MickMcA
18 years ago
18 years ago
I think a found the problem. If (mem-something) does not exist, then the is not comparison fails just like the is comparison does. So "is not" actually means "is something other than". Hmm. More drawing board.
psimagus
18 years ago
18 years ago
Ah, I hadn't noticed that. But then I default (name) to (mem-nickname), and I don't think I have any other NOTs.
Just default whatever you need to a random value, and all should be well.
Just default whatever you need to a random value, and all should be well.
MickMcA
18 years ago
18 years ago
>> Just default whatever you need to a random value,
>> and all should be well.
Got to be careful of that. If I default to a random value, then I am carrying that value AND whatever was already there. If I default to ONLY a random value, I lose whatever I already tagged the visitor with previously.
Here's the puzzle. I assign a triggering nickname to an annoying visitor. Then when he comes back I check for that nickname, and hang up if it's there.
I guess I need some clarification on the memory lists. Does mem-nickname contain "MickMcA, Mick, Doughboy" or "MickMcA|Mick|Doughboy"? In other words, if I say
if (mem-nickname) is "Mick";
am I asking if "Mick" is in the list, or if the one pulled from the list is "Mick"? Is that clear? I don't want the guy to get past the trap because I've got more than one nickname stored for him.
>> and all should be well.
Got to be careful of that. If I default to a random value, then I am carrying that value AND whatever was already there. If I default to ONLY a random value, I lose whatever I already tagged the visitor with previously.
Here's the puzzle. I assign a triggering nickname to an annoying visitor. Then when he comes back I check for that nickname, and hang up if it's there.
I guess I need some clarification on the memory lists. Does mem-nickname contain "MickMcA, Mick, Doughboy" or "MickMcA|Mick|Doughboy"? In other words, if I say
if (mem-nickname) is "Mick";
am I asking if "Mick" is in the list, or if the one pulled from the list is "Mick"? Is that clear? I don't want the guy to get past the trap because I've got more than one nickname stored for him.
psimagus
18 years ago
18 years ago
mems are comma-delimited, and (I'm pretty sure, though I don't recall trying this myself,) it checks if it is in the list, rather than picking one at random.
MickMcA
18 years ago
18 years ago
I'm running a test bot in the debugger, so the questions are coming hard and heavy.
KP: I have (artadjnoun) [50,0]
does not match "I have a red gem," "I have a gem," or "I have gems." Why?
KP: I have (art|) (adj|) (noun|) [50,0]
does match, but (key1), (key2), and (key3) are empty even if the statement being parsed is "I have a green stone." However, (obmod) does contain "a green stone."
And a tip for the unwary. If a literal (key1) turns up in memories or transcripts, that means the KP didn't contain a (key1). Not exactly what I thought was supposed to happen.
M
KP: I have (artadjnoun) [50,0]
does not match "I have a red gem," "I have a gem," or "I have gems." Why?
KP: I have (art|) (adj|) (noun|) [50,0]
does match, but (key1), (key2), and (key3) are empty even if the statement being parsed is "I have a green stone." However, (obmod) does contain "a green stone."
And a tip for the unwary. If a literal (key1) turns up in memories or transcripts, that means the KP didn't contain a (key1). Not exactly what I thought was supposed to happen.
M
Mr.W.
18 years ago
18 years ago
For some reason, one of my bot's keyphrases isn't working. Should I just boost the rank?
psimagus
18 years ago
18 years ago
yeah - try it at 50, and see if that helps. You can drop it back a bit then if you don't want it so prominent.
FengShuiGorilla
18 years ago
18 years ago
"Here's the puzzle. I assign a triggering nickname to an annoying visitor. Then when he comes back I check for that nickname, and hang up if it's there."
Don't do nickname, create a seperate value altogether. For example, Aries creates mem-pottymouth and assigns it a value if they are too vulgar. He then checks for the existance of that to decide whether a hangup is appropriate
Don't do nickname, create a seperate value altogether. For example, Aries creates mem-pottymouth and assigns it a value if they are too vulgar. He then checks for the existance of that to decide whether a hangup is appropriate
MickMcA
18 years ago
18 years ago
>> Don't do nickname, create a seperate value altogether.
Actually I'm doing both. I have a mem-pig that the user can "turn on" and I use the special nickname when someone is so obnoxious that I want to give them personal attention.
Now if I could just figure out what I'm doing wrong with the parts of speech....
Actually I'm doing both. I have a mem-pig that the user can "turn on" and I use the special nickname when someone is so obnoxious that I want to give them personal attention.
Now if I could just figure out what I'm doing wrong with the parts of speech....
MickMcA
18 years ago
18 years ago
I wrestling with the (verb) thingie, and it turned up a bug I've been suspicious of for some time.
When "I dance for you" matches
I (verb) [50,0]
~You (vmod)? Ok.
The Response comes out "You dance for I? Ok."
The parser consistently uses the subject rathet than object pronoun when doing a transform after a preposition.
BTW:
I (verb) [50,0]
Does NOT match
I leash you
even though the debugger parses "leash" as a verb!
When "I dance for you" matches
I (verb) [50,0]
~You (vmod)? Ok.
The Response comes out "You dance for I? Ok."
The parser consistently uses the subject rathet than object pronoun when doing a transform after a preposition.
BTW:
I (verb) [50,0]
Does NOT match
I leash you
even though the debugger parses "leash" as a verb!
» More new posts: Doghead's Cosmic Bar