BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Upupa on April 22, 2005, 05:01:54 pm

Title: AOChat class needs the Sockets extension to work.
Post by: Upupa on April 22, 2005, 05:01:54 pm
Hello,

I have followed the instructions for making a raidbot.

WARNING!! I am a computern000b WARNING!!!


Ok, I downloaded those php files to the same directory as the rest of all bebot files. When I run cmd (after finding right directory) I get a spam of "AOChat class needs the Sockets extension to work. "

Where do I start to look for errors???
Title: AOChat class needs the Sockets extension to work.
Post by: craized on April 22, 2005, 05:47:31 pm
open up your php.ini file in the bot dir, and add the line
extention=php_sockets.dll
if you're still having problems, check out this thread.
http://bebot.fieses.net/viewtopic.php?t=34
Title: AOChat class needs the Sockets extension to work.
Post by: Upupa on April 22, 2005, 11:47:24 pm
Thank yo for the support.

I removed all the files and installed it again. Now I encountered some other problems:

1) In the MySQL.conf I need to add a server and what I understand from my MySQL - database it should only be "localhost"...or should I add my domain adress  www.xxx.se? The webhotel use phpMyAdmin for administrate MySQL.

2) When I run cmd and then type php start.php my start.php files open and then noting happens. why?
Title: AOChat class needs the Sockets extension to work.
Post by: Upupa on April 24, 2005, 01:25:53 pm
I still face this problem. the start.php file opens and then..nothing..happens.

Any clue where it can be wrong?
Title: AOChat class needs the Sockets extension to work.
Post by: Ltes on April 24, 2005, 04:57:51 pm
What platform are you using?  I had the problem you had in the beginning but the latter is unique....i may be able to help tho :)
Title: AOChat class needs the Sockets extension to work.
Post by: Upupa on April 24, 2005, 06:45:57 pm
hmm, platform..that is this I guess:

OS = XP

PHP, the one dowloaded here.

Using phpMyAdmin 2.6.1-pl2 for the SQL-database. It says "MySQL 4.0.23-standard". I have made a accont there and managed to upload the item database. It is a service that come with a domain I bought (wanna learn about making homepages) and I am a bit unsure what adress it uses, the MySQL that is. I have written "localhost" in my MSQL.conf file.
Title: AOChat class needs the Sockets extension to work.
Post by: Ltes on April 24, 2005, 09:07:56 pm
are you running the bot on the same comp as your bot?  if so your MySQL.conf file should look something like this
<?
    $dbase = "[database you assaigned]";
    $user = "root";
    $pass = "[rootpass here]";
    $server = "localhost";
?>

however, i had to actually make another user and give him permissions over the dbase for it to actually work
Title: AOChat class needs the Sockets extension to work.
Post by: Zarkingu on April 25, 2005, 02:21:32 pm
What I think Ltes mean to say is that if the MySQL base runs on same comp as the bot you can use "localhost", if not you have to add the adress in $server =
Title: AOChat class needs the Sockets extension to work.
Post by: Upupa on April 25, 2005, 06:46:47 pm
Quote from: "rogerDAT"
What I think Ltes mean to say is that if the MySQL base runs on same comp as the bot you can use "localhost", if not you have to add the adress in $server =


Ahh, that explained things:P

My bot runs at my own computer but the MySQL runs somewhere else..it says "localhost" but I can“t understand what that is. next step will be a e-mail to my domain-provider then.
SimplePortal 2.3.7 © 2008-2025, SimplePortal