Posted: Sat Sep 23, 2023 2:36 pm Post subject: Game sometimes crashes when changing values
So, I am really new to using cheat engine. I've been using it lately to swap maps in a game I'm running through an emulator, by changing the string values of some maps' addresses. While the game runs perfectly fine with some values, there are a few specific ones which, when inputted, cause the game to freeze and crash while loading the map (whose value has been altered). Cheat engine also remains frozen till the game closes. I am pretty sure there is no mistake in the values themselves, as I am copy-pasting them from an online source (and they are the exact same in every other online source I've checked).
Does anyone know if there is a way to find out what is causing this issue? (I have tried checking memory viewer with debug breaks enabled but I couldn't understand much). Any help would be greatly appreciated.
Changing a string to a longer string is bad (buffer overflow). There's no good way around this. You'd be better off changing a pointer to the string instead, but you might run into ownership problems (e.g. double free is bad). _________________
I don't know where I'm going, but I'll figure it out when I get there.
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