Raised This Month: $51 Target: $400
 12% 

Sourcemod doesn't seem to be recognizing users flags assigned by group.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MaloModo
Veteran Member
Join Date: Aug 2008
Old 10-13-2015 , 11:06   Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #1

For the last few weeks or more. Not really sure. I have one server where have gone "back" to assign admin flags defined in admin_groups.cfg.

Doesn't seem to be working anymore. If I do assign flags in admins.cfg seems fine. Here is example:

Spoiler


then in admins.cfg:

Spoiler


I join as say me (steam as above) but I have no access to admin menu. I add flag to admins.cfg, sm_reloadadmins and I am good. Doesn't give any errors in parsing files. I am positive this used to work fine before...something changed and/or error in syntax?

Last edited by MaloModo; 10-14-2015 at 13:17.
MaloModo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-13-2015 , 13:22   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #2

you are missing last close bracket } in admins.cfg

Are you using SourceBans ?
__________________
Do not Private Message @me
Bacardi is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 10-13-2015 , 13:29   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #3

You are also missing a closing " mark on the last group key.
__________________
ddhoward is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 10-14-2015 , 13:17   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #4

Sorry folks that was just a typo. Like I said it parses just fine. Wish it was that simple. The actual admin file has the last closing }. But thx for the suggestion. I assume then know one else is having this rather peculiar problem? I mean this should work right? I hate to even ask..LOL. Cause 99.9% sure it used to.

Last edited by MaloModo; 10-14-2015 at 13:18.
MaloModo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-14-2015 , 13:21   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #5

are you using another admin system, like sourcebans ?
__________________
Do not Private Message @me
Bacardi is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 10-15-2015 , 13:18   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #6

Quote:
Originally Posted by Bacardi View Post
are you using another admin system, like sourcebans ?
Not on this particular server. I did a complete reset on it and reinstalled. Same thing. This server is running basically "vanilla" tf2, meaning "normal" mp tf2 gameplay.

Code:
[SM] Listing 33 plugins:
           01 "Fun Commands" (1.7.3-dev+5264) by AlliedModders LLC
           02 "Basic Comm Control" (1.7.3-dev+5264) by AlliedModders LLC
           03 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
           04 "Admin Help" (1.7.3-dev+5264) by AlliedModders LLC
           05 "Map configs" (1.3) by Berni
           06 "Admin File Reader" (1.7.3-dev+5264) by AlliedModders LLC
           07 "Basic Ban Commands" (1.7.3-dev+5264) by AlliedModders LLC
           08 "Basic Chat" (1.7.3-dev+5264) by AlliedModders LLC
           09 "Basic Info Triggers" (1.7.3-dev+5264) by AlliedModders LLC
           10 "Reserved Slots" (1.7.3-dev+5264) by AlliedModders LLC
           11 "[Source 2013] Custom Chat Colors" (3.1.0) by Dr. McKay
           12 "Admin Menu" (1.7.3-dev+5264) by AlliedModders LLC
           13 "Map Nominations" (1.7.3-dev+5264) by AlliedModders LLC
           14 "Fun Votes" (1.7.3-dev+5264) by AlliedModders LLC
           15 "Basic Votes" (1.7.3-dev+5264) by AlliedModders LLC
           16 "Web Shortcuts" (1.1) by Kyle Sanderson, Nicholas Hastings
           17 "Anti-Flood" (1.7.3-dev+5264) by AlliedModders LLC
           18 "Nextmap" (1.7.3-dev+5264) by AlliedModders LLC
           19 "Simple Chat Processor (Redux)" (1.1.5) by Simple Plugins, Mini
           20 "Simple AllTalk Manager" (1.3.0) by Simple Plugins
           21 "Client Preferences" (1.7.3-dev+5264) by AlliedModders LLC
           22 "Updater" (1.2.2) by GoD-Tony
           23 "Simple Chat Colors" (2.0.0) by Simple Plugins
           24 "Player Commands" (1.7.3-dev+5264) by AlliedModders LLC
           25 "[Source 2013] Custom Chat Colors Toggle Module" (2.0.0) by Dr. McKay, Mini
           26 "Server Hop" (0.8.1) by [GRAVE] rig0r
           27 "RandomCycle" (1.7.3-dev+5264) by AlliedModders LLC
           28 "Color Chat Menu!" (0.1) by MitchDizzle_
           29 "Basic Commands" (1.7.3-dev+5264) by AlliedModders LLC
           30 "MapChooser" (1.7.3-dev+5264) by AlliedModders LLC
           31 "Rock The Vote" (1.7.3-dev+5264) by AlliedModders LLC
           32 "FragRadio SourceMod Plugin" (1.4.7) by BomBom - Dunceantix
           33 "Sound Commands" (1.7.3-dev+5264) by AlliedModders LLC
Code:
5 plugins:
           [01] SourceMod (1.7.3-dev+5264) by AlliedModders LLC
           [02] TF2Items (1.6.2) by Asherkin & AzuiSleet & Damizean
           [03] TF2 Tools (1.7.3-dev+5264) by AlliedModders LLC
           [04] SDK Hooks (1.7.3-dev+5264) by AlliedModders LLC
           [05] SDK Tools (1.7.3-dev+5264) by AlliedModders LLC
MaloModo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-16-2015 , 03:47   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #7

does it work if you set SM core.cfg
"SteamAuthstringValidation" "no"
?
*edit
set in server, con_logfile myfile.txt
and sm_reloadadmins
can you find any errors in myfile.txt ?

*edit
rcon sm_dumb_admincache
and show file
sourcemod/data/admincache.txt
__________________
Do not Private Message @me

Last edited by Bacardi; 10-16-2015 at 03:54.
Bacardi is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 11-18-2015 , 17:17   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
does it work if you set SM core.cfg
"SteamAuthstringValidation" "no"
?
*edit
set in server, con_logfile myfile.txt
and sm_reloadadmins
can you find any errors in myfile.txt ?

*edit
rcon sm_dumb_admincache
and show file
sourcemod/data/admincache.txt
Ok so I am back. I got distracted. So yeah the command it looks like is actually sm_dump_admcache but thank you. This is very strange to me. Getting the same thing. I tried what you said with "simple" files for testing.

Code:
"Groups"
{
    "boss"
    {
        "flags"        "z"
        "immunity"        "100"
    }
}
Code:
"Admins"
{
    "malo"
    {
        "auth"        "steam"
        "identity"        "STEAM_0:xxxxxx"
        "group"        "boss"
        "immunity"        "100"
    }
}
I reload sm_reloadadmins and this run rcon dump cache and this is the output:

Code:
"Groups"
{
    /* num = 1, gid = 0x0 */
    "boss"
    {
        "flags"            "z"
        "immunity"        "100"

        "Overrides"
        {
        }
    }
}

"Admins"
{
    /* num = 1, aid = 0x29, serialno = 0x2*/
    "malo"
    {
        "auth"            "steam"
        "identity"        "0:1782389"
        "flags"            ""
        "immunity"        "100"
        "group"            "boss"
    }
}

"Overrides"
{
    "sm_setcash"        ""
    "sm_addmoney"        ""
    "sm_addcash"        ""
    "sm_ff2boss"        "a"
    "ff2_boss"        "a"
    "sm_forcertd"        "z"
    "sm_randomrtd"        "z"
    "sm_votekick"        ""
    "sm_setmoney"        ""
}
This is very strange and behind annoying as I am 100% sure this used to work fine. It looks as though the flag(s) aren't being assigned. I know that if I manually add flags to admins.cfg and reload I then gain access to admin menu etc.

Last edited by MaloModo; 11-18-2015 at 17:19.
MaloModo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-19-2015 , 10:15   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #9

...either your server have lose connection to Steam or your steamid not match.
Try change steamid
"STEAM_0:0:xxxxx" to "STEAM_0:1:xxxxx"
*no, this not work

*edit
join your server and type in console
status
and give output message here.

*edit
or try use new steamid3
"[U:x:xxxxxxx]"

*edit
what you have in
admins_simple.ini ?

Last edited by Bacardi; 11-19-2015 at 12:57.
Bacardi is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 12-02-2015 , 13:07   Re: Sourcemod doesn't seem to be recognizing users flags assigned by group.
Reply With Quote #10

Quote:
Originally Posted by Bacardi View Post
...either your server have lose connection to Steam or your steamid not match.
Try change steamid
"STEAM_0:0xxxx" to "STEAM_0:1xxxx"
*no, this not work

*edit
join your server and type in console
status
and give output message here.

*edit
or try use new steamid3
"[Uxxxxxx]"

*edit
what you have in
admins_simple.ini ?
OK so I tried all those things...and still flags do not get assigned to players who are in a group. And FYI the admin_groups.cfg looks like wants capital "Groups" even? I had to change to upper case G to even have groups appear in dump file. The server is online. I tried all those different variations of steamID.

[FragRadio] Now Playing: Coldplay - Clocks
] status
hostname: =ACG= 24/7 TF2 DeathRun|!Store|!Radio|VoteMap|Unusuals
version : 3141841/24 3141841 secure
udp/ip : 108.178.55.142:27015 (public ip: 108.178.55.142)
steamid : [A:1:6xxxxx6:6126] (90098xxxxxx23142)
account : logged in
map : dr_wolfenstein_v1_2 at: 0 x, 0 y, 0 z
tags : HLstatsX:CE,_registered,arena,backpack.tf,inc reased_maxplayers
sourcetv: port 27020, delay 30.0s
players : 1 humans, 1 bots (33 max)
edicts : 408 used of 2048 max
Spawns Points Kills Deaths Assists
Scout 10 0 0 6 0
Sniper 0 0 0 0 0
Soldier 12 0 0 3 0
Demoman 4 0 0 0 0
Medic 0 0 0 0 0
Heavy 0 0 0 0 0
Pyro 0 0 0 0 0
Spy 0 0 0 0 0
Engineer 0 0 0 0 0

# userid name uniqueid connected ping loss state
# 2 "The All Seeing Eye!" BOT active
# 3 "=ACG= xxx" [U:130xx176] 28:51 118 0 active

Anyhow I am to the point I am going to install fresh server to test this. I believe it is SM. <-------update: Perhaps not, perhaps....it seems in configs for Admins and Groups, it doesn't like "Admins" anymore? just Admin. Cause for the moment it seems to be working correctly on server. Weird.

Last edited by MaloModo; 12-02-2015 at 16:39.
MaloModo 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 01:21.


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