BeBot - An Anarchy Online and Age Of Conan chat automaton

General => General discussion => Topic started by: lordamadeus on February 17, 2010, 09:10:38 pm

Title: !online command in a relay environment
Post by: lordamadeus on February 17, 2010, 09:10:38 pm
is it a simple matter to relay the !onlline command in a relay setup

org1, org2, and realay bot

wanting for org1 or 2 to be able to do !online and see all on in both orgs. all three bots are remotely hosted, is there a setting for this? thx
Title: Re: !online command in a relay environment
Post by: Snarfblatt on February 18, 2010, 05:58:17 pm
Hey lord,

You can set a list of otherbots for the online command to check.

Code: [Select]
/tell yourbot !set online OtherBots bot1,bot2,bot3
Ofc this means that "yourbot" must have the permissions to do an !online in the other bots.
Title: Re: !online command in a relay environment
Post by: clashbot on February 18, 2010, 07:04:57 pm
if I am not mistaken snarf, all the bots must be on the same db..
Title: Re: !online command in a relay environment
Post by: Khalem on February 18, 2010, 07:14:42 pm
This is wrong.

The bots do NOT need to be using the same database unless you are using the DB relay method.

The bots send control info informing other bots in the relay about logons and logoffs as well as initial status.
Title: Re: !online command in a relay environment
Post by: clashbot on February 18, 2010, 07:23:26 pm
k khalem, I stand corrected, or atleast sitting down corrected ;P
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 06:14:39 pm
Hey lord,

You can set a list of otherbots for the online command to check.

Code: [Select]
/tell yourbot !set online OtherBots bot1,bot2,bot3
Ofc this means that "yourbot" must have the permissions to do an !online in the other bots.

that seems simple enough :)

define permissions, is the default of the relay, (all three bots are members of each other), for this permission to be active, or do i need another command on all the bots to relay this. also, by doing this will it show logons and off from both boths to both bots? ie, player1 logs on in bot1, shows that in bot2?
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 06:17:33 pm
not sure y that posted twice lol
thx all for info  ;D
Title: Re: !online command in a relay environment
Post by: Snarfblatt on February 19, 2010, 06:59:13 pm
If the bots are members of each other that should be enough. Keep in mind none of these settings apply to the relay bot. That bot is simply a dummy bot passing the chat back and forth between the actual bots. So you don't have to change the online settings in the relay bot.
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 07:15:31 pm
thx man, gonna give it a shot  :)
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 07:39:57 pm
i did that command and the bot is still online, but its not working now, the relay is still working for the second bot, my bot that i issued that command to it doesnt work now, cant restart it or admin it at all, and normal function no longer works.

!set online OtherBots <other bot name>

i sent that command in a tel to my bot, but now my bot is completely unresposive to anything. what in the world happened. lol
i didnt get a return message, i didnt get an error or any type, the bot is online but it is dead to me atm. lol
Title: Re: !online command in a relay environment
Post by: clashbot on February 19, 2010, 07:43:00 pm
actually lord, you killed my entire bot system..;P
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 07:47:07 pm
i swear i didnt mean to lol
that one command killed it, im really sorry. lol
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 07:55:46 pm
i was really trying not to bug you about this, was hoping i could do it myself, obviously that is not the case lol

i will just wait till you have a bit of free time maybe after a few drinks, to play bot god somemore  ;D
Title: Re: !online command in a relay environment
Post by: lordamadeus on February 19, 2010, 10:01:58 pm
thx all

special thx to snarf and clash, good ppl  ;D
SimplePortal 2.3.7 © 2008-2024, SimplePortal