Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » PowerupGameObj::Grant() and C4GameObj::Detonate()
PowerupGameObj::Grant() and C4GameObj::Detonate() [message #470397] Sun, 01 July 2012 03:57 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fps drop
Next Topic: CommandLineParser::getInt() doesn't work with negative integers
Goto Forum:
  


Current Time: Sat Apr 27 01:48:09 MST 2024

Total time taken to generate the page: 0.00707 seconds