Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: C0rk on October 28, 2012, 03:01:20 PM

Title: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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!
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam 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
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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?
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam on October 28, 2012, 04:11:39 PM
Should be an anope.db somewhere, services/data probably
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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).
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam 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.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam 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
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam on October 28, 2012, 05:00:26 PM
yes
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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?
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam on October 28, 2012, 05:18:47 PM
Thats the default config for new channels. see /cs levels
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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?
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam on October 28, 2012, 06:22:41 PM
/bs set dontkicksops off
/bs set dontkickvoices off
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk on October 28, 2012, 06:32:18 PM
Already set, still not working.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam on October 28, 2012, 06:34:37 PM
Paste the output of /cs levels #chan list and /bs info #chan
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk on October 28, 2012, 06:39:17 PM
http://pastebin.com/eW98FgQa
http://pastebin.com/aJapgWQv
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk on November 03, 2012, 05:10:32 PM
Quick bump :/ Still having that issue
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam 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
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk on November 03, 2012, 07:35:48 PM
I am currently using 1.9.7.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam 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?
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk 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.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam 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.
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk on November 03, 2012, 08:15:02 PM
So is there anything I can do right now to fix it?
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: Adam on November 03, 2012, 08:29:35 PM
Pastebin the access list for the channel perhaps? Also try setting the rank in the privilege{} block to something large like 999
Title: Re: A few quick questions regarding Anope 1.9.5
Post by: C0rk on November 03, 2012, 08:44:29 PM
- ChanServ: Access list for #default:
- ChanServ: Number  Level  Mask
- ChanServ: 1       10000  C0rk
- ChanServ: 2       5      ex
- ChanServ: 3       4      Park
- ChanServ: 4       5      koror

Also setting the rank didn't work.