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: Uber Guide *kinda*  (Read 5983 times)

0 Members and 1 Guest are viewing this topic.

Offline Ltes

  • BeBot User
  • **
  • Posts: 34
  • Karma: +0/-0
    • http://www.ltes.cjb.net/
Uber Guide *kinda*
« on: April 30, 2005, 06:03:31 am »
Well then...after finally getting bebot running, i thought i'd just compile all the info that may help someone who is also trying to start using bebot.  

First off, make sure you have everything outlined by craized here

next up, you're going to want to setup MySQL.  Best and fastest way of doing this is, of course, installing it, yawn, ok we're good there...great.  So now you're staring at a command prompt after having entered your password...start by typing (curtusy of craized..again...)
When you're at the command prompt, whish should say something like mysql>
type
create database bebot;
(or whatever the database name you want to use is)
next, type
use bebot;
after that, find out what the path to the items.sql file is, and then type
source PATH TO items.sql;
It should update rows of data for a while. After its done, close the command prompt.

ok so now we're done with that...open up the admin control panel and make a new user...lets say bebot and give it admin privlages over the databse you've specified, and give him a stupid password or something, lets say...banana ;)  

then open the php.ini file in the bot directory, and add the line
extention=php_sockets.dll after the one line thats in there.

Fill in at this point the conf files as outlined here

the mysql conf file should look something like
<?
    $dbase = "bebot";
    $user = "Bebot";
    $pass = "banana";
    $server = "localhost";
?>

if you've followed this exactly so far.  the $server would change if you werent running the mysql on the same machine as the bot, at which point you would just put the comps ip.

ok, wewt we get to start it up.  if you get the error message "'php4' is not recognized as an internal or external command,operable program or batch file" then in start.php in your bebot folder, edit the line:
$php_bin = "php4";
to:
$php_bin = "php";

now finally, you should be ready to roll...i think :P  this might be changed as i find i did something wrong  :roll:


[size=18]Ltes

*RK2*[/size]

Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Uber Guide *kinda*
« Reply #1 on: April 30, 2005, 07:47:26 am »
When you download PHP, you have to put all the files into your bebot directory.

Great job, if I think of anything else I"ll be sure to stick it somewhere.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


Offline craized

  • Contributor
  • *******
  • Posts: 165
  • Karma: +0/-0
    • http://www.craized.net
Uber Guide *kinda*
« Reply #2 on: May 15, 2005, 01:16:39 am »
Something that was forgotten was brought up by Ltes.

When you're in the admin control panel. You have to go to
Startup Variables > Security
And check the box that says Use old passwords.
Trailin [213/14][ADVENTURER][RK2]
Bigburtha [216/17][NT][RK2][FROZEN]
Abeham [199/7][TRADER][RK2][FROZEN]


 

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