Hi,
I have a problem :/
Here is my code:
I receive this error after running the code: Subscript used on non-accessible variable.
I have a problem :/
Here is my code:
Code:
#RequireAdmin #include "KDMemory.au3" Const $processName = "s4c.exe", $moduleName = $processName Const $baseOffset = 0x017293C0 Const $offsets[7] = [0x684, 0xF4, 0xE0, 0x3C, 0x0, 0x17C, 0xFC] $processId = ProcessExists($processName) $handles = _KDMemory_OpenProcess($processId) $baseAddress = _KDMemory_GetModuleBaseAddress($handles, $moduleName) + $baseOffset $memoryData = _KDMemory_ReadProcessMemory($handles, $baseAddress, "FLOAT", $offsets) MsgBox(64, 'Result', 'Value: ' & $memoryData[1]) _KDMemory_CloseHandles($handles)