L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 10:49:14 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: How to relay to multiple org bots?
Pages: [1] 2   Go Down
« previous next »
Print
Author Topic: How to relay to multiple org bots?  (Read 1190 times)
0 Members and 1 Guest are viewing this topic.
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


How to relay to multiple org bots?
« on: December 10, 2007, 03: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?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #1 on: December 10, 2007, 04: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.
Logged
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: How to relay to multiple org bots?
« Reply #2 on: December 10, 2007, 08:43:14 PM »

Does this only work with the svn version? Because I'm reading this post: http://bebot.shadow-realm.org/index.php/topic,781.15.html and it mentions a "relay.php" module which I see only is in the svn version.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #3 on: December 11, 2007, 06:28:51 AM »

That post is outdated a bit, the module got included into SVN before 0.4.
Logged
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: How to relay to multiple org bots?
« Reply #4 on: December 11, 2007, 10:31:51 AM »

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, 10:40:18 AM by Snarfblatt » Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #5 on: December 11, 2007, 10:46:40 AM »

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.
Logged
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: How to relay to multiple org bots?
« Reply #6 on: December 11, 2007, 12: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?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #7 on: December 11, 2007, 12: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.
Logged
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: How to relay to multiple org bots?
« Reply #8 on: December 11, 2007, 02: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.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #9 on: December 11, 2007, 02: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.
Logged
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: How to relay to multiple org bots?
« Reply #10 on: December 11, 2007, 03:48:35 PM »

hmmm.. auto inviting is still not happening.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #11 on: December 11, 2007, 04:38:33 PM »

Are the characters on the buddy list?
Logged
Temar
BeBot Developer
Grandmaster
********
Offline Offline

Gender: Male
Posts: 877



WWW
Re: How to relay to multiple org bots?
« Reply #12 on: December 11, 2007, 07:29:56 PM »

notify has to be on
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Snarfblatt
Rookie
**
Offline Offline

Posts: 53


Re: How to relay to multiple org bots?
« Reply #13 on: December 12, 2007, 01:24:11 PM »

Yup.. Notify did it. Thanks. Now to see if I can get budabot to talk to the relay...  Undecided

If anyone has any hints on that one, please speak up.
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to relay to multiple org bots?
« Reply #14 on: December 12, 2007, 01: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.
Logged
Pages: [1] 2   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Development > Coding and development discussion > Topic: How to relay to multiple org bots?
« previous next »
 
Jump to:  

Recent
!items database
by Zeephonz
[Today at 08:05:21 PM]

Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11146
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 11
Total: 12
Vain

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.359 seconds with 29 queries. (Pretty URLs adds 0.027s, 4q)
Loading...