L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2008, 04:02:20 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: cant start bot
Pages: [1] 2 3 4   Go Down
« previous next »
Print
Author Topic: cant start bot  (Read 1731 times)
0 Members and 1 Guest are viewing this topic.
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


cant start bot
« on: June 17, 2008, 01: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?
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #1 on: June 17, 2008, 01: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..
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #2 on: June 17, 2008, 01:08:16 PM »

correction, customized by the php.ini file...
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #3 on: June 17, 2008, 01: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
Logged
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


Re: cant start bot
« Reply #4 on: June 17, 2008, 01: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.. Sad
Logged
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


Re: cant start bot
« Reply #5 on: June 17, 2008, 01: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  ";" ?
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #6 on: June 17, 2008, 01: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
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #7 on: June 17, 2008, 01:21:31 PM »

open the file in wordpad, not notepad...it will keep the formatting
Logged
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


Re: cant start bot
« Reply #8 on: June 17, 2008, 01: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
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #9 on: June 17, 2008, 01:31:14 PM »

ok, did you put the phpsockets.dll file in the php_extensions folder?
Logged
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


Re: cant start bot
« Reply #10 on: June 17, 2008, 01: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  Shocked
Logged
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


Re: cant start bot
« Reply #11 on: June 17, 2008, 01: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..
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #12 on: June 17, 2008, 01:35:35 PM »

should be two
php_sockets.dll  (although it sounds like it is phpsockets.dll in your case) and
php_mysql.dll
Logged
darcek
Rookie
**
Offline Offline

Gender: Male
Posts: 29


Dedicated User


Re: cant start bot
« Reply #13 on: June 17, 2008, 01: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?
Logged
clashbot
Experienced
****
Online Online

Gender: Male
Posts: 193



Re: cant start bot
« Reply #14 on: June 17, 2008, 01: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.shadow-realm.org/wiki/installation
Logged
Pages: [1] 2 3 4   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > BeBot 0.4 support > Topic: cant start bot
« previous next »
 
Jump to:  

Recent
online not working after ...
by Alreadythere
[Today at 03:53:28 PM]

Bot not working after tod...
by Alreadythere
[Today at 01:04:41 PM]

Tokens Calulator
by Temar
[December 03, 2008, 01:09:03 PM]

Bebot does not work with ...
by IKShadow
[December 03, 2008, 08:54:04 AM]

!items database
by Temar
[December 03, 2008, 07:27:59 AM]

massive_pvp_time_table 1
by Sudoka
[December 03, 2008, 06:49:07 AM]

Log playtime from buddys ...
by IKShadow
[December 02, 2008, 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]
Stats
Members
Total Members: 1246
Latest: Vingus
Stats
Total Posts: 11192
Total Topics: 1508
Online Today: 21
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 6
Guests: 16
Total: 22
vikor
Glarawyn
Snarfblatt
Vingus
clashbot

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.308 seconds with 29 queries. (Pretty URLs adds 0.04s, 4q)
Loading...