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 


Tutorial 5 in CE is broken

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Fri Aug 06, 2010 11:34 pm    Post subject: Tutorial 5 in CE is broken Reply with quote

In tutorial 5 when I find my address and I follow the steps to throw a NOP into that instruction, I click Stop, then Close, as soon as it closes I get an Access Violation error. Any tips? Is there a step I am missing? Following the instructions it looks like when you hit replace it is just putting in a comment not really modifying the instruction.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat Aug 07, 2010 9:44 am    Post subject: Reply with quote

What was the code that You have found? Which OP system do You use?
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Sat Aug 07, 2010 4:32 pm    Post subject: Reply with quote

Wasn't sure about spoiler for posting code.

Code:
0045aecb - 89 10 - mov [eax], edx
0045AECD - 8B45FC - mov eax, [ebp - 04]
0045AED0 - 8B800C030000 - mov eax, [eax + 0000030C]
0045AED6 - 8B00 - mov eax, [eax]
0045AED8 - 3B45F8 - cmp eax, [ebp - 8]
0045AEDB - 7510 - jne 0045AEED


And of course the offset is different every time, but it's easy enough to find.

OS Windows Server 2008 Enterprise Edition SP1.

And before you say it's my OS I get the same error when running from Windows XP Pro SP3.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sat Aug 07, 2010 5:36 pm    Post subject: Reply with quote

It is not a spoiler, You can find posts on how to do the tutorial. Smile

The code You have found is right, so that is not a problem. I have the same.

Quote:
And of course the offset is different every time, but it's easy enough to find.

Actually most programs are using static codes, so the offset remains the same. DMA does not mean that the codes are also changing. The offset is the same for me too.

Quote:
OS Windows Server 2008 Enterprise Edition SP1.

And before you say it's my OS I get the same error when running from Windows XP Pro SP3.


Didn't plan to say that, I was just curious. I am also using XP Pro with SP3. I don't have a clue why is it crashing for You at the moment.

Is it crashing because You are nopping out the code, or because You use the debugger? Did You try what is happening if You do not nop the code? Well most likely that is the cause but who knows.

Are You using CE 5.6.1?

EDIT:
If You want, try to check out this table. Nop out the code or activate the "Complete step 5" cheat and see what happens.



Tutorial.CT
 Description:

Download
 Filename:  Tutorial.CT
 Filesize:  700 Bytes
 Downloaded:  507 Time(s)


_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Sun Aug 08, 2010 1:14 am    Post subject: Reply with quote

I meant the memory offset this code is pointing to is changing. I do have a laptop with XP Pro SP2, I may try that. I have only tried nopping out the code, haven't tried anything else yet.

I got your download in the morning I'll give it another shot. I'll also try to use another bit of code as opposed to nops. I'll also give straight patching the binary a shot see if that still crashes. If I nop that instruction in the binary and it still crashes it's gotta be something on my computer that is not liking the code running, if it works it has to be something in the way my OS, CPU, or memory are handling that code execution.

I've only been using CE for maybe 2 days now, but I can tell you even though the name is Cheat Engine this powerful little program is going into my reverse engineering toolbox.

I did use the debugger. Though does CE have it's own debugger or does it use a default one if the OS has one? I have Visual Developer Studio 2010 installed with it's debugger and a few other debugging tools I use. Ollydbg, IDA and a few others.

Thank you for the time you have spent to assist Geri, it's much appreciated.

***EDIT***
6:19 AM

Wow Geri, I looked at the file you posted, I wouldn't have thought of that.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Aug 08, 2010 9:08 am    Post subject: Reply with quote

It has a debugger in it. Pretty cool program indeed. Debugger, code injection and lots of other stuff.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Sun Aug 08, 2010 3:52 pm    Post subject: Reply with quote

I've looked at your code, and I'm still not sure why simply nopping the instruction is causing a crash.

Is it due to me trying to write protected memory?

Sorry to be a pain, but simply doing it is something completely different, if I don't understand it I can not put it to use.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Aug 08, 2010 4:06 pm    Post subject: Reply with quote

I can nop codes and do code injection with CE in read-only memory without any problems. Especially in the tutorial, I don't know why are You having this problem.

Did You try to download CE again, install it and check it out? I had an issue once and everything seemed to be fine, except I had access violation in a CE function. I have downloaded it again and it was working. Don't know what went wrong then, download error or something, it solved the issue, that's what matters.

I hacked a few hundred games with CE already, did not have such issue. As I said, I am using XP Pro SP3 (32-bit) at the moment.
And of course I am the administrator on my comp.

Btw. I have tried to mess up the settings to cause an error, but it has worked fine for me in all cases.

HINT:
I was able to get access violation error in the Tutorial in some cases.
Check settings->Code finder and it should be on "Use debug registers". If You use "Memory access exceptions", You might get access violation.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.


Last edited by Geri on Sun Aug 08, 2010 4:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Sun Aug 08, 2010 4:24 pm    Post subject: Reply with quote

Server 2008 is 64 bit only, but my XP is 32 bit and it does it there. I'll uninstall it and redownload I agree if it's doing it on both machines it must be a corrupt download.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Aug 08, 2010 4:25 pm    Post subject: Reply with quote

HINT:
I was able to get access violation error in the Tutorial in some cases.
Check settings->Code finder and it should be on "Use debug registers". If You use "Memory access exceptions", You might get access violation.

You may also get an access violation if You use the kernel mode debugger options to find a code and You try to find a code again without closing the previous search.

But, if You use the default settings, these options are turned off, so You should not have this issue with the default options.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Sun Aug 08, 2010 4:34 pm    Post subject: Reply with quote

OMG Geri you are a god!. It was set to "Memory access exceptions". Thank you very much for your help. If I could +Rep you I would.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Aug 08, 2010 4:39 pm    Post subject: Reply with quote

Doesn't matter, I suggest to not use that option unless You know why it is way much better. All I could achieve with that option was freezing games and crashes, I guess it requires huge amount of comp resources. It did not work for me ever.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
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