[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
{$lua}
local function modify_buffer()
local buffer_data = readString(RDX + 0x20, R8)
local name_size = readInteger(R9 + 0x10)
local script_name = readString(R9 + 0x14, name_size * 2, true)
local my_script_path = ("C:\\Dump\\%s.lua"):format(script_name)
local file = io.open(my_script_path, "w+")
if file then
file:write(buffer_data)
file:close()
printf("Dumped script at: %s", my_script_path)
end
end
댓글3
일챗
사람들은 그걸 덤프 라고 부르기로 약속했어요...
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
{$lua}
local function modify_buffer()
local buffer_data = readString(RDX + 0x20, R8)
local name_size = readInteger(R9 + 0x10)
local script_name = readString(R9 + 0x14, name_size * 2, true)
local my_script_path = ("C:\\Dump\\%s.lua"):format(script_name)
local file = io.open(my_script_path, "w+")
if file then
file:write(buffer_data)
file:close()
printf("Dumped script at: %s", my_script_path)
end
end
openProcess("msw.exe")
debug_setBreakpoint(getAddress("GameAssembly.dll+2E697B0"), modify_buffer)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat