Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need help with sim city 4

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Nocebo
How do I cheat?
Reputation: 0

Joined: 04 Dec 2006
Posts: 6

PostPosted: Mon Dec 04, 2006 2:14 pm    Post subject: Need help with sim city 4 Reply with quote

Hi, my girlfriend plays sim city 4 a bit, and I decided to make some attempts on it.

Before I even started on the game, It has some protection on it that keeps you from attaching a debugger to the game. Anyway, after playing with the settings and running the 'Gather kernel data' program that came with CE, I was able to attach to sim city 4.

I found what I was after rather quickly. I wanted to do a code injection that kept your monthly costs at $0. Anyway, the code injection worked the first time I tried it and the game ran fine. The next time I wanted to make a cheat table so I could just enable the cheat and not have to go through all the steps again.

This is when I ran into some weird problems with the game shutting itself down. I can do 'find out what writes to this address', but if I try 'found out what accesses/reads this address'. The game will shut itself down shortly after I alt-tab back in a let it run for a 5 or so seconds. Sometimes the code injection will be successful and sometimes the game will shut itself down right after I inject the code. Note, I never get any crash messages or error messages. The game just closes.

I know I could just alter the money easy enough, but I think it's the principle of it. I'd like to know if this is something I'm doing or some protection scheme on the game.

Tell me if anymore data is needed or if there is some knowledge I don't have here. Thanks.
Back to top
View user's profile Send private message
kcdclan
Expert Cheater
Reputation: 0

Joined: 28 Nov 2006
Posts: 130
Location: ,.''., Internet ,.''.,

PostPosted: Mon Dec 04, 2006 2:29 pm    Post subject: Reply with quote

Try to find some pointers.
There is probly some on these forums for that game do search.
If not google will have some for you.

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Dec 04, 2006 3:19 pm    Post subject: Reply with quote

Ok sounds like it the place you are trying to code inject is not the correct pointer.

It may be a higher level pointer.
Back to top
View user's profile Send private message
Nocebo
How do I cheat?
Reputation: 0

Joined: 04 Dec 2006
Posts: 6

PostPosted: Mon Dec 04, 2006 3:31 pm    Post subject: Reply with quote

Yes, I figured it was a pointer, but I cannot find the pointer because the program shuts down if I try to figure out what accesses it. Whether I inject code or not. Just trying to find out what accesses it causes the program to close.


edit:

Got everything to work.

I reinstalled cheat engine and had it run the kernel info tool while simcity 4 was running. This allowed me to find out what reads addresses and track down all the pointers without the game closing. The game will close if I inject code while the debugger is attached. However, if I wrote my injection code into a cheat table and save, then restart ce and simcity 4. I can enable the cheat while the debugger is not attached. Works great this way.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites