Getting the wrong client address? c#
This is the source code:
public static string PRO_NAME = "csgo";
Process[] localByName = Process.GetProcessesByName(PRO_NAME);
foreach (ProcessModule m in localByName[0].Modules)
{
if (m.ModuleName == "client.dll")
{
clientAddy = (int)m.BaseAddress;
return;
}
}
I think or thought it should give me the right address, or at least I don't see why it shouldn't :c