BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: tylerp on January 16, 2007, 09:19:33 pm

Title: Error when inviting to Guest channel
Post by: tylerp on January 16, 2007, 09:19:33 pm
When attempting to join the guest channel for my bot because my main is not in the same guild, I send a tell to it "!join" or "!invite". I get the prompt to join the private group, but as soon as I do the bot crashes and gives me this nasty error. Yes, the guild relay is ON. :P

Fatal error: Call to a member function lookup() on a non-object in C:\Documents
and Settings\Tyler\Desktop\BeBot\modules\relay_guild.php on line 277

Here is line 277 -
Code: [Select]
$who = $this -> bot -> whois -> lookup($name);

I have also attached the module file. :) Thanks in advance.
Title: Re: Error when inviting to Guest channel
Post by: jjones666 on January 16, 2007, 09:26:39 pm
You've not got the whois-cache module installed.  See: URL (http://bebot.link/index.php/topic,223.msg4523/topicseen.html#new)

-jj-
Title: Re: Error when inviting to Guest channel
Post by: tylerp on January 16, 2007, 10:02:18 pm
Thanks a million JJ! I've got that working, now I just need to figure out how to get output in the private channel and private channel to guild chat, vice/versa. How would I go about doing that? I've looked over the forums but I don't seem to quite get it =/
Title: Re: Error when inviting to Guest channel
Post by: Naturalistic on January 16, 2007, 10:20:46 pm
By turning on the relay chat :)

/tell <botname> !relay

Title: Re: Error when inviting to Guest channel
Post by: tylerp on January 16, 2007, 10:33:02 pm
it is on :)
Title: Re: Error when inviting to Guest channel
Post by: Naturalistic on January 16, 2007, 10:36:47 pm
"it is on" as in "it's working now" or a "it was on, still doesn't relay the chat"?

Need to be more detailed ;)
Title: Re: Error when inviting to Guest channel
Post by: tylerp on January 16, 2007, 10:40:22 pm
Guild relay is turned on, but it is not working ;)
Title: Re: Error when inviting to Guest channel
Post by: tylerp on January 16, 2007, 10:44:21 pm
Woo, fixed! Thanks for all the help everyone!
Title: Re: Error when inviting to Guest channel
Post by: Naturalistic on January 16, 2007, 10:46:05 pm
:)

What did you do or what was wrong?
Title: Re: Error when inviting to Guest channel
Post by: tylerp on January 16, 2007, 11:28:12 pm
Just had to restart the bot o.O
SimplePortal 2.3.7 © 2008-2024, SimplePortal