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: AoC bot auto recognize guild members?  (Read 6183 times)

0 Members and 2 Guests are viewing this topic.

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
AoC bot auto recognize guild members?
« on: March 24, 2009, 11:08:12 pm »
Hello ... I am new to using BeBot. I am an experienced programmer, however a newbie to PHP).

I have it all installed and running. I have found that if I don't explicitly do a !member add command then the other guild members cannot talk to the bot, they would get a "I only listen to members of this bot." error.

So, question ... does BeBot auto recognize guild users, is there a toggle to turn on? I have the conf file configured to act as a guild bot, or so I think I do.  Or must I !member add ... for each guild member???

Also, I was perplexed why it would say "I only listen to members of this bot." rather than the other message "I only listen to members of (guildname)".  I was looking at the code in bot.php and the condition to show the above two messages is based on  line 876 ...
if ($this -> guild_bot)

I debugged this and at that line "$this -> guild_bot" was null that is why it showed message "I only listen to members of this bot.".

Where is $this -> guild_bot assigned? I could not find reference to "guild_bot" in any of the .php source code.

Appreciate any help/responses.

Cheers,
Eric


Offline squattinbull

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
Re: AoC bot auto recognize guild members?
« Reply #1 on: March 25, 2009, 02:40:19 pm »
Hi Eric,

For the bot to automatically add members to the bot.  The members need to first chat in guild chat.  The bot on default will add each one of those members of the guild to the bot.  The bot sends a tell to each member that is added stating that they have been added.  For the members that just don't tend to want to chat in guild chat.  Well those you will more likely just have to add manually.

~Bull~

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: AoC bot auto recognize guild members?
« Reply #2 on: March 25, 2009, 09:25:57 pm »
ah, thanks for clearing that up.  ;D

I guess my bot must not be acting like a guild bot because it is not automatically adding members who chat in guild chat.

In the bot.conf I have ...

$bot_name = "... set to a character in the guild.
$guild = " ... set to the guild name
$owner = " ... set a one of my characters that is also in the guild
$guildbot = true;
$guild_id = 00000001;

Is there anything else to make it a guild bot?

Is it also true that I could just type !help in guild chat and the bot would pick that up; I do not have to specifically /tell bot !help, right, if done in guild chat?



Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: AoC bot auto recognize guild members?
« Reply #3 on: March 26, 2009, 08:55:18 am »
Log on the Bot manually and make sure it is able to talk in guild. That is the most common issue that I have seen for non-guild function.

Wizhk

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: AoC bot auto recognize guild members?
« Reply #4 on: March 26, 2009, 09:24:44 pm »
Yes, that's such a no-brainer I should have checked that first. The bot toon was just a level 1 still sitting on the beach. Leveled it up past 5 and then it started to work.

Thanks.


Offline Wizhk

  • BeBot Apprentice
  • ***
  • Posts: 85
  • Karma: +0/-0
Re: AoC bot auto recognize guild members?
« Reply #5 on: March 26, 2009, 10:10:21 pm »
NP.. and you dont have to even level it up.. just mess around with the guild tab until it can talk in guild. Just like the issues that new guildies have with guild chat. My Bot is Lvl 1.

Glad you got it to work.  ;D

Wizhk

 

* 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: 223
  • 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