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
-
I am getting the following in a crash loop upon the successful login of the bot.
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
(
(
[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
-
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. :)
-
Fixed the Error , the prob happens if your settings AutoinviteRelayGroup is not set correctly
Now outputs an Error in Console instead.
-
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.