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: two bots on same server  (Read 2774 times)

0 Members and 1 Guest are viewing this topic.

Offline polaris

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
two bots on same server
« on: January 09, 2011, 09:46:36 pm »
Hi guys, just started my bot on linux vps for my guild and almost everything working fine atm, one of my friends asked me if I can host bot for his small guild, and here is my question, How to create second bot on same server? Is that possible? Other thing I have problem with !items module, not sure what to do, there is no longer database to download, link is not active, or i need something  else?
Thanks for reply.



Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: two bots on same server
« Reply #1 on: January 10, 2011, 09:34:41 am »
What I do is create a new database in mysql and have the new bot point to that database. I also make a full directory copy of the bot files and start the new bot from that new copy.

Let me know if you need further details, don't have access to my files from here but can give some more detailed info this evening.
-Yite [Crom]

Offline polaris

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: two bots on same server
« Reply #2 on: January 10, 2011, 07:33:26 pm »
Thanks for reply.

But u running two bots simultaneously on same server? I mean game server - Crom for example.
and are you using linux machine as a bot server?

Offline Huesos

  • BeBot User
  • **
  • Posts: 45
  • Karma: +0/-0
Re: two bots on same server
« Reply #3 on: January 10, 2011, 09:15:34 pm »
pm getrix in forums here
as well for the items module to work you will need a passkey from him for the items database(with bot name and server) to then do !settings items , and set up there wil tell you how to set up the passkey. well you may have to post to getrix in his items thread then pm for a passkey.

And like Yite said, set up on the linux server a new mysql database and user and different directory of bot files. Then start the bot like you have done yours.
I recently done it for a friend. I use putty and winscp. to access the server.
« Last Edit: January 10, 2011, 09:23:25 pm by Huesos »

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: two bots on same server
« Reply #4 on: January 11, 2011, 12:12:02 am »
I can also confirm that you can run multiple bots on one single server.

I am currently hosting 17 bots for different people



Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: two bots on same server
« Reply #5 on: January 11, 2011, 03:37:14 am »
I also run multiple bots on the same server... I use the same modules, just a different configuration file for each bot. saves on space and file maintenance.

My start script uses the following convention:

cd /home/bot/Orgbots; /usr/bin/php -f /home/bot/Orgbots/StartBot.php BotName 2>&1 > /dev/null &

In your bot directory/conf you should have something like:
Bot.conf.TEMPLATE
BotName.Bot.conf
BotName.Modules.ini
BotName.MySQL.conf
MySQL.conf.TEMPLATE
ServerList.php

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: two bots on same server
« Reply #6 on: January 11, 2011, 09:09:12 am »
I run different directories as some are guild bots (with their own ginfo), some are raidbots and some are gatherbots.

Running them all on a linux system each in their own screen.
-Yite [Crom]

Offline polaris

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: two bots on same server
« Reply #7 on: January 11, 2011, 01:23:23 pm »
Ok, Thanks for help guys, bot's seems to be working fine .

ATM I am using two separate directories, one for each bot, will do some changes later when have some more time. Thanks again.

 

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