Pudge 24 Posted June 1, 2023 Share Posted June 1, 2023 Hello everybody, I'm trying to connect to exist wow window and manage it but i ran into a problem. I read process memory by id, and try to read data from memory, but when i try to use Lua.DoString(cmd); it doesn't work, what did i miss? var process = System.Diagnostics.Process.GetProcessesByName("Wow").FirstOrDefault(p => p.Id != wManager.Wow.Memory.WowMemory.Memory.ProcessId); if (process != null) { Logging.Write("Open process id = " + process.Id); wManager.Wow.Memory.WowMemory.Memory.Open(process.Id); Logging.Write("current ProcessId = " + wManager.Wow.Memory.WowMemory.Memory.ProcessId); var realmname = wManager.Wow.Memory.WowMemory.Memory.ReadStringUTF8(0x00C79B9E); //work Logging.Write("realmname = " + realmname); Lua.LuaDoString("print('123'"); //it does not work wManager.Wow.Memory.WowMemory.Memory.Close(); } Link to comment https://wrobot.eu/forums/topic/15207-issue/ Share on other sites More sharing options...
TechMecca 7 Posted June 1, 2023 Share Posted June 1, 2023 You are missing the hook that droidz uses….. you need the hook to execute functions on the main thread….. you should read ownedcore. ps : reading the memory address is easy, you just need to open the process and use ReadMemory from kernal32. injecting lua requires a hook to a function that allowed execution on the main thread. Which droids I think hooks the games Endscene then write assembly code with his own detour . Link to comment https://wrobot.eu/forums/topic/15207-issue/#findComment-68319 Share on other sites More sharing options...
Droidz 2738 Posted June 1, 2023 Share Posted June 1, 2023 (you don't need to update the bot to get this new feature) Link to comment https://wrobot.eu/forums/topic/15207-issue/#findComment-68327 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now