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: How to relay to multiple org bots?  (Read 13780 times)

0 Members and 1 Guest are viewing this topic.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
How to relay to multiple org bots?
« on: December 10, 2007, 09:33:39 pm »
I'm working on an alliance with a couple orgs and we would like to connect our bots. How does one accomplish this? I see the relay command but it appears you can only put in one bot name there and I'm not even sure that is the right place to do it. I also saw Pharexys' Alliance module, but I'm not sure that is right either.

Anyone else doing this and know where to look? BTW, at least one of the orgs is using BudaBot and not Bebot. Still possible?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #1 on: December 10, 2007, 10:40:59 pm »
I don't know which kind of relay budabot supports, so I can't say anything to this.

To relay between multiple bebots you need to setup a bot that can serve as relaying hub via his private group. This bot only needs to be able to invite the org bots to his own private chatgroup. Best way to do this is by using autoinvite. The org bots have to be configured to use pgroup as relay, and you have to setup the botname of the relay hub there. In addition you'll have to add the other org bots of the alliance to some security group so they are able to invoke !gcr commands in the other org bots.

Another way of relaying is using IRC, simply relay all chat to a shared IRC channel.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #2 on: December 11, 2007, 02:43:14 am »
Does this only work with the svn version? Because I'm reading this post: http://bebot.link/index.php/topic,781.15.html and it mentions a "relay.php" module which I see only is in the svn version.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #3 on: December 11, 2007, 12:28:51 pm »
That post is outdated a bit, the module got included into SVN before 0.4.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #4 on: December 11, 2007, 04:31:51 pm »
But it wasn't released? I still only see it in svn. I just want to make sure that i'm using the right files to get this to work, because so far I haven't.

Another question.. should the "relay" bot be setup as a guild or raid bot? If a guild bot, do I just leave the org name and id blank in the bot.conf file?
« Last Edit: December 11, 2007, 04:40:18 pm by Snarfblatt »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #5 on: December 11, 2007, 04:46:40 pm »
The Relay_GUILD.php coming with 0.4.3 does support relaying over private chatgroups. It is based on the version posted by Ebag333 you linked to.

The relay hub should best run as pure raidbot, as only the private chat channel of it is needed.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #6 on: December 11, 2007, 06:48:30 pm »
I guess that's where I'm a little confused... if I set it up as a raid bot, doesn't the bot not load Relay_GUILD.php? or am I mistaken?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #7 on: December 11, 2007, 06:52:15 pm »
You don't need the relay module in the relay hub. All the hub has to do is invite the org bots of your alliance to it's private chat. Nothing else. The bots then will use the private chatgroup of the hub the same ways as they use any other chat channel.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #8 on: December 11, 2007, 08:26:02 pm »
Ok.. finally got the relaying working with a couple test bots... but the auto-inviting doesn't seem to happen. I have to join the relay bot and manually !invite the other two bots. Which auto-invite settings need messed with? There seems to be settings for autoinv and settings for members and setting for relay that all mention auto invite.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #9 on: December 11, 2007, 08:57:13 pm »
You have to set Activated to On under !settings AutoInv.

And under !settings Members you got to set AutoInvite to On, and set AutoInviteGroup to Guest or Member, whichever you are using for the bots. As long as they do get invited both will work.

After you have done this setting you have to readd the bots, or log each of the bot characters and do /tell relayhub !autoinvite on to enable autoinvite for them.

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #10 on: December 11, 2007, 09:48:35 pm »
hmmm.. auto inviting is still not happening.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #11 on: December 11, 2007, 10:38:33 pm »
Are the characters on the buddy list?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: How to relay to multiple org bots?
« Reply #12 on: December 12, 2007, 01:29:56 am »
notify has to be on

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #13 on: December 12, 2007, 07:24:11 pm »
Yup.. Notify did it. Thanks. Now to see if I can get budabot to talk to the relay...  :-\

If anyone has any hints on that one, please speak up.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: How to relay to multiple org bots?
« Reply #14 on: December 12, 2007, 07:47:34 pm »
The idea behind the relay is easy: Get budabot to accept chatgroup invites, make it relay all chat org/guest chat with !gcr in the hub's group, and make it react to the !gcr commands of other bots in the hubs group.

No clue how to do that with budabot though, never looked into the coding there.

 

* 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: 760
  • 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