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

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

Author Topic: Link 2 Guilds via 2 Bots?  (Read 10783 times)

0 Members and 1 Guest are viewing this topic.

Offline fldash

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
Link 2 Guilds via 2 Bots?
« on: August 27, 2008, 10:16:20 pm »
Is this possible?  And have the bots in each channel relay one guilds chat to the other and vice versa?

Not sure if thats clear...

Basically I want two guilds to be able to see each others guild chat... and if I had a bot joined to each guild, it seems like it'd be possible...

Right?

Offline karashishi

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #1 on: August 28, 2008, 02:00:57 am »
It's possible. I used the IRC module to relay all chat from 2 separate guildchats.

Both bots connects to a IRC channel and use that for the relay.

There is also a relay-module but i have not tried that one yet

/K

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Link 2 Guilds via 2 Bots?
« Reply #2 on: August 28, 2008, 03:31:56 am »
3 normal relay methods
Tells - MAX 2 (limited to same server)
Pgroup (req Relay Bot) No MAX (limited to same server)
DB No MAX no Server Limits

most setting for setting up are in the !set relay
in all cases of the type the bots have to have permission to use the !gcr command so simply setting as leader to each other should work

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: Link 2 Guilds via 2 Bots?
« Reply #3 on: August 29, 2008, 08:19:39 pm »
ok I made up a wiki after Temar twist my arm a few times, and promised me riches beyond my imagination.   lol jk temar

For the wiki go here..

http://bebot.link/wiki/org_relay
« Last Edit: August 29, 2008, 10:11:29 pm by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Link 2 Guilds via 2 Bots?
« Reply #4 on: September 05, 2008, 04:28:45 pm »
Code: [Select]
I am curious on the DB relaying. I am not getting the choice for the DB. I only get pgroup and tells. I assume from looking at the code that there is a version check that limits the choices based upon this part of the code:
[code function update()
{
switch ($this -> bot -> db -> get_version("relay"))
{
case 1:
$this -> bot -> core("settings") -> update("Relay", "Type", "defaultoptions", "Pgroup;Tells;DB");
Default:
}
$this -> bot -> db -> set_version("relay", 2);
}



Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Link 2 Guilds via 2 Bots?
« Reply #5 on: September 05, 2008, 11:22:40 pm »
run !maintenance
it will update all incorrect settings

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #6 on: September 12, 2008, 09:44:57 pm »
3 normal relay methods
Tells - MAX 2 (limited to same server)
Pgroup (req Relay Bot) No MAX (limited to same server)
DB No MAX no Server Limits

Did the IRC relay get dropped?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Link 2 Guilds via 2 Bots?
« Reply #7 on: September 12, 2008, 10:09:55 pm »
no IRC module is still in there, and still part of the relay module. But, unless the bots are operating on different dimensions, or games, IRC is and can be cumbersome. Currently I am still using IRC to link AOC and AO, so the functionality is still there, though I believe that the DB mode will be much better for that.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Link 2 Guilds via 2 Bots?
« Reply #8 on: September 13, 2008, 12:06:07 am »
the irc is just normal irc to ingame its just u used same chan on dif bots to link them
i bet i could easily add a proper relay via irc so the output is alot better

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #9 on: October 14, 2008, 07:10:05 am »
I have tried now for a few hours getting 2 guild to relay back and forth to each other and I cannot get it working. Is this not doable in AOC?

I have a relay bot setup and then 2 org bots relaying to the relaybot.

Is it neccessary to have a relaybot?

Well here is the deal.  I can see both orgs chatting in the console of the relay. but the relay isnt sending the chat to the orgs...
I get this in the console of the relaybot.
 
Code: [Select]
Pbot: !gcr [~Guild] Undescribed: test test
Is it neccessary to have a seperate bot to do the relay? Can I just have the 2 bots communicate back and forth with noe relay bot 2 bot?

I also notice that no matter what I set PGname or GCname to in !settinngs Relay, i get this message from the console of each bot on restart.

Code: [Select]
cbot [SETTINGS]     [SAVED] Set Pgname for module Relay to ~Guild Guest
cbot [SETTINGS]     [SAVED] Set Gcname for module Relay to ~Guild
« Last Edit: October 14, 2008, 07:33:00 am by Vain »

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #10 on: October 14, 2008, 03:25:55 pm »
Ok, I was able to get the relay working by setting both Org bots to use the same DB and then setting the !settings relay to DB instread of Pgroug.
I still have a problem with the Pgname and GCname getting reset to ~Guild and ~Guild Guest on reboot. I can change them on the fly but its a pain to have to change it every time the bot reboots.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Link 2 Guilds via 2 Bots?
« Reply #11 on: October 14, 2008, 03:42:11 pm »
There was some issues with Setting but now have been fixed in latest SVN copy of Bebot
and yes relay useing pgroup requires a relay bot

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #12 on: October 16, 2008, 03:19:16 am »
run !maintenance
it will update all incorrect settings

Its kind of broken. instead of sending a tell to the bot to do the maintenance its does this: /ownername maintenance start
replace ownername with whoever the owner is.
« Last Edit: October 16, 2008, 03:21:31 am by Vain »

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #13 on: October 16, 2008, 04:37:34 am »
For the life of me I cannot get Pgroup to relay to my bots...
Is Pgroup not working for AOC?

I see the messages on the relay bot but the relay bot responds /tell Relaybot !help

I set the permissions on !gcr so that the org bots have access to that command.

On another note if I send a tell to the relaybot as the OWNER /tell relaybot !gcr Test

I dont get an error but nothing is displayed on the Orgbots...

I think there is an issue with Pgroup's in AOC, I dont think AOC allows private groups...

I could be wrong.
« Last Edit: October 16, 2008, 05:03:41 am by Vain »

Offline Vain

  • BeBot User
  • **
  • Posts: 57
  • Karma: +0/-0
Re: Link 2 Guilds via 2 Bots?
« Reply #14 on: October 16, 2008, 04:58:31 am »
There was some issues with Setting but now have been fixed in latest SVN copy of Bebot
and yes relay useing pgroup requires a relay bot

I updated via svn and the Gcname and Pgname still revert back to ~Guild and ~Guild Guest.

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

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