BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Tremble on December 11, 2006, 12:49:52 am

Title: Guildrelay help
Post by: Tremble on December 11, 2006, 12:49:52 am
Im trying to get BeBot setup to run as our org bot but im having a few difficulties.

We are basically one org but split into two for different levels.  What im looking for is the chat for both org's to be relayed to each other.  I have both bots running but I can't get the guildrelay function to work.  from the console I can see that the tells are being sent and recieved by the bots but nothing is ever relayed from the tell to the group chat.

 
Code: [Select]
[TELL]  [INC]   Rembot2: !gcr [Remedy] Nozzo: brt
The first thign I want is to get this working but I wouls also like it if the gbots did this automatically without having to use the !orgrelay command every time the bots are restarted.  What I would also like to do is have the !online list to include the members of both orgs if possible.

The other thing is that im getting a couple of errors thrown repeatedly in the console, im not overly worried about these as they don't seem to stop anything running but if anyone knows a solution to them I would appreciate it.

Code: [Select]
PHP Notice:  Object of class AOChatPacket could not be converted to int in /var/www/aobot/serbot/main.php on line 147
PHP Notice:  Undefined variable: gi in /var/www/aobot/serbot/AOChat.php on line 447

Cheers,

Tremble
Title: Re: Guildrelay help
Post by: Khalem on December 11, 2006, 04:21:16 pm
First, try adding the bot's as guests just to eliminate any access problems.

Second, the automatic !orgrelay is already present in the developer version. It could probably be ported fairly easily back to 0.2 if someone wants to undertake this.

When it comes to the errors, i would like to know what OS, PHP version and bot version you are running :)
Title: Re: Guildrelay help
Post by: Tremble on December 11, 2006, 04:34:21 pm
Thanks I'll have a look at the developer version.

Im running the bots on a linux server wth the FC5 distro.  PHP version appears to be 5.1.6 and im using BeBot v0.2.10.
Title: Re: Guildrelay help
Post by: Tremble on December 13, 2006, 02:21:37 am
I've managed to sort out the guide relay issues, just trying to figure out somethign to do it automatically on startup

Any sugegstions on the error messages, It's quite hard to follow whats going on in console and check for errors in modules with these errors spamming constantly.
Title: Re: Guildrelay help
Post by: Khalem on December 13, 2006, 09:51:15 pm
Try adding the following to your bots php.ini, and make sure that your start script (start.php) is referencing the correct php.ini file.

Code: [Select]
display_errors = Off
display_startup_errors = On
log_errors = On
log_errors_max_len = 0
error_log = ./log/php_errors.txt
Title: Re: Guildrelay help
Post by: Tremble on December 14, 2006, 04:26:36 am
Awsome thanks!
SimplePortal 2.3.7 © 2008-2025, SimplePortal