AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Ban Player's Spray (https://forums.alliedmods.net/showthread.php?t=195096)

TnTSCS 09-08-2012 10:34

Re: [ANY] Ban Player's Spray
 
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.

Caliban Avenged 09-08-2012 16:48

Re: [ANY] Ban Player's Spray
 
Quote:

Originally Posted by TnTSCS (Post 1794270)
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.

TnTSCS 09-08-2012 17:23

Re: [ANY] Ban Player's Spray
 
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).

MPQC 09-09-2012 13:38

Re: [ANY] Ban Player's Spray
 
This plugin is awesome. If I ban someones spray, people seem to take it way worse then being kicked/banned, it's hilarious lol.

red_snow 09-09-2012 15:40

Re: [ANY] Ban Player's Spray
 
mysql support would be awesome.

Emaster 09-09-2012 18:25

Re: [ANY] Ban Player's Spray
 
I like this plugin a lot so far. It'll be a must-have for every server once it's been refined.

+1 ModderPoint

FaTony 09-09-2012 22:26

Re: [ANY] Ban Player's Spray
 
This definitely should be added to core SM plugins.

Rd1981 09-10-2012 02:11

Re: [ANY] Ban Player's Spray
 
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?

TnTSCS 09-10-2012 13:10

Re: [ANY] Ban Player's Spray
 
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

Rd1981 09-15-2012 18:27

Re: [ANY] Ban Player's Spray
 
what causes this plugin to auto ban sprays when they try to spray I have a lot of servers that do this ?


All times are GMT -4. The time now is 04:03.

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