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

source tv kicking


Post New Thread Reply   
 
Thread Tools Display Modes
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-13-2018 , 17:14   Re: source tv kicking
Reply With Quote #11

It huurts...
__________________
Do not Private Message @me
Bacardi is offline
Marshmallow
Member
Join Date: Nov 2018
Old 11-13-2018 , 18:02   Re: source tv kicking
Reply With Quote #12

how i can disable or remove root (z) flag from admin manager menu To avoid the "m" flag admins can not give to together "z".because when he have m flag and they can set new admin.so they can set z flag for them... and z flag can kick tv

Last edited by Marshmallow; 11-13-2018 at 18:05.
Marshmallow is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-14-2018 , 01:15   Re: source tv kicking
Reply With Quote #13

Have to say, this is going to ridiculous, too hard for setting.
I would recommend to not use plugins which grant admin access to other players, if you not have any trust on them...

You should make request to plugin developer.

*edit
There is one way to override that plugin menu, by admin group, not by admin flags.
If you have just those specific admins who are using this.

admin_overrides.cfg



admin_groups.cfg



admins.cfg

Last edited by Bacardi; 11-14-2018 at 01:24.
Bacardi is offline
Marshmallow
Member
Join Date: Nov 2018
Old 11-16-2018 , 06:41   Re: source tv kicking
Reply With Quote #14

Hi I came back again
why in my friends servers tv is not kicking? they have root and z flag but when say !kick @spec , tv didnt kick.
i think i must put source tv in Exception list in kick plugin :/

Last edited by Marshmallow; 11-16-2018 at 06:42.
Marshmallow is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-16-2018 , 07:08   Re: source tv kicking
Reply With Quote #15

Ok, it indeed not kick SourceTV when use "@spec" targeting.
* https://github.com/alliedmodders/sou...nsion.cpp#L455

But you can still kick SourceTV with "@bots", "@all", "@dead".

Try upgrate SoureMod to latest stable version.

https://github.com/alliedmodders/sou...075e20f2c57377



*edit
Hey... I try test, can we change multitarget strings.
https://sm.alliedmods.net/new-api/commandfilters



*edit
Wait a minute... How old SourceMod version you are running ?
__________________
Do not Private Message @me

Last edited by Bacardi; 11-16-2018 at 07:31.
Bacardi is offline
Marshmallow
Member
Join Date: Nov 2018
Old 11-17-2018 , 15:38   Re: source tv kicking
Reply With Quote #16

Quote:
Originally Posted by Bacardi View Post
Ok, it indeed not kick SourceTV when use "@spec" targeting.
* https://github.com/alliedmodders/sou...nsion.cpp#L455

But you can still kick SourceTV with "@bots", "@all", "@dead".

Try upgrate SoureMod to latest stable version.

https://github.com/alliedmodders/sou...075e20f2c57377



*edit
Hey... I try test, can we change multitarget strings.
https://sm.alliedmods.net/new-api/commandfilters



*edit
Wait a minute... How old SourceMod version you are running ?
sm 1.8.0
mm 1.11
i asked a body he said me you must exception tv name in plugin but i dont know
Marshmallow is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-17-2018 , 16:07   Re: source tv kicking
Reply With Quote #17

Just update to 1.9
https://www.sourcemod.net/downloads.php?branch=stable

Then you can use @spec without targetin sourcetv
__________________
Do not Private Message @me
Bacardi is offline
Marshmallow
Member
Join Date: Nov 2018
Old 12-08-2018 , 11:57   Re: source tv kicking
Reply With Quote #18

Quote:
Originally Posted by Bacardi View Post
here is one old post... https://forums.alliedmods.net/showth...25#post1479525

But I update this little bit.
And this give only admin immunity level 98. Nothing else.

PHP Code:

#define IMMUNITY_LEVEL 98

public void OnPluginStart()
{
    for(
int client 1client <= MaxClientsclient++)
    {
        if(
IsClientInGame(client) && IsFakeClient(client)) OnClientPostAdminCheck(client);
    }
}

public 
void OnClientPostAdminCheck(int client)
{
    if(
IsClientReplay(client) || IsClientSourceTV(client))
    {

        
AdminId admin GetUserAdmin(client);

        if(
admin != INVALID_ADMIN_ID) return;


        
char name[MAX_NAME_LENGTH];
        
Format(namesizeof(name), "%N"client);

        
admin CreateAdmin(name);
        
SetAdminImmunityLevel(adminIMMUNITY_LEVEL);
        
SetUserAdmin(clientadmintrue);
        
PrintToServer("[SM] Immunity Level %i set to %s"IMMUNITY_LEVELname);
    }
}

public 
void OnRebuildAdminCache(AdminCachePart part)
{
    if(
part != AdminCache_Admins) return;

    for(
int client 1client <= MaxClientsclient++)
    {
        if(
IsClientInGame(client) && IsFakeClient(client)) OnClientPostAdminCheck(client);
    }

Second thing.
You should not grant anyone with admin flag "z" (root).


Root flag will give you more problems.
So it is better give all flags without "z" flag and set immunity below 98 they can't kick SourceTV or Replay anymore.

Hi duffy may be help me i run ip range ban in my server?

Last edited by Marshmallow; 12-08-2018 at 12:18.
Marshmallow is offline
SHOUBI
Junior Member
Join Date: Aug 2017
Old 01-24-2020 , 09:14   Re: source tv kicking
Reply With Quote #19

INSURGENCY LINUX SERVER: (ubuntu 18.04 LTS)

setup:
] sm version
SourceMod Version Information:
SourceMod Version: 1.10.0.6455
SourcePawn Engine: 1.10.0.6455, jit-x86 (build 1.10.0.6455)
SourcePawn API: v1 = 5, v2 = 12
Compiled on: Nov 18 2019 192:02
Built from: https://github.com/alliedmodders/sou...commit/e135eff
Build ID: 6455:e135eff
http://www.sourcemod.net/

] meta version
Metamod:Source Version Information
Metamod:Source version 1.11.0-dev+1128
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: Jul 31 2018 21:27:17
Built from: https://github.com/alliedmodders/met...commit/98d0c0f
Build ID: 1128:98d0c0f
http://www.metamodsource.net/

[SM] Immunity Level 98 set to INS2U-MGE SOURCE TV
[SM] Loaded plugin sourcetv_immunity.smx successfully.
L 01/24/2020 - 14:11:51: rcon from "IP": command "sm plugins load sourcetv_immunity"


working like a charm, unable to kick source tv using ins2u account.





DAY OF INFAMY LINUX SERVER: (ubuntu 18.04 LTS)


setup:
] sm version
SourceMod Version Information:
SourceMod Version: 1.9.0.6174
SourcePawn Engine: 1.9.0.6174, jit-x86 (build 1.9.0.6174)
SourcePawn API: v1 = 4, v2 = 12
Compiled on: Oct 22 2017 15:08:10
Built from: https://github.com/alliedmodders/sou...commit/5cf6a0c
Build ID: 6174:5cf6a0c
http://www.sourcemod.net/

] meta version
Metamod:Source Version Information
Metamod:Source version 1.11.0-dev+1098
Plugin interface version: 16:14
SourceHook version: 5:5
Loaded As: Valve Server Plugin
Compiled on: Sep 7 2017 09:41:11
Built from: https://github.com/alliedmodders/met...commit/e770220
Build ID: 1098:e770220
http://www.metamodsource.net/


NB: i forced to use this older version because SM/MM since they splited DOI build i m unable to close admin menu properly even with autoexec.cfg with following binding cf screenshot ( https://cdn.discordapp.com/attachmen...64/unknown.png)


Plugin is loaded properly but doesn t take into consideration source tv seems it ignore it for whatever reason.

i ve compiled manually using same build version and using your smx linked above both failed to work.


] sm plugins reload sourcetv_immunity
[SM] Plugin sourcetv_immunity.smx reloaded successfully.
L 01/24/2020 - 15:00:25: rcon from "IP": command "sm plugins reload sourcetv_immunity"


generic admin are able to kick source tv i know i m using 99:z for hoster account but i m not using it in the testing session.


need some help. am i missing something?

dropbox link include the 2 admin simple.ini files as well if it may helps:
https://www.dropbox.com/sh/4mfzhw5ws...kmehPdv7a?dl=0
Attached Files
File Type: txt DOI_admin_cache_dump.txt (1.6 KB, 60 views)
File Type: txt INS_admin_cache_dump.txt (2.0 KB, 61 views)

Last edited by SHOUBI; 01-24-2020 at 09:15.
SHOUBI is offline
Reply


Thread Tools
Display Modes

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 00:52.


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