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: Merging !online from 2 orgs in a relay  (Read 26774 times)

0 Members and 2 Guests are viewing this topic.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Merging !online from 2 orgs in a relay
« Reply #15 on: July 27, 2008, 10:38:32 am »
yes, all the bots use the same db. there are a few tables that do not have a bot prefix: online, alts, etc. By having only a single db, this info is shared by all the bots. I am currently running 10 from a single instance of the db, and other than a few little nuances that also plague the ones that only run one instance, have had no problems.

If you are running multiple bots it would be wise to check out:http://bebot.link/wiki/multiple_bots as this will explain things a little better. Basically you have on bot.conf per bot, and only one mysql.conf. This does make it easier, as if you update a module, you only have to replace one file, instead of multiple file scattered throughout your bots.

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #16 on: July 27, 2008, 10:43:38 am »
ah, nice thing.. thx :)

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #17 on: July 27, 2008, 11:10:30 am »
worked very easy... thx :)

is there even a way to merge !city command?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: Merging !online from 2 orgs in a relay
« Reply #18 on: July 27, 2008, 01:20:13 pm »
not really, as city is (or should) be unique to org

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Merging !online from 2 orgs in a relay
« Reply #19 on: July 27, 2008, 01:43:43 pm »
yea, but the city info should be saved in same db, or?
so when u put in !city the Bot should just poop out both cities cloak status

 

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