BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.5 support => Topic started by: Shelly on May 28, 2008, 08:33:31 pm

Title: Error in Relay.php BeBot Ver 0.5.1
Post by: Shelly on May 28, 2008, 08:33:31 pm
I am getting the following in a crash loop upon the successful login of the bot.
Quote
bothq [2008-05-28 10:31:08]    [LOGIN] [STATUS]        Connecting
bothq [2008-05-28 10:31:09]    [LOGIN] [STATUS]        Authenticating
bothq [2008-05-28 10:31:19]    [LOGIN] [STATUS]        Logging in
bothq [2008-05-28 10:31:19]    [LOGIN] [RESULT]        OK
Array
(
   
  • => Array

        (
            [id] => 12277
            [name] => IRC-Connect
        )

)

Fatal error: Cannot use string offset as an array in /home/bot/Hugehq/modules/Relay.php on line 297

===================================================

    _/_/_/              _/_/_/                _/   

   _/    _/    _/_/    _/    _/    _/_/    _/_/_/_/

  _/_/_/    _/_/_/_/  _/_/_/    _/    _/    _/     

 _/    _/  _/        _/    _/  _/    _/    _/     

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/   

         An Anarchy Online Chat Automaton         

             v.0.5.1.svn(snapshot) - PHP 5.2.3     

===================================================

MySQL database connection test successfull
Creating MySQL class!
Creating AOChat class!
Creating main Bot class!

Any ideas what is happening here?

Shelly
Title: Re: Error in Relay.php BeBot Ver 0.5.1
Post by: Shelly on May 28, 2008, 08:50:56 pm
On second thought... I have 3 other bots running the same code, so looks like the MySQL db got corrupted. I'll reset that when I get home and let you all know if that fixes the issue. :)
Title: Re: Error in Relay.php BeBot Ver 0.5.1
Post by: Temar on May 28, 2008, 11:06:18 pm
Fixed the Error , the prob happens if your settings AutoinviteRelayGroup is not set correctly
Now outputs an Error in Console instead.
Title: Re: Error in Relay.php BeBot Ver 0.5.1
Post by: Shelly on May 29, 2008, 12:43:37 am
Thanks!!

Also gave me a reason to upgrade to 0.5.1 on that bot anyway. ^_^ I also dumped the DB so everything was fresh.
SimplePortal 2.3.7 © 2008-2025, SimplePortal