Greetings.
I'm thinking that either my offsets are off or my C# might be, in which case feel free to smite me with the Hammer of Noob. Anyway, the following gives me garbage characters when it should apparently give me chat log goodness:
Code:
private void btnRefresh_Click(object sender, EventArgs e)
{
UInt32 chatStart = 0xAD79B8;
UInt32 ChatCurrent = chatStart;
textBox1.Clear();
for (uint i = 0; i < 60; i++)
{
string s = SMemory.ReadASCIIString(bMagic.ProcessHandle, ((uint)bMagic.MainModule.BaseAddress) + ChatCurrent, 255);
textBox1.Text += s + '\n';
ChatCurrent += 0x17C0;
}
}
Just what am I stuffing up?