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

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

Author Topic: Bot not listening to guild chat and other issues  (Read 2622 times)

0 Members and 1 Guest are viewing this topic.

Offline swp760

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Bot not listening to guild chat and other issues
« on: August 02, 2009, 10:01:18 pm »
I have similar situation as this on AoC, 1st bot does not recognize the Guild info, I have set the Guild infor in the bot.conf and checked multiple times, but when i run the bot it seems everything is fine but it does not show the Guild city info, is this auto or do we have enter this info manual, it does pick up what part of the instance we are in and the play field, but just does not tell what resources are still needed, everything says like 0/xxx like nothing with city has been done. Also nothing showing in whois online.

When i first installed the bot through Linux Webmin/Virtumin it seemed to notice people when they logged on, it would ask people their crafts and give info about them when you clicked on it, the bot seemed it was working ok, just after a few minutes the bot would go offline, so i decided to install it locally on a windows machine to see how it ran. It now seems run just fine and stays running, though it never asks or says anything when guildies log in, you have to initiate every bit of conversation with the bot in tells, even if I type !city in the Guild chat it will not output the city info link to everyone (i know this was working for me to beginwith on the Linux setup) I have went through and through, my install PHP and extentions are added to the bebot folder and i get no errors when starting the bot, everything seems good.

I should point out I have a new account that this is running off of with only one character made on that account and that is the bot character who has been in the guild for about a day now. I started this second account for bots so i dont have to worry about random log offs on my main as not good in Raids.

Let me know if I am missing something in setup or just expecting something that is not their. I just know this was doing stuff as expected at one time for me and now we cant seem to get it the same again.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot not listening to guild chat and other issues
« Reply #1 on: August 02, 2009, 10:13:56 pm »
Split this out to its own topic as it was not related to the OP.

DJKrose might be able to better answer this as i have no access to AoC in any way to test, however i'll give it a whirl.

As far as i know, you have to manually enter information into the bot as it has no access to the game servers and as such cannot tell anything regarding your city state. See !help city for more information.

For your second issue about the bot not listening to guild chat, this is an indication that the guild name is not set correctly in the Bot.conf. Please make sure this matches your ingame guild name 100%. This setting IS case sensitive.

Hope this helps a little.
BeBot Founder and Fixer Kingpin

Offline swp760

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Bot not listening to guild chat and other issues
« Reply #2 on: August 02, 2009, 10:24:26 pm »
OK, thanks for the quick reply, sorry about the post in wrong place.

In bot.conf you have 2 places asking guild name/number should it be only the 1st one for AoC or both as it seems indicate the second is only for AO, although we have tried using the second as well, have not tried omitting the second line though.

1st place looks like here.
Code: [Select]
server you play on, or (1, 2 or 3 for AO)
  $guild = "My Guild Name";                     // Name of the guild running the bot (AOC only)

2nd Place looks like this
Code: [Select]
$guildbot = true;                // false if its a raidbot.
  $guild_id = 00000001;            // Only for AO guildbots! See ReadMe.txt on how to find out the id.

Now I have entered my guild name just as is in game quite a few times when completely reinstalling files to overcome this problem and all is good their unless AoC is adding something to guild name that i dont see?

Thanks for the fast reply, great support in these forum.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot not listening to guild chat and other issues
« Reply #3 on: August 02, 2009, 10:47:07 pm »
The first setting is the only one you need to worry about for AoC.
The guildbot setting is irrelevant for AoC, and the guild id is not used in any way for AoC.

One way to figure out what the bot is seeing on it's end is to add the following debug code to Main.php in the function callback at line 460. Change it to read:
Code: [Select]
function callback($type, $args)
{
global $bot;

print_r($args);

$bot -> cron();

switch ($type)

This will create a fair amount of spam, but it will show you every incoming packet from the chatserver, and should also show you exactly what the server thinks your guildname is.

Again please pay attention to the case of the letters. "My Guild Name" is a different name than "My guild name"
BeBot Founder and Fixer Kingpin

Offline dewt

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Bot not listening to guild chat and other issues
« Reply #4 on: August 12, 2009, 12:08:45 am »
I'm having the same problem with guild chat not being seen. I added the code in for debugging. Guild chat never shows up in the bots' console. Our guild name has "รข" in it. Would that be a problem?

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot not listening to guild chat and other issues
« Reply #5 on: August 12, 2009, 12:43:33 am »
That sounds very odd.

You are getting other spam when adding said debugging code though right?

Before we do anything else, i would like to add some debug code at the earliest stage when we read data from the server to make sure we actually receive the packets for guild chat.

In AOChat.php find the function AOChat at line 190. Alter it to read:
Code: [Select]
function AOChat($cb, $game, $args = NULL)
{
$this->game     = $game;
$this->callback = $cb;
$this->cbargs   = $args;
$this->disconnect();
$this->login_num = 0;
$this->debug = STDERR;
}

This will really create a lot of spam, and will contain "unreadable" characters, but the plaintext data from guildchat should be visible here. If it's not, the chatserver is not even sending guildchat to the bot.

This makes me wonder though, does Age of Conan have a guild tax system? Do you get suspended from guild chat if you do not pay guild tax?
BeBot Founder and Fixer Kingpin

Offline dewt

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Bot not listening to guild chat and other issues
« Reply #6 on: August 12, 2009, 02:14:18 am »
Figure this out a bit ago. The bot was not subbed to guild chat. Read the earlier thread regarding the same thing..went and tried it..worked.


 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

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