Thread
:
How to hook/call game dll function from module?
View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
08-17-2017 , 15:04 Re: How to hook/call game dll function from module?
#
10
Quote:
Originally Posted by
STekLyAToR
I worked my idea without calling any clientside functions. I have more attentively studied the code and find out that target function uses g_engfuncs[47], I started looking for declare of g_engfuncs, and found function g_engfuncs[0], this function took the path to model. And later, exploring AMXX SDK, I noticed that in defines function PrecacheModel is first, and I assumed that PrecacheModel has index 0. Experimentally I scroll through 46 lines down and mark line, this line was define of MessageBegin. I used this method on other functions for convert calling using pointer on instance of array to function names. Using the obtained information, I was able to more detail examine the code of AdjustSpecificWeapon. Examined, I was discovered that this function can be replaced to messages. Thanks to all for the help.
Why so complicated?
Check for enginefuncs_t struct at eiface.h on hlsdk
__________________
Divide et vinces
approved plugins
|
steam account
I don't accept PM for support. Just ask on forums.
If you're looking for
private work
,
PM me
.
joropito
View Public Profile
Send a private message to joropito
Find More Posts by joropito