View previous topic :: View next topic |
Author |
Message |
sir-gunny Advanced Cheater Reputation: 0
Joined: 15 Mar 2012 Posts: 78
|
Posted: Thu Jan 30, 2014 3:35 am Post subject: ProgressBar with createMemScan gets freeze! Why? |
|
|
Hi.
I have a form with a ProgressBar and would it "load" when i scan the memory.
When i use this code, I gets a freeze.
Code: | MyScanProgressBar = createProgressBar(MyForm)
MyMemScan = createMemScan(MyScanProgressBar) |
Can anyone help me please? |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Jan 30, 2014 8:35 am Post subject: |
|
|
Probably, no one tested it with CE6.3 _________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Thu Jan 30, 2014 10:32 am Post subject: |
|
|
This script works fine for me:
Code: |
MyForm=createForm()
MyScanProgressBar = createProgressBar(MyForm)
MyMemScan = createMemScan(MyScanProgressBar)
MyMemScan.firstScan(soExactValue,vtDword, rtRounded,"12","",0,0xffffffffffffffff,"*W*R*X",fsmAligned, "4",false, true,false, false)
|
Do you do something after initiating the scan?
Edit: Ok, I assume you do a waitTillDone call which freezes everything including the gui till it's done. (and progressbar updates use the gui)
Its fixed in the svn, and I added something so you don't have to wait explicitly for it to finish anymore _________________
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 |
|
|
sir-gunny Advanced Cheater Reputation: 0
Joined: 15 Mar 2012 Posts: 78
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Thu Jan 30, 2014 12:06 pm Post subject: |
|
|
In memscan.pas yes (and luamemscan.pas for the freeze fix) if you compile cheat engine from the svn the memscan object will have a new property called OnScanDone
If you set that to a function, that function will be called when the scan finishes.
So you can exit the function and let the user do other stuff while the scan is running. Your code will be called when it's done _________________
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 |
|
|
|