Hello, trying to get object property with internal functions on a 7.72 client.
Code:
public bool GetObjectProperty(uint id, uint property)
{
string proc = protsess.Text;
System.Diagnostics.Process p = System.Diagnostics.Process.GetProcessesByName(proc)[0];
InternalCaller.Caller c = new InternalCaller.Caller(p);
InternalCaller.InternalFunction getprop = new InternalCaller.InternalFunction
{
Caller = c,
Address = (IntPtr)0x4D1C40,
CallingConvention = InternalCaller.CallConvention.Cdecl
};
uint result = getprop.Call(id, property);
textBox1.Text = result.ToString();
result is always 0.