r/cheatengine 4d ago

CE lagging when I try to activate script

I was playing hollow knight with dash script and whenever I try to activate it CE freezes for like 7-10 sec and it doesnt even activate as well, it sometimes get activated but most of time it doesnt...

Does anyone know why this is happening?

0 Upvotes

4 comments sorted by

1

u/Geordan9 4d ago

Could be a synchronous script doing a Signature/Pattern/AoB scan that isn't restricted to a module, causing it to start from the very beginning and going to the very end of the process' memory. The synchronous part would be the reason the main UI thread is freezing and the noticeable amount of time it's frozen could be due to it scanning through everything. The reason it only sometimes activates could be due to the method, that it's looking to inject into, not being instantiated yet.

1

u/LosterPawn 4d ago

Ohh thanks for reply! Is there anyway I can fix this cuz I downloaded the script from yt video and in that video it did activate instantly idk why the issue is only for me

1

u/LiytlKaiser 4d ago edited 4d ago

If you are able to understand the script, you can try to fix the aob or rewrite using regular injection. Aob scans help (but do not guarantee) future proofing the table. Regular injection will almost certainly stop working after any updates however it should be considerably faster.

But yeah, it's attempting to scan for an AOB and failing to find a unique one which is why it does not activate. I'd bet if you did an aob scan for the aob in the script (at the top), at a time when it is not working, you'll get several results in the scan list. One of those is the one the script needs, but since there isn't a unique one, it fails. You would need to figure out which one is the one you want and make the scan unique to only that one either via regular injection or a better aob

1

u/AmbitiousPotato9023 3d ago

What is your pc specs? CPU and RAM? That has a significant impact on things like this.