ok, use ReadASCIIString read "TEST Ship"
ascii is
Code:
84,69,83,84,32,83,104,105,112,
but, use ReadASCIIString read some chinese
i can't convert to utf8 that can't read all .
because i use Magic.dll , i can't rewritten some fuction
i try all read function , then convert to byte see the Decimal.
it still not completed.
but i try other MemoryRead source , then add a fuction.
it's working ! can read real chinese string.
Code:
public string Utf8String(IntPtr MemoryAddress, uint Len)
{
byte[] temp = ReadProcessMemory(MemoryAddress, Len);
return Encoding.UTF8.GetString(temp);
}
but, i like Magic.dll than MemoryRead , someone has better solution ?. or better read memory source. (i know this website has many .dll )
thanks !