BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: plugz on September 11, 2010, 01:58:42 am

Title: trying to get autogratz working
Post by: plugz on September 11, 2010, 01:58:42 am
Ok, seeing this error when loading autogratz and using it:
Core setup is orgbot module with 3 slaves handling the load of members, whois, etc...

Code: [Select]
PHP Warning:  Missing argument 3 for autogratz::buddy(), called in BeBot-0.6.6\main\02_Slaves.php on line 1187 and defined in BeBot-0.6.6\custom\modules\autogratz.php on line 101
ok, so pulled the info from the 2 modules in question

Line 1187 of Slaves is defined as:
Code: [Select]
$this -> bot -> commands["buddy"][$key] -> buddy($user, $args[1]);
and line 101 of autogratz is defined as:
Code: [Select]
    function buddy($name, $status, $level)
seems like some relation needs to be constructed to recognize that not all members on not on the main bot but could be cached in a slave bot

any help appreciated in advance

SimplePortal 2.3.7 © 2008-2024, SimplePortal