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

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

Author Topic: Almost new to bebot needs help  (Read 7655 times)

0 Members and 1 Guest are viewing this topic.

Offline Faelwen

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #15 on: April 27, 2009, 03:58:31 pm »
Thanks man, but about the GRANT ALL.. do i have to change the databasename to my databasename such as Amundsen or whatever?

Never done this, maybe thats the problem.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Almost new to bebot needs help
« Reply #16 on: April 27, 2009, 04:05:28 pm »
yes it should be:

GRANT ALL on databasename.* TO username@localhost;

Where databasename = your database and username= your username

leave the ".*" attached and also the "@localhost"

do not forget to end each line with the semi-colon otherwise the command will fail.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Almost new to bebot needs help
« Reply #17 on: April 27, 2009, 04:14:04 pm »
1. Type CREATE DATABASE <<databasename>>; (replace <<databasename>> with the name of the database you wish to create)
2. Press Enter/Return.
3. CREATE USER <<username>>@localhost; (Change <<username>> to the username you want, keep @localhost)
4. Press Enter/Return.
5. SET PASSWORD FOR <<username>>@localhost = PASSWORD('<<newpassword>>'); (Change <<username>> and <<newpassword>> to your selected username and password, again keep @localhost)
6. Press Enter/Return.
7. Type GRANT ALL on <<databasename>>.* TO <<username>>@localhost; (Again, change <<username>>, keep @localhost)
8. Press Enter/Return.
9. Type quit then Enter/Return to exit the MySQL Monitor.

anything that has <<>> needs to be changed to whatever you have set up. Remeber to keep the rest of the punctuation marks, especially the semi-colons at the end of each line. Mysql reads the semi-colon as end-of-command markers.

basically, if I was filling this out:

username = clashbot
password = dbpass
database = bebot

it would look like this:

CREATE DATABASE bebot;
CREATE USER clashbot@localhost;
SET PASSWORD FOR clashbot@localhost = PASSWORD('dbpass');
GRANT ALL on bebot.* TO clashbot@localhost;
QUIT

Then you would modify the mysql.conf file with the same information

    $dbase = "bebot";
    $user = "clashbot";
    $pass = "dbpass";
    $server = "localhost";

if this is done, then you should get connected

Offline Faelwen

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #18 on: April 27, 2009, 04:23:49 pm »
Warning: require(whois-update.conf): failed to open stream: No such file or dire
ctory in C:\Users\Steven\Desktop\bebot-hyborian\core\whois-update.php on line 37


Fatal error: require(): Failed opening required 'whois-update.conf' (include_pat
h='.;C:\php5\pear') in C:\Users\Steven\Desktop\bebot-hyborian\core\whois-update.
php on line 37

Now i got this error... could someone just post me a SS (Screenshot) Link just so i get this clear as i had to "install" the new whois-update.
« Last Edit: April 27, 2009, 04:32:46 pm by Faelwen »

Offline Faelwen

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #19 on: April 27, 2009, 04:51:02 pm »
sry was deep lag on my comp, but still needs my answer ofc :P

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #20 on: April 27, 2009, 05:12:53 pm »
Uhm the whois-update.php delivered with BeBot is for Anarchy Online only, it cannot work with Age of Conan as there are no XML files for the characters supplied by FC.

Besides that, whois-update.php is no BeBot module but a stand-alone tool. It must not be put into any of the bebot modules directories (this includes main, core, modules, core/aoc, modules/aoc as well as all core and module directories defined in the config file)!

Offline Faelwen

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #21 on: April 27, 2009, 05:18:00 pm »
ah dam, lol :P

Well i copy/pasted the Whois.php you posted in the "home" section. but i got this error..

Fatal error: Cannot access private property Bot::$buddy_status in C:\Users\Steve
n\Desktop\bebot-hyborian\core\whois.php on line 124

btw i check on it a little more and found this.

Tfwbot [ERROR]  [access_control]        Undefined function create(all, maintenan
ce, OWNER)!
« Last Edit: April 27, 2009, 05:21:27 pm by Faelwen »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #22 on: April 27, 2009, 07:46:26 pm »
Are you using bebot 0.6?

Offline Faelwen

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Almost new to bebot needs help
« Reply #23 on: April 27, 2009, 08:40:23 pm »
Yes i'm using bebot 0.6

 

* Recent Posts
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 ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 233
  • 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