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: Merging !online from 2 orgs in a relay  (Read 21577 times)

0 Members and 2 Guests are viewing this topic.

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Merging !online from 2 orgs in a relay
« on: January 05, 2008, 05:02:27 am »
Well the !gcr is an awesome module that I am using quick and dirty between to org bots, and it is working good for the time we are going to use it, but something I would like to be able to do is have !online from 1 or the other bot show who is online on both orgs... Is there a way to do this?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Merging !online from 2 orgs in a relay
« Reply #1 on: January 05, 2008, 08:03:58 am »
yes

!set online otherbots otherbot1,otherbot2,otherbot3
Replace otherbot* with ur bots
then just do ur normal !online

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #2 on: January 05, 2008, 08:44:15 am »
wow, that's pretty complex... let's see if I can do it


<clicky clicky click>

yep, that did it, thx Temar

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #3 on: January 05, 2008, 08:51:56 am »
but a prob... I entered settings and did !restart on both bots, but no shared !online... Do I need to wait for a roster update or something?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Merging !online from 2 orgs in a relay
« Reply #4 on: January 05, 2008, 09:14:20 am »
by default ur online table doesnt have a prefix
its a requirement that the bots use the same database/table

setting other bots doesnt require a restart
it simply tells the !online command to get the online members from otherbot ... too

Offline Monery

  • BeBot User
  • **
  • Posts: 30
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #5 on: January 06, 2008, 01:43:04 am »
so if the bots do not use the same schemeta for storing their data, does this mean that they cannot share !online infomation?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Online question
« Reply #6 on: July 05, 2008, 01:09:45 am »
I am running 8 bots between alliances, raid, relay, etc. Is there a way we can have a setting placed in the online module to exclude certain character names? it get's quite cumbersome to do an online and it shows 30 plus toons online and 3/4 of them are bots. I can't remove them from the member list or it will kill the relay, which is why I am curious if we can include an "exclude" list to the bot. Even if it is something as simple as hard coding it in a conf file would be acceptable..

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: Online question
« Reply #7 on: July 05, 2008, 04:42:13 am »
I am running 8 bots between alliances, raid, relay, etc. Is there a way we can have a setting placed in the online module to exclude certain character names? it get's quite cumbersome to do an online and it shows 30 plus toons online and 3/4 of them are bots. I can't remove them from the member list or it will kill the relay, which is why I am curious if we can include an "exclude" list to the bot. Even if it is something as simple as hard coding it in a conf file would be acceptable..

!notify off {botname}

that will remove it from the online list
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: Merging !online from 2 orgs in a relay
« Reply #8 on: July 05, 2008, 05:27:58 am »
tried that, didn't change the online list, all it did was prevent the bot from showing when it came online or went offline

doing !online still lists all the bots, some tripled in list because of the relay. I tried the notify off on all the bots *in* all the bots as well..lol

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #9 on: July 05, 2008, 11:40:41 am »
Don't make the relay bots normal member, put them in a dedicated security group. That way they won't end on notify.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Merging !online from 2 orgs in a relay
« Reply #10 on: July 05, 2008, 05:55:14 pm »
ok, they are in a dedicated security group called bots (I know, original huh) yet they still show up wheneve someone does and online..to the point of drowning out the actual players.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Merging !online from 2 orgs in a relay
« Reply #11 on: July 06, 2008, 03:32:23 pm »
goto remove from member list too, putting in the security group is so you can give access to the command without having as member

Offline Diablo

  • BeBot User
  • **
  • Posts: 67
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #12 on: July 07, 2008, 05:51:38 am »
Not sure what bot you using but isnt there setting in bot.conf that you list other bots to ignore.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Merging !online from 2 orgs in a relay
« Reply #13 on: July 07, 2008, 12:38:09 pm »
cof file ignore, is only to ignore commands...all all the bots are listed there as well removing them as members, while creating the special security group did the trick....

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #14 on: July 27, 2008, 10:22:08 am »
by default ur online table doesnt have a prefix
its a requirement that the bots use the same database/table

setting other bots doesnt require a restart
it simply tells the !online command to get the online members from otherbot ... too

but, there wont be a prob when both bots use the same sql database?
im noob on that but thats sounds like a big error!
so i just set in the mysql.conf same on both bots?

 

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