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

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

Author Topic: Guildrelay help  (Read 3472 times)

0 Members and 3 Guests are viewing this topic.

Offline Tremble

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Guildrelay help
« 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

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Guildrelay help
« Reply #1 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 :)
BeBot Founder and Fixer Kingpin

Offline Tremble

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Guildrelay help
« Reply #2 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.
« Last Edit: December 13, 2006, 12:08:06 am by Tremble »

Offline Tremble

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Guildrelay help
« Reply #3 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.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Guildrelay help
« Reply #4 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
BeBot Founder and Fixer Kingpin

Offline Tremble

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Guildrelay help
« Reply #5 on: December 14, 2006, 04:26:36 am »
Awsome thanks!

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 104
  • 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