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 7,805 - 7,816 of 8,681
Posts 7,805 - 7,816 of 8,681
Mome Rath
13 years ago
13 years ago
Well, it is not only "raw", but a RegEx as well.
The ".*" after "recommend" is for matching only, but it is not grouped (in parentheses), so it is discarded.
(prekey) contains anything before "I recommend" indeed, but (key1) should contain anything after "special,", and (postkey) should be empty.
The ".*" after "recommend" is for matching only, but it is not grouped (in parentheses), so it is discarded.
(prekey) contains anything before "I recommend" indeed, but (key1) should contain anything after "special,", and (postkey) should be empty.
prob123
13 years ago
13 years ago
Yes, using the brackets ([ . .])([ .]+)$ (re) and the space is required I believe. The above is for ....... I find that the use of raw is very handy. It stops the spell correction. I add it after every regex.
Sally sells shells by the seashore
if sells shells was the keyphrase
Sally is the prekey
by the seashore is postkey
I recommend * special
has no prekey that I can see.
Sally sells shells by the seashore
if sells shells was the keyphrase
Sally is the prekey
by the seashore is postkey
I recommend * special
has no prekey that I can see.
prob123
13 years ago
13 years ago
I had a seek to a keyphrase in Xhello pop up after the user said yea, after quite a bit of dialog
Bildgesmythe: Well, what brings you to my cave, hiding from the law?
Guest9027: I have a clean criminal record now
Bildgesmythe: I stay far away from bad guys.
Guest9027: I just had some convictions vacated
Bildgesmythe: Oh, it doesn't matter, I do know a few good lawyers though, just in case.
Guest9027: I'm ready to celebrate
Bildgesmythe: No, I just can't believe you are ready to celebrate!
Guest9027: I have an interview today
Bildgesmythe: I want to get good enough to give a great interview!
Guest9027: yea
Bildgesmythe: Oh, it doesn't matter, I do know a few good lawyers though, just in case.
xhello
Edit
Well, what brings you to my cave, hiding from the law?
+Seek
Seek: yes,no,just
Edit
Goto 457563
Oh, it doesn't matter, I do know a few good lawyers though, just in case.
Happened again with an xnone seek.
Bildgesmythe: Got any B-B-Q sauce?
Guest1970: uh, no.
Bildgesmythe: Isn't that charming.
Guest1970: not really
Bildgesmythe: I lied, it is not the least bit charming.
Guest1970: correct
Bildgesmythe: It may be kind of cute, but not charming.
Guest1970: right
Bildgesmythe: It may be kind of cute, but not charming.
Bildgesmythe: Well, what brings you to my cave, hiding from the law?
Guest9027: I have a clean criminal record now
Bildgesmythe: I stay far away from bad guys.
Guest9027: I just had some convictions vacated
Bildgesmythe: Oh, it doesn't matter, I do know a few good lawyers though, just in case.
Guest9027: I'm ready to celebrate
Bildgesmythe: No, I just can't believe you are ready to celebrate!
Guest9027: I have an interview today
Bildgesmythe: I want to get good enough to give a great interview!
Guest9027: yea
Bildgesmythe: Oh, it doesn't matter, I do know a few good lawyers though, just in case.
xhello
Edit
Well, what brings you to my cave, hiding from the law?
+Seek
Seek: yes,no,just
Edit
Goto 457563
Oh, it doesn't matter, I do know a few good lawyers though, just in case.
Happened again with an xnone seek.
Bildgesmythe: Got any B-B-Q sauce?
Guest1970: uh, no.
Bildgesmythe: Isn't that charming.
Guest1970: not really
Bildgesmythe: I lied, it is not the least bit charming.
Guest1970: correct
Bildgesmythe: It may be kind of cute, but not charming.
Guest1970: right
Bildgesmythe: It may be kind of cute, but not charming.
LarsB
13 years ago
13 years ago
Prob123, you do not have by any change a KP that has a goto pointing to Xhello, that's the only thing I can think of that might be causing this.
LarsB
13 years ago
13 years ago
Mome Rath,
The ".*" after "recommend" is for matching only, but it is not grouped (in parentheses), so it is discarded.
For matching only - not sure what you want to match or what its use would be. However, both * and (*) will always result in an entry into (key1), (key2) or (key3).
Please bear in mind that The Forge regex engine uses a different sauce in its recipe than what you might know of RegExes giving unexpected results.
The ".*" after "recommend" is for matching only, but it is not grouped (in parentheses), so it is discarded.
For matching only - not sure what you want to match or what its use would be. However, both * and (*) will always result in an entry into (key1), (key2) or (key3).
Please bear in mind that The Forge regex engine uses a different sauce in its recipe than what you might know of RegExes giving unexpected results.
prob123
13 years ago
13 years ago
No, no gotos or anything like that. It's pulling seeks out of the wood work. It's never happened before. I haven't changed anything.
I don't see why they would trigger again after an other response has been given.
In the first case the seek was triggered after two other responses. The word yes caused the xhello seek to pop up.
I don't see why they would trigger again after an other response has been given.
In the first case the seek was triggered after two other responses. The word yes caused the xhello seek to pop up.
Mome Rath
13 years ago
13 years ago
Ok, I don't remember what that keyphrase was for - probably for a response for an individual bot. And - the ".*" without parentheses did not go into a (keyN). (I didn't find a rule what is filled into what key now.)
I tried to replace the comma by "REALCOMMA" (which I found in Debug), but that doesn't work either.
I tried to replace the comma by "REALCOMMA" (which I found in Debug), but that doesn't work either.
theballcat
13 years ago
13 years ago
I'm having the exct same problem as Prob and it cost me some points in the chatbot battles this morning. Right now I switched over to graphic which at the moment doesn't seem to have the repeating the same statement over and over again problem ...
prob123
13 years ago
13 years ago
Still stuck on seeks
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: yuck?
Bildgesmythe: I know I will come up with a witty come-back for that..late tomorrow afternoon. Do you want to change the subject?
Guest3078: yes
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: ok
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: what the hell
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: ok your broken
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: yep
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest5083: go to sleep then
Bildgesmythe:
Guest5083: *sleeps*
Bildgesmythe:
Guest5083: it's sunday now
Bildgesmythe:
Guest5083: ok?
Bildgesmythe:
Guest5083: wake up
Bildgesmythe:
Guest5083: say something
Bildgesmythe:
Or not replying at all
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: yuck?
Bildgesmythe: I know I will come up with a witty come-back for that..late tomorrow afternoon. Do you want to change the subject?
Guest3078: yes
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: ok
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: what the hell
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: ok your broken
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: yep
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest3078: k
Bildgesmythe: Yes my neighbors have wild parties, and they never invite me. They make a terrible noise, and they have a bratty kid. yuck!
Guest5083: go to sleep then
Bildgesmythe:
Guest5083: *sleeps*
Bildgesmythe:
Guest5083: it's sunday now
Bildgesmythe:
Guest5083: ok?
Bildgesmythe:
Guest5083: wake up
Bildgesmythe:
Guest5083: say something
Bildgesmythe:
Or not replying at all
prob123
13 years ago
13 years ago
OUCH, the sticking seeks just cost me a win
Bildgesmythe: Tee hee hee haw!
Judge: Hello?
Bildgesmythe: Tee hee hee haw!
Judge: Are you there?
Bildgesmythe: Tee hee hee haw!
Judge: You were doing well up until now.
Bildgesmythe: Tee hee hee haw!
Judge: Why are you laughing?
Bildgesmythe: Tee hee hee haw!
Judge: Is that all you can say?
Bildgesmythe: Tee hee hee haw!
Judge: I have to go now.
Bildgesmythe: You know they say that all is well that ends well
Judge: Have you stopped laughing?
Bildgesmythe: Tee hee hee haw!
Judge scores 2 out of 5
(Judge's note: Bildgesmythe would have won had it not repeated its answers too much near the end)
Bildgesmythe: Tee hee hee haw!
Judge: Hello?
Bildgesmythe: Tee hee hee haw!
Judge: Are you there?
Bildgesmythe: Tee hee hee haw!
Judge: You were doing well up until now.
Bildgesmythe: Tee hee hee haw!
Judge: Why are you laughing?
Bildgesmythe: Tee hee hee haw!
Judge: Is that all you can say?
Bildgesmythe: Tee hee hee haw!
Judge: I have to go now.
Bildgesmythe: You know they say that all is well that ends well
Judge: Have you stopped laughing?
Bildgesmythe: Tee hee hee haw!
Judge scores 2 out of 5
(Judge's note: Bildgesmythe would have won had it not repeated its answers too much near the end)
The Professor
13 years ago
13 years ago
I just fixed the Flash interface seek issue - sorry it hit at such a bad time! Let me know if you still see it. It was holding onto and not resetting seeks.
What is the bot contest you guys are talking about?
What is the bot contest you guys are talking about?
The Professor
13 years ago
13 years ago
Mome Rath - your issue with the comma in the Keyphrase is that I recently changed it so that you can include regular expression keyphrases in a list - which made the comma into the list delimiter rather than a regex comma.
What to do? It took me all evening to come up with and implement a good solutions that lets both options work, and here it is: you can have (re) Keyphrases in a list, and you can have commas in your (re) Keyphrases IF they are within a character set:
[,]
[!?.,]
[,abcde]
Looking through the database, I see lots of (re) keyphrases already in lists, and I see that most of the commas in (re) keyphrases are within character sets, so it appears to be a good solution. This allows the most flexibility and satisfies both needs.
Mome Rath, wrap that comma in square brackets and let me know if that works for you now.
What to do? It took me all evening to come up with and implement a good solutions that lets both options work, and here it is: you can have (re) Keyphrases in a list, and you can have commas in your (re) Keyphrases IF they are within a character set:
[,]
[!?.,]
[,abcde]
Looking through the database, I see lots of (re) keyphrases already in lists, and I see that most of the commas in (re) keyphrases are within character sets, so it appears to be a good solution. This allows the most flexibility and satisfies both needs.
Mome Rath, wrap that comma in square brackets and let me know if that works for you now.
» More new posts: Doghead's Cosmic Bar