View previous topic :: View next topic |
Author |
Message |
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Sun Apr 08, 2007 13:53 Post subject: Code Diffs/Patches |
|
|
NWNX Hook patch to get the correct gameObject:
Code: | Index: hook.cpp
===================================================================
--- hook.cpp (revision 12)
+++ hook.cpp (working copy)
@@ -135,7 +135,7 @@
mov eax, dword ptr ss:[esp+0x20] // variable name (param 2)
mov eax, [eax]
push eax
- mov eax, dword ptr ss:[esp+0x34] // game object (param 1) ??
+ mov eax, dword ptr ss:[ecx+0xC] // game object (param 1) ??
push eax
call PayLoad
|
|
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Mon Apr 09, 2007 22:34 Post subject: |
|
|
Thanks! _________________ Papillon |
|
Back to top |
|
|
virusman
Joined: 30 Jan 2005 Posts: 1020 Location: Russia
|
Posted: Mon Nov 26, 2007 19:08 Post subject: |
|
|
Updated.
- mov eax, dword ptr ss:[ecx+0xC] // game object (param 1) ??
+ lea eax, dword ptr ss:[ecx-0x190] // game object (param 1) ?? |
|
Back to top |
|
|
|