BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: Monery on January 05, 2008, 05:02:27 am

Title: Merging !online from 2 orgs in a relay
Post by: Monery 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?
Title: Re: Merging !online from 2 orgs in a relay
Post by: Temar 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
Title: Re: Merging !online from 2 orgs in a relay
Post by: Monery 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
Title: Re: Merging !online from 2 orgs in a relay
Post by: Monery 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?
Title: Re: Merging !online from 2 orgs in a relay
Post by: Temar 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
Title: Re: Merging !online from 2 orgs in a relay
Post by: Monery 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?
Title: Online question
Post by: clashbot 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..
Title: Re: Online question
Post by: Nytridr 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
Title: Re: Merging !online from 2 orgs in a relay
Post by: clashbot 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
Title: Re: Merging !online from 2 orgs in a relay
Post by: Alreadythere 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.
Title: Re: Merging !online from 2 orgs in a relay
Post by: clashbot 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.
Title: Re: Merging !online from 2 orgs in a relay
Post by: Temar 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
Title: Re: Merging !online from 2 orgs in a relay
Post by: Diablo 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.
Title: Re: Merging !online from 2 orgs in a relay
Post by: clashbot 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....
Title: Re: Merging !online from 2 orgs in a relay
Post by: Zweiblum 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?
Title: Re: Merging !online from 2 orgs in a relay
Post by: clashbot on July 27, 2008, 10:38:32 am
yes, all the bots use the same db. there are a few tables that do not have a bot prefix: online, alts, etc. By having only a single db, this info is shared by all the bots. I am currently running 10 from a single instance of the db, and other than a few little nuances that also plague the ones that only run one instance, have had no problems.

If you are running multiple bots it would be wise to check out:http://bebot.link/wiki/multiple_bots (http://bebot.link/wiki/multiple_bots) as this will explain things a little better. Basically you have on bot.conf per bot, and only one mysql.conf. This does make it easier, as if you update a module, you only have to replace one file, instead of multiple file scattered throughout your bots.
Title: Re: Merging !online from 2 orgs in a relay
Post by: Zweiblum on July 27, 2008, 10:43:38 am
ah, nice thing.. thx :)
Title: Re: Merging !online from 2 orgs in a relay
Post by: Zweiblum on July 27, 2008, 11:10:30 am
worked very easy... thx :)

is there even a way to merge !city command?
Title: Re: Merging !online from 2 orgs in a relay
Post by: clashbot on July 27, 2008, 01:20:13 pm
not really, as city is (or should) be unique to org
Title: Re: Merging !online from 2 orgs in a relay
Post by: Zweiblum on July 27, 2008, 01:43:43 pm
yea, but the city info should be saved in same db, or?
so when u put in !city the Bot should just poop out both cities cloak status
SimplePortal 2.3.7 © 2008-2024, SimplePortal