BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.3 support => Topic started by: Dabaron on July 17, 2007, 08:56:02 am

Title: Fatal error
Post by: Dabaron on July 17, 2007, 08:56:02 am
Decided to move my bot from my Windows Server to a new linux one I setup but I now get
Fatal error: Call to a member function create() on a non-object in /core/BotHelp.php on line 60.

This worked fine in Windows... any ideas?
Title: Re: Fatal error
Post by: Alreadythere on July 17, 2007, 10:07:13 am
Looks like you aren't using the most current version. In line 60 the access control rights are set, I guess your bot hasn't loaded the access control module yet though.
Title: Re: Fatal error
Post by: Dabaron on July 17, 2007, 11:19:51 am
Using 3.5 so dunno.  I even grabbed the latest version of that module off of SVN and didn't make a difference.
Title: Re: Fatal error
Post by: Alreadythere on July 17, 2007, 11:32:18 am
Check the load order of the core modules, the first 3 should be Security, Settings and AccessControl.
Title: Re: Fatal error
Post by: Dabaron on July 17, 2007, 06:50:12 pm
Well, looking at the order that it tried to load when it started it did Security, then Settings, then StringFilter, then I got the error so I assume it was doing BotHelp next but just hadn't displayed yet.

How can I change the order that they are loading?
Title: Re: Fatal error
Post by: Alreadythere on July 17, 2007, 07:24:29 pm
It should work in 0.3.5, just checked.

But you can just grab the most current SVN version of Main.php (http://svn.shadow-realm.org/index.py/BeBot/trunk/Main.php?revision=723&view=markup), which is handling all the module loading.
Title: Re: Fatal error
Post by: Dabaron on July 17, 2007, 07:40:15 pm
Well, that did fix that issue but then I started getting erros in AOChat.php so grabbed latest of that from SVN.  Then it was errors in Bot.php so I grabbed that from SVN and now I get Fatal error: Call to a member function check() on a non-object in /bot/Sources/Bot.php on line 544
Title: Re: Fatal error
Post by: Alreadythere on July 17, 2007, 07:43:31 pm
lol, sounds like your version got some more errors - though the error you get in the current Bot.php is just the core/Notify module you are missing.

But if you are grabbing some SVN files you should go and grab at least all most current core files too, as a few things did change between the versions.
Title: Re: Fatal error
Post by: Dabaron on July 17, 2007, 10:21:56 pm
Ok, as an experiment I grabbed fresh copy of 3.5 and just gave it a blank db and everything so it is in essence a brand new bot.  It created the tables and everything fine but then crash's with Fatal error: Call to undefined function utf8_decode() in /bot/Sources/Bot.php on line 470
Title: Re: Fatal error
Post by: Alreadythere on July 18, 2007, 12:01:28 pm
Looks like your php version is missing the XML parser functions - they must have been disabled on compiling, as they should be activated on default.
Title: Re: Fatal error
Post by: Dabaron on July 19, 2007, 01:24:19 am
Already.... You ROCK.  Can't believe I missed that one   :P

Thanks for your help!
Title: Re: Fatal error
Post by: Dabaron on July 19, 2007, 04:36:58 am
Ok... well I thought I was done with it but I'm not getting the AOChat: not expecting authentication problem.

Thought AOKex no longer had to be manually configured?  Is that incorrect?
Title: Re: Fatal error
Post by: Temar on July 19, 2007, 04:44:48 am
well i just down load this bot .. upload to server or wateva
doing the setting in the conf folder and run it
Title: Re: Fatal error
Post by: Dabaron on July 19, 2007, 04:50:37 am
Did same thing... This is on the bot I just setup brand new with a blank db.  Trying to get it all ironed out before I move my normal bot over.
Title: Re: Fatal error
Post by: Alreadythere on July 19, 2007, 10:07:35 am
AOKex is no longer part of bebot at all, so no need to config anything.

Besides entering the needed infos into the Bot.conf and MySQL.conf there should be no need for any configuration.
Title: Re: Fatal error
Post by: Dabaron on July 19, 2007, 10:40:26 am
Any other ideas why I would get the "AOChat: not expecting authentication" error then?
Title: Re: Fatal error
Post by: Alreadythere on July 19, 2007, 10:45:52 am
No idea, sorry.
Title: Re: Fatal error
Post by: Ebag333 on July 19, 2007, 04:26:28 pm
Double check your login info?   ;)

It seems I always spend hours troubleshooting something...only to find I either mispelled something or had the case wrong (or something similar).
Title: Re: Fatal error
Post by: Dabaron on July 20, 2007, 02:13:30 am
Ok... I found the issue and it had 0 to do with bebot.

For some freaking reason eth0 wasn't started... no clue how it was letting me browse my local network and just not the net... but that was it.

Thanks again for the help guys.
SimplePortal 2.3.7 © 2008-2024, SimplePortal