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 


How to implement

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
sreeragh2009
Cheater
Reputation: 0

Joined: 21 Oct 2014
Posts: 33
Location: UNKNOWN

PostPosted: Sat Jan 24, 2015 1:24 am    Post subject: How to implement Reply with quote

Say i made a trainer. It injects a code into the game. Selection of cheats is by registersymbol technique. Now nopping codes in the main exe is easy, but how to make the newmem section in the exe and how to put selection directly by asm coding ? Is it possible. If yes please tell me. I think newmem can be made at the end of exe and a jump statement to it and return back to the address where it jumped. Still tell me. And also how to make shortkeys directly to asm coding.
_________________
PROFESSIONAL "LEARNER"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Hatschi
Master Cheater
Reputation: 2

Joined: 28 Jan 2010
Posts: 327

PostPosted: Sat Jan 24, 2015 2:05 am    Post subject: Reply with quote

Use VirtualAllocEx https://msdn.microsoft.com/en-us/library/windows/desktop/aa366890%28v=vs.85%29.aspx to allocate memory in another process. Then you can inject your code by simple writing bytes to your code cave.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Sat Jan 24, 2015 8:04 am    Post subject: Reply with quote

http://deviatedhacking.com/index.php/topic/10-an-alternative-method-to-code-caves/

CE newmem is allocating memory and then writing there similar to a codecave.

I don't understand what you mean by shortkeys

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
sreeragh2009
Cheater
Reputation: 0

Joined: 21 Oct 2014
Posts: 33
Location: UNKNOWN

PostPosted: Sat Jan 24, 2015 1:09 pm    Post subject: Actually Reply with quote

Actually you didnt understand what i said. To be more clear ill post better with a example. Thanks for replying anyways. Lets take an example a code in a software XXXX(something just for example)
Code:
XXXX+4B234    mov [eax],ebx

This is just an example code and IS NOT an actual software code. Lets say this code is the spread of weapon in-game. Lets say if we NOP the code it removes all spread. Now CE injects and NOPs that code. To make it permanent i can open up XXXX.exe in Olly or IDA and go to same address "XXXX+4B234" then change it to NOP and save it permanently. So i dont need to inject anything anymore and the cheat is permanent. And for the shortcuts part.
Lets say we have a main script with god mode, unlimited ammo, no spread and super speed.And lets say I have 4 globalalloc scripts which is used to toggle these cheats. The main code checks whether the toggle scripts are active using cmp... Example
Code:
cmp [toggle_godmode],1
jne blahblah1
//godmode script
//----------------
//----------------
blahblah1:
cmp [toggle_uammo],1
jne blahblah2
//uammo script
//----------------
//----------------
blahblah2:
..........and so on

so question is when i inject a code a newmem region is allocated and the originalcode is change to jmp to newmem. So how do i create a newmem with IDA (maybe create a section at the end of XXXX.exe using IDA, but is it possible ? ). Next question is that with the cheat engine i can manually toggle the scripts using hotkeys or just my mouse, but if i succeed it in implementing the code in the main exe then how do i toggle those things. Hope you understand what im saying.

EDIT : Im not talking about C++ codes ; i dont code in C++, not yet.
EDIT2 : PLEASE SOMEBODY REPLY

_________________
PROFESSIONAL "LEARNER"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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