AsmSight655 How do I cheat?
Reputation: 0
Joined: 22 Dec 2015 Posts: 2
|
Posted: Tue Dec 22, 2015 12:57 pm Post subject: Calling memScan.destroy() inside its onScanDone freezes CE |
|
|
local Scan = createMemScan(false)
Scan.firstScan(1,2,1,"12345678",nil,0,0xFFFFFFFFFF,'',0,nil,true,true,false,false)
Scan.onScanDone = function()
Scan.destroy()
end
Came across this while trying to make sure I cleaned up after executing. I haven't tested it with all types, but for at least dwords this causes CE to freeze seemingly indefinitely. 6.4 64
|
|
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25821 Location: The netherlands
|
Posted: Tue Dec 22, 2015 1:31 pm Post subject: |
|
|
don't destroy it in scandone as it has other things to do after the scan has finished (like returning to the thread that called onScanDone, which is why it's deadlocked)
you can launch a timer thst destroys it, or just leave it and reuse the memscan object for next scan
you can also just wait till it's done. E. g. in a thread you created yourself so the GUI isn't affected
_________________
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 |
|