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?
September 08, 2008, 01:17:28 AM

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 1131 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
****
Offline Offline

Gender: Male
Posts: 153



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
****
Offline Offline

Gender: Male
Posts: 153



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

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

Gender: Male
Posts: 153



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
****
Offline Offline

Gender: Male
Posts: 153



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
****
Offline Offline

Gender: Male
Posts: 153



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
****
Offline Offline

Gender: Male
Posts: 153



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
****
Offline Offline

Gender: Male
Posts: 153



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
****
Offline Offline

Gender: Male
Posts: 153



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
BeBot v0.5.3 released (de...
by Temar
[Today at 12:32:25 AM]

Help with online info in ...
by Barlyman
[September 07, 2008, 07:56:24 PM]

Security
by Alreadythere
[September 06, 2008, 10:02:42 AM]

Probs with relay from gue...
by Temar
[September 06, 2008, 09:03:06 AM]

Raid spam in guild chat
by Temar
[September 06, 2008, 09:01:18 AM]

Org Relaying
by Nytridr
[September 06, 2008, 01:34:35 AM]

Link 2 Guilds via 2 Bots?
by Temar
[September 05, 2008, 04:22:40 PM]

SVN download
by clashbot
[September 05, 2008, 05:12:59 AM]

TWC
by Temar
[September 05, 2008, 12:27:23 AM]

How to find the guild ID?...
by Irinir
[September 03, 2008, 02:58:54 PM]
Stats
Members
Total Members: 965
Latest: morisey
Stats
Total Posts: 10416
Total Topics: 1413
Online Today: 10
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 3
Guests: 28
Total: 31
Temar
Wolfbiter
kaagee

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