BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: Hacre on September 23, 2008, 01:00:38 am
-
Spartabot [2008-09-22 22:57:41] [ROSTER] [DEL] Deleting Innerectum removed
Fatal error: Call to undefined method Bot::query() in /home/ninpo/Spartabot/core/User.php on line 300
Looking at the above file:
$this -> bot -> query("UPDATE #___online SET status_gc = 0 WHERE botname = '".$this -> bot -> botname."' AND nickname = '".$name."'");
Modified to:
$this -> bot -> db -> query("UPDATE #___online SET status_gc = 0 WHERE botname = '".$this -> bot -> botname."' AND nickname = '".$name."'");
Resolves the issue, at least appears to.
-
Thanks for pointing this out.
Fixed in the most current version of core/Users.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/core/User.php?revision=HEAD)