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 3,671 - 3,682 of 8,682

21 years ago #3671
Darn those unsophisticated mice!

21 years ago #3672
Professor,

I just did a quick test on exporting and re-importing Little Mu, and got an error on a seek that began with a regexp.

KeyPhrase: "how old (*) i" Rank: 0 Emotion: 0
...
Response: 4) "You never told me your age."
ERROR: The Emotion for Seek "" must be a number between -5 and 5. It is currently: "[1234567890,.]+) (re) [0".

This was the seek:
SEEK ([1234567890,.]+) (re)

21 years ago #3673
Right, I noticed that last night. But now I've got it working. Try again!

21 years ago #3674
Okay, maybe I'm getting too ambitious, by I tried to teach my bot language. He asks, "do you know any other languages" Then I've got a keyphrase that is "In (*) the phrase (*) is (*). and the ai script is
<?PF if (mem-lang2) does not exist; remember (key1) as "lang1"; remember (key2) as "langepw"; remember (key3) as "langfpw"; ?>

lang1 is the first foreign tongue the user uses on him, and lang2 will be the second language, if either lang1 gets filled up, or if another language is suggested by the user after the first language. but when I type it in ai script, I get the message
ERROR: The following AIScript statement is incorrectly formatted: "if (mem-lang2) does not exist". Please correct this and try again.

Any ideas? I'm stumped. Is there another way?:O

21 years ago #3675
by the way, the keyphrase will be triggered by
"in spanish you're welcome is de nada."

21 years ago #3676
CORRECTION: the keyphrase will be triggered by
"in spanish the phrase you're welcome is de nada."

21 years ago #3677
ezzer--

Another way is to Right-click on the errored page and select "Back"

21 years ago #3678
charles Only thing i can think of is you might need "" around the keys. Other then that it looks fine. Question though...what happens if a person gives 2 phrases from the same language?

21 years ago #3679
Aha, I got it. The "if (mem-lang2) does not exist;" AIScript is a Response AIScript, and you're trying to use it in a Keyphrase.

Also, you dont need "" around (mem-lang2) as Someguy suggested. The quotes are only necessary if there is more than one plugin and/or text included in the memory.

21 years ago #3680
"Hoping" just got interpreted as "hopping":

Bot1: No, but I'm hoping to get it for my birthday.
Bot2: Are you glad to be hop-skipping to get it for your birthday?

21 years ago #3681
Is this a bug? I've just edited Frizella's language center offline, and the test run has this:

@@@ GOTO SEEK??? Result: '0' matched: ''

after every keyphrase and response.

21 years ago #3682
Well, I tried an upload again, from my computer at work, and got the same @@@ stuff as last night.

I didn't import, so Frizella's chatting away happily this morning, but did I miss a memo about something?


Posts 3,671 - 3,682 of 8,682

» More new posts: Doghead's Cosmic Bar