collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: cant start bot  (Read 40901 times)

0 Members and 3 Guests are viewing this topic.

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
cant start bot
« on: June 17, 2008, 08:04:52 pm »
Ive installed this bot like 3 times...im getting same error:cant find phpsockets.dll

i have this file..inside the php dll folder..ive copyed it outside to the bot directory nothing helps....same error..any suggestions?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #1 on: June 17, 2008, 08:06:39 pm »
php_sockets.dll and php_mysql.dll go in a subfolder off of the bot called php_extension

This can be customied by the conf file..

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #2 on: June 17, 2008, 08:08:16 pm »
correction, customized by the php.ini file...

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #3 on: June 17, 2008, 08:12:28 pm »
copy of sample php.ini file:
Quote
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 0
error_log = ./log/php_errors.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; BeBot will normally use about 10-13megs with default
; modules. Default php memory limit is 8megs.
; Raise default on hosts that permitt it.
memory_limit = 128M

; This is needed for bots that will be running large regexs.
pcre.backtrack_limit=1000000

; Mainly for windows where additional modules are always required
extension_dir = ./php_extension/


; Below are extra extensions to PHP.
; The bot should not need these by default, but extra scripts may.
; (Such as the whois-update PHP script.)

; Windows: Uncomment if needed
extension=php_mysql.dll
extension=php_sockets.dll

; Linux: Uncomment if needed
;extension=mysql.so

; Named pipes are a way of connecting to the SQL
; server without using TCP/IP.  This may or may
; not be faster.  Requires Windows NT or higher.
; May require additional setup in the SQL server.
;enable-named-pipe

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
Re: cant start bot
« Reply #4 on: June 17, 2008, 08:16:30 pm »
really at a lose here...i checked the php.ini file it contains one file with gibrish(for me at least :p) along stuff there..theres a refrence to phpsocks.dll what should i do?change the line?copy part of it to the startbot.php? help.. :(

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
Re: cant start bot
« Reply #5 on: June 17, 2008, 08:20:29 pm »
i see the INI file as one long line..not as nicely as youve just shown...what means uncomment if needed? remove the  ";" ?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #6 on: June 17, 2008, 08:21:06 pm »
well that is my php.ini file for my bot...

my directory structure for the bot is
<<root bot folder>>
/conf
/core
/custom
/extra
/log
/main
/modules
/php_extension
/sources
/themes
/txt


inside the root, I Thave the php.exe php.ini php5ts.dll, libmysql.dll

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #7 on: June 17, 2008, 08:21:31 pm »
open the file in wordpad, not notepad...it will keep the formatting

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
Re: cant start bot
« Reply #8 on: June 17, 2008, 08:26:44 pm »
lets see im missing the following folders:

/main
/php_extensions

had an extension folder...changed its name to php_extensions...tryed to start the bot..same results

cant find phpsockets.dll

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #9 on: June 17, 2008, 08:31:14 pm »
ok, did you put the phpsockets.dll file in the php_extensions folder?

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
Re: cant start bot
« Reply #10 on: June 17, 2008, 08:31:29 pm »
freaky...i added those 2 lines at the bottom of the ini files to the top where the other commands were...not i get this cool grey bar telling me it cant find phpsockets.dll ..well at least the error got better..lol  :o

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
Re: cant start bot
« Reply #11 on: June 17, 2008, 08:33:26 pm »
no need to put anything anywhere...the extension folder named now php_extensions already had in it this file...its a bunce of dlls..

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #12 on: June 17, 2008, 08:35:35 pm »
should be two
php_sockets.dll  (although it sounds like it is phpsockets.dll in your case) and
php_mysql.dll

Offline darcek

  • BeBot User
  • **
  • Posts: 29
  • Karma: +0/-0
  • Dedicated User
Re: cant start bot
« Reply #13 on: June 17, 2008, 08:37:49 pm »
rofl....doh
seems i named the folder as php_extensions insted of extention...now i got a new error woot!

cant connect to mysql server on LocalHost (10061)
hmm
should the sql installed in same dir as the bot also?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: cant start bot
« Reply #14 on: June 17, 2008, 08:39:35 pm »
no, but you do need to make sure you have sql up and running...make sure you follow through all the instructions here: http://bebot.link/wiki/installation

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 199
  • 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