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 / PrivGroup change in 0.6.2?  (Read 7612 times)

0 Members and 1 Guest are viewing this topic.

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Relay / PrivGroup change in 0.6.2?
« on: January 25, 2009, 10:09:43 pm »
Ok so let me layout how this is all configured a bit first.

Relaybot = the bot I use to relay chat between our sibling orgs full time via !gcr. It -also- is a member of a different relay network that passes "on demand" messages to the org via a 2nd privgroup (not its own) as well as broadcasting Infonet and Neutnet messages. Relaybot still runs on 0.4.1.


Orgbot = the main orgbot for my org and transmits !gcr to the Relaybot for the sibling org. Orgbot runs on 0.6.x

Siblingbot = a bot which runs in our sibling org (there are actually 2 but they are identical) and transmits !gcr to Relaybot for the main org. Siblingbot runs on 0.6.x

Orgbot and Siblingbot sit in Relaybot's privgroup. Relaybot and Orgbot are in the same org. Relaybot sits in a privgroup that belongs to another relay network and received !gcr from it.

...

Relaybot doesn't use !gcr to broadcast our 2nd privgroup or Infonet/Neutnet ... it just sits in orgchat and displays them on orgchat (ie, it is a member of our org, which until 0.6.2 has never been an issue even with the various notes about needing to have the Relaybot not be in the org).

However since upgrading to 0.6.2 last night, Orgbot and Siblingbot no longer echo the non-!gcr privgroup chat from Relaybot ... which means they no longer see our 2nd privgroup relay messages nor the Infonet/Neutnet announcements.

Note again that Relaybot is running on 0.4.x which means that my upgrades to Orgbot and Siblingbot didn't affect the code running on Relaybot at all. Which should isolate this problem to the code on Orgbot/Siblingbot.

I kept the same settings I had from 0.6.1 when I upgraded to 0.6.2, so it pretty much has to be something that changed in the code.

...

PS. I noticed an option I don't remember seeing before when looking at the Relay Settings for Orgbot and Siblingbot. Used to be "tells|privgroup", now it is "tells|privgroup|db". Is there docs on DB usage for relaying? Orgbot, Relaybot and all Siblingbots are in the same DB so I could see that being an alternative but I would need to know how to inject my Infonet/Neutnet/2nd privgroup messages into it.
Doctorhyde/Jexyll/Goraud@RK2

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Relay / PrivGroup change in 0.6.2?
« Reply #1 on: January 25, 2009, 10:49:35 pm »
Let me see if I understand your problem right.

Your relaybot still receives the 2nd party relays, and correctly inserts them into org chat (I guess it does, as you stated it's still the old 0.4.x version).

But for some reason it doesn't show up over the primary relay?

Is relaybot sending secondary stuff into it's private group? Or directly into org chat of your main org, and then having it relayed further from there?

If the first, how are your org bots picking this up? Sounds like it doesn't use !gcr.
If the second, is it showing up in your main org? And are your member rights set correctly?

Looking at the Relay code there were no changes between 0.6.1 and 0.6.2 except some IRC related stuff.

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Re: Relay / PrivGroup change in 0.6.2?
« Reply #2 on: January 25, 2009, 11:40:40 pm »
Your relaybot still receives the 2nd party relays, and correctly inserts them into org chat (I guess it does, as you stated it's still the old 0.4.x version).

But for some reason it doesn't show up over the primary relay?

right

Quote
Is relaybot sending secondary stuff into it's private group? Or directly into org chat of your main org, and then having it relayed further from there?

If the first, how are your org bots picking this up? Sounds like it doesn't use !gcr.
If the second, is it showing up in your main org? And are your member rights set correctly?

Looking at the Relay code there were no changes between 0.6.1 and 0.6.2 except some IRC related stuff.

I'll start up the old bots (0.4) where I'm sure it was working (I'm 85% sure it was working on 0.6.1 but who knows for sure) and capture old vs. new to make sure. I thought that the Relaybot was dumping both into orgchat (where main org saw it) and into privgroup (where sibling pasted it) but I'm missing something because no, I don't think it was using !gcr in the Relaybot privgroup ... and that doesn't make sense.

What's the word on using DB for Relaying? If I can't figure this out quickly it may be easier for me to do some work to force Relaybot and siblings into using DB depending on how it works.
Doctorhyde/Jexyll/Goraud@RK2

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Relay / PrivGroup change in 0.6.2?
« Reply #3 on: January 26, 2009, 12:06:22 am »
Got to ask Temar, but I think it's pretty much like relaybot, except all is stuffed into a table. Not sure if there is some guide floating around the forum.

I'll try to find something tomorrow, got no practical experience myself. Still using relay hubs.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Relay / PrivGroup change in 0.6.2?
« Reply #4 on: January 26, 2009, 01:33:28 am »
DB is easy, it uses same setting and rules as privgroup method, such as other bots goto have permission to do the command
u simple need to set it to DB (and be shareing a DB or change the tablename table to use a table from the right DB

Offline Hyde

  • BeBot Apprentice
  • ***
  • Posts: 92
  • Karma: +0/-0
Re: Relay / PrivGroup change in 0.6.2?
« Reply #5 on: January 26, 2009, 03:22:58 am »
Ok, I figured it out. It was my new 0.6.1 bots combined with no one in our sibling orgs complaining about it until after I upgraded to 0.6.2.

The reason that the sibling orgs were getting the non-!gcr relay was because I didn't have $other_bots set in my old Bot.conf file ... so the orgbot treated the Relaybot like an org member. Which meant Orgbot would !gcr anything that Relaybot said to the Siblings.

But when I set up the 0.6.x bots I set it, thinking that looked like the right thing to do. But it caused the Orgbot to be smart and not !gcr for Relaybot.

Solved, please disregard, I'm off to go punish my orgmates for saying things like "oh yeah, I noticed it a few days ago but didn't say anything".

« Last Edit: January 26, 2009, 03:25:36 am by Hyde »
Doctorhyde/Jexyll/Goraud@RK2

 

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