| View previous topic :: View next topic |
| Author |
Message |
HyberCode Cheater
Reputation: 0
Joined: 17 Feb 2016 Posts: 40
|
Posted: Wed Feb 17, 2016 10:22 am Post subject: ... |
|
|
hello
i have a problem
bytes = "xx xx xx xx xx xx"
results = AOBScan(bytes,"*W*X-C")
address=getAddress(stringlist_getString(results,0))
debug_setBreakpoint(address)
debug_removeBreakpoint(address)
writeDouble(mapaddress,500)
function debugger_onBreakpoint()
mapaddress = ECX + 0x20
return 1
end
the problem is when i use this only first value in the "find out what addresses this inctruction accesses" change to 500 ... i want all the addresses putting to (mapaddress) so when i change mapaddress all the other addresses in "find out what addresses this inctruction access" change to 500
sorry for my bad english
thank you
Last edited by HyberCode on Wed Feb 17, 2016 2:42 pm; edited 1 time in total |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25840 Location: The netherlands
|
Posted: Wed Feb 17, 2016 10:44 am Post subject: |
|
|
It's a wonder the first one even gets changed (as the breakpoint gets deleted too quickly)
Anyhow, try something like this:
| Code: |
mapaddresses={}
bytes = "xx xx xx xx xx xx"
results = AOBScan(bytes,"*W*X-C")
address=getAddress(stringlist_getString(results,0))
debug_setBreakpoint(address)
function debugger_onBreakpoint()
local a=ECX + 0x20
if mapaddresses[a]==nil then --check if it has been changed
--not yet, write the value
writeDouble(a,500)
mapaddresses[a]=true --and add it to the list
else
debug_removeBreakpoint(address) --already in the list, so all entries have been changed. (assuming it's only called once for each address each time)
end
return 1
end
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
HyberCode Cheater
Reputation: 0
Joined: 17 Feb 2016 Posts: 40
|
Posted: Wed Feb 17, 2016 12:34 pm Post subject: |
|
|
thank you for replying
i full understand what u wrote ... but Unfortunately it didn't work
this is picture of what happen with ur new code
imgur. com/Jjl5vXs
i will explain it more now
imgur. com/PNEuqTG
like what in the image .. i get more than one address ... and always with my old code the first value become the mapaddress
what i want to do ... that all those address change with one click
ps : those address always changing ... that's why i can't get the pointer and the offsets of it
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25840 Location: The netherlands
|
Posted: Wed Feb 17, 2016 12:52 pm Post subject: |
|
|
Just fix the code. You're calling a nil value somewhere which probably stops the return. The line number is provided in the error message
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
HyberCode Cheater
Reputation: 0
Joined: 17 Feb 2016 Posts: 40
|
Posted: Wed Feb 17, 2016 1:39 pm Post subject: |
|
|
| thank you very much dark byte ... i fixed it
|
|
| Back to top |
|
 |
|