collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: BeBot on Zend core.  (Read 4123 times)

0 Members and 1 Guest are viewing this topic.

Offline Rickover

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
BeBot on Zend core.
« 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
« Last Edit: December 27, 2008, 06:40:26 pm by Rickover »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: BeBot on Zend core.
« Reply #1 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?

Offline Rickover

  • BeBot Rookie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: BeBot on Zend core.
« Reply #2 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...."

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 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: 280
  • 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