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 class needs the Sockets extension to work.  (Read 7320 times)

0 Members and 3 Guests are viewing this topic.

Offline Upupa

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
AOChat class needs the Sockets extension to work.
« 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???

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
AOChat class needs the Sockets extension to work.
« Reply #1 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
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline Upupa

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
AOChat class needs the Sockets extension to work.
« Reply #2 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?

Offline Upupa

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
AOChat class needs the Sockets extension to work.
« Reply #3 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?

Offline Ltes

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
    • http://www.ltes.cjb.net/
AOChat class needs the Sockets extension to work.
« Reply #4 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 :)


[size=18]Ltes

*RK2*[/size]

Offline Upupa

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
AOChat class needs the Sockets extension to work.
« Reply #5 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.

Offline Ltes

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
    • http://www.ltes.cjb.net/
AOChat class needs the Sockets extension to work.
« Reply #6 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


[size=18]Ltes

*RK2*[/size]

Offline Zarkingu

  • Contributor
  • *******
  • Posts: 34
  • Karma: +0/-0
AOChat class needs the Sockets extension to work.
« Reply #7 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 =
Zarkingu 210 MP RK2

Offline Upupa

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
AOChat class needs the Sockets extension to work.
« Reply #8 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.

 

* 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: 319
  • 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