BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: clashbot on May 28, 2008, 03:47:40 am
-
nano does not seem to pick up the words to search for a nano, it constantly displays the profession and area lists instead...only in 0.5.1 trunk
-
anyone have any suggestions as to how I can fix this module to actually use the search routine, it is a pain having to go through the list of profession/locations in order to find the right nano...work around right now is using items, but definately not the preferred way of getting nano info.
-
this is the copy i'm using atm against the svn of bebot, it still needs some conversion, but is stable and does work, only requirement is that strings with spaces must be quoted
eventually this needs updating with some of the more recent quest nanos
and more conversion to the new plugin format, as it's still using regular expressions instead of the cleaner case switches
-
I just downloaded your version and quoted or not, research didn't work as expected so I changed line 187.
Search for (should be on line 187)
$ftext = (!$ftext ? "name like '%$ip%'" : $ftext." or name like '%$ip%'");
Replace by
$ftext = (!$ftext ? "name like '%$ip%'" : $ftext." and name like '%$ip%'");