AbrasiveZealot Newbie cheater Reputation: 0
Joined: 02 Jan 2011 Posts: 21
|
Posted: Mon Jul 07, 2014 10:19 pm Post subject: User defined symbol as VEH hook |
|
|
I'm really not sure what the problem is, trying to do a debug jump to my code.
Code: |
function debugger_onBreakpoint()
if (EIP == 0x0093F710) then EIP = 0x0093F772
elseif (EIP == 0x00FF47B6) then EIP = getAddress(MyCode)
else return 0 end
debug_continueFromBreakpoint(co_run)
return 1
end
|
Code: |
[enable]
alloc(MyCode, 1024)
registersymbol(MyCode)
label(WAddress)
registersymbol(WAddress)
////
////
////
////
MyCode:
mov [WAddress],esi
movss xmm1,[esi+000000CC]
jmp 00FF47BE
WAddress:
db 00 00 00 00
////
////
////
////
[disable]
|
The point of this is to store the address for the last fired weapon so I can use it elsewhere, in testing i've been setting the breakpoint manually so I can be sure that the symbol is being declared before hand. An error pops up saying that it cant determine what it means.
|
|