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: Error in Relay.php BeBot Ver 0.5.1  (Read 1586 times)

0 Members and 1 Guest are viewing this topic.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Error in Relay.php BeBot Ver 0.5.1
« 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

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Error in Relay.php BeBot Ver 0.5.1
« Reply #1 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. :)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Error in Relay.php BeBot Ver 0.5.1
« Reply #2 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.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Error in Relay.php BeBot Ver 0.5.1
« Reply #3 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.

 

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