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: Greetings! Problems&Questions inside...  (Read 2505 times)

0 Members and 1 Guest are viewing this topic.

Offline bnemesis

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« 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!

Offline bnemesis

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« Reply #1 on: September 05, 2005, 10:01:23 pm »
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.

Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« Reply #2 on: September 05, 2005, 10:04:33 pm »
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 :)
Derroylo 220/23 NT RK2

Offline bnemesis

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« Reply #3 on: September 05, 2005, 10:06:44 pm »
I saw that sticky and changed the code in aochat.php, but it still wont listen in org chat :-(
Anything else I can check?

Offline Derroylo

  • Contributor
  • *******
  • Posts: 43
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« Reply #4 on: September 05, 2005, 10:09:00 pm »
updated the bot with the guide from zacix?
Derroylo 220/23 NT RK2

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« Reply #5 on: September 05, 2005, 10:24:24 pm »
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. :)

Offline Zacix

  • Contributor
  • *******
  • Posts: 73
  • Karma: +0/-0
Greetings! Problems&Questions inside...
« Reply #6 on: September 06, 2005, 02:09:28 am »
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
Code: [Select]
$group = $this -> aoc -> lookup_group($args[0]); to
Code: [Select]
$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. :)
Zacix
Current projects:
RINGBot, BeBot branch
Neutnet, RK2 Neutral massmessage network

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Greetings! Problems&Questions inside...
« Reply #7 on: September 06, 2005, 03:44:33 am »
Quote from: "Zacix"
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
Code: [Select]
$group = $this -> aoc -> lookup_group($args[0]); to
Code: [Select]
$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 :)
BeBot Founder and Fixer Kingpin

 

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