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: Second Bot - error listed  (Read 3756 times)

0 Members and 1 Guest are viewing this topic.

Offline Anastasia

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Second Bot - error listed
« on: September 13, 2010, 04:00:02 am »
Hi guys...
complete noob to all this i got my first bot to work after awhile of searching etc...

Im on another server but still have the other bot working but would like to get a second bot running for new guild on new server i for the life of me cant figure out how to do this...

if there is a post about this ive not been able to find it...

any guildance would be awesome...

my main prob is can i copy my other bot folder etc and where can i place it?
what do i need to change etc etc

thanks for reading this

ana

This is what error im getting....

_______________________________________________________________________________

Warning: mysql_connect(): Access denied for user '*********'@'localhost' (using
password: YES) in C:\Users\*********\bot - aoc\bebot-hyborian - CIMMERIA - Cop
y\Sources\MySQL.php on line 129
MySQL ERROR(# 1) on query: Cannot connect to the database server at 127.0.0.1 as
 user ********!
Access denied for user '*********'@'localhost' (using password: YES)

________________________________________________________________________________

Line 129 = $conn = mysql_connect($this -> SERVER, $this -> USER, $this -> PASS);
« Last Edit: September 14, 2010, 07:31:18 am by Anastasia »

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: Second Bot - error listed
« Reply #1 on: September 14, 2010, 10:41:47 am »
when you first setup the bot you would of created a database.

now you need to create a 2nd one (afaik) for the 2nd bot.

im sure you can run 2 bots from 1 db, but not sure on stability :S

Offline Drizzurdeen

  • BeBot Apprentice
  • ***
  • Posts: 193
  • Karma: +0/-0
    • Obsidian-Cult
Re: Second Bot - error listed
« Reply #2 on: September 14, 2010, 11:47:54 am »
u can use several bots on one db ... but each bot will creat some own tables in the db ... and some table would be used by the bot together (omg my english) ;)

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: Second Bot - error listed
« Reply #3 on: October 13, 2010, 04:20:01 am »
When using multiple bots sharing the same database you need to start batch with the name of the bot as a parameter; so each bot would have its own start: startbot.bat <botname>

Offline TBK

  • BeBot User
  • **
  • Posts: 26
  • Karma: +0/-0
Re: Second Bot - error listed
« Reply #4 on: November 21, 2010, 02:47:24 pm »
When using multiple bots sharing the same database you need to start batch with the name of the bot as a parameter; so each bot would have its own start: startbot.bat <botname>

What does the Bot.conf file look like to support several bots?

 

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