BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian support => Topic started by: Aenator on July 13, 2008, 12:36:51 pm

Title: !item
Post by: Aenator on July 13, 2008, 12:36:51 pm
Hi, i guess i found a bug:
after !item command and linking the item i get the following:

Quote
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/aocdb.lunevo.net/botsearch/index.php on line 71

Hope it helps.
Title: Re: !item
Post by: Noer on July 13, 2008, 01:08:38 pm
Hi, i guess i found a bug:
after !item command and linking the item i get the following:

Quote
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/aocdb.lunevo.net/botsearch/index.php on line 71

Hope it helps.

Upgrade to latest version. Thats not how you are supposed to use the module.

Use !items <searchterm>

!item is only used by the module to make the item reference to the actual item.
Title: Re: !item
Post by: Aenator on July 13, 2008, 02:38:39 pm
bebot-hyborian.0.5.0.r24.zip

I understand what it used for, and when it uses numeric data it works fine:
To [Skullbot]: !item 3638431
[Skullbot]: Itemref: [Bloodline Sword]

As i thought if !item support hyper-link, then its a bug, if not, its ok.

But, how about data filtering then? Accept only numeric data in right format and if invalid return normal error..
Title: Re: !item
Post by: Noer on July 13, 2008, 04:02:49 pm
use !items for search, not !item

!items <searchterm>

The search term can contain boolean search operators.

E.g.:
!items girdle
!items +thunderous -girdle
!items "Faded black horse"

etc
SimplePortal 2.3.7 © 2008-2024, SimplePortal