BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Keeperjoe on November 30, 2005, 10:14:29 pm

Title: Starting bot..
Post by: Keeperjoe on November 30, 2005, 10:14:29 pm
Whenever i try to start the bot it says

AOChat class needs the sockets extension to work
AOChat class needs the sockets extension to work
AOChat class needs the sockets extension to work
AOChat class needs the sockets extension to work
you get the point..

i tried to reinstall the bot and took php off and did all over again and same thing. what do i do?
Title: Starting bot..
Post by: Shelnaria on November 30, 2005, 10:53:44 pm
Make sure you visit this: http://bebot.fieses.net/viewtopic.php?t=41
Once you have all of that and you got your SQL setup make sure that you change the php.ini to read

Code: [Select]

extension_dir = ./
extension=php_sockets.dll


Should get you going.
Title: Starting bot..
Post by: Khalem on December 01, 2005, 12:30:29 am
Im actually having the same problem under Windows. Ive been trying to setup BeBot to test since many seem to have problems getting it to work on windows, and i just cannot seem to get php to include the sockets extention no matter what i do. Its almost as if it completely ignores php.ini even when i explicitly tells php to use php.ini
Title: Starting bot..
Post by: Shelnaria on December 01, 2005, 02:43:32 am
150902.sql
AOChat.php
Bot.php
items.sql
main.php
MySQL.php
patchnotes.txt
php.exe
php.ini
php_bz2.dll
php_sockets.dll
php4ts.dll
start.php
update.php

All in the main bebot directory? I am using windows XP and works fine after some tweaking of the files for the new AO text changes.
Title: Starting bot..
Post by: syluhbul on December 03, 2005, 01:45:49 am
has anyone figured this out yet now im having this problem
Title: Starting bot..
Post by: syluhbul on December 03, 2005, 02:03:19 am
pshhh in that uber guide he has extension spelled extention.... which causes that error

but now im getting
Warning: Mysql_connect<>: Client does not support authentication protocol requested by server; consider upgrading Mysql client in C:\bebot\Mysql.php on line 36 [Keine Verbindung zur Datenbnak!] <Client does not support authentication protocol requested by server; consider upgrading Mysql client>


any ideas

Keine Verbindung zur Datenbnak means...
No connection to the data base!
Title: Starting bot..
Post by: syluhbul on December 03, 2005, 02:27:18 am
I think im having a problem creating a database

create database db               this doesnt seem to have any indication
Title: Starting bot..
Post by: syluhbul on December 03, 2005, 02:43:57 am
database is made but im still getting the error
Title: Starting bot..
Post by: skeezix on December 03, 2005, 05:12:32 am
http://dev.mysql.com/doc/refman/4.1/en/old-client.html

you can follow their instructions, or you can download and install the MySQL administrator if you're on win32 (in their downloads section) and enable "use old passwords" box under the startup configuration (I think), or start mysql with --old-passwords or so
Then delete/re-add the user and it will use the old password authentication methods and I think start working :P

:)
Title: Starting bot..
Post by: syluhbul on December 03, 2005, 05:18:58 am
someone on the hackersquest forums helped me solve this problem but after that im still having issues...

Warning: mysql_query<>: supplied argument is not a valid mysql-link resource in c:\bebot\mysql.php on line 54
Warning: mysql_query<>: supplied argument is not a valid mysql-link resource in c:\bebot\mysql.php on line 54
Warning: mysql_query<>: supplied argument is not a valid mysql-link resource in c:\bebot\mysql.php on line 54


and

Warning: mysql_query<>: supplied argument is not a valid mysql-link resource in c:\bebot\mysql.php on line 77
Warning: mysql_query<>: supplied argument is not a valid mysql-link resource in c:\bebot\mysql.php on line 77
Warning: mysql_query<>: supplied argument is not a valid mysql-link resource in c:\bebot\mysql.php on line 77

i have no idea

maybe someone can post me there mysql.php?
Title: Starting bot..
Post by: Xenixa on December 03, 2005, 07:54:39 am
Using the bone stock mysql.php from Bebot v2.1.1 here. I don't see anything on the lines submited in you error.

I've placed it here if you need it ->  ftp://xen.afraid.org/bebot_files/MySQL.php
SimplePortal 2.3.7 © 2008-2025, SimplePortal