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

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

Author Topic: AOChat and Bot.php errors  (Read 5994 times)

0 Members and 1 Guest are viewing this topic.

Offline Kate

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
AOChat and Bot.php errors
« on: May 13, 2005, 07:04:30 pm »
hello,

I set up bebot on a FreeBSD 4.10-RELEASE-p6 box running Mysql server version: 4.0.24 and PHP 4.3.11 (cli) (Pretty up-to-date)

I Get however the following error's at login , in the Shell ;

[2005-05-13 16:54:40]   [LOGIN] [STATUS]        Connecting
[2005-05-13 16:54:41]   [LOGIN] [STATUS]        Authenticateing
[2005-05-13 16:54:41]   [LOGIN] [STATUS]        Logging in
[2005-05-13 16:54:41]   [LOGIN] [RESULT]        OK
PHP Notice:  Undefined variable:  gi in /home/pyro/bot/bebot/AOChat.php on line 433
PHP Fatal error:  Call to undefined function:  utf8_decode() in /home/pyro/bot/bebot/Bot.php on line 519

oh and compiled PHP with GMP support

Any help would be great,.. Thank you

Offline Kate

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
AOChat and Bot.php errors
« Reply #1 on: May 13, 2005, 07:46:34 pm »
ok , I went back and redid the Database ...
I did

DROP DATABASE bebot;
CREATE DATABASE bebot;
\u bebot;
source /home/pyro/bot/bebot/items.sql;

(Went for a coffee)

GRANT ALL PRIVILEGES ON bebot.* TO 'thisuser'@'localhost' IDENTIFIED BY 'thispassword';
 
I still get ;
[2005-05-13 17:48:22]   [CORE]  [LOAD]  Admin.php
[2005-05-13 17:48:22]   [CORE]  [LOAD]  Alts.php
[2005-05-13 17:48:22]   [CORE]  [LOAD]  BotHelp.php
[2005-05-13 17:48:22]   [CORE]  [LOAD]  Online.php
[2005-05-13 17:48:22]   [CORE]  [LOAD]  Que.php
[2005-05-13 17:48:22]   [MOD]   [LOAD]  About.php
 [2005-05-13 17:48:22]  [MOD]   [LOAD]  AutoInv.php
[2005-05-13 17:48:22]   [MOD]   [LOAD]  AutoMsg.php
[2005-05-13 17:48:22]   [MOD]   [LOAD]  Bid.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Bio.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Calc.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Callers.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Countdown.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Glyph_RAID.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Is.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Items.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Level.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  MassMsg.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  News.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Oe.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Points.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  PrivGroup.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Raffle.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  RaidTime.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Rally.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Roll.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Rooster_RAID.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Rules_RAID.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Server.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Shutdown.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Target.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Time.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  TowerAttack.php
[2005-05-13 17:48:23]   [MOD]   [LOAD]  Whois.php
[2005-05-13 17:48:23]   [LOGIN] [STATUS]        Connecting
[2005-05-13 17:48:23]   [LOGIN] [STATUS]        Authenticateing
[2005-05-13 17:48:23]   [LOGIN] [STATUS]        Logging in
[2005-05-13 17:48:23]   [LOGIN] [RESULT]        OK
PHP Notice:  Undefined variable:  gi in /home/pyro/bot/bebot/AOChat.php on line 433
PHP Fatal error:  Call to undefined function:  utf8_decode() in /home/pyro/bot/bebot/Bot.php on line 519

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
AOChat and Bot.php errors
« Reply #2 on: May 15, 2005, 01:47:51 am »
Afraid you must've missed something in your PHP compilation... utf8_decode() is a standard function in PHP. :(

Offline Kate

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
AOChat and Bot.php errors
« Reply #3 on: May 16, 2005, 03:35:25 pm »
:( ok , I recompiled the php .. and the utf8 error is Gone .. but I still get the error

PHP Notice:  Undefined variable:  gi in /home/pyro/bot/bebot/AOChat.php on line 433

....

Offline Kate

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
AOChat and Bot.php errors
« Reply #4 on: May 17, 2005, 02:32:15 pm »
When I recompiled the php ... I "Allowed" all the Options to recompile .. So the error , I'm assuming , is coming from some place else now ...

Oh well .. is it some thing as silly as having to have Globals=on in php.ini?

Offline Kate

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
AOChat and Bot.php errors
« Reply #5 on: May 17, 2005, 06:38:28 pm »
:? yeah .. the shell spam in like every 2-3 seconds ..

PHP Notice:  Undefined variable:  gi in /home/pyro/bot/bebot/AOChat.php on line 433

and it seems .. the Bot won't let anyone join
even the Superadmins

EDIT: after the php was "Downgraded" the join function again worked, So it seems the problem was part of php4.3.11

.. Constant Spam ..  Can the call be removed?

Offline Kate

  • BeBot Rookie
  • *
  • Posts: 7
  • Karma: +0/-0
AOChat and Bot.php errors
« Reply #6 on: May 18, 2005, 07:48:53 pm »
8) Well .. as it Seems .. php4.3.0 Works just fine .. It's the php 4.3.10+ that Won't allow the bot to Run ....

So this is What I did .. I deinstalled php4.3.11 grabbed an old copy of 4.3.0 and installed it,..  --with-gmp --enable-sockets --with-mysql=/path

I Fired up the bot .. poof it Worked

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


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 ]

* Who's Online
  • Dot Guests: 431
  • 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