Raised This Month: $ Target: $400
 0% 

[HOWTO] Make a nice say-hook


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XAD
Senior Member
Join Date: Mar 2004
Location: Sweden
Old 01-06-2005 , 13:06  
Reply With Quote #7

Quote:
Originally Posted by PM
Heh, I didn't want to copy the SDK code into my plugin - this seems to be far more mod-independent and easier
(I also didn't want to use offset hacks)
I agree that if you don't need use "engine-hooks" you shouldn't (and I like your implementation) but the offset hack is not that bad as it is based on the "official" engine API. If Valve would change the engine API by reordering any virtual functions then all existing mods would stop working (which is not realistic)... They will do it the same way as in CS1.6, by adding new functions at the end which won't change any existing function offsets... Remember that anyone creating a mod will also use the offset in the current interface eventhough it's calculated by the compiler...

/X
XAD is offline
 



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 07:19.


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