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

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

Author Topic: Installing BeBot (Windows).  (Read 10551 times)

0 Members and 1 Guest are viewing this topic.

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Installing BeBot (Windows).
« Reply #15 on: November 24, 2006, 05:31:18 pm »
You aren't using the proper syntax for setting the MySQL password.

SET PASSWORD FOR Nova@localhost = PASSWORD('*******');

The PASSWORD() function will create the 40 character hex whatever for you based on the string you provide the password function. Again, review the instructions carefully to find what you missed as the proper command for setting your MySQL password was included.

Offline Nova

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Installing BeBot (Windows).
« Reply #16 on: November 25, 2006, 01:32:48 am »
Doh! It as the fact that the guide went on to a
second line that threw me off.
Its working fine now and after updating the roster (Dang i didn't know we had so many members!) its taking !on-line commands fine.
However its ignoring the !help commands... Is this because there is no !help command or is it buggy?
Also is there a list of commands somewhere?

Offline taconis

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
Re: Installing BeBot (Windows).
« Reply #17 on: December 19, 2006, 08:33:01 pm »
Win XP SP2, MySQL Server 5, running, PHP 5.2.0 (latest as of today), Apache 2.2, BeBot 2.10,

I too am getting the following when trying to call the bot up...


Warning: dl(): sockets: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in C:\php\main.php on line 59
Loading php_sockets.dll failed. Sockets extention required to run this bot

Installed all extensions in my c:\php folder (where I have BeBot and PHP 5), modified the files, etc.  Sticks in a loop until I CTRL+C.  Apache has the stuff loaded, PHP 5 has Apache 2.2 modules loaded with the appropriate apache2blahblah.dll, etc.  What's causing the safty issue during compiling?
« Last Edit: December 19, 2006, 08:40:23 pm by taconis »

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Installing BeBot (Windows).
« Reply #18 on: December 19, 2006, 09:05:39 pm »
Your sockets.dll was compiled against a different major branch than the one you have installed.
Get a hold of sockets.dll for the php version you have installed, or just use the BeBot php bundle.

If you have the BeBot php Bundle aswell as having php installed on the system, make sure you edit the start scripts start.php and StartBot.bat so they point to the correct php.exe.
BeBot Founder and Fixer Kingpin

Offline taconis

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
Re: Installing BeBot (Windows).
« Reply #19 on: December 19, 2006, 09:55:58 pm »
Khalem,

I did that.  Both PHP 5.2.0 and BeBot 2.10 are in the directory c:\php.  I installed the BeBot PHP package and the rest of the files properly.  Apache 2.2 is fully operational, so is MySQL5 with me having it open and pointing to the bot's database.   c:\php\Startbot.bat actually calls startbot.php which was not in the actual BeBot packages for v2.10.  Both start.php and startbot.bat are calling the php.exe within the c:\php\ folder.  Main.php, bot.php, and conf.php all point to the proper directory of c:\php as required.

To call the bot manually, I used CMD and went to the c:\php directory and then called php.exe start.php.  I still get the compiler safety message when compiling php_sockets.dll.  I ensured that the php_sockets.dll from the php_extension folder is the one I am using in every single directory.  I also checked PATH to ensure pathing points to the c:\php folder.  php_sockets.dll is in the following directories:  c:\php, c:\php\dlls, c:\php\php_extension, c:\windows, c:\windows\system, c:\windows\system32, and just to make sure, c:\windows\system32\dllcache.

The only thing I see different is BeBot's PHP coding is to PHP 5.1.5 and I am using 5.2.0.  When using BeBot's php.exe (5.1.5) it totally errors out and gives me the lovely "Report error" window.  When using PHP's 5.2.0 php.exe it gives me the compiling error on php_sockets.dll.   If you like, I can de-install PHP 5.2.0 and just install the BeBot PHP bundle and give that a try.  I just can't  understand the compiling error if it's the same file in all those places.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Installing BeBot (Windows).
« Reply #20 on: December 19, 2006, 11:37:56 pm »
Actually, what i'd reccomend at this point is simply wiping everything related to PHP and reinstalling only the stock php 5.2

The problem arise when you mix various major versions like 5.1 and 5.2

I'll look into getting the bundle updated and tested with BeBot asap.
BeBot Founder and Fixer Kingpin

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 741
  • 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