| View previous topic :: View next topic |
| Author |
Message |
deadendthrills How do I cheat?
Reputation: 0
Joined: 14 Feb 2016 Posts: 4
|
Posted: Sun Feb 14, 2016 5:16 am Post subject: Why does Spec Ops: The Line crash? |
|
|
I've been using Cheat Engine on Spec Ops: The Line to control things like character position and camera. Problem is that the game keeps crashing, even though the scripts themselves work correctly. Even if you run a script that just jumps to a code cave and back, the game will:
a) crash upon trying to load a level or often cutscenes
b) crash after a certain amount of time
I've tried using stealthedit but it made no difference. I tried using stealthedit to find integrity checks but nothing came up. I'm also not nearly good enough to know precisely what I'm looking for.
Any ideas what I should do next?
Spec Ops: The Line does have multiplayer but it's a tacked-on affair no one plays any more. I'm surprised the servers are still up. It's essentially a singleplayer game, which is what I'm trying to modify.
|
|
| Back to top |
|
 |
Negima I post too much
Reputation: 5
Joined: 22 May 2007 Posts: 2221
|
Posted: Sun Feb 14, 2016 8:04 am Post subject: |
|
|
| try creating an alternative code
|
|
| Back to top |
|
 |
deadendthrills How do I cheat?
Reputation: 0
Joined: 14 Feb 2016 Posts: 4
|
Posted: Sun Feb 14, 2016 9:09 am Post subject: |
|
|
I've tried multiple opcodes and multiple methods and scripts. Same issue arises.
EDIT: Did a bit more digging. Turns out it's only the scripts which use cmp to filter out values which cause the crashes. Take those filters out and the game runs normally. Doesn't really help, unfortunately, as I haven't found a way to inject new values without filtering.
EDIT: Thought I'd make this a bit more useful with some images. One shows the code I'm interested in, and the other is the quick test script. Taking the cmp function out lets the game run as normal, but leave it in and the game will crash after a few minutes, or the moment you try to load a level.
| Description: |
|
| Filesize: |
202.7 KB |
| Viewed: |
14938 Time(s) |

|
| Description: |
|
| Filesize: |
201.01 KB |
| Viewed: |
14938 Time(s) |

|
|
|
| Back to top |
|
 |
Matze500 Expert Cheater
Reputation: 8
Joined: 25 Jan 2012 Posts: 241 Location: Germany
|
Posted: Tue Feb 16, 2016 4:01 am Post subject: |
|
|
As far as I know the game has an anti-cheat. That may cause the crashes.
Greets Matze
_________________
|
|
| Back to top |
|
 |
Cake-san Grandmaster Cheater
Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Feb 16, 2016 6:23 am Post subject: |
|
|
The problem is you are inside memcpy function. It is used for many things. It copies memory region.
Check CPU stack for return pointer to get position of caller.
You will see a few push commands and a call to memcpy.
first push is size, second source pointer and third destination pointer.
_________________
|
|
| Back to top |
|
 |
deadendthrills How do I cheat?
Reputation: 0
Joined: 14 Feb 2016 Posts: 4
|
Posted: Tue Feb 16, 2016 2:12 pm Post subject: |
|
|
| You'll have to forgive my ignorance here. How do I find the return pointer in the CPU stack?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Feb 16, 2016 4:04 pm Post subject: |
|
|
How did you find that injection point? You added address to the list and made "find out what ....". Right?
Highlight opcode, click more information, then click "S" button to see the stack. Fourth line should be the return address.
_________________
|
|
| Back to top |
|
 |
deadendthrills How do I cheat?
Reputation: 0
Joined: 14 Feb 2016 Posts: 4
|
Posted: Thu Feb 18, 2016 4:43 pm Post subject: |
|
|
| Okay, I did that and found the three push instructions. Where do I go from here?
|
|
| Back to top |
|
 |
finnegan waking up How do I cheat?
Reputation: 13
Joined: 05 Aug 2014 Posts: 0
|
Posted: Wed Feb 24, 2016 5:08 pm Post subject: |
|
|
| i think you can patch the exe for the anticheat to get off.
|
|
| Back to top |
|
 |
|