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 


Hey Hitler!! I need your help
Goto page 1, 2  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
EmperorDAZ
Newbie cheater
Reputation: -1

Joined: 02 Jun 2011
Posts: 17

PostPosted: Fri Jun 17, 2011 12:58 am    Post subject: Hey Hitler!! I need your help This post has 1 review(s) Reply with quote

Im making a trainer and one of the cheats must make code injection but how can i do it? In Auto assemble it need Enable n Disable thing how can i do code injection in trainer?
_________________
__________________________________________

Ban Hitler!
Back to top
View user's profile Send private message
jiiui
How do I cheat?
Reputation: -1

Joined: 11 Nov 2010
Posts: 4

PostPosted: Sat Jun 18, 2011 3:14 pm    Post subject: Reply with quote

Google Translate doesn't do "Indecipherable stream of uninformed nonsense" -> "English", sorry.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Sat Jun 18, 2011 3:44 pm    Post subject: Reply with quote

If you are making a trainer in Cheat Engine,

1. Open the Auto-assembler window (ALT+CTRL+A or Memory view->Tools->Auto-assembler)

2. Use Template->Cheat table framework code

3. Use Template->Code injection

4. Change the original code section or add your code in the newmem section, whatever is good for you.

5. If the script is done, use File->Assign to current cheat table

After that, you can enable/disable the cheat by clicking on it and you can also add it to a trainer with the built-in trainer maker.

_________________
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
DELTA10FY
Master Cheater
Reputation: 5

Joined: 07 Aug 2009
Posts: 438

PostPosted: Sat Jun 18, 2011 3:57 pm    Post subject: Re: Hey delta10!! I need your help Reply with quote

EmperorDAZ wrote:
Im making a trainer and one of the cheats must make code injection but how can i do it? In Auto assemble it need Enable n Disable thing how can i do code injection in trainer?



Good Geri already I answer him ok
Regards Wink

_________________
Delta10FY
Back to top
View user's profile Send private message MSN Messenger
JohnT
Expert Cheater
Reputation: 0

Joined: 24 May 2011
Posts: 130
Location: Next To Osama

PostPosted: Sat Jun 18, 2011 5:08 pm    Post subject: Reply with quote

well i think they answered you thank you guys Geri and Delta10FY
Back to top
View user's profile Send private message Yahoo Messenger
Diedy
Newbie cheater
Reputation: 0

Joined: 15 Jun 2011
Posts: 10

PostPosted: Sun Jun 19, 2011 11:07 am    Post subject: Reply with quote

Quote:
Hey Diedy!! I need your help


Why are you referring to me when I ask a similar question?

Quote:
Ban Diedy!

(your signature)

...?
Back to top
View user's profile Send private message
EmperorDAZ
Newbie cheater
Reputation: -1

Joined: 02 Jun 2011
Posts: 17

PostPosted: Wed Jun 22, 2011 4:12 am    Post subject: Reply with quote

Diedy wrote:
Quote:
Hey Diedy!! I need your help


Why are you referring to me when I ask a similar question?

Quote:
Ban Diedy!

(your signature)

...?


Its just a BB code lmfao

_________________
__________________________________________

Ban Hitler!
Back to top
View user's profile Send private message
noobiehackerxx
How do I cheat?
Reputation: 0

Joined: 23 Jun 2011
Posts: 2

PostPosted: Thu Jun 23, 2011 5:11 am    Post subject: Re: Hey noobiehackerxx!! I need your help Reply with quote

EmperorDAZ wrote:
Im making a trainer and one of the cheats must make code injection but how can i do it? In Auto assemble it need Enable n Disable thing how can i do code injection in trainer?





if i may ask why should i be banned??

_________________
DXthe noobie hacker is here plzz help XD
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Jun 23, 2011 6:52 am    Post subject: Re: Hey noobiehackerxx!! I need your help Reply with quote

noobiehackerxx wrote:
EmperorDAZ wrote:
Im making a trainer and one of the cheats must make code injection but how can i do it? In Auto assemble it need Enable n Disable thing how can i do code injection in trainer?





if i may ask why should i be banned??


http://forum.cheatengine.org/viewtopic.php?t=473706

_________________
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
kasumatra
How do I cheat?
Reputation: 1

Joined: 23 Jun 2011
Posts: 4

PostPosted: Thu Jun 23, 2011 9:10 am    Post subject: Reply with quote

omg! there is another kasumatra here? Shocked

i thought this guy was referring to me... and i just recently register while ago...
Back to top
View user's profile Send private message
InternetIsSeriousBusiness
Grandmaster Cheater Supreme
Reputation: 8

Joined: 12 Jul 2010
Posts: 1268

PostPosted: Thu Jun 23, 2011 9:22 am    Post subject: This post has 1 review(s) Reply with quote

kasumatra wrote:
omg! there is another kasumatra here? Shocked

i thought this guy was referring to me... and i just recently register while ago...

No
Calm down bro, it is just readername. http://forum.cheatengine.org/viewtopic.php?t=473706

_________________
FLAME FLAME FLAME!!!@@@
Back to top
View user's profile Send private message
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Wed Jul 13, 2011 3:31 am    Post subject: Reply with quote

oha.. sorry guys, i was a long time afk here.. .. Razz
Back to top
View user's profile Send private message Send e-mail
Jaerin
How do I cheat?
Reputation: 0

Joined: 09 Jul 2011
Posts: 6

PostPosted: Wed Jul 13, 2011 12:27 pm    Post subject: Reply with quote

Guess I'm not sure why you asked me directly. I'm very new here and haven't done anything...YET.

I've actually been seeking help myself, but no luck so far. I didn't get a chance to play around with my ideas last night, but I'll be sure to keep my post updated with any progress I make.
Back to top
View user's profile Send private message
Acubra
Advanced Cheater
Reputation: 0

Joined: 19 Jun 2011
Posts: 64
Location: C:\Windows\System32\HoG

PostPosted: Wed Jul 13, 2011 1:01 pm    Post subject: Reply with quote

I am confused. Who is this guy and did he call me?
Back to top
View user's profile Send private message
Lee Yiyuan
How do I cheat?
Reputation: 0

Joined: 11 Jul 2011
Posts: 2
Location: Singapore

PostPosted: Thu Jul 14, 2011 10:17 am    Post subject: O.O Reply with quote

Lol how did you know me Mad


To give you an idea of how Code - Injection works...

Within the memories of processes, Arrays of bytes represents opcodes.
For example, 00 00 represents the opcode "add [rax],al",
90 represents the opcode "nop"

Each opcodes represents an instruction to be executed.
For example, "jmp 09A01928" Causes the process to jump to the address 09A01928, where other instructions will be carried out.

However, when the byte array representation of an opcode has a very large length, it will cause the neighboring byte arrays to have lesser bytes, and thus the neighboring opcodes will change. This might cause a process to crash.

Code injection, basically, prevents this mix-up from happening.
Code injection allocates a "code cave" where new arrays of bytes can be stored safely, and then it writes a byte array representation of the opcode to JUMP to the start point of this "code cave", where instructions will be carried out. After these instructions, the process will JUMP back to the address where if jumped from.

My poor english is probably confusing you.
Lets look at an example.
Let us allocate a code cave at ADDRESS = 00660CCE
And let the address where we want to inject the code into = 19AB9100
AND let the byte array representation of the opcodes we want to inject be {A9,B1,12,00,90,BE,A7,D0,9A}.
Firstly, we write the opcode "jmp 00660CCE" at ADDRESS = 19AB9100
This causes the process to JUMP the beginning of the code cave, ADDRESS = 00660CCE
Secondly, we write the byte array representation of the opcode we want to execute into the code cave.
This is done by writing {A9,B1,12,00,90,BE,A7,D0,9A} onto the code cave at ADDRESS = 00660CCE.
BUT BEFORE THAT, We have to append the byte representation of opcode "jmp 19AB9100" at the end of the array.
This is to allow the process to JUMP back where it came from after executing the instructions in the code cave.
After appending, we will result in an array {A9,B1,12,00,90,BE,A7,D0,9A, E9, 00, 19, 28, 91} or something similar.
We then write this byte array into the code cave and code injection is done.

To summarize this whole load of stuff up and to reduce confusion due to my poor english,
The traditional method of writing a byte array is : ... [BYTE_ARRAY] ...
While after code injection, it becomes : ... [JUMP TO CODE CAVE]... and code cave : [BYTE_ARRAY][JUMP BACK]

If you ever need a C# function to inject a byte array, you can always get my class library at
forum[dot]cheatengine[dot]org/viewtopic.php?p=5258754#5258754

_________________
Hello.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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