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: relay problems  (Read 21602 times)

0 Members and 1 Guest are viewing this topic.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
relay problems
« on: February 21, 2008, 03:44:39 am »
trying to get two bots to relay, in sep orgs, I got one to relay just fine by having one bot join the privgroup, but it was only one way...if I had the other bot join, I wound up getting a loop with a lot of spam (still living that down) how can I get bi-directional relaying?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: relay problems
« Reply #1 on: February 21, 2008, 02:58:15 pm »
Not sure which way of relaying you use.

The easiest to setup for two bots is relaying in tells. Though the possible delay due to flood protection may make this a bit slow.

Better is using a private chatgroup of a bot acting as hub. This is much faster and allows relaying between more then just two bots. I'm not sure if using one of the participating bots as hub can work, never tried it that way. Using a dedicated hub which automatically invites the participating bots at once definitly works. Simply strip down a bot setup as raidbot, down to just Roster.php and Autoinvite.php. Then add the bots you want to relay between to the memberslist (make sure they are on notify!) and enable autoinvite for them. The relaying bots must be allowed to accept commands of the other bots in the relay, otherwise you won't see any text.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #2 on: February 21, 2008, 03:28:14 pm »
ok, guess the best way would be to post the settings, there are two bots, tunderclash and tunderbash

relay settings for tunderbash
Quote
Settings for relay

Gcname:  Ascenbash
 Description: What name should we show when we relay from guild chat?
/tell tunderbash !set relay Gcname <new value>

Inc:  Guildchat
 Description: Where should incoming messages relay to
 Change to: [ Both | Guildchat | Privgroup | None ]

Logon:  On
 Description: Should logon spam be relayed to the linked org bots?
 Change to: [ On | Off ]

LogonInPgroup:  On
 Description: Should logons be shown in the private group of the bot too?
 Change to: [ On | Off ]

Org:  Both
 Description: Where should guild chat group relay to
 Change to: [ Both | Privgroup | Relaybots | None ]

OrgLogon:  Off
 Description: Should prefixing the org channel shortcut to the logon information be used when relaying logons?
 Change to: [ On | Off ]

Pgname:  Ascenbash Guest
 Description: What name should we show when we relay from the private group?
/tell tunderbash !set relay Pgname <new value>

Priv:  Both
 Description: Where should private group relay to
 Change to: [ Both | Guildchat | Relaybots | None ]

Relay:  tunderclash
 Description: What is the name of the bot that we are using as a relay?
/tell tunderbash !set relay Relay <new value>

Status:  On
 Description: Relay should be
 Change to: [ On | Off ]

StrictNameCheck:  On
 Description: Has the name of the sender of tells with !gcr commands to be an exact match with the name of the relay bot?
 Change to: [ On | Off ]

Type:  Pgroup
 Description: How should we relay, via a private group or via tells?  Tells is not the recommended method of handling relays, is slower, and less reliable, and can only be used between two bots.  See the help for !gcr for more information.
 Change to: [ Pgroup | Tells ]


settings for tunderclash:
Quote
Settings for relay

Gcname:  Ascension
 Description: What name should we show when we relay from guild chat?
/tell tunderclash .set relay Gcname <new value>

Inc:  Guildchat
 Description: Where should incoming messages relay to
 Change to: [ Both | Guildchat | Privgroup | None ]

Logon:  On
 Description: Should logon spam be relayed to the linked org bots?
 Change to: [ On | Off ]

LogonInPgroup:  On
 Description: Should logons be shown in the private group of the bot too?
 Change to: [ On | Off ]

Org:  Both
 Description: Where should guild chat group relay to
 Change to: [ Both | Privgroup | Relaybots | None ]

OrgLogon:  Off
 Description: Should prefixing the org channel shortcut to the logon information be used when relaying logons?
 Change to: [ On | Off ]

Pgname:  Ascension Guest
 Description: What name should we show when we relay from the private group?
/tell tunderclash .set relay Pgname <new value>

Priv:  Both
 Description: Where should private group relay to
 Change to: [ Both | Guildchat | Relaybots | None ]

Relay:  tunderbash
 Description: What is the name of the bot that we are using as a relay?
/tell tunderclash .set relay Relay <new value>

Status:  Off
 Description: Relay should be
 Change to: [ On | Off ]

StrictNameCheck:  On
 Description: Has the name of the sender of tells with .gcr commands to be an exact match with the name of the relay bot?
 Change to: [ On | Off ]

Type:  Pgroup
 Description: How should we relay, via a private group or via tells?  Tells is not the recommended method of handling relays, is slower, and less reliable, and can only be used between two bots.  See the help for .gcr for more information.
 Change to: [ Pgroup | Tells ]

I have removed them as otherbots in the bot.conf as per other spots on the board suggested, and have each one pointing to the other as the relay, dunno if that is where the error lies, if I should have one point to the other and that one point to itself...

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: relay problems
« Reply #3 on: February 21, 2008, 05:19:35 pm »
If you use private chat to relay all bots have to use the same private chatgroup, or no chat at all will be relayed.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #4 on: February 21, 2008, 05:46:01 pm »
ok so have first bot join the pgroup of the 2nd bot and have the second bot join it's own pgroup?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: relay problems
« Reply #5 on: February 21, 2008, 06:08:23 pm »
A bot cannot join it's own private group, it is always in it. And you'll have to make sure the private group chat isn't simply relayed one-on-one to to org chat.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #6 on: February 22, 2008, 02:12:26 am »
ok, current config now, created a bot, tunderrelay to act as the relay bot. I have the other bots set to use that bot as guild relay per the bot.conf file. I have invited the bots per tell to the relay bot to the relaybot guestchannel. I have configured the relay settings in the other bots to use the relaybot, and from the private group windows on my owner toon, I can see all the text in both orgs. My problem is that the private channel on the relay bot is not being forwarded to the individual member bots..what am I doing wrong now?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: relay problems
« Reply #7 on: February 22, 2008, 09:20:19 am »
You have to either set the access level for !gcr in the channel extpgmsg (!commands extpgmsg) to ANONYMOUS, or set it to GUEST and add each org bot to the other as GUEST, then you have to lower the access rights for !gcr to GUEST. Or use the security inteface and make the org bots members of each other. Using !member add otherbot won't work, as the roster updates will remove the bots again the next time it runs.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #8 on: February 22, 2008, 12:10:42 pm »
ok, added all bots via admin add, created a security group with member access level MEMBER, added all bots to that security group, changed commands in tell and extpgmsg to give gcr guest level, using the automember module, I added all bots to safelist. this was done on all bots. the exception was as the relay was not a member of a guild, I am not getting access to relay in the relay bot...is this an issue? after doing all that, I still see it hitting the relay's pgmsg, yet that is not being picked up by the member bots..

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: relay problems
« Reply #9 on: February 22, 2008, 12:59:31 pm »
You only need to add the two org bots to each other as a member, the raid bot working as hub just has to invite the two bots.

The relay hub doesn't need the relay module.

Your relay hub tunderrelay is getting the chat as !gcr commands in his private group? If that's the case and the two org bots still don't relay you most likely got an access level problem. Try settings !gcr for extpgmsg to ANONYMOUS (and only in extpgmsg, not the tell one). If it works then you do have some missing access rights.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #10 on: February 22, 2008, 08:38:57 pm »
tried all that, still no go, doing what I hate doing, and killing the db and reinstalling all bots to see if it will fix problem..

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #11 on: February 23, 2008, 03:00:00 am »
ok, after a much arduous task, bots were reinstalled, db was recreated, and permissions were set...I'm at a loss...I don't kow what the feasbility of someone meeting me in game would be, but maybe then I can see wehre my error lies...
if you can, look for me as lillitheve on rk2

Offline Tichy

  • BeBot User
  • **
  • Posts: 42
  • Karma: +0/-0
Re: relay problems
« Reply #12 on: February 23, 2008, 10:12:01 am »
Just reinstalling won't fix anything...

Quote
Status:  Off
 Description: Relay should be
 Change to: [ On | Off ]

You should enable relay at all to make it work!

Did you check if the orgbots joins the relaybots privgroup? There should be a log line like "orgbot has joined relaybots privgroup.".

The relay settings does not look like a BeBot 0.4.3 one... do you use the most recent stable version of the bot?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #13 on: February 23, 2008, 12:18:02 pm »
yes, and redownloaded it to make sure, and yes tthe relay is saying they joined...
Quote
here 
[Tunderrelay] Tunderclash: .gcr [Ascension] Lillitheve: sorry morphia, first thing that popped into my head was RHPS
[Tunderrelay] Tunderrelay: .gcr [ Guest] Tunderclash: .gcr [Ascension] Lillitheve: sorry morphia, first thing that popped into my head was RHPS 
[Tunderrelay] Tunderclash: .gcr [Ascension] Chokotoff: i need an xfer
[Tunderrelay] Tunderrelay: .gcr [ Guest] Tunderclash: .gcr [Ascension] Chokotoff: i need an xfer 
[Tunderrelay] Tunderclash: .gcr [Ascension] Chokotoff: can u help me pls :)
[Tunderrelay] Tunderrelay: .gcr [ Guest] Tunderclash: .gcr [Ascension] Chokotoff: can u help me pls :) 
[Tunderrelay] Tunderclash: .gcr [Ascension] Chokotoff: sec, need to unequip some stuff ^^
[Tunderrelay] Tunderrelay: .gcr [ Guest] Tunderclash: .gcr [Ascension] Chokotoff: sec, need to unequip some stuff ^^ 

sample from the relay window

attached are links to screenshots

http://www.clan-ascension.org/scrn0003.png
http://www.clan-ascension.org/scrn0004.png
http://www.clan-ascension.org/scrn0005.png
http://www.clan-ascension.org/scrn0006.png

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: relay problems
« Reply #14 on: February 23, 2008, 12:20:26 pm »
tich, it had been turned off when I had originally pasted that when I had one bot join the other, and then that bot join the first one, and well the loop was deafening...so killed it there real quick to stop loop.
It was turned back on for all subsequent tries, and is still on

 

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