Hi all, I'm trying to read some memory from one of the games. I've managed to figure out the static address and the offsets required using cheat engine. Was hoping MemorySharp could assist me with creating an app to automatically read said address. You can find my code below:
Please understand that I'm not really wanting to release the name of the product that I'm attempting to modify I have replaced the name with *****. The name is working and I've verified that the game variable is correct
Console.WriteLine("going to find the game now"); - Works
Process game = Process.GetProcessesByName("*********").FirstOrDefault(); // Get our game - Works
Console.WriteLine("Variable Game is showing: " + game.ProcessName.ToString()); // Write the game to output - works
var m = new MemorySharp(game); // MS - fails here
Console.WriteLine("Variable M is showing: ", m.ToString()); // check if MS has found something - Doesn't run
My errors are below.