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 


Cheat engine 7.4 Mono Freezing/Stutter problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
gid2525
Expert Cheater
Reputation: 2

Joined: 21 Oct 2013
Posts: 103

PostPosted: Sat Apr 23, 2022 11:07 pm    Post subject: Cheat engine 7.4 Mono Freezing/Stutter problem Reply with quote

So I have made and maintain a table for Solasta:Crown of the Magister. Its a unity game. Anyway after I attach Cheat Engine to the game and activate Mono (no scripts activated, just mono) I start to get these little mini freezes. Cheat engine will freeze up for some seconds when I am doing..well anything. Whether its opening a script, or menu, etc. Sometimes the freeze will happen for 2-3 seconds, somethings as long as 5 or 6 seconds. But it happens.. Constantly. Also it takes forever to activate some scripts..

Anyway its horribly annoying. This is with the current version of the game 1.3.44 (Lost Valley DLC).I tested and Cheat Engine 7.3 does not have this issue with game version 1.3.44, just CE 7.4. In addition the previous game version from several months ago (game version 1.2.15)will work fine with cheat engine 7.3 or 7.4.

I can only assume some change with mono was done with 7.4? Im assuming Solastas latest game version is with the newest version of unity. Is there anything i can add to my table to remove these stutters/freezes? I need to release an update to the table but Ill get tons of complaints if its constantly freezing/stuttering when people try to use it because everyone will be using CE 7.4 now (If they use CE 7.3 would be fine though).

Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Apr 24, 2022 3:05 am    Post subject: Reply with quote

try lua command LaunchMonoDataCollector(false) instead of the menuitem
_________________
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
gid2525
Expert Cheater
Reputation: 2

Joined: 21 Oct 2013
Posts: 103

PostPosted: Sun Apr 24, 2022 7:15 am    Post subject: Reply with quote

Dark Byte wrote:
try lua command LaunchMonoDataCollector(false) instead of the menuitem


Unfortunately that does nothing (no change). Thanks though! Might be something to look into though cause if its doing it with Solasta it may do it with other newer games/updates in the future. The strange fact also that CE 7.3 does not have this problem.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Apr 24, 2022 7:30 am    Post subject: Reply with quote

you're sure you're not mixing the 7.3 mono dll with 7.4 lua ?
_________________
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
icp
Newbie cheater
Reputation: 0

Joined: 09 Dec 2021
Posts: 24

PostPosted: Sun Apr 24, 2022 9:46 am    Post subject: Reply with quote

How can mix lua dlls of different versions? Run two programs for one game?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sun Apr 24, 2022 10:16 am    Post subject: Reply with quote

e.g use ce 7.4 on a game. Then vlise ce but leave the game running, then use ce 7.3 on that same game

7.3 will then use the 7.4 dll

_________________
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
icp
Newbie cheater
Reputation: 0

Joined: 09 Dec 2021
Posts: 24

PostPosted: Sun Apr 24, 2022 10:47 am    Post subject: Reply with quote

It's clear, but I assumed that the libraries are closed when the program is closed. Not?
Back to top
View user's profile Send private message
gid2525
Expert Cheater
Reputation: 2

Joined: 21 Oct 2013
Posts: 103

PostPosted: Mon Apr 25, 2022 2:48 am    Post subject: Reply with quote

Dark Byte wrote:
you're sure you're not mixing the 7.3 mono dll with 7.4 lua ?


No. I can do a reboot and only open the game, then CE 7.4 and attach mono. Then the little mini freezes happen. Also, this is on a fresh install of Windows 10 (within the last couple of weeks).

EDIT: Strange. So I decided to just open cheat engine by manually clciking on cheatengine.exe and NOT the table and then opening the game and no problem.So I figured maybe its something to do with the table. So I start manually re-creating each script and slowly copying over each header/script/pointer and BANG! Found the problem, it was sitting in the archived/unused header I put junk in (don't remember when I put this in there):



opening the table with notepad:

<CheatEntry>
<ID>114910</ID>
<Description>"ModuleSize (End of Module) [Ending scanning Range]"</Description>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>getAddress('Solasta.exe') + GetModuleSize('Solasta.exe')</Address>
</CheatEntry>

So anyway this caused all the problems. I delete this and no more constant freezes. Also like I said CE 7.3 did not have this issue with it so maybe a weird bug? Anyway just happy to have found the culprit!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Apr 25, 2022 6:02 am    Post subject: Reply with quote

should be fixed now. (Check monoscript.lua on github)

icp wrote:
It's clear, but I assumed that the libraries are closed when the program is closed. Not?

Injected dlls aren't closed when CE closes. Only when the game closes

_________________
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
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3340

PostPosted: Mon Apr 25, 2022 9:33 am    Post subject: Reply with quote

Is there a planned date for the next public release? Razz
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Apr 25, 2022 12:35 pm    Post subject: Reply with quote

someday

anyhow, the mono stuff is easily applied to your table, in this case just the new version of mono_symbolLookupCallback(symbol) has to be loaded before activating mono for the first time (you don't need the whole script, just that one function)

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
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