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: So confused....  (Read 10943 times)

0 Members and 1 Guest are viewing this topic.

Offline Greel

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
So confused....
« on: December 31, 2004, 10:55:26 pm »
I'm confused.  I went to install bebot.  Following the directions was easy until I got to starting the bot.  This is what I did.
1)Went to start bot, a whole lot of nothing happened.
2)Downloaded and installed the updated version of php.
3)Made sure I installed it into the directory where bebot is installed.
4)followed your directions and got the following message, again, and again:
Php4 is not recognized as an internal or external command, operable program, or batch file.

I would definitely like to check out the raidbot, but Im having a devil of a time getting it going.
--Greel

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
So confused....
« Reply #1 on: January 01, 2005, 01:07:18 pm »
Quote
- start.php

Only two changes need to be made here. Set $php_bin to the binary php file. If you start the bot from the same directory as the php binary ("php.exe" under windows) you can just enter the name. Otherwise you will have to enter the name and path of where the binary is located.
Set $main_php to the location of the "main.php" file. Once again you can just enter "main.php" if you're starting the bot from the directory its in.


Open the start.php in any text editor and change this line:
$php_bin = "php4";

To this line:
$php_bin = "php.exe";

It should then work with no problems. ;)

Offline Greel

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
So confused....
« Reply #2 on: January 01, 2005, 03:55:39 pm »
Next problem :shock:

<b>Notice</b>:  Use of undefined constant chat - assumed 'chat' in <b>C:\Documen
ts and Settings\JJ\My Documents\bebot_v0200\bebot\conf\Bot.conf</b> on line <b>3
3</b><br />
AOChat class needs the Sockets extension to work.
Content-type: text/html
X-Powered-By: PHP/4.3.10

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
So confused....
« Reply #3 on: January 01, 2005, 07:54:23 pm »
Changes in the Bot.conf:
$log = chat;

Change that to
$log = "chat";

Also make sure you have the sockits extension installed.
If you have the dll (assuming you're using windows) there but its still not working check your php.ini. You will most likely see a line like this:
;extension=php_sockets.dll

Which you should change to this:
extension=php_sockets.dll

Offline Greel

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
So confused....
« Reply #4 on: January 01, 2005, 11:55:31 pm »
I made the changes you listed above.  

Next error:
AOChat class needs the Sockets extension to work.
Content-type: text/html
X-Powered-By: PHP/4.3.10

Offline Blondengy

  • BeBot Creator and Founder
  • BeBot Hero
  • ******
  • Posts: 51
  • Karma: +0/-0
So confused....
« Reply #5 on: January 03, 2005, 11:46:11 pm »
Quote from: "Greel"
AOChat class needs the Sockets extension to work.
This error means that you didn't get the sockets extension to work yet. :(
I've added a download to all the php-files you will need to run the bot. You can get them here. Just unzip those into your bebot directory and it should work fine.

Quote from: "Greel"
Content-type: text/html
X-Powered-By: PHP/4.3.10
Just means you're using the standard php not the cli version. That is why it sends a html-header. Appart from this message and the way php-error messages are given out (I sure hope you don't get any of those ;)) there's no real difference between the normal and the cli version of php - both will work just fine. :)

 

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