View Single Post
Author Message
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 11-24-2012 , 19:05   ConsoleHook - A hook for when PrintToConsole is called
Reply With Quote #1

Hello everyone.
Rant:
About 2 months ago, I made a bug (bug #5495) requesting a forward for when PrintToConsole is called, for PrintToConsole does not make a UserMsg; it calls IVEngineServer::ClientPrintf. They (psychonic + dvander) did not like the idea of modifying console messages, so they basically denied it and suggested me to make an extension instead.


So here it is!

Note: I have not compiled for Linux yet as I don't have a Linux machine, but I would love for someone who has a Linux machine to do so.

The include file lets SP developers know how to use it.

Credit goes to Impact123 for compiling this for Linux!
Impact123 has created a build system for this.


Source: https://bitbucket.org/minimoney1/consolehook

Note: The attached Linux binary will not work with Source 2009 games.


DRIFTER HAS BEEN NICE ENOUGH TO PROVIDE US WITH A METHOD THAT USES DHOOKS TO DO THIS. THE ONLY DOWNSIDE IS IT REQUIRES A GAMEDATA THAT MAY HAVE TO BE UPDATED FOR GAME UPDATES. LOOK HERE


DOWNLOAD LINUX
Attached Files
File Type: inc consolehook.inc (1.2 KB, 856 views)
File Type: dll consolehook.ext.dll (78.5 KB, 846 views)
__________________
Need help? PM me or add me on Steam.
My Steam




Quote:
Originally Posted by Rp.KryptoNite View Post
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING

Last edited by minimoney1; 12-15-2012 at 14:57.
minimoney1 is offline