by L. Spiro » Tue Dec 14, 2010 11:59 pm
I have hacked Unreal Tournament 2003 myself so I know exactly the problem you have.
There is a linked list of every “entity” in the game that acts as a player (bots and real players combined).
Because because your player is special (it responds to your input, your camera is attached to it, it basically provides the whole foundation to your game, etc.), there is also a direct pointer to your specific player. This is natural since, if the game had to search the linked list for your player for every type of action that was performed on it, it would slow the game down.
So my advice stands as stated above.
There is a secondary path to your player (although it should be true for every game, I have confirmed that it is true for this game), but if you cannot find it, you can make a script that uses a Script Address to search the linked list for the correct player name, and return that address. Once your script returns the address, MHS can take over and perform the lock, updating your HP, and only your HP.
L. Spiro
Our songs remind you of songs you’ve never heard.