collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: trying to get autogratz working  (Read 2402 times)

0 Members and 1 Guest are viewing this topic.

Offline plugz

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
trying to get autogratz working
« 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


 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 740
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal