View Full Version : DllFunc offset
MadiX
03-06-2005, 04:47 AM
Hi. I am trying to make a clienthook for HL. So now i have got a problem with DllFunc offset. How to find it? :disappoin
nofeaR
03-06-2005, 05:33 AM
[11:41:49]>> pEngfuncs: 0x1eb32b0
[11:41:49]>> pEfxAPI: 0x1eced90
[11:41:49]>> pEventAPI: 0x1ebdb40
[11:41:49]>> pTriAPI: 0x1ecf478
[11:41:49]>> pNetAPI: 0x1ec92ec
[11:41:49]>> pDemoAPI: 0x1eb42d4
[11:41:49]>> pVoiceTweak: 0x1eda6b0
[11:41:49]>> pPlayermove: 0x2d5b160
[11:41:51]>> pEngstudio: 0x1ecf1f0
tabris
03-06-2005, 05:46 AM
[11:41:49]>> pEngfuncs: 0x1eb32b0
[11:41:49]>> pEfxAPI: 0x1eced90
[11:41:49]>> pEventAPI: 0x1ebdb40
[11:41:49]>> pTriAPI: 0x1ecf478
[11:41:49]>> pNetAPI: 0x1ec92ec
[11:41:49]>> pDemoAPI: 0x1eb42d4
[11:41:49]>> pVoiceTweak: 0x1eda6b0
[11:41:49]>> pPlayermove: 0x2d5b160
[11:41:51]>> pEngstudio: 0x1ecf1f0
Those are the engine function offsets. The OP is looking for the addresses of the client.dll functions.
The way you go about this depends on what mod you're doing it for.
- For a non-VAC mod such as NS, HLDM or TS, you can just call GetProcAddress() on the client.dll and find the functions as they are exported.
- For a VAC mod such as CS, DoD or TFC things are a lot more complicated, and often if you just have the addresses of the function entry points this isn't enough to hook them. The client.dll for these mods is in Valve's own PE format and exports are done via a function in the DLL that writes the addresses of all exported functions to a fixed-length array that the engine uses. If you just want to hook these functions, search for a tutorial on SlotFX or the client vtbl since that's the easiest way.
Powered by vBulletin® Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.