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
-
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?
-
yes
!set online otherbots otherbot1,otherbot2,otherbot3
Replace otherbot* with ur bots
then just do ur normal !online
-
wow, that's pretty complex... let's see if I can do it
<clicky clicky click>
yep, that did it, thx Temar
-
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?
-
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
-
so if the bots do not use the same schemeta for storing their data, does this mean that they cannot share !online infomation?
-
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..
-
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
-
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
-
Don't make the relay bots normal member, put them in a dedicated security group. That way they won't end on notify.
-
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.
-
goto remove from member list too, putting in the security group is so you can give access to the command without having as member
-
Not sure what bot you using but isnt there setting in bot.conf that you list other bots to ignore.
-
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....
-
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?
-
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.
-
ah, nice thing.. thx :)
-
worked very easy... thx :)
is there even a way to merge !city command?
-
not really, as city is (or should) be unique to org
-
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