BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Kate 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
-
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
-
Afraid you must've missed something in your PHP compilation... utf8_decode() is a standard function in PHP. :(
-
:( 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
....
-
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?
-
:? 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?
-
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