Skip to content

Commit 6b3948a

Browse files
authored
a Lua script to use the module
a Lua script to use the module, this can be an example for your next mod menu! LoL
1 parent 0a867a9 commit 6b3948a

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

useprocess.lua

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
local process = require "process"
22

3-
local dpldata,ID = process.FindWindow("notepad++")
4-
--local written = process.WriteProcessMemory(ID,10824828,"Hacked!")
3+
local data,ID = process.FindWindow("notepad++")
4+
process.WriteProcessMemory(ID,10824828,"Hacked!")
55
local memory = process.ReadProcessMemory(ID,10824828,121)
66

7-
print("Process -: "..tostring(dpldata)..", "..ID)
7+
print("Process -: "..tostring(data)..", "..ID)
88
print("Process -: "..memory..", size of "..#memory.." bytes")
9-
--print("Process written memory -; "..tostring(written))
10-
print("Done")
11-
--print(0x23E82498)
9+
print("Done.")

0 commit comments

Comments
 (0)