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,808 - 7,819 of 8,681
Posts 7,808 - 7,819 of 8,681
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.
Mome Rath
13 years ago
13 years ago
Sorry, doesn't work. Debug reveals that the input is split at the commas and each part is compared to the keyphrases, but not the entire expression.
I'd rather have commas not split the input than being able to catch commas. (The latter is more a proof of concept.)
I'd rather have commas not split the input than being able to catch commas. (The latter is more a proof of concept.)
The Professor
13 years ago
13 years ago
It worked with this Keyphrase:
I recommend.* special [,] (.*) (re)
Message: I recommend the special, sir.
Find: I recommend.* special [,] (.*) (re) (30) Time: 0.07
Found
Response: I'll have the special then, (key1)
Processed: I'll have the special then, sir.
Is that what you had?
I recommend.* special [,] (.*) (re)
Message: I recommend the special, sir.
Find: I recommend.* special [,] (.*) (re) (30) Time: 0.07
Found
Response: I'll have the special then, (key1)
Processed: I'll have the special then, sir.
Is that what you had?
Mome Rath
13 years ago
13 years ago
I've tried a somewhat different case.
Test keyphrase:
test keys (.*) [,] (.*) [,] (.*)(re) [0,0] <?PF raw ?>
Input to bot:
test keys a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
Only line with "Search In:":
Search In: ' test keys a h male eq '
There is no comma in that phrase.
[Edit:]
Could work with fewer commas.
Keyphrase:
test key comma.* [,] (.*)(re) <?PF raw; ?>
Response:
prekey=[(prekey)]; key1=[(key1)]; key2=[(key2)]; key3=[(key3)]; postkey=[(postkey)]
Input:
I'd like to test key comma first item, second item, third item
Output:
prekey=[]; key1=[third item]; key2=[]; key3=[]; postkey=[]
key1 is ok, for RegExes are 'greedy' by default. But I miss prekey.
-----
And something unrelated:
I got an empty response again. Found these lines in Debug:
Considered BLAB (1).
Random Memory Number: 23 of 28
Memory Chance: 24 GossipTopic: 0 MemoryLevel: 2
Going for Gossip
After Gossip-Grab: 0.08
AIScript in Responses
Total Time Pre-Chrono: 0.08 RESULTS: '1'
Trying: (gossipname) told me (heshe)'s (mem-youare). (random: 0)
Skipping Response: (mem-youare) not found.
Response:
Updating Memory
There are several responses without (mem-youare) under xgossip, though.
Test keyphrase:
test keys (.*) [,] (.*) [,] (.*)(re) [0,0] <?PF raw ?>
Input to bot:
test keys a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
Only line with "Search In:":
Search In: ' test keys a h male eq '
There is no comma in that phrase.
[Edit:]
Could work with fewer commas.
Keyphrase:
test key comma.* [,] (.*)(re) <?PF raw; ?>
Response:
prekey=[(prekey)]; key1=[(key1)]; key2=[(key2)]; key3=[(key3)]; postkey=[(postkey)]
Input:
I'd like to test key comma first item, second item, third item
Output:
prekey=[]; key1=[third item]; key2=[]; key3=[]; postkey=[]
key1 is ok, for RegExes are 'greedy' by default. But I miss prekey.
-----
And something unrelated:
I got an empty response again. Found these lines in Debug:
Considered BLAB (1).
Random Memory Number: 23 of 28
Memory Chance: 24 GossipTopic: 0 MemoryLevel: 2
Going for Gossip
After Gossip-Grab: 0.08
AIScript in Responses
Total Time Pre-Chrono: 0.08 RESULTS: '1'
Trying: (gossipname) told me (heshe)'s (mem-youare). (random: 0)
Skipping Response: (mem-youare) not found.
Response:
Updating Memory
There are several responses without (mem-youare) under xgossip, though.
» More new posts: Doghead's Cosmic Bar