BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: drain on September 29, 2005, 06:54:29 pm
-
hi,
ive tried to install the bot under windows xp. Ive installed the last php version 5 something, installed mysql 4.1 and setup a database named bebot, username= root, and password = banana, for testing abit. Imported the items.sql file also. The database is at the same machine as bebot and php, so iguess localhost should work as adress?
Ive followed the installation notes and tried using the following names in the example on forum here.
In the Mysql.conf file:
<?
$dbase = "bebot";
$user = "root";
$pass = "banana";
$server = "localhost";
?>
When i run php i get the following error message.
C:\php>php start.php
PHP Fatal error: Call to undefined function mysql_connect() in C:\php\MySQL.php on line 36
if anyone could help me out with this i would be a glad:)
-
You'll have to enable the MySQL extension for PHP. You can do this in your php.ini
-
ty, not that familiar with php/mysql, but trying to learn :)
ok, got as far as this now
C:\php>php start.php
[2005-09-29 19:13:31] [CORE] [LOAD] Admin.php
[2005-09-29 19:13:31] [CORE] [LOAD] Alts.php
[2005-09-29 19:13:31] [CORE] [LOAD] BotHelp.php
[2005-09-29 19:13:31] [CORE] [LOAD] Online.php
[2005-09-29 19:13:31] [CORE] [LOAD] Que.php
[2005-09-29 19:13:31] [MOD] [LOAD] About.php
[2005-09-29 19:13:31] [MOD] [LOAD] AutoInv.php
[2005-09-29 19:13:31] [MOD] [LOAD] AutoMsg.php
[2005-09-29 19:13:31] [MOD] [LOAD] Bid.php
[2005-09-29 19:13:31] [MOD] [LOAD] Bio.php
[2005-09-29 19:13:31] [MOD] [LOAD] Calc.php
[2005-09-29 19:13:31] [MOD] [LOAD] Callers.php
[2005-09-29 19:13:31] [MOD] [LOAD] Countdown.php
[2005-09-29 19:13:31] [MOD] [LOAD] Glyph_RAID.php
[2005-09-29 19:13:31] [MOD] [LOAD] Is.php
[2005-09-29 19:13:31] [MOD] [LOAD] Items.php
[2005-09-29 19:13:31] [MOD] [LOAD] Level.php
[2005-09-29 19:13:31] [MOD] [LOAD] MassMsg.php
[2005-09-29 19:13:31] [MOD] [LOAD] News.php
[2005-09-29 19:13:31] [MOD] [LOAD] Oe.php
[2005-09-29 19:13:31] [MOD] [LOAD] Points.php
[2005-09-29 19:13:31] [MOD] [LOAD] PrivGroup.php
[2005-09-29 19:13:31] [MOD] [LOAD] Raffle.php
[2005-09-29 19:13:31] [MOD] [LOAD] RaidTime.php
[2005-09-29 19:13:31] [MOD] [LOAD] Rally.php
[2005-09-29 19:13:31] [MOD] [LOAD] Roll.php
[2005-09-29 19:13:31] [MOD] [LOAD] Rooster_RAID.php
[2005-09-29 19:13:31] [MOD] [LOAD] Rules_RAID.php
[2005-09-29 19:13:31] [MOD] [LOAD] Server.php
[2005-09-29 19:13:31] [MOD] [LOAD] Shutdown.php
[2005-09-29 19:13:31] [MOD] [LOAD] Target.php
[2005-09-29 19:13:31] [MOD] [LOAD] Time.php
[2005-09-29 19:13:31] [MOD] [LOAD] TowerAttack.php
[2005-09-29 19:13:31] [MOD] [LOAD] Whois.php
[2005-09-29 19:13:31] [LOGIN] [STATUS] Connecting
PHP Fatal error: Only variables can be passed by reference in C:\php\AOChat.php
on line 842
any idea what this could mean?
-
might have something to do with AOChat not beeing totally compatible with PHP5...
Maybe take a look at this (http://www.hackersquest.org/boards/viewtopic.php?t=6003) thread.