Raised This Month: $123 Target: $400

[DHooks] Observer functions

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-26-2012 , 03:00   [DHooks] Observer functions
Reply With Quote #1

Here, I made list that hook these functions.
You can try mess and trace with your testing server.

There should not much wrong with params+returns and all those hooks work (at least Cs:s).
If do then tell.
  • I maybe add later descriptions to callbacks what can change and happens.


Almost forgot most important thing
As usually after friendly-valve-update in games, offsets can be change and lead to errors/crash/glitches !!
upgrade gamedata

To get started, compile plugin yourself

Extension Dr!fter DHooks (Dynamic Hooks - Dev Preview)

My bug

*fixed all.games-observer.txt
Attached Files
File Type: sp Get Plugin or Get Source (dhooks-test-observer.sp - 97 views - 12.1 KB)
File Type: txt all.games-observer.txt (27.6 KB, 92 views)

Last edited by Bacardi; 04-29-2012 at 00:46. Reason: update, close handle
Bacardi is offline
The Salt Boss
Join Date: Mar 2007
Old 04-27-2012 , 11:40   Re: [DHooks] Observer functions
Reply With Quote #2

As a note the return value you are getting on most of the hooks (the ones that aren't post hooks) is the default value assigned automatically to prevent issues. Its not the real return value. The only way to get the real return value is inside a post hook. So if you really want to get the return value you need to change them all to post hooks
Dr!fter is offline

Thread Tools
Display Modes

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 02:41.

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