| View previous topic :: View next topic |
| Author |
Message |
Lynxz Gaming Expert Cheater
Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25824 Location: The netherlands
|
Posted: Tue Jun 02, 2020 12:16 am Post subject: |
|
|
you have to use autoassembler and implement a callback and give that address
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Lynxz Gaming Expert Cheater
Reputation: 4
Joined: 01 Jul 2017 Posts: 208 Location: help
|
Posted: Tue Jun 02, 2020 3:01 am Post subject: |
|
|
| Dark Byte wrote: | | you have to use autoassembler and implement a callback and give that address |
i dont really get this, i need an example or some link i can learn, thank you
_________________
my english is bad
discord : rynx#9828 |
|
| Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Tue Jun 02, 2020 5:41 am Post subject: |
|
|
I don't know in CE Lua, but if in Win API + Alien, something like this:
| Code: | require 'alien'
-- API
EnumWindows = alien.user32.EnumWindows
EnumWindows:types {"callback", "pointer", abi="stdcall"}
GetClassName = alien.user32.GetClassNameA
GetClassName:types {"long", "pointer", "int", abi="stdcall" }
-- callback
local buf = alien.buffer(512)
local function enum_func(hwnd, p)
GetClassName(hwnd, buf, 511)
print (hwnd..":"..tostring(buf))
return 1
end
local callback_func = alien.callback(
enum_func,
{"int", "pointer", abi="stdcall"})
-- call
EnumWindows(callback_func, nil) |
Maybe, try change 'alien' with 'executeCodeLocalEx'
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
| Back to top |
|
 |
|