View previous topic :: View next topic |
Author |
Message |
A-off How do I cheat? Reputation: 0
Joined: 07 Dec 2018 Posts: 6
|
Posted: Sat Jan 26, 2019 6:56 pm Post subject: MemBP |
|
|
Hi
Is there way to use "DataBP > Find out what access this address" window from lua script?
Let's say we have condition like:
Code: | if (EIP == addressOfFunk) then |
and we know that (ESP + 8) = mem buffer ptr on this BP
How (if this possible) to set this memory access log bp (~100 bytes size) with default CE window?
As I know this step also require BP type changing (from HW to page exceptions). |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jan 27, 2019 2:58 am Post subject: |
|
|
pause the program
set the data breakpoint
go to the breakpoint list, select the breakpoint and rightclick it
then set the condition you want to break on
and then continue the program _________________
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 |
|
|
A-off How do I cheat? Reputation: 0
Joined: 07 Dec 2018 Posts: 6
|
Posted: Sun Jan 27, 2019 3:49 am Post subject: |
|
|
Dark Byte wrote: | pause the program |
Unfortunately I can't - this is server-client communication code and any delay > ~1000ms will cause connection drop and will change execution flow.
Any workaround (maybe without GUI, just log)? |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1260
|
Posted: Sun Jan 27, 2019 5:11 am Post subject: |
|
|
A-off wrote: | Any workaround (maybe without GUI, just log)? |
Try this.
Set the pause option with Timer: 10.. 100.. 999 ..
Click Key: F8 pause - F8 UnPause
Code: | if myhotkey then
myhotkey.Destroy()
myhotkey = nil
end
function killmytimer()
if mytimer then
mytimer.Destroy()
mytimer = nil
--showMessage("UnPause")
end
end
myhotkey = createHotkey(function()
if mytimer then
killmytimer()
speedhack_setSpeed'1'
-- unpause()
else
mytimer=createTimer()
mytimer.interval=1 --10.. 100.. 999 ..
mytimer.OnTimer=function()
speedhack_setSpeed'0'
-- pause()
end
end
end, VK_F8) |
_________________
|
|
Back to top |
|
|
A-off How do I cheat? Reputation: 0
Joined: 07 Dec 2018 Posts: 6
|
Posted: Sun Jan 27, 2019 6:19 am Post subject: |
|
|
Thx
But how this suppose to work?
Even if I froze client-side, server will drop connection and unpaused client won't get any packets to continue the right branch.
For now I have BP callback which handle BP chain, and eventually we get our mem buffer as a result of last BP. The point is to get all access to that mem buffer without pausing the program.
If client don't respond during timeout, server will close connection and we may get only first access event (or get nothing).
My guess was CE can do such a things without any problem, maybe I was wrong, just want to save some time, anyway this can be done with some coding but takes more time... |
|
Back to top |
|
|
|