Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Massive lag with speedhack after switching to 7.6
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
DaSilver
Cheater
Reputation: 0

Joined: 02 Jul 2012
Posts: 28

PostPosted: Thu Apr 17, 2025 9:33 pm    Post subject: Reply with quote

SubSonix wrote:
I might have done it wrong, but all this did was freeze my game when activating speedhack - so a worse result lol
Had to end task.


maybe you've edited something wrong? Make sure you've commented off only

csleave
and
csenter

and NOT "extern void csenter"
Back to top
View user's profile Send private message
SubSonix
How do I cheat?
Reputation: 0

Joined: 25 Apr 2011
Posts: 7

PostPosted: Thu Apr 17, 2025 10:42 pm    Post subject: Reply with quote

DaSilver wrote:
SubSonix wrote:
I might have done it wrong, but all this did was freeze my game when activating speedhack - so a worse result lol
Had to end task.


maybe you've edited something wrong? Make sure you've commented off only

csleave
and
csenter

and NOT "extern void csenter"


Ah, you said all lines with csEnter and csLeave.

I'll let you know how that goes later Smile
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 467

Joined: 09 May 2003
Posts: 25700
Location: The netherlands

PostPosted: Thu Apr 17, 2025 11:14 pm    Post subject: Reply with quote

This is just a temp fix till i implement a better Critical Section

It is possible that because the critical sections are removed that sometimes when the speed gets changed (including init to 1) ,and multiple threads of the game are getting the time at the same time, that one of them will get a time in the far future.
If it's just used to check if it's time to continue it's fine, but if it's used to set the time on when to continue it may result in a veeeery long wait

_________________
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
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 467

Joined: 09 May 2003
Posts: 25700
Location: The netherlands

PostPosted: Fri Apr 18, 2025 3:31 am    Post subject: Reply with quote

I've posted an improved speedhackv3.lua at https://pastebin.com/6kp3cmCt
it has a more complex but smoother critical section implementation

(this is also why I like going DLL-less so it's easier to patch issues)

_________________
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
View user's profile Send private message MSN Messenger
Thorxic
How do I cheat?
Reputation: 0

Joined: 26 Aug 2016
Posts: 4
Location: Space

PostPosted: Fri Apr 18, 2025 10:14 am    Post subject: Reply with quote

I've had a similar experience with speedhack. At first I thought it was due to something with Unreal Engine 5 games.

I've had the problem with games like the Half Sword Demo where I enjoy using Cheat Engine for slow motion. And in Ready or Not to speed up the tedious parts, like walking places. Both games are UE5. And when Cheat Engine has speed hack injected it experiences random intervals of freezing.

No problem in other games like Kingdom Come Deliverance 2, which uses CryEngine.

I'm no expert. I am fairly tech stupid. Just sharing my experiences and hoping it is somehow helpful <3

Edit: The improved speedhack lua works absolute wonders! Thank you!!! No issues anymore after using that on my side. I appreciate it!
Back to top
View user's profile Send private message
Krom
How do I cheat?
Reputation: 0

Joined: 20 Mar 2016
Posts: 3

PostPosted: Fri Apr 18, 2025 8:14 pm    Post subject: Reply with quote

Dark Byte wrote:
I've posted an improved speedhackv3.lua
it has a more complex but smoother critical section implementation

(this is also why I like going DLL-less so it's easier to patch issues)


Confirmed, this seems to have resolved the issue. Thanks.
Back to top
View user's profile Send private message
SubSonix
How do I cheat?
Reputation: 0

Joined: 25 Apr 2011
Posts: 7

PostPosted: Fri Apr 18, 2025 9:06 pm    Post subject: Reply with quote

So far so good (I've only tested one game so far) with the improved lua
Back to top
View user's profile Send private message
Arandrie
How do I cheat?
Reputation: 0

Joined: 20 Apr 2025
Posts: 1

PostPosted: Sun Apr 20, 2025 8:36 pm    Post subject: Reply with quote

I'm still new to tweaking cheat engine. What do I do with the lua file? I put it in the autorun folder and I still get lag.
Back to top
View user's profile Send private message
SubSonix
How do I cheat?
Reputation: 0

Joined: 25 Apr 2011
Posts: 7

PostPosted: Mon Apr 21, 2025 1:57 am    Post subject: Reply with quote

Arandrie wrote:
I'm still new to tweaking cheat engine. What do I do with the lua file? I put it in the autorun folder and I still get lag.


You need to rename the improved one to speedhackv3.lua and overwrite the old one.
Back to top
View user's profile Send private message
Thorxic
How do I cheat?
Reputation: 0

Joined: 26 Aug 2016
Posts: 4
Location: Space

PostPosted: Tue Apr 22, 2025 5:19 pm    Post subject: Reply with quote

I had some playing around with it and it doesn't seem perfect perfect, but it is an enormous improvement over the previous. There are some occassional minor freeze ups where the CPU tanks, but it's quite rare now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites