Raised This Month: $404 Target: $400
 101% 

[ANY] Ban Player's Spray


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-08-2012 , 10:34   Re: [ANY] Ban Player's Spray
Reply With Quote #11

What game are you using? Do you have clientprefs.smx loaded? That message is given until the player's cookies have been loaded so the plugin can check if there is a ban for that player or not - this plugin stores a value using a cookie for the bans... and until their cookies are loaded, players will receive that message... normally, cookies should be loaded fairly quickly and shouldn't take longer than 10 seconds or so.
__________________
View my Plugins | Donate
TnTSCS is offline
Caliban Avenged
Junior Member
Join Date: Jun 2012
Old 09-08-2012 , 16:48   Re: [ANY] Ban Player's Spray
Reply With Quote #12

Quote:
Originally Posted by TnTSCS View Post
What game are you using? Do you have clientprefs.smx loaded? That message is given until the player's cookies have been loaded so the plugin can check if there is a ban for that player or not - this plugin stores a value using a cookie for the bans... and until their cookies are loaded, players will receive that message... normally, cookies should be loaded fairly quickly and shouldn't take longer than 10 seconds or so.
Team Fortress 2; clientprefs.smx is loaded. I'm also running with sv_pure=1 and a pure-server whitelist that allows sprays, but really not much else.
Caliban Avenged is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-08-2012 , 17:23   Re: [ANY] Ban Player's Spray
Reply With Quote #13

I don't know much about TF2... might have to wait until I update this plugin to work with defined database and not clientprefs... The reason the players are getting that error is because the AreClientCookiesCached is still false:

PHP Code:
/**
 * Checks if a clients cookies have been loaded from the database.
 *
 * @param client        Client index.
 * @return                 True if loaded, false otherwise.
 * @error                Invalid client index.
 */
native bool:AreClientCookiesCached(client); 
^^ That's the one I'm using. And there's a repeating 10 second timer to check if client cookies are cached and once they are, the client is allowed to use sprays or not (banned).
__________________
View my Plugins | Donate
TnTSCS is offline
MPQC
SourceMod Donor
Join Date: Dec 2011
Old 09-09-2012 , 13:38   Re: [ANY] Ban Player's Spray
Reply With Quote #14

This plugin is awesome. If I ban someones spray, people seem to take it way worse then being kicked/banned, it's hilarious lol.
MPQC is offline
red_snow
SourceMod Donor
Join Date: Jul 2010
Location: 127.0.0.1
Old 09-09-2012 , 15:40   Re: [ANY] Ban Player's Spray
Reply With Quote #15

mysql support would be awesome.
__________________
red_snow is offline
Emaster
Junior Member
Join Date: May 2012
Location: USA
Old 09-09-2012 , 18:25   Re: [ANY] Ban Player's Spray
Reply With Quote #16

I like this plugin a lot so far. It'll be a must-have for every server once it's been refined.

+1 ModderPoint
__________________
Emaster is offline
FaTony
BANNED
Join Date: Aug 2008
Old 09-09-2012 , 22:26   Re: [ANY] Ban Player's Spray
Reply With Quote #17

This definitely should be added to core SM plugins.
FaTony is offline
Rd1981
Senior Member
Join Date: Apr 2011
Old 09-10-2012 , 02:11   Re: [ANY] Ban Player's Spray
Reply With Quote #18

Would it be possible to add a tracer function to this plugin also so they know who the spray is comming from or do we have to use both spray plugins for that?
Rd1981 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-10-2012 , 13:10   Re: [ANY] Ban Player's Spray
Reply With Quote #19

since spray trace works - just use it. I don't have any plans on expanding this plugin to do that. If anything, it would be far easier to just add the functionality of this plugin to that one for an all-in-one type of deal.

I'm going to try and carve out some time to convert this from using clientprefs to a sql database
__________________
View my Plugins | Donate
TnTSCS is offline
Rd1981
Senior Member
Join Date: Apr 2011
Old 09-15-2012 , 18:27   Re: [ANY] Ban Player's Spray
Reply With Quote #20

what causes this plugin to auto ban sprays when they try to spray I have a lot of servers that do this ?
Rd1981 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 12:51.


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