BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: bnemesis on September 05, 2005, 09:58:43 pm
-
Hello! I recently set up BeBot to test for our org, and I am quite impressed with its features (and the fact that it is php based).
I have a few questions and a couple issues with it though.
Issues:
1) When Bebot starts, it spams the online status of everybody in the org to org chat. Is there a way to prevent this, or set a timer on when it begins to annouce logins/logoffs?
2) The bot does not listen to org chat. All tells to the bot work, and the bot will announce when users have logged in and out but they can not issue commands to it in org chat. I followed the sticky in support (cut and pasted the lines over the old function in aochat.php), but have had no success so far.
We are on RK2.
Questions:
1) Is BeBot still being actively developed?
2) Has anybody created a php script that will query the online users in the database and add their status to an org website?
Thanks in advance for your help!
-
Just to add a little more to Issue #2:
If you /tell morbot help and look at the first page help items, it divides the help items into 3 sections. Private group and Tells have items, but Guild chat does not have anything listed.
-
look at this thread for the problem with not listening to org chat, helped me :)
http://bebot.fieses.net/viewtopic.php?t=118
well some are still active on writing modules for the bot like me or zacix, so when you need modules or have question this forum should help you :)
hf with the bot :)
-
I saw that sticky and changed the code in aochat.php, but it still wont listen in org chat :-(
Anything else I can check?
-
updated the bot with the guide from zacix?
-
1) There are two ways. 1st ist to simply increase the crondelay setting in the config the second is to edit the "Logon_GUILD.php" a bit. Change the line "$this -> start = time() + $this -> bot -> crondelay;" to "$this -> start = time() + $this -> bot -> crondelay + 60;" (or increase the 60 even more if thats still not enough time).
2) There are two solutions for this:
http://bebot.fieses.net/viewtopic.php?t=118
http://bebot.fieses.net/viewtopic.php?t=86
Answers:
1) Yes and no. There's no "offical" active BeBot development by me (I've quit playing AO) but there are several people still working on it (like the new PHP5 workover by Zacix or the new Pabot for RK1 beeing made by Iriche (not sure if it'll be released))
2) Yes, I know of one but its not released to the public. :( It should be damn easy though since the Online.php handles all logon/logoff events and it should be no probs at all even for someone who knows next to no php to add a simple MySQL query in the right places. ;)
Hope that helped you a bit. :)
-
The reason the bot doesn't listen to chat, is because lookup_group(...) is borked. The best solution (in my humble opinion), is to change line 517 in bot.php from
$group = $this -> aoc -> lookup_group($args[0]);
to $group = $this -> aoc -> gid[$args[0]];
Since aochat class holds info about some groups in an array anyway, this is probably the fastest and best way to do it....and avoid using lookup_group(...) if u can. :)
-
The reason the bot doesn't listen to chat, is because lookup_group(...) is borked. The best solution (in my humble opinion), is to change line 517 in bot.php from $group = $this -> aoc -> lookup_group($args[0]);
to $group = $this -> aoc -> gid[$args[0]];
Since aochat class holds info about some groups in an array anyway, this is probably the fastest and best way to do it....and avoid using lookup_group(...) if u can. :)
Yes, its borked.
See http://bebot.fieses.net/viewtopic.php?t=118 for the fix :)