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: double bot in org...  (Read 9304 times)

0 Members and 1 Guest are viewing this topic.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
double bot in org...
« on: January 27, 2008, 05:56:20 pm »
I am creating a secondary bot for an org, as a backup(the primary bot has some database problems) but need to get bebot to ignore all guld commands but still be available for guest channel and tells. Is there an easy way to do this? Trying to prevent spamming by the new bot. They are not on the same machine, consider the new bot to be completely stand alone...

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: double bot in org...
« Reply #1 on: January 27, 2008, 06:00:41 pm »
Simply setting $guildbot to false in your Bot.conf should work.

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: double bot in org...
« Reply #2 on: January 27, 2008, 06:02:28 pm »
will that still maintain the roster and stuff?

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: double bot in org...
« Reply #3 on: January 27, 2008, 06:04:39 pm »
didn't work, think I need to change the command control chgaracter too..

Offline clashbot

  • BeBot Expert
  • ****
  • Posts: 295
  • Karma: +0/-0
    • Ascension's Home
Re: double bot in org...
« Reply #4 on: January 27, 2008, 06:16:11 pm »
ok that seemed to work, it no longer doubles the onlines or anything, and changing the command character to the "\." eliminated commands from getting doubled up

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: double bot in org...
« Reply #5 on: January 27, 2008, 06:19:15 pm »
Uhm yeah, sorry. To run as backup for an org bot you have to run with guildbot set to true - otherwise several functions won't work.

As there is no way to disable a specific channel of the bot yet the only thing you can do to avoid double spam output is to use a different command prefix, yes.

I've put disabling of specific channels in the bot on my todo list though, should be in the next released version.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: double bot in org...
« Reply #6 on: January 27, 2008, 07:30:01 pm »
run this query in mysql
UPDATE botname_access_control SET minlevel = 'DISABLED' WHERE channel = 'gc'

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: double bot in org...
« Reply #7 on: January 27, 2008, 08:36:02 pm »
That disables all commands though, you'll have use !commands gc to enable them one by one.

Just commited command locking for gc and pgmsg to trunk, it will make the next release.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: double bot in org...
« Reply #8 on: January 27, 2008, 08:42:16 pm »
well if if wants to restore gc after the best way would be to delete all gc entries then let bot set them using there defaults

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: double bot in org...
« Reply #9 on: January 27, 2008, 08:54:37 pm »
Any custom settings are still lost when changing the DB directly though.

PS: If you do change anything in the database you should restart the bot, otherwise it may take up to one hour till the cache is refreshed.

 

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