View Single Post
Author Message
Bacardi
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.

Player.h


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

Install:
Extension Dr!fter DHooks (Dynamic Hooks - Dev Preview)
...addons/sourcemod/gamedata/all.games-observer.txt
...addons/sourcemod/scripting/dhooks-test-observer.sp


My bug


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

Last edited by Bacardi; 04-29-2012 at 00:46. Reason: update, close handle
Bacardi is offline