PowerupGameObj::Grant() and C4GameObj::Detonate() [message #470397] |
Sun, 01 July 2012 03:57 |
iRANian
Messages: 4311 Registered: April 2011
Karma:
|
General (4 Stars) |
|
|
After talking to StealthEye he told me that ::Grant() isn't jump hooked to the FDS' function, instead the function calling them being replaced completely (::Think() for both IIRC), and it seems to be the same for C4GameObj::Detonate().
Could a jump hook for the FDS' original functions for these replacements be added, so I can grab the address of 4.0's replacement functions in memory by checking the JMP at the start of the original functions?
PowerupGameObj::Grant() is at 0x006F1100
and C4GameObj::Detonate() is at 0x0070BE90
I'm not sure if the 4.0 replacement functions are called in 4.0's replacement ::Think().
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|