| Cheat Engine The Official Site of Cheat Engine FAQ Search Memberlist UsergroupsRegister | Profile Log in to check your private messages Log in |
|
Can Cheat Engine break my game? | Cheat Engine Forum Index -> Cheat Engine | View previous topic :: View next topic | Author | Message |
---|
Wondering123 How do I cheat? Reputation: 0Joined: 29 Nov 2019 Posts: 4
| Posted: Fri Nov 29, 2019 9:50 am Post subject: Can Cheat Engine break my game? | | | Hey guys, let me describe what I mean giving an example: I had been using Cheat Engine for Kingdoms of Amalur: Reckoning (for a difficulty mod) and it was working just fine, but the longer I played, the worse my FPS would become. It was a very slow process, so not something noticeable after just one session, but something that would slowly become worse over days. So I played and my fps gradually became worse, until everything was just really slow and at that point it really wasn't fun anymore.. I searched for a solution but it seemed like the save was simply corrupted or something.. when I loaded on earlier saves of the same playthrough, the FPS was better. I checked the savegames, and they weren't of particularly big size. I've been thinking about starting over (i have since gotten a new PC) but i am worried the same is going to happen again.. Could CE be what is responsible for my problems? Because it didn't happen when I played the game without CE. If you are interested, here is a link to the cheat I used: sendspace com/file/0sdnbb (or the thread where the link is from; just so that no one thinks its a virus or something:) steamcommunity com/app/102500/discussions/0/1489992080524516532/ I had to edit the links out because the page wouldn't let me enter links, sorry about that (so if you want to check add a "." between name and com) |
| Back to top | | | t328163 !BEWARE! Deletes post on answer Reputation: 2Joined: 19 Dec 2017 Posts: 73
| Posted: Fri Nov 29, 2019 11:29 am Post subject: | | | take into account that you could've mod something with CE that caused a memory leak by a malfunction. |
| Back to top | | | Wondering123 How do I cheat? Reputation: 0Joined: 29 Nov 2019 Posts: 4
| Posted: Sun Dec 01, 2019 7:39 am Post subject: | | | t328163 wrote: | take into account that you could've mod something with CE that caused a memory leak by a malfunction. |
I see, yeah perhaps that was it. How would I notice a memory leak? Because as i said, the saves werent that big size-wise and if i remember correctly the game wasn't taking up a lot of RAM either. Are there any tips you can give me on what to care for? Sorry im really clueless haha |
| Back to top | | | Dark Byte Site Admin Reputation: 463Joined: 09 May 2003 Posts: 25464 Location: The netherlands
| Posted: Sun Dec 01, 2019 7:48 am Post subject: | | | always back up saves and don't randomly change things and then save e.g in borderlands there was a flag for 'perma death' gameplay mode. if that flag was set and you'd die, the game would delete your save. So setting that flag isn't something you want and could only be done by editing fields you don't know what they do (since they'd never change in game) very special side effect of this one is that if you played online with that character other people you'd play with would also get that flag set on their character save. Effectively creating a perm death STD _________________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 | | | Csimbi I post too much Reputation: 96Joined: 14 Jul 2007 Posts: 3191
| Posted: Sun Dec 01, 2019 8:31 am Post subject: | | | Wondering123 wrote: | How would I notice a memory leak? |
If you have just one script, check alloc and dealloc calls - make sure each alloc has a pair, and try not to use them in loops. If you have multiple scripts, try enabling only one at a time to find out which one's causing the leak, then use the logic above. (process of elimination) Lastly, ensure your code does not interrupt the flow of the original code - always return/jump back where your code is invoked from and let the original code take its course and leave registers unchanged (unless of course the very purpose of your code is changing a register).You might also want to check that the code you run is running only on the resource intended. Your code will be inherited to all instances of a class using the same code, so we vary of hooking generic code. |
| Back to top | | | Wondering123 How do I cheat? Reputation: 0Joined: 29 Nov 2019 Posts: 4
| Posted: Sun Dec 01, 2019 2:17 pm Post subject: | | | Dark Byte wrote: | always back up saves and don't randomly change things and then save e.g in borderlands there was a flag for 'perma death' gameplay mode. if that flag was set and you'd die, the game would delete your save. So setting that flag isn't something you want and could only be done by editing fields you don't know what they do (since they'd never change in game) very special side effect of this one is that if you played online with that character other people you'd play with would also get that flag set on their character save. Effectively creating a perm death STD |
I see, thanks for your advice! I actually reinstalled the game today, and still had my saves surprisingly. I tested some and interestingly there was no considerable FPS difference between the later and earlier stages of my playthrough.. i wonder if it may have been my pc. So the safest way to use Cheat Engine would be, when i stop playing, to save, then quit CE and then quit the game? Or should i save, quit the game first, and quit CE after? Csimbi wrote: | Wondering123 wrote: | How would I notice a memory leak? |
If you have just one script, check alloc and dealloc calls - make sure each alloc has a pair, and try not to use them in loops. If you have multiple scripts, try enabling only one at a time to find out which one's causing the leak, then use the logic above. (process of elimination) Lastly, ensure your code does not interrupt the flow of the original code - always return/jump back where your code is invoked from and let the original code take its course and leave registers unchanged (unless of course the very purpose of your code is changing a register).You might also want to check that the code you run is running only on the resource intended. Your code will be inherited to all instances of a class using the same code, so we vary of hooking generic code. |
Thanks, but i am sorry to say that i have no idea to do what you mentioned first, i played around a bit with some memory view function, but no idea how to make sense of it And for what you mentioned last, i literally have no idea what that's supposed to mean sorry |
| Back to top | | | Csimbi I post too much Reputation: 96Joined: 14 Jul 2007 Posts: 3191
| Posted: Mon Dec 02, 2019 4:23 am Post subject: | | | Wondering123 wrote: | And for what you mentioned last, i literally have no idea what that's supposed to mean sorry |
It's okay. CE on its own won't break a game (unless the game comes with some sort of detection - and even then, they won't mind CE until you actually try to run some code). Script (AA or LUA) can break your game, especially if they are outdated or poorly coded. |
| Back to top | | | Wondering123 How do I cheat? Reputation: 0Joined: 29 Nov 2019 Posts: 4
| Posted: Mon Dec 02, 2019 12:12 pm Post subject: | | | Csimbi wrote: | Wondering123 wrote: | And for what you mentioned last, i literally have no idea what that's supposed to mean sorry |
It's okay. CE on its own won't break a game (unless the game comes with some sort of detection - and even then, they won't mind CE until you actually try to run some code). Script (AA or LUA) can break your game, especially if they are outdated or poorly coded. |
I see, thanks! Could i also ask you the question as to how i use Cheat engine safely? Like, when i use it for the game i mentioned in my example, should i close Cheat Engine and then close the game? Or should i close the game first, and close Cheat Engine after? In the guide it says: "Please don't deactivate/reactivate scripts on a running game. A script once in memory is at some occasions only partially removed from memory, therefore relaunch both Cheat Engine/Standalone file and KOA:R itself for deactivation/reactivation operations." Does that mean when i finish playing i save -> close game -> close Cheat Engine? Thanks so much for your help guys! |
| Back to top | | | Csimbi I post too much Reputation: 96Joined: 14 Jul 2007 Posts: 3191
| Posted: Mon Dec 02, 2019 3:08 pm Post subject: | | | You need to activate scripts on the running game. That's what CE is about. But don't trust just any script, you never know what's in there.Anyway, some games require you load a game first, while some don't. Most scripts tap into code other than save/load, so enabling it should not interfere with your saves or loads. It is a good practice to do things in reverse though. For example, if you activate script1, then script 2, then you might want to deactivate script2 for and then script1. Me, I don't care. I just hit ALT+F4 to exit the games after I saved. |
| Back to top | | | |
| Cheat Engine Forum Index -> Cheat Engine | All times are GMT - 6 Hours | Page 1 of 1 | | 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
| |