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 


call functions

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Staked
Newbie cheater
Reputation: 0

Joined: 09 Mar 2019
Posts: 17

PostPosted: Wed Mar 20, 2019 4:54 am    Post subject: call functions Reply with quote

I want to run be able to call functions or run code segments in a game through python, can this be done? easier with c++?
It would also be nice if their was an easy way to doing it in cheat engine. Just to make sure i have the right function. I dont want to modify the game too much.
I have found the segment in the memory which i want to execute. Do I need to inject a dll file or is this only to make it pretty?
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Wed Mar 20, 2019 11:18 am    Post subject: Reply with quote

you call it from within ce, your dll, your exe, and using any programming language.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Wed Mar 20, 2019 7:34 pm    Post subject: Reply with quote

Any language that can access the Win32 API can accomplish this.

If you want to call it externally, you would need to make use of at least:
- OpenProcess
- VirtualAllocEx
- VirtualProtectEx
- WriteProcessMemory
- CreateRemoteThread

Other API may be required depending on how you plan to make use of it.

This counts for both just doing the bare minimum to call the remote function, or through DLL injection to access the game memory directly.

Depending on how involved you need to get, doing a DLL may be easier if you plan to do this for multiple functions and other data.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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