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: Bot not announcing logon/logoffs  (Read 8561 times)

0 Members and 1 Guest are viewing this topic.

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Bot not announcing logon/logoffs
« on: August 04, 2009, 06:15:29 pm »
So not my day apparently, gotten all files up-to-date with 6.4 release, had issues with autogratz but that I fixed with a manual edit of main.php.

However my dear bot have decided not announce people that log on and off and I am sort of clueless to why. Have restarted it plenty times, set !set core DisableGC On/Off as that is the only setting I know could effect it, but no luck. So any comment on what to look for even if not a solution would be great :)

Secondary I had a lot of them, now there is only one left. Maybe someone got an idea on fixing this as well. Aidbot [ERROR]  [AOChatWrapper_Core]    I was unable to get the user id for user: 'Aidbot'. So had it for tons of members earlier, but now its down to the user the bot itself uses. Any clues?
« Last Edit: August 04, 2009, 06:40:11 pm by Organizer »

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot not announcing logon/logoffs
« Reply #1 on: August 04, 2009, 06:48:41 pm »
The first is likely connected to the first. If the bot is unable to lookup someones userid, ie if the chat server is throwing a hissy fit for something, it will display said error. Nothing we really can do anything about.

What you could try is to clear the buddylist, ie !buddylist clear followed by a forced !rosterupdate

This should hopefully resolve any logon/off notice issues.
BeBot Founder and Fixer Kingpin

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Bot not announcing logon/logoffs
« Reply #2 on: August 04, 2009, 06:57:55 pm »
Wow, after tons of errors as I believe are old members mostly that are no longer existing or similar it crashed the roosterupdate, did not catch the error, so got to get in again to reproduce, but currently stuck with the bot not starting up...

Code: [Select]
Debug: Precision is 14
Debug: Precision is 16
MySQL database connection test successfull
Creating MySQL class!

Fatal error: Call to private AOChat::__construct() from invalid context in /home/bebot2/Main.php on line 239
PHP Notice:  Undefined variable: pw in /home/bebot2/StartBot.php on line 100

Also have in the beginning these, never bothered me all has been working anyway, but in case you guru's got an idea let me know :)

Code: [Select]
# php StartBot.php
PHP Notice:  Undefined offset:  1 in /home/bebot2/Sources/Conf.php on line 47
PHP Notice:  Undefined property: Conf::$cf in /home/bebot2/Sources/Conf.php on line 70
PHP Notice:  Undefined offset:  1 in /home/bebot2/StartBot.php on line 74
PHP Notice:  Undefined variable: pw in /home/bebot2/StartBot.php on line 100
« Last Edit: August 04, 2009, 07:07:14 pm by Organizer »

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot not announcing logon/logoffs
« Reply #3 on: August 04, 2009, 07:10:12 pm »
You are most definitely not up to date with release 0.6.4 as you appear to be running the development branch which is currently most likely broken in terms of userid handling.

I highly recommend sticking with 0.6.4 or at least the 0.6 branch for now if you wish to use unreleased code.

[edit]

You appear to possibly be running a mix between Development branch code and 0.6.4 code, as there is no line 239 in Main.php in development branch, but your AOChat.php is most definately from development branch (due to the debug messages)
« Last Edit: August 04, 2009, 07:12:24 pm by Khalem »
BeBot Founder and Fixer Kingpin

Offline Organizer

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Bot not announcing logon/logoffs
« Reply #4 on: August 04, 2009, 07:13:19 pm »
Heh was just about to post again, forgot I tested with the dev branch AOChat.php just earlier, replaced with normal 6.4 and the bot starts again (it did start with this before the roosterupdate though)...

The 2nd half of the errors just after I start startbot.php is there, likely all non critical. Also since 1.5 and even with current update there are the weird few messages after the Authenticate, but again nothing to worry about I guess...

Code: [Select]
Aidbot [LOGIN]  [STATUS]        Authenticating
Unsupported rpcpacket type (in, 5)
Unsupported rpcpacket type (in, 4170821964)
Unsupported rpcpacket type (in, 1334945164)
Unsupported rpcpacket type (in, 1525492320)

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Bot not announcing logon/logoffs
« Reply #5 on: August 04, 2009, 07:21:59 pm »
Those notices are nothing to worry about. It's part of the AoC universe manager we should not need to worry about afaik.

I'll state it just for future reference. The development branch have made some rather radical changes to AOChat.php and will NEVER work with 0.6 bots :)
BeBot Founder and Fixer Kingpin

 

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