[ANY] Connection Method Viewer
[ANY] Connection Method Viewer v1.2.0 Description: Queries the value of the new cl_connectmethod cvar to display how clients connected to the server when a command is run. Cvars:
Commands:
Installation: Put connect_method.smx into /addons/sourcemod/plugins and reboot your server or type "sm plugins load connect_method" into your console or rcon. Auto Update: Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater. Changelog:
Download Plugin (connect_method.smx) View Source (connect_method.sp) Requires updater.inc and mckayupdater.sp to compile. |
Re: [ANY] Connection Method Viewer
What current connection methods are there?
|
Re: [ANY] Connection Method Viewer
Thanks a ton Dr. Mckay, this is really useful info for server owners.
I currently use All info to record connect info, it would be nice to have it added to this plugin http://forums.alliedmods.net/showthread.php?p=740183 It would be nice to have the ability to record this info into mysql. If that happens let me know and I can writeup a front end for it. Poly |
Re: [ANY] Connection Method Viewer
Quote:
Quote:
Quote:
|
Re: [ANY] Connection Method Viewer
Badass, I will definitely make a donation for your efforts they are much appreciated.
Didnt see the donate link. Donation completed! *702V Poly |
Re: [ANY] Connection Method Viewer
WTF didn't know this was possible.
GJ! |
Re: [ANY] Connection Method Viewer
Updated to v1.1.0. Improved the method by which the plugin determines the connection method. Thanks to psychonic for pointing it out.
Quote:
|
Re: [ANY] Connection Method Viewer
Just remember, cl_connectmethod isn't protected so client may send something unexpected.
|
Re: [ANY] Connection Method Viewer
Approved in 3...2...1...
|
Re: [ANY] Connection Method Viewer
Inside OnPluginStart you should only check to see if the client is connected, and not in game, as there could be some overlap where a late loaded plugin could miss a few clients if they're still loading in. Also, no need for the IsFakeClient check there as it's checked again inside of OnClientConnected. Other than that, the plugin looks great. You should also make a note that to compile they'll need your "mckayupdater" plugin (although that should be obvious to anyone who knows what they're doing).
|
All times are GMT -4. The time now is 08:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.