Posted: Wed Oct 11, 2023 9:49 pm Post subject: Cheat Engine API
Is there a way to send requests using Cheat Engine or a way to use Cheat Engine as an API to fetch and modify data? I need to obtain a token online and change it using AOBScan, but I don't know how to retrieve the new token in my script because I couldn't find any information on how to make requests or use Cheat Engine as an API or similar functionality.
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
Posted: Thu Oct 12, 2023 8:56 pm Post subject:
CE offers the ability to make and post requests in Lua via:
Code:
Internet class (Object)
global functions
getInternet(string) - Returns an internet class object. The string provided will be the name of the client provided
properties
Header : string - the additional header to be sent with the next getURL request
methods
getURL(path) - returns a string containing the contents of the url. nil on failure
postURL(path, urlencodeddata) - posts the given data to the path and returns the results
You can manually import and use LuaSocket as well if you need even more control. _________________
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