Form Frozen if I use .waitTillDone()

Want Cheat Engine to do something specific and no idea how to do that, ask here. (From simple scripts to full trainers and extensions)
Post Reply
User avatar
Andarkvolt
Noobzor
Noobzor
Posts: 12
Joined: Sun Mar 12, 2017 1:59 am
Reputation: 0

Form Frozen if I use .waitTillDone()

Post by Andarkvolt » Sat Dec 28, 2019 10:11 am

Is there a way which I can unfreeze the form (so it doesn't come up with not-responding) when scanning? I've been looking all over but I still have no clue. Is there a way which I can have access to the form while the script is scanning? I've seen some people even have a progress bar. Thanks for any help here! :)

Eric
Hall of Famer
Hall of Famer
Posts: 115
Joined: Thu Mar 02, 2017 11:01 pm
Reputation: 47

Re: Form Frozen if I use .waitTillDone()

Post by Eric » Sat Dec 28, 2019 12:15 pm

use the OnScanDone event and continue your code in there
don't call .waitTillDone

(or run your code in a thread, but that's basically double as the memscan is already a thread itself)

User avatar
Andarkvolt
Noobzor
Noobzor
Posts: 12
Joined: Sun Mar 12, 2017 1:59 am
Reputation: 0

Re: Form Frozen if I use .waitTillDone()

Post by Andarkvolt » Sun Dec 29, 2019 1:19 am

Thanks mate!

Post Reply

Who is online

Users browsing this forum: Google [Bot]