| View previous topic :: View next topic |
| Author |
Message |
kagutsuchi How do I cheat?
Reputation: 0
Joined: 30 Jun 2012 Posts: 2
|
Posted: Sat Jun 30, 2012 1:56 pm Post subject: "Shared Code" problem with singleplayer game |
|
|
Hello fellow hackers, I have finished the tutorials for CE and currently I am trying to hack an NBA game. What I did successfully was using "code inject" and modified the 2 points and 3 points so that they became 5 points and 10 points when I shoot. The problem I came across is that the code is "shared" so it effects the user and the AI too. How can I fix this so that it works for the user side only? Since this is not related to Heath Editing like in CE tutorial 9, I don't really know what to do.
PS: I'm a newbie to hacking and is willing to learn!
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25827 Location: The netherlands
|
Posted: Sat Jun 30, 2012 2:04 pm Post subject: |
|
|
Same as in the tutorial, find a way to distinguish between the user and the ai (perhaps the user has some unique values, like the first pointer, or a pointer to a pointer to a string containing the playername. )
_________________
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 |
|
 |
kagutsuchi How do I cheat?
Reputation: 0
Joined: 30 Jun 2012 Posts: 2
|
Posted: Sat Jun 30, 2012 4:14 pm Post subject: |
|
|
| Hi DB, I have found a unique value for both the User and AI. However I search that using a different method, not the 2 points and 3 points as I mentioned in my 1st post. Would that be alright to use it in my 2/3 points code?
|
|
| Back to top |
|
 |
|