View previous topic :: View next topic |
Author |
Message |
etioplmld Advanced Cheater
Reputation: 0
Joined: 09 Feb 2021 Posts: 76
|
Posted: Sat Sep 03, 2022 12:35 am Post subject: About ce functions ,Is this process possible? |
|
|
When following the tutorial to find the pointer,Search for hex with multiple results.
About reducing the address on the MainForm Google search results in very few. It seems that the value on the window is
in getMainForm().Foundlist3.
Is this process possible?
1 do Check find out what accesses this address ,from the first address
2 if there is code to access it,Check next address.
3 If wait two seconds without code access, remove address and Check next address ,until the last address
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
|
Posted: Sat Sep 03, 2022 4:03 am Post subject: |
|
|
It is possible yes
debug_setBreakpoint(address, 4, bptAccess, function() deal with the bp and/or set next bp end)
and createTimer
_________________
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 |
|
 |
etioplmld Advanced Cheater
Reputation: 0
Joined: 09 Feb 2021 Posts: 76
|
Posted: Sat Sep 03, 2022 7:51 am Post subject: |
|
|
in someone else's code , The MainForm‘s address in the code seems to be foundList.PopupMenu.Items[i]
local foundList = getMainForm().Foundlist3
how to remove such as foundList.PopupMenu.Items[0]?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
|
Posted: Sat Sep 03, 2022 8:14 am Post subject: |
|
|
you can use the selected property and then delete the entries by invoking the delete menuitem
but why delete the entries? It's probably easier to keep your own list (especially if you intend to do a follow up next scan and then have to backtrace if it leads to nowhere)
_________________
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 |
|
 |
etioplmld Advanced Cheater
Reputation: 0
Joined: 09 Feb 2021 Posts: 76
|
Posted: Sun Sep 04, 2022 7:06 am Post subject: |
|
|
A window showing the process but not sure why the countdown is wrong
Code: |
f = createForm(true)
f.Position=poDesktopCenter
f.Width=500
f.Height=220
f.Caption = 'Process count'
local lb = createLabel(f)
lb.Left=44
lb.Top=30
lb.caption='total number:'..0
lb.Color = 16777215
local font=lb.Font
font.Size = 22
font.Color = 0xff0000
local lb2 = createLabel(f)
lb2.Left=44
lb2.Top=80
lb2.caption='Finish:'..0
lb2.Color = 16777215
local font=lb2.Font
font.Size = 22
font.Color = 0xff0000
local lb3 = createLabel(f)
lb3.Left=44
lb3.Top=120
lb3.caption='address:'..0
lb3.Color = 16777215
local font=lb3.Font
font.Size = 22
font.Color = 0xff0000
local fl = getMainForm().Foundlist3
lb.caption='total number:'..fl.Items.Count
debugProcess()
cdjs = createTimer()
local maincount = fl.Items.Count - 1
local jsct = 3
local i = 0
local ckAccess = false
function debugger_onBreakpoint()
debug_continueFromBreakpoint(co_run)
ckAccess=true
end
function countdown()
lb3.caption=fl.Items[i].Caption
debug_setBreakpoint(fl.Items[i].Caption, 1,bptAccess,debugger_onBreakpoint)
if ((not ckAccess) and (jsct > 0 and maincount>0 )) then
lb3.caption = fl.Items[i].Caption..'__'..jsct
jsct = jsct - 1
elseif (ckAccess == true and maincount>0 ) then
debug_removeBreakpoint(fl.Items[i].Caption)
i = i + 1
lb3.caption = fl.Items[i].Caption..'__'..jsct
debug_setBreakpoint(fl.Items[i].Caption, 1,bptAccess,debugger_onBreakpoint)
jsct = 3
maincount = maincount - 1
lb2.caption='Finish:'..i
elseif (jsct == 0 and maincount>0) then
fl.Items[i].Selected = true --main work
debug_removeBreakpoint(fl.Items[i].Caption)
i = i + 1
lb3.caption = fl.Items[i].Caption..'__'..jsct
debug_setBreakpoint(fl.Items[i].Caption, 1,bptAccess,debugger_onBreakpoint)
jsct = 3
maincount = maincount - 1
lb2.caption='Finish:'..i
else
lb3.caption='end'
cdjs.destroy()
end
end
cdjs.interval = 1000
cdjs.OnTimer = countdown
|
Refer to this but the effect of waiting for timeout is not right,it selects all addresses。
|
|
Back to top |
|
 |
|