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

Title: nano
Post 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
Title: Re: nano
Post by: clashbot on June 03, 2008, 05:35:39 pm
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.
Title: Re: nano
Post by: Parfet on June 05, 2008, 02:27:16 am
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
Title: Re: nano
Post by: Nogoal on August 07, 2008, 04:59:30 pm
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)
Quote
$ftext = (!$ftext ? "name like '%$ip%'" : $ftext." or name like '%$ip%'");

Replace by
Quote
$ftext = (!$ftext ? "name like '%$ip%'" : $ftext." and name like '%$ip%'");
SimplePortal 2.3.7 © 2008-2024, SimplePortal