Posted: Sun Oct 30, 2016 3:05 am Post subject: C# Not able to write too pointer
Hello, I figured out my other problem ty (ParkourPenguin).
but now I have another. I am able to read from the pointer but I am not able to write too it. but I am able to write to the address the pointer points too.
Code:
static int dynamicAddress = 0x0ED738A4;
vam.WriteInt16((IntPtr)dynamicAddress , 3900);
^ works fine.
Code:
static int localplayerDir = 0x014F9360;
int playerDirOffsetOne = vam.ReadInt32((IntPtr)playerDirection + 0xec);
int playerDirOffsetTwo = vam.ReadInt32((IntPtr)playerDirOffsetOne + 0x50);
int playerDirOffsetThree = vam.ReadInt32((IntPtr)playerDirOffsetTwo + 0x4c);
int playerDirOffsetFour = vam.ReadInt32((IntPtr)playerDirOffsetThree + 0x30);
ushort playerDirOffsetFive = (ushort) vam.ReadInt16((IntPtr)playerDirOffsetFour + 0xa4);
vam.WriteInt16((IntPtr)playerDirOffsetFive, 3900);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum