Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2   Go Down

Author Topic: A few quick questions regarding Anope 1.9.5  (Read 12530 times)

0 Members and 2 Guests are viewing this topic.

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
A few quick questions regarding Anope 1.9.5
« on: October 28, 2012, 03:01:20 PM »

Hello,

about a year ago I installed Anope 1.9.5 and I'd like to update it to 1.9.7 without losing my settings. What files do I have to backup, in order to not lose all my settings?
Also, when saying a word on the badwords list, I'd like everyone except the founder to get kicked. How is this possible?

Thanks in advance!
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #1 on: October 28, 2012, 03:48:56 PM »

Always back up the entire services directory. Mostly the .db files.

You will need to make new configuration files. When reading them look at the database section for db_flatfile and how to use it to convert your databases.

Change the NOKICK level to founder only
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #2 on: October 28, 2012, 04:09:52 PM »

Thanks for your quick response.
So I backed up my current installation of Anope and installed the newest version, what files exactly do I have to copy so that I have my old settings back?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #3 on: October 28, 2012, 04:11:39 PM »

Should be an anope.db somewhere, services/data probably
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #4 on: October 28, 2012, 04:33:10 PM »

So I copied the anope.db file from my backup to the new services in services/data and for some reason it didn't work (as when I tried to identify @Nickserv it told me my nick wasn't registered).
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #5 on: October 28, 2012, 04:34:53 PM »

You will need to make new configuration files. When reading them look at the database section for db_flatfile and how to use it to convert your databases.
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #6 on: October 28, 2012, 04:46:46 PM »

I'm not sure what exactly I'm doing wrong.
I uncommented
Code: [Select]
module { name = "db_plain" } and changed the database value under db_flatfile to something else, started Anope, then stopped it and commented db_plain. Still no success.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #7 on: October 28, 2012, 04:48:23 PM »

The database value should be the name of your database. After it starts you should be able to /ns info and see yourself registered
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #8 on: October 28, 2012, 04:59:36 PM »

So I have to set the database value under db_plain to my old database and under db_flatfile to something else?

Sorry if I'm annoying you :p
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #9 on: October 28, 2012, 05:00:26 PM »

yes
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #10 on: October 28, 2012, 05:16:19 PM »

Well, it didn't work a few minutes ago but now it does. Thanks a bunch.
Now just one final question:
1.
Code: [Select]
privilege
{
        name = "NOKICK"
        desc = "Prevents users being kicked by Services"
        rank = 20
        level = "founder"
        flag = "N"
}
That's my configuration of nokick in my Chanserv file, why are still only normal users kicked?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #11 on: October 28, 2012, 05:18:47 PM »

Thats the default config for new channels. see /cs levels
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #12 on: October 28, 2012, 05:21:26 PM »

Oh, I didn't know that there are custom settings for every channel.
Thanks for all of your help :D.
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #13 on: October 28, 2012, 05:44:57 PM »

And I'm back,

when setting the nokick level via /cs levels to founder, voices, hops, aops and sops are still not kicked. Any ideas?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #14 on: October 28, 2012, 06:22:41 PM »

/bs set dontkicksops off
/bs set dontkickvoices off
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #15 on: October 28, 2012, 06:32:18 PM »

Already set, still not working.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #16 on: October 28, 2012, 06:34:37 PM »

Paste the output of /cs levels #chan list and /bs info #chan
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #18 on: November 03, 2012, 05:10:32 PM »

Quick bump :/ Still having that issue
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #19 on: November 03, 2012, 06:54:07 PM »

I can't really explain that, try 1.9.7? I would be more interested if it was reproducible there
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #20 on: November 03, 2012, 07:35:48 PM »

I am currently using 1.9.7.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #21 on: November 03, 2012, 07:41:41 PM »

The only possible explanations are dontkickops/voices is enabled, or they have access to the NOKICK privilege. However you show that these are all set properly so... try removing the privilege{} for NOKICK in the config and restart and see if that changes anything?
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #22 on: November 03, 2012, 08:02:01 PM »

It does work fine now, but I (the founder) still am kicked, which I'd like to avoid.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: A few quick questions regarding Anope 1.9.5
« Reply #23 on: November 03, 2012, 08:04:15 PM »

Yes without a nokick privilege at all then anyone would be kicked. More interestingly this shows that despite your nokick level being at founder only the other users somehow are matching it.
Logged

C0rk

  • Anope User
  • Offline Offline
  • Posts: 15
Re: A few quick questions regarding Anope 1.9.5
« Reply #24 on: November 03, 2012, 08:15:02 PM »

So is there anything I can do right now to fix it?
Logged
Pages: [1] 2   Go Up