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

ban lists


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-13-2012 , 14:46   Re: ban lists
Reply With Quote #21

Hi,

would it be possible to make a white list?

because some are banned for MW2 for example, and they can not play L4D2 ...

I the case with some friends and I would not disable ban list
eric0279 is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-14-2012 , 04:19   Re: ban lists
Reply With Quote #22

Quote:
Originally Posted by eric0279 View Post
would it be possible to make a white list?

because some are banned for MW2 for example, and they can not play L4D2 ...

I the case with some friends and I would not disable ban list
Quote:
Originally Posted by GoD-Tony View Post
I don't plan on adding a command, but all banlist kicks pass through the SMAC_OnCheatDetected forward and can be blocked from there.
Here is a simple plugin that would give all users with the "o" flag immunity to banlists on your server:
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <smac>

public Action:SMAC_OnCheatDetected(client, const String:module[])
{
    if (
StrContains(module"banlist") && (GetUserFlagBits(client) & ADMFLAG_CUSTOM1))
        return 
Plugin_Stop;
    
    return 
Plugin_Continue;

But you should realise that by leaving the VAC banlist enabled, you will be rejecting players in a similar position as your friend.
__________________

Last edited by GoD-Tony; 10-14-2012 at 06:08.
GoD-Tony is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-15-2012 , 04:47   Re: ban lists
Reply With Quote #23

thank you but my friends have no right on the server, I like to play with them all.

Yes I understand completely.

edit : it's works ?

Code:
#pragma semicolon 1

#include <sourcemod>
#include <smac>

public Action:SMAC_OnCheatDetected(client, const String:module[])
{
    decl String:auth[32];
    GetClientAuthString( client, auth, sizeof(auth));
   
    if (StrContains(module, "banlist") && (StrEqual(auth, "STEAM_1:1:12345678")))
        return Plugin_Stop;
    
    return Plugin_Continue;
}

edit : solved, thanks GoD-Tony

Last edited by eric0279; 10-15-2012 at 08:06.
eric0279 is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 03-09-2013 , 15:57   Re: ban lists
Reply With Quote #24

Hi,

What could this be due to?

Thanks,

St00ne

Code:
L 03/08/2013 - 00:24:15: SourceMod error session started
L 03/08/2013 - 00:24:15: Info (map "aim_p2w") (file "errors_20130308.log")
L 03/08/2013 - 00:24:15: [SM] Plugin encountered error 5: Invalid plugin address
L 03/08/2013 - 00:24:15: [SM] Native "FormatEx" reported: Could not deference string
L 03/08/2013 - 00:24:15: [SM] Displaying call stack trace for plugin "smac_kac_banlist.smx":
L 03/08/2013 - 00:24:15: [SM]   [0]  Line 85, smac_kac_banlist.sp::OnClientAuthorized()
L 03/08/2013 - 00:24:15: [SM] Plugin encountered error 5: Invalid plugin address
L 03/08/2013 - 00:24:15: [SM] Native "FormatEx" reported: Could not deference string
L 03/08/2013 - 00:24:15: [SM] Displaying call stack trace for plugin "smac_eac_banlist.smx":
L 03/08/2013 - 00:24:15: [SM]   [0]  Line 90, smac_eac_banlist.sp::OnClientAuthorized()
L 03/08/2013 - 00:24:15: [SM] Plugin encountered error 5: Invalid plugin address
L 03/08/2013 - 00:24:15: [SM] Native "FormatEx" reported: Could not deference string
L 03/08/2013 - 00:24:15: [SM] Displaying call stack trace for plugin "smac_esea_banlist.smx":
L 03/08/2013 - 00:24:15: [SM]   [0]  Line 64, smac_esea_banlist.sp::OnClientAuthorized()
L 03/08/2013 - 00:37:57: Error log file session closed.
__________________

*** *** ***
-My plugins-
St00ne 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 03:19.


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