BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: Ezhik on December 04, 2007, 01:20:21 am
-
Hello there.
Tryes to set up the relay between my 2 bots, which are in different orgs.
Listed topics about relay in 0.4.
Done all steps:
added relay bot in settings
added each bot member of other bot
set user permissions (bots are superadmins).
but relay wont works :(
Tryed to upgrade to trunk, but it still dont work. Also added each to other's config in sting "other_bots".
here is list of 'settings relay"
Settings for Relay
Autoinvite: On
Description: RELAYBOT: Autoinvite bots to the relay group
Change to: [ On | Off ]
AutoinviteRelayGroup:
Description: RELAYBOT: What is the name of the groups that all bots will be in for invites to the relay bot? (Leave empty to invite all bots on the roster)
/tell bandarbot set Relay AutoinviteRelayGroup <new value>
Gcname: ORG
Description: What name should we show when we relay from guild chat?
/tell bandarbot set Relay Gcname <new value>
Inc: Guildchat
Description: Where should incoming messages relay to
Change to: [ Both | Guildchat | Privgroup | None ]
Logon: On
Description: Should logon spam be relayed to the linked org bots?
Change to: [ On | Off ]
LogonInPgroup: On
Description: Should logons be shown in the private group of the bot too?
Change to: [ On | Off ]
Org: Relaybots
Description: Where should guild chat group relay to
Change to: [ Both | Privgroup | Relaybots | None ]
OrgLogon: Off
Description: Should prefixing the org channel shortcut to the logon information be used when relaying logons?
Change to: [ On | Off ]
Pgname: guest?
Description: What name should we show when we relay from the private group?
/tell bandarbot set Relay Pgname <new value>
Priv: Both
Description: Where should private group relay to
Change to: [ Both | Guildchat | Relaybots | None ]
Relay: Bot1
Description: What is the name of the bot that we are using as a relay?
/tell bandarbot set Relay Relay <new value>
Status: On
Description: Relay should be
Change to: [ On | Off ]
StrictNameCheck: On
Description: Has the name of the sender of tells with gcr commands to be an exact match with the name of the relay bot?
Change to: [ On | Off ]
Type: Pgroup
Description: How should we relay, via a private group or via tells? Tells is not the recommended method of handling relays, is slower, and less reliable, and can only be used between two bots. See the help for gcr for more information.
Change to: [ Pgroup | Tells ]
Configs are different in "Bot1" and "Bot2" in relay bot.
-
Type: Pgroup
Description: How should we relay, via a private group or via tells? Tells is not the recommended method of handling relays, is slower, and less reliable, and can only be used between two bots. See the help for gcr for more information.
Change to: [ Pgroup | Tells ]
Setting it to Tells if you want to relay via tells should do it :)
-
tryed with tells too...
-
Relaying Org1(Bot1)-Org2(Bot2), relayong via pgroup.
does relay work only if player of Org2 joins in pgroup of Bot2?
-
when relayin via tells, Bot2 log shows that:
[2007-12-09 00:15:11] [TELL] [OUT] -> bot1: gcr [org2] char: gcr Org1 sdfsdf
[2007-12-09 00:15:11] [PGRP] [MSG] [Bot2] Bot2: [org2] char: gcr Org1 sdfsdf
[2007-12-09 00:15:35] [TELL] [OUT] -> bot1: gcr [Org2] char: gcr Org1 sdfsdf
[2007-12-09 00:15:35] [PGRP] [MSG] [Bot2] Bot2: [org2] Char: gcr Org1 sdfsdf
[2007-12-09 00:15:39] [PGRP] [MSG] [Bot2] char: gcr Org1 sdfsdf
[2007-12-09 00:15:39] [TELL] [OUT] -> bot1: gcr [Guest] char: gcr Org1 sdfsdf
[2007-12-09 00:15:50] [TELL] [INC] Bot1: gcr [Guest] Ezhik: df
But no effect in guild channel.
Permissions for gcr command set to G, Manually from mysqladmin :)
-
you will need to restart if u change access level in mysql directly
-
it was after full system restart....
-
Priv: Relaybots
Relay: name of bot you want relay to.
Status: On
StrictNameCheck: On
Type: Tells
This settings are for Relay module. Just if you want to relay 2 org bots and you want to use tells wich is best for only 2 bots.
-
still nothing :(
Log still shows incoming gcr command, but messages dont shows in guild chat :(
-
could this happen because i changed Bop.php with commenting strings, which contains utf8_*code fuctions?
-
Remove other bot from each other Bot.conf :D
if you add them in Bot.conf at otherbots he will ignore all tells from that bot.. This seems to be added in 4.0.
-
Remove other bot from each other Bot.conf :D
if you add them in Bot.conf at otherbots he will ignore all tells from that bot.. This seems to be added in 4.0.
Not sure if this has been added with 0.4, but yes, if you set $otherbots["Bot2"] = true then the bot ignores all chat of Bot2, including tells.
-
damn bot.conf :P
it was so close and simple :)))