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

[ALL] Disconnect Message Blocker


Post New Thread Reply   
 
Thread Tools Display Modes
psychonic

BAFFLED
Join Date: May 2008
Old 04-09-2010 , 08:04   Re: [ALL] Disconnect Message Blocker
Reply With Quote #11

Quote:
Originally Posted by tigerox View Post
Assuming the exploits are some kind of overflow.
The overflow is just one vector of it. There are also certain characters that it can contain that would also cause the crash.
psychonic is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 04-09-2010 , 19:01   Re: [ALL] Disconnect Message Blocker
Reply With Quote #12

so how about some random 4 or 5 msgs?
__________________
shustas is offline
atom0s
Senior Member
Join Date: Jul 2009
Old 04-09-2010 , 19:35   Re: [ALL] Disconnect Message Blocker
Reply With Quote #13

Quote:
Originally Posted by psychonic
FYI, this is implemented in the newest version of rcon locker
Nice to see the idea is just fully copied with no credits given lol. I'm sure there's some GPL / epeen reason behind it but meh, whatever.

Quote:
Originally Posted by shustas View Post
so how about some random 4 or 5 msgs?
As I said earlier in the thread, I'm not expanding this as it should be something Valve needs to fix themselves. I'm not putting more time into the plugin as it works as-is and did what I wanted to accomplish with it.

Feel free to alter it as you wish, the source is there for that reason.

Last edited by atom0s; 04-09-2010 at 19:43.
atom0s is offline
psychonic

BAFFLED
Join Date: May 2008
Old 04-09-2010 , 20:04   Re: [ALL] Disconnect Message Blocker
Reply With Quote #14

Quote:
Originally Posted by atom0s View Post
Nice to see the idea is just fully copied with no credits given lol. I'm sure there's some GPL / epeen reason behind it but meh, whatever.
The GPL would have required him give credit had he ripped it right off of you, but it's a not-exactly-complicated fix to a known issue. Devicenull is king of keeping up on exploits and providing fixes.

Last edited by psychonic; 04-09-2010 at 20:30. Reason: typo
psychonic is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 04-09-2010 , 20:15   Re: [ALL] Disconnect Message Blocker
Reply With Quote #15

There's really only so many possible ways of writing this plugin. I hadn't looked at yours before writing mine.
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 04-10-2010 , 09:25   Re: [ALL] Disconnect Message Blocker
Reply With Quote #16

Quote:
Originally Posted by atom0s View Post
As I said earlier in the thread, I'm not expanding this as it should be something Valve needs to fix themselves. I'm not putting more time into the plugin as it works as-is and did what I wanted to accomplish with it.

Feel free to alter it as you wish, the source is there for that reason.
Well ok ok. Took me 2 mins to add them. You call it takes lots of expencive time of your life? Some people dont even know what to do with .sp file.
__________________
shustas is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 04-10-2010 , 15:30   Re: [ALL] Disconnect Message Blocker
Reply With Quote #17

Enough time to fix this?:

L 04/10/2010 - 20:24:41: Info (map "de_dust2") (file "errors_20100410.log")
L 04/10/2010 - 20:24:41: [SM] Native "UnhookEvent" reported: Invalid hook callback specified for game event "player_disconnect"
L 04/10/2010 - 20:24:41: [SM] Displaying call stack trace for plugin "disconnect.smx":
L 04/10/2010 - 20:24:41: [SM] [0] Line 51, C:\Users\Vaikutis\AppData\Local\Temp\Rar$DI00 .293\disconnect.sp::OnMapEnd()
__________________
shustas is offline
atom0s
Senior Member
Join Date: Jul 2009
Old 04-11-2010 , 02:55   Re: [ALL] Disconnect Message Blocker
Reply With Quote #18

v1.1.0 Released

Removed the unneeded events OnMapStart / OnMapEnd and UnhookEvent, I thought events rehooked/unhooked automatically at the end of each map but after more testing that was not the case. Only calls HookEvent now on plugin start. (Which should fix your issue shustas.)

Added a cvar to allow a custom disconnect message as well since a lot kept asking. Just add the following into server.cfg:

PHP Code:
disconnect_message "Your message here." 
The default value is blank "" so if you don't want a custom message, just either leave it blank or don't set it at all.
atom0s is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 04-11-2010 , 09:20   Re: [ALL] Disconnect Message Blocker
Reply With Quote #19

^^ thanks a lot
__________________
shustas is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 04-21-2010 , 12:33   Re: [ALL] Disconnect Message Blocker
Reply With Quote #20

Quote:
Originally Posted by Kevin_b_er View Post
There was no way to filter the client disconnect messages only. There still isn't.

This plugin (and anything like it) removes all manners of reasons for disconnection. This includes network errors, kicks, bans, and malicious disconnect messages from client plugins.
So this means, sourcebans will not work like it used to be:
XXXX is banned (reason: blablabl)

?
Groger is offline
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 01:49.


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