 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Autem Expert Cheater
Reputation: 1
Joined: 30 Jan 2023 Posts: 156
|
Posted: Wed Jul 31, 2024 11:56 am Post subject: Trying to figure out what causes an occasional (new) crash |
|
|
Important to note this game does not get new patches. This it not a patch issue or a new anti-cheat being added. This game has no anti cheat, and was not recently updated.
In a game that I have had no problems with for many years, now several times a day I am running into a crash. I haven't added very many new cheats at all, and sometimes it even crashes the game when NO cheats are on. What might be the cause of this?
One thing I did recently was I converted all my number addresses to display as module+offset addresses. I did this in Notepad using a search and replace... but one thing I did NOT DO was make sure they all either have quotes or don't have quotes.
In other words, I have a mix of this
game.exe+1234
"game.exe"+1234
^Throughout the ENTIRE ct file it's a mix of both methods. That's ok, correct?
In some places a module will have quotes around it, and in others they don't. Could this be the cause of a game crash? Do I need to go through the entire file in Notepad and make sure every address either HAS (or doesn't have) quotes around the module? I haven't tried this because it would take me a while, but if this sounds like the possible problem I will do it.
If the quotes around the module don't matter, then I am at a loss for what else to consider that could be making new crashes happen lately (Game has not received a new update, and has no anticheat). Any ideas are welcome.
Possible symptom that may be telling: Sometimes after the game crashes, if I leave CE open and run the game again, the game actually crashes AGAIN during the loading screens. At that time, NO cheats have been turned on yet, but CE has auto-detected and attached to the game already. I am 100% sure this game has NO anti cheat. If I shut CE down and open CE again, this issue goes away until sometime later in the day. This is a brand new, and as of now repeated, pattern. What might go wrong in CE that could re-crash the game when I start it again?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
|
Posted: Wed Jul 31, 2024 12:16 pm Post subject: |
|
|
crashes when no cheats are on: "It's your computer. E.g. windows update, security updates, anti virus, bad intel cpu with fried internals, etc..."
the quotes don't matter if the game.exe has no space in them. It shouldn't matter, unless you have a selfdefined symbol with the same name as the module but I doubt that
_________________
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 |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4703
|
Posted: Wed Jul 31, 2024 12:38 pm Post subject: |
|
|
Does it crash if CE is never even opened? If so, then CE probably isn't the problem. Could be a regression in an update of something else the game uses- e.g. graphics driver
Does a new instance of CE without any table loaded (or personal autorun Lua scripts) cause it to crash? If so, then maybe it's an antivirus "protecting" you or a virus doing a shit job of hiding itself. Could also be the game patched itself without your knowledge.
Otherwise, it's your table that's the problem.
Quotes are just for exe names that have spaces in them- e.g. "My Game.exe"
Whether you use them or not probably won't make a difference unless they end up being unescaped quotes in Lua code or something like that
Autem wrote: | One thing I did recently was I converted all my number addresses to display as module+offset addresses. I did this in Notepad using a search and replace... | That's a bad idea unless you go through every individual result and make sure it's OK to make that substitution. You also have to know what you're doing: e.g. when it's necessary to escape `"` w/ `"`
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
Autem Expert Cheater
Reputation: 1
Joined: 30 Jan 2023 Posts: 156
|
Posted: Wed Jul 31, 2024 2:06 pm Post subject: |
|
|
Quote: | Does it crash if CE is never even opened? |
Never. CE must be open, and be in the crashing loop, in that exact cheat table. For example, if CE caused the crash while I was playing, it will also make the game keep crashing during the opening loading screens if I leave that same CE session running. Confirmed even up to 10 times in a row, got that re-crash until I shut down CE and re-opened it and everything is ok again. The cheat table eventually has something happen in it that creates a crash loop until I restart CE.
Quote: | Does a new instance of CE without any table loaded (or personal autorun Lua scripts) cause it to crash? |
Never. This relates to the table I recently made some edits in using find/replace in notepad. Also, the old version of the table (before the addresses were all converted to show the module) NEVER crashes. It's something with this specific table after I converted all addresses to include the game module+offset.
Quote: | Autem wrote: | One thing I did recently was I converted all my number addresses to display as module+offset addresses. I did this in Notepad using a search and replace... | That's a bad idea unless you go through every individual result and make sure it's OK to make that substitution. You also have to know what you're doing: e.g. when it's necessary to escape `"` |
A few minutes ago I just got finished doing a search for "game.exe"+
and replaced all with game.exe+
Thus removing all the quotes, since the game exe has no spaces. So far, no crashing, but it usually takes a while before it happens anyway.
If I keep running into the crash it might be that I have to start over on the old version of the file, and just go through each one individually like you said. I'm just hoping it's not that because that would take days to sift through.
I am using the most recent version of CE on Windows 10.
|
|
Back to top |
|
 |
Emya Newbie cheater
Reputation: 0
Joined: 28 Jul 2024 Posts: 14
|
Posted: Thu Aug 01, 2024 2:36 am Post subject: I've Encountered This Too, Hoping Someone Can Explain the Re |
|
|
I've encountered this issue as well. In my case, CE wasn't closed, and I had a script running (no Lua, but with AOB and some memory allocations). When the game crashed and I re-injected, reopening certain AOB scripts (in any order) that previously worked perfectly caused it to crash. The memory allocations were normal. By copying the current script, restarting CE, and pasting it back in without any changes, the issue was resolved. Since I first encountered this problem, I've always solved it by restarting CE, which is very convenient. Perhaps because the solution is so simple, this isn't considered an important bug and might not be fixed. However, I hope an expert can explain the cause and provide an answer in your post. At least, we'll understand the underlying principle.
|
|
Back to top |
|
 |
|
|
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
|
|