View previous topic :: View next topic |
Author |
Message |
Staked Newbie cheater Reputation: 0
Joined: 09 Mar 2019 Posts: 17
|
Posted: Wed Mar 20, 2019 4:54 am Post subject: call functions |
|
|
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 |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Wed Mar 20, 2019 11:18 am Post subject: |
|
|
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 |
|
|
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
Posted: Wed Mar 20, 2019 7:34 pm Post subject: |
|
|
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 |
|
|
|