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: Starting bot..  (Read 4007 times)

0 Members and 1 Guest are viewing this topic.

Offline Keeperjoe

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Starting bot..
« 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?

Offline Shelnaria

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Starting bot..
« Reply #1 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.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Starting bot..
« Reply #2 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
BeBot Founder and Fixer Kingpin

Offline Shelnaria

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Starting bot..
« Reply #3 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.

Offline syluhbul

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Starting bot..
« Reply #4 on: December 03, 2005, 01:45:49 am »
has anyone figured this out yet now im having this problem

Offline syluhbul

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Starting bot..
« Reply #5 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!

Offline syluhbul

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Starting bot..
« Reply #6 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

Offline syluhbul

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Starting bot..
« Reply #7 on: December 03, 2005, 02:43:57 am »
database is made but im still getting the error

Offline skeezix

  • BeBot User
  • **
  • Posts: 21
  • Karma: +0/-0
Starting bot..
« Reply #8 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

:)

Offline syluhbul

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Starting bot..
« Reply #9 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?

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Starting bot..
« Reply #10 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
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

 

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