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

Bad name banning


Post New Thread Reply   
 
Thread Tools Display Modes
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 11-08-2008 , 08:28   Re: Bad name banning
Reply With Quote #151

If he changed his name while in game, INS doesn't have a name_change event so it wouldn't have known.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Comrade Iron Man
Junior Member
Join Date: Jun 2008
Old 11-12-2008 , 01:36   Re: Bad name banning
Reply With Quote #152

"player_changename" is listed as a generic Source event, I'm reluctant to believe it failed just because it was Insurgency.
Comrade Iron Man is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 11-12-2008 , 11:50   Re: Bad name banning
Reply With Quote #153

They changed a LOT of the internals in INS.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Stupidfool
Junior Member
Join Date: Dec 2006
Location: Silsbee, Texas
Old 11-13-2008 , 13:27   Re: Bad name banning
Reply With Quote #154

well i was wondering if and how i could integrate SourceBan's in this? and if it was possible?

plugin works fine for me just like everyone else logs dont always log ASAP but it dose log when i restart the server, not sure if that will help anyone. but im more interested in getting SourceBans to work with it
Stupidfool is offline
ShadowMoses
Junior Member
Join Date: May 2007
Location: Ventura, CA
Old 11-16-2008 , 06:40   Re: Bad name banning
Reply With Quote #155

Here you go stupidfool. This should work on SourceBans. Let me know if you have any problems.
Attached Files
File Type: sp Get Plugin or Get Source (BadNameBanAdmin.sp - 586 views - 3.9 KB)
ShadowMoses is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 11-16-2008 , 06:47   Re: Bad name banning
Reply With Quote #156

We are working on integrating banning by external plugins into SourceBans, but I cannot give a timeline on when this will be released. If you really need this functionality you can include sourcebans.inc (found in the scripting\include folder in the SourceBans package) and use the SBBanPlayer native.

@ShadowMoses: I don't see any files ;)
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 11-16-2008 at 06:49.
DJ Tsunami is offline
ShadowMoses
Junior Member
Join Date: May 2007
Location: Ventura, CA
Old 11-16-2008 , 07:20   Re: Bad name banning
Reply With Quote #157

That is odd, I can see it.

Anyway all you have to do is

Code:
Replace: ServerCommand("banid %i %i", bantime, playerId);
With: ServerCommand("sm_ban #%i %i \"%s\"", playerId, bantime, reason);

Replace: ServerCommand("kickid %i %s", playerId, reason);
With: ServerCommand("sm_kick #%i \"%s\"", playerId, reason);

Move: 
new String:reason[64];
GetConVarString(bnb_reason,reason,64);

After: ReplaceString(clientName, 64, " ", "");
At least that is what I did and it seems to work with sourcebans great.
ShadowMoses is offline
3RMAC
Junior Member
Join Date: Jul 2006
Old 12-05-2008 , 16:07   Re: Bad name banning
Reply With Quote #158

Did they logging issue ever get fixed with this? Last time I ran this plugin, my servers started to lag. Maybe a RAM build up from not being able to write to log files?
3RMAC is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-27-2009 , 08:23   Re: Bad name banning
Reply With Quote #159

  • Fixed logging.
  • Changed other logging to go into the same file.
  • Changed other logging to follow the logging cvar.
  • Changed code in some places for readability and a minor efficiency increase.
  • Changed banning to work with SourceBans.
  • Fixed logging not creating a new daily log file unless the plugin was reloaded.
  • Changed logging CVAR to the following: sm_bnb_log (default: "1") - Whether or not to log just bnb kicks (1) or all activity (2) to an external file. 0 to disable
Attached Files
File Type: sp Get Plugin or Get Source (BadNameBanAdmin.sp - 730 views - 3.6 KB)
File Type: sp Get Plugin or Get Source (BadNameBan.sp - 655 views - 5.1 KB)
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)

Last edited by Lebson506th; 02-28-2009 at 22:12.
Lebson506th is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 07-03-2009 , 11:59   Re: Bad name banning
Reply With Quote #160

Quote:
Originally Posted by Lebson506th View Post
  • Fixed logging.
  • Changed other logging to go into the same file.
  • Changed other logging to follow the logging cvar.
  • Changed code in some places for readability and a minor efficiency increase.
  • Changed banning to work with SourceBans.
  • Fixed logging not creating a new daily log file unless the plugin was reloaded.
  • Changed logging CVAR to the following: sm_bnb_log (default: "1") - Whether or not to log just bnb kicks (1) or all activity (2) to an external file. 0 to disable
I am not entirely sure why this plugin is showing as reported as not working, as I'm using one fo the very first revisions of this plugin and its worked fine in TF2 and CS:S for the best part of 18 months or even longer.

Lebson506th as this plugin is no longer active, could you release/support separately as this is one of the core plugins we use!!

Matt
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
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 19:34.


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