[EXTENSION] Rcon Hooks 1.0
RCON Hooks
What? Rhooks is an extension that allows you to hook 2 major rcon functions, allowing you to change the result. I thought it would be very useful for servers in which admins get rcon access, because you can assign separate passwords per different admins based on ip, and it can also prevent brute force attacks, because you can deny access from anywhere other than your ip! This is derived from gmsv_rcon from gmod. Contains lots of code from that project. Compatibility This currently works on orange box games, on windows only. However im gonna be making a Linux version as soon as i learn how to do it and eventually make versions for l4d. Forwards Code:
** - Request is the type of rcon message. 2 or 3 are valid types, 2 is used to send commands and 3 is used for authentication. Other types are not used. - Id is simply the order of commands sent from one source, per session. - IP format includes the seperaters ( dont know the name of them lol ). Why? I've always wanted a more secure rcon method and i saw gmsv_rcon, on facepuch and i've always wanted it in sourcemod. Therefore a few days i wanted to learn C++ cause i was bored so i though why not convert it to work in sourcemod! Credits Long list here lol - gmsv_rcon author chrisaster - most of this is derived from his code, how ever lots was recoded. - asherkin for taking his time and teaching me how to fix my detour errors and learn more indepth about detours. - psychonic for telling me to scrap the gmod detours and use the ones SM uses, and providing me with an example of how to use it. - Drifter for helping me fix countless errors and helping me get started. - Other people on IRC such as Matt and Kyle. http://code.google.com/p/samanthas-work/downloads/list Source Code |
Re: [EXTENSION] Rcon Hooks 1.0
Nice job!
|
Re: [EXTENSION] Rcon Hooks 1.0
Whatever you say... JAMES!
|
Re: [EXTENSION] Rcon Hooks 1.0
Awesome work! <3 asherkin & psychonic for being so helpful!
|
Re: [EXTENSION] Rcon Hooks 1.0
I can't for the life of me get this compiled on Linux.
PHP Code:
I hope nothing is specific to Windows. |
Re: [EXTENSION] Rcon Hooks 1.0
Quote:
That whole function should be rewritten. |
Re: [EXTENSION] Rcon Hooks 1.0
Quote:
|
Re: [EXTENSION] Rcon Hooks 1.0
how do you load this extension? does it still work? i installed it and restart the server but it never loads.
|
Re: [EXTENSION] Rcon Hooks 1.0
|
Re: [EXTENSION] Rcon Hooks 1.0
Quote:
|
All times are GMT -4. The time now is 15:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.