Raised This Month: $32 Target: $400
 8% 

Immunity not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
re-verse
Junior Member
Join Date: Feb 2008
Old 02-26-2008 , 18:47   Immunity not working
Reply With Quote #1

I'm having a problem with immunity not working.

Here is a sample from my admins.cfg and admin_groups.cfg

admins.cfg - a snippet
Admins
{
"re-Verse"
{
"auth" "steam"
"identity" "STEAM_#####3"
"group" "owners"
"immunity" "99"
}
"Dumb"
{
"auth" "steam"
"identity" "STEAM_######3"
"group" "owners"
"immunity" "95"
}
"Sweet Lew"
{
"auth" "steam"
"identity" "STEAM_###########"
"group" "shack"
}

"Maddog Delphi"
{
"auth" "steam"
"identity" "STEAM_#####"
"group" "maddog"
"immunity" "1"


and now a bit from groups

"maddog"
{
"flags" "bcfghijklm"
"immunity" "20" //low immunity value
}

}


Seems any mention of imminuty, in admingroups or admin is ignored, and anyone from any immunity level can slay/kick anyone from any other immunity level.

Any ideas? I'd love some help.
re-verse is offline
BAILOPAN
Join Date: Jan 2004
Old 02-27-2008 , 07:17   Re: Immunity not working
Reply With Quote #2

Can you give an example of a command and the two players it involves such that immunity breaks?
__________________
egg
BAILOPAN is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-02-2008 , 18:28   Re: Immunity not working
Reply With Quote #3

Im having same sort of problems.

Users are able to slay/beacon me. (seems to me the fun commands?) My immunity is set to 99 in the admins_simple.ini and their immunity levels are set to 2 in the admins_simple.ini.

I am on build 1904
__________________

BigBaller is offline
BAILOPAN
Join Date: Jan 2004
Old 03-03-2008 , 16:45   Re: Immunity not working
Reply With Quote #4

Can you attach your file please?
__________________
egg
BAILOPAN is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-05-2008 , 11:40   Re: Immunity not working
Reply With Quote #5

Here are all my files pertaining to admin (that have changes from the base install)
Attached Files
File Type: cfg admin_groups.cfg (1.1 KB, 106 views)
File Type: ini admins_simple.ini (2.5 KB, 100 views)
__________________

BigBaller is offline
DaxMan
Junior Member
Join Date: Oct 2007
Old 03-08-2008 , 04:47   Re: Immunity not working
Reply With Quote #6

Hi,
I have the same problem with immunity. It doesnt work.
Attaced you will find my cfg files.
Can somebody help me ?

/DaxMan
Attached Files
File Type: cfg admin_groups.cfg (292 Bytes, 112 views)
File Type: cfg admins.cfg (1.8 KB, 111 views)
File Type: ini admins_simple.ini (2.6 KB, 114 views)
DaxMan is offline
BAILOPAN
Join Date: Jan 2004
Old 03-10-2008 , 21:45   Re: Immunity not working
Reply With Quote #7

BigBaller: Please file a bug report and attach the same files. I don't see anything immediately wrong, it's probably better if this issue moves to our TODO list so it doesn't get lost in the forums.
__________________
egg
BAILOPAN is offline
megatokyo
New Member
Join Date: Jul 2008
Old 07-13-2008 , 21:59   Re: Immunity not working
Reply With Quote #8

Having the same problem... could just be my stupidity though

Code:
/**
 * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
 *
 * Each admin should have its own "Admin" section, followed by a name.
 * The name does not have to be unique.
 *
 * Available properties: (Anything else is filtered as custom)
 *      "auth"          - REQUIRED - Auth method to use.  Built-in methods are:
 *                        "steam"  - Steam based authentication
 *                        "name"   - Name based authentication
 *                        "ip"    - IP based authentication
 *                        Anything else is treated as custom.
 *                     Note: Only one auth method is allowed per entry.
 *
 *      "identity"      - REQUIRED - Identification string, for example, a steamid or name.
 *                     Note: Only one identity is allowed per entry.
 *
 *      "password"      - Optional password to require.
 *      "group"         - Adds one group to the user's group table.
 *      "flags"         - Adds one or more flags to the user's permissions.
 *        "immunity"        - Sets the user's immunity level (0 = no immunity).
 *                          Immunity can be any value.  Admins with higher 
 *                          values cannot be targetted.  See sm_immunity_mode 
 *                          to tweak the rules.  Default value is 0.
 *
 * Example:
    "BAILOPAN"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:0:194ya zfg894197"
        "flags"            "abcdef"
    }
 *
 */
Admins
{
    "Anubis1055"
    {
        "auth"            "steam"
        "identity"        "STEAM_xxxxxxxx"
        "flags"            "z"
        "immunity"        "0"
    }
    "Megatokyo"
    {
        "auth"            "steam"
        "identity"        "STEAM_xxxxxxxx"
        "flags"            "z"
        "immunity"        "99"
    }
}
megatokyo is offline
necrosect
Senior Member
Join Date: Jun 2008
Old 07-14-2008 , 23:17   Re: Immunity not working
Reply With Quote #9

Bailopan (and BigBaller):
I might be wrong but hasn't he assigned to the "z" tag to both groups which would allow either to target the other regardless of immunity?

And the same goes for megatokyo you've assigned the "z" (read: root) tag to both admins meaning irrelevant of immunity they can target each other.

To get around this i would give for megatokyo's:
Anubis: "flags" "abcdefghijklmn"
remembering to include and custom one's you have defined (if any). This will give him complete access without overriding the immunity level.
necrosect is offline
necrosect
Senior Member
Join Date: Jun 2008
Old 07-14-2008 , 23:20   Re: Immunity not working
Reply With Quote #10

Sorry to double post but I think DaxMan has the same problem as well (hadn't noticed before).
I'm not sure if this is the standard way of doing it but I'd stick to using one of admins.cfg or admins_simple.ini to stop accidently assigning flags. Although in admin_groups.cfg you have correctly not assigned the "z" tag, you go on in admins.cfg to individually assign it to each of the admins which I think is giving you your problem
necrosect is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode