BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Rickover on December 27, 2008, 10:23:07 am

Title: BeBot on Zend core.
Post by: Rickover on December 27, 2008, 10:23:07 am
This may sound rather odd.

I've in the process of setting up and configuring a replacement for our current IGN based org bot to BeBot.

My dev box as it sits has PATH'd installs of both MySQL and Zend Core (MySQL 5.0.27-community/PHP 5.2.6 w/Zend modules.)

My first quandary was Bebot's start-up script questioned if I had sockets loaded. I currently have sockets configured within Zend core.

I modified startbot.php to implicitly call my Zend php.exe. I attempted to start the bot after this change, and it (sort of) seems to be working (well at least it stop complaining about my sockets configuration.) Now it just seems to be complaining about a couple of Undefined offsets. I'll paste the notices below). I also hard-coded the location of php.ini.

So the bot now starts, issues a few PHP notices, however it does not seem to be logging into AO. (and I've checked my username and password, twice.)

Thanks in advance,

Rick.


P.S. (Just as a precaution, I've also attempted a clean install of BeBot using the BeBot-php package unpacked in the bot's home directory. I still receive the same errors.)


PHP Notices follow:
Code: [Select]
PHP Notice:  Undefined offset:  1 in *snip*\botroot\Sources\Conf.php on line 47
PHP Notice:  Undefined property: Conf::$cf in *snip*\botroot\Sources\Conf.php on line 88
PHP Notice:  Undefined offset:  1 in *snip*\botroot\StartBot.php on line 74
Title: Re: BeBot on Zend core.
Post by: Alreadythere on December 28, 2008, 09:56:09 am
The offset notices should be just that, notices. They aren't nice, and maybe we should adapt the code to cover those cases. But they shouldn't have any influence on the bot logging in.

What is the output of your bot? "Seems not to log on" doesn't give us much information to work with.

And what's your system? OS? 32bit? 64bit?
Title: Re: BeBot on Zend core.
Post by: Rickover on January 16, 2009, 01:53:01 am
Sorry, I didn't have this thread on notify... >.< Issues have been, for the most part, addressed, seems I needed to have a copy of my systems php.ini in BeBot's working folder, it's running just fine now... lol

"Nothing to see here, move along, move along...."
SimplePortal 2.3.7 © 2008-2024, SimplePortal