| View previous topic :: View next topic |
| Author |
Message |
Mohsen Advanced Cheater
Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Sat Apr 06, 2013 1:26 am Post subject: How to call cheat engine functions from your injected dll ? |
|
|
Question is wrote on topic subject.
Need a way to call AutoAssembler or any cheat engine function from my injected dll. |
|
| Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Sat Apr 06, 2013 2:13 am Post subject: |
|
|
Try to find a copy of ceautoassembler.dll or build you own from CE's source code, then make your dll load ceautoassembler.dll.
A link to this dll can be found here: http://forum.cheatengine.org/viewtopic.php?t=519585 though it's 3 year old and I don't know how buggy it is.
Searching this forum may yield a more up to date version. |
|
| Back to top |
|
 |
Mohsen Advanced Cheater
Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Sat Apr 06, 2013 3:50 am Post subject: |
|
|
| Gniarf wrote: | Try to find a copy of ceautoassembler.dll or build you own from CE's source code, then make your dll load ceautoassembler.dll.
A link to this dll can be found here: forum.cheatengine.org/viewtopic.php?t=519585 though it's 3 year old and I don't know how buggy it is.
Searching this forum may yield a more up to date version. |
What about debugging and other methods ?
There should be a way to use CE functionality in the injected dll.. |
|
| Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Sat Apr 06, 2013 4:32 am Post subject: |
|
|
I suppose you could build you own messaging system between CE and your dll. Something like exporting a variable from your dll and putting a timer in CE that will periodically read Mydll.dll.MyExport.
You could also do a plugin (dll) for CE and post messages to that plugin.
But anyway, afaik CE is not meant to be directed by another process.
Also remember that when a debugger breaks execution, it stops all threads, including those in your injected dll. Who's going to give orders to CE then? |
|
| Back to top |
|
 |
Mohsen Advanced Cheater
Reputation: 1
Joined: 04 Apr 2013 Posts: 69 Location: PE
|
Posted: Sat Apr 06, 2013 4:35 am Post subject: |
|
|
| Gniarf wrote: |
Also remember that when a debugger breaks execution, it stops all threads, including those in your injected dll. |
LOL good point !
Gave up on this |
|
| Back to top |
|
 |
|