collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: relay wont work...  (Read 6845 times)

0 Members and 1 Guest are viewing this topic.

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
relay wont work...
« 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"
Quote
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.

Offline Tichy

  • BeBot User
  • **
  • Posts: 42
  • Karma: +0/-0
Re: relay wont work...
« Reply #1 on: December 04, 2007, 01:28:51 am »
Quote
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 :)

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #2 on: December 04, 2007, 08:14:04 am »
tryed with tells too...

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #3 on: December 09, 2007, 01:55:21 am »
Relaying Org1(Bot1)-Org2(Bot2), relayong via pgroup.
does relay work only if player of Org2 joins in pgroup of Bot2?

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #4 on: December 09, 2007, 02:24:32 am »
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 :)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: relay wont work...
« Reply #5 on: December 09, 2007, 07:07:12 am »
you will need to restart if u change access level in mysql directly

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #6 on: December 09, 2007, 12:33:35 pm »
it was after full system restart....

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: relay wont work...
« Reply #7 on: December 09, 2007, 08:02:31 pm »
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.

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #8 on: December 09, 2007, 11:45:53 pm »
still nothing :(
Log still shows incoming gcr command, but messages dont shows in guild chat :(

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #9 on: December 09, 2007, 11:47:23 pm »
could this happen because i changed Bop.php with commenting strings, which contains utf8_*code fuctions?

Offline Pharexys

  • BeBot Apprentice
  • ***
  • Posts: 117
  • Karma: +0/-0
Re: relay wont work...
« Reply #10 on: December 10, 2007, 02:57:07 pm »
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.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: relay wont work...
« Reply #11 on: December 10, 2007, 03:11:35 pm »
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.

Offline Ezhik

  • BeBot Rookie
  • *
  • Posts: 18
  • Karma: +0/-0
Re: relay wont work...
« Reply #12 on: December 10, 2007, 05:10:16 pm »
damn bot.conf :P
it was so close and simple :)))

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


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 ]

* Who's Online
  • Dot Guests: 303
  • 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