Aquileo | Recent changes to bugshttps://sourceforge.net/p/programe/bugs/2008-03-10T12:15:07ZRecent changes to bugsAquileo | unsupported UTF-82008-03-10T12:15:07Z2008-03-10T12:15:07ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.net00d96a7f6ed4cfae8cce9d7b10b12a22243fa0ab<div class="markdown_content"><p>I have a thai bot.<br /> and I encoded xml file in UTF-8 format.<br /> It's display thai language fine but didn't match thai pattern.</p> <p>then i try to encode my xml file in ANSI format with encoding attrib "ISO-8859-11" and use tis620_thai_ci for my table's collation.<br /> ProgramE match thai pattern but can't display the template.</p> <p>please tell me if i did something wrong</p></div>Aquileo | Error after modifying customtags.php2006-09-30T17:45:29Z2006-09-30T17:45:29ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.netdd1fb244c501c5781010f9e699346beac9d58661<div class="markdown_content"><p>My Bot worked perfectly until I modified the<br /> "customtags.php" to add custom tags.<br /> Now it tells me "I don't know that bot:testbot".</p></div>Aquileo | Bot predicates fail to load after 127 bot reloads2006-03-06T04:24:57Z2006-03-06T04:24:57ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.net563db9ebca077aca937ea792873e1f465b3bfc3a<div class="markdown_content"><p>The Bot predicates properties in startup.xml will not <br /> load into the current bot after 127 reloads. It <br /> looks like when the bot ID in the database is greater <br /> than the bot# the predicates don't load to the <br /> current bot.</p></div>Aquileo | Globals variables in subs.inc2005-11-17T18:23:54Z2005-11-17T18:23:54ZKemenAranhttps://sourceforge.net/u/userid-1278162/https://sourceforge.netbb8cece7b75c1063c49b4030c6bec5717af071c3<div class="markdown_content"><p>I had a problem while trying to implement Program E in<br /> a custom OO Framework of mine. I just included the<br /> 'respond.php' file in a method of a class, and<br /> everythings worked properly but one thing : the<br /> subs.inc arrays.</p> <p>It seems Program E is not supposed to be runned inside<br /> an object, because the variables declarated at the root<br /> of the script (like the subs.inc arrays) are intended<br /> to be globals. It is obviously no more the case when<br /> calling Program E from an object.</p> <p>This was generating some strange and erratic behaviors<br /> of the robot, and I spend two hours tracking down the<br /> problem ; then one minute to fix it : I just changed<br /> the definition of the arrays inside subs.inc, from<br /> '$*search=array(...);' to<br /> '$GLOBALS['*search']=array(...);'. This can be<br /> automatically generated by changing the first line of<br /> the function 'makesrphp()' in the file<br /> 'bootloaderfuncs.php', just replace it by<br /> '$myphp="\$GLOBALS['" . $sname . "search']=array(\n";'.<br /> A couple of similar lines in the same function need to<br /> be changed the same way.</p> <p>I don't think this breaks or slows down anythings, but<br /> it'll be very usefull to avoid the problem reproducing<br /> again.</p> <p>Thanks for you cool program :)</p></div>Aquileo | space problem using substitutions2005-10-24T13:38:43Z2005-10-24T13:38:43ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.net0f204616988e7cfd86416867ddd0b288fac3a8a0<div class="markdown_content"><p>I have a problem with the programE substitutions rules.. <br /> that do not seem to apply well.</p> <p>.<br /> - When i use the same substitution rules and category :<br /> &lt;substitute find=" .nl " replace=" dot nl"/&gt;<br /> &lt;substitute find=".nl " replace=" dot nl"/&gt;<br /> &lt;substitute find=".nl" replace=" dot nl"/&gt;<br /> (( in programD i do not use this three... but for testing <br /> on programE i just tried it even knowing it would not <br /> make a difference really))<br /> &lt;substitute find="@" replace=" at "/&gt;</p> <p>and a sample pattern: <br /> &lt;category&gt;<br /> &lt;pattern&gt;MY EMAIL IS * AT * DOT NL&lt;/pattern&gt;<br /> &lt;template&gt;&lt;think&gt;&lt;set name="email"&gt;&lt;star <br /> index="1"/&gt;@&lt;star index="2"/&gt;.nl&lt;/set&gt;&lt;/think&gt;<br /> Thanks!</p> <p>&lt;/template&gt;<br /> &lt;/category&gt;</p> <p>In programD it perfectly matches input: mijn emailadres <br /> is iemand@cartesians.nl<br /> with the pattern above.<br /> The subs. rules split the emailadres perfectly.</p> <p>But in programE whatever i do it does not... in gmache <br /> and bot output it stays: <br /> mijn emailadres is sssatcartesiansdot nl </p> <p>The only space it makes is at the end between dot and <br /> nl </p></div>Aquileo | Another problem with <star/>!2005-09-30T23:28:04Z2005-09-30T23:28:04Ztanoshimihttps://sourceforge.net/u/userid-1252904/https://sourceforge.netffa4480ed05656a04fb3b553959a82f2ca63ff4d<div class="markdown_content"><p>It's taken me ages to isolate this problem, but I think<br /> I've now found it... only problem is I don't know how<br /> to solve it! </p> <p>I've installed a fresh copy of v0.9, with only two AIML<br /> categories loaded:</p> <p>&lt;category&gt;<br /> &lt;pattern&gt;I AM * TALL&lt;/pattern&gt;<br /> &lt;template&gt;<br /> That's quite tall<br /> &lt;/template&gt;<br /> &lt;/category&gt; </p> <p>&lt;category&gt;<br /> &lt;pattern&gt;* VERY *&lt;/pattern&gt;<br /> &lt;template&gt;<br /> &lt;star index="1"/&gt; &lt;star index="2"/&gt;<br /> &lt;/template&gt;<br /> &lt;/category&gt;</p> <p>Here's some responses that work:</p> <p>User: I am 7 feet tall.<br /> Bot: That's quite tall.<br /> -------------------------------<br /> User: Baby ducks are very cute<br /> Bot: Baby ducks are cute</p> <p>However, if you type one of the following you get an<br /> unintentional Yoda-esque response!</p> <p>User: I am very clever.<br /> Bot: very clever i am.<br /> -------------------------------<br /> User: I am very big for my age<br /> Bot: very big for my age I am</p> <p>The pattern matched in $botresponse-&gt;patternsmatched is<br /> * very * but it appears to be getting confused by the I<br /> AM * TALL category because changing this to I AM TALL<br /> fixes the problem...</p> <p>I would be eternally grateful if somebody with more<br /> brains than me could have a look at this and see what's<br /> going on (I've got a copy of the debugger output log if<br /> it would help) because this program is so great and I<br /> want to carry on making my bot!</p></div>Aquileo | Something wrong with <star/>2005-02-13T07:24:32Z2005-02-13T07:24:32ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.net269166dfb6c7327c8b103b00545b8b6ffcdf80db<div class="markdown_content"><p>Hello. Many people found this bug. </p> <p>&lt;category&gt;<br /> &lt;pattern&gt;TELL ME *&lt;/pattern&gt;<br /> &lt;template&gt;<br /> Yes, &lt;star/&gt; is a good topic...<br /> &lt;/template&gt;<br /> &lt;/category&gt;</p> <p>Dialog is:<br /> ******<br /> User: Tell me about this day.<br /> Bot: Yes, about this day this day is a good topic...<br /> ******<br /> This repeatings are also in gossips and in many other <br /> things.<br /> I think that I solve this problem. The function <br /> fastforward() in graphnew.php should return one string <br /> and should change $ffremains.. But $ffremains wasn't <br /> changed. An then addtostar() not working properly.<br /> I just changed: <br /> FROM <br /> function fastforward($word,$ffremains){ <br /> TO <br /> function fastforward($word, &amp;$ffremains){</p> <p>Now &lt;star/&gt; is working fine..<br /> I used PHP 4.3.4 win32 apache 1.3.26<br /> MySQL 4.0.22</p> <p>May be I made a mistake? Please check this and answer <br /> me.</p></div>Aquileo | get name=any double2004-11-08T10:59:53Z2004-11-08T10:59:53ZJCPhttps://sourceforge.net/u/honkypooh/https://sourceforge.net9d98049228fcc7604fa94dbf949873d1d0ac9198<div class="markdown_content"><p>the get mechanism returns the words from the second<br /> position twice.<br /> my name is john miller smith</p> <p>answer: hello john miller smith miller smith</p></div>Aquileo | Something wrong when handling &amp;lt;person/&amp;gt; tag2004-01-26T19:06:31Z2004-01-26T19:06:31ZMauricio Díazhttps://sourceforge.net/u/madd0/https://sourceforge.netc75deea4d6b86931db5c64b90d3867f1660aeb7d<div class="markdown_content"><p>Hi, I think there is something wrong with the part of the <br /> program (I think it is the responder) that handles the <br /> &lt;person/&gt; tag.</p> <p>This is an example of a conversation where you can see <br /> the bug:</p> <p>&lt;i&gt;Bot:&lt;/i&gt; Humans are not always infallible.<br /> &lt;i&gt;User:&lt;/i&gt; In fact, I would say they are never infallible.<br /> &lt;i&gt;Bot:&lt;/i&gt; Is that a fact. never infallible would say <br /> they are never infallible are never infallible would say <br /> they are never infallible are never infallible would say <br /> they are never infallible are never infallible would say <br /> they are never infallible .<br /> &lt;i&gt;User:&lt;/i&gt; Ok , that looks like a bug to me.<br /> &lt;i&gt;Bot:&lt;/i&gt; "never infallible would say they are never <br /> infallible are never infallible would say they are never <br /> infallible are never infallible would say they are never <br /> infallible are never infallible would say they are never <br /> infallible" looks like a bug to him or her ? Makes sense to <br /> me. Gee.<br /> &lt;i&gt;User:&lt;/i&gt; Fool</p> <p>This is the AIML that handles the bot's second reply:<br /> &lt;category&gt;<br /> &lt;pattern&gt;THEY ARE *&lt;/pattern&gt;<br /> &lt;template&gt;&lt;person/&gt; are &lt;set <br /> name="they"&gt;&lt;person/&gt;&lt;/set&gt;.&lt;/template&gt;<br /> &lt;/category&gt;</p> <p>I know it's not a very smart reply (although it's part of <br /> Dr Wallace's famous AIML set), but I think the problem <br /> comes from the fact that the &lt;person/&gt; tag is used. <br /> Although I don't have them at hand, I know the problem <br /> happens in other situations where the &lt;person/&gt; tag is <br /> used.</p></div>Aquileo | topic problem2003-04-20T21:08:42Z2003-04-20T21:08:42ZAnonymoushttps://sourceforge.net/u/userid-None/https://sourceforge.netfd6fa28a3075d2d1defa28ef073826ea85408075<div class="markdown_content"><p>i say: lets talk about books<br /> bot says:: Sure, books about books about books <br /> sounds like a good topic.<br /> should say: Sure, books sounds like a good topic.</p> <p>i say: what are we talking about<br /> bot sayst: The topic is books about books about books.<br /> should say: Sure, books sounds like a good topic.</p> <p>actually i am not sure, what typ of problem it is<br /> bot gets my name and so on correct</p></div>