Posted: Wed Dec 06, 2006 11:57 pm Post subject: Cheat Engine API's for 3rd party Bots/Applications
I want to write a bot in C# using a set of Cheat Engine functions. Is there a DLL I can import to do such a thing? My sole interest at the moment is searching for an array of Bytes. Then watching the memory for changes and taking action accordingly.
Perhaps then I need to research further. BTW I think the work done here is Great, thanks DB.
I am working on a Poker Calculator for a site that is not supported by the popular calculators.
CE helped me find the address of the Hand status. IE, Dealing Hands or You were delt Jh 8s or Dealing flop (2h3s6c).. etc.
Locating this position in memory I then through trial and error found the starting address to this block. Using search for address I was able to locate the actual Table(poker table) structure that has a pointer to that location. Now, the table structure has a unique signature that I can search for using Array of Bytes.
I however cannot find any static address that references either the table structures or the status message. So I can't use a static address and therefore I think I am left to creating a hack that uses the search for array of bytes to find the tables structure and further find the status message.
I would also like this to be a stand-alone app and not require me to use CE to find that location everytime I play.
My C# app already uses the DLL import methods of the Kernal to read memory and it's working nicely. However, since it's not static I need to enumerate the process's memory and find this array of bytes dynamicaly in code.
I am using VirtualQueryEx to enumerate the loaded pages but I think the InteropServices is pretty slow at returning these large blocks of unmanaged memory to the managed code.
Further more you already have the code to Watch a memory location for changes and that's something else I have to learn.
Anyway, thanks for your speedy response.
A wish list for me is an API with all searching capabilities, watching for changes with some sort of callback functionality on change.
Meanwhile I will keep digging in your code and hopefully it will provide the insite I need.
Keep up the great work!
This tool is super freaking cool!!!!!!!!!!!!!!!!!!!!!
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