View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-03-2012 , 12:00   Re: Name changers do not get kicked
Reply With Quote #6

Quote:
Originally Posted by GoD-Tony View Post
Ugh, it appears that this event isn't fired on TF2. I'll look into an alternative.

Blocking the event does not block the chat UserMessage (at least on CS:S). From a quick test, TF2 has a built-in name flood detection and stops printing name changes to chat. My guess is that it doesn't actually stop their name from being changed, just the chat message.

Edit: The event is fired, but it is also blocked after "name flood detection" takes place. Players can still change names during this time without the event/usermessage firing.
Hmm... so, we should use pre-event hooks to detect this?

I knew TF2 did name flood detection, but I was only aware of it delaying name changes for a second or two, and I thought our plugins still detected said changes. Then again, Valve keeps modifying TF2.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-03-2012 at 12:01.
Powerlord is offline