Hi !
I need help with this thingy, i got a game called gta san andreas, it stores 30 last typed characters (in the gta_sa process ofcourse, only when its focused) to check for cheat codes.Im trying to read those characters to a Char array in vb.net (this address is 0x969110 - [char(30)] Buffer of 30 last typed chars, earlier typed chars are on next bytes. )]
However when i do it like this:
Then it gives a error
Value of type 'Char' cannot be converted to '1-dimensional array of Char'.
I also cant get it without using the converter, and when i get it as string then it shows me the bytes, not actual characters.
Thanks in advance,
I need help with this thingy, i got a game called gta san andreas, it stores 30 last typed characters (in the gta_sa process ofcourse, only when its focused) to check for cheat codes.Im trying to read those characters to a Char array in vb.net (this address is 0x969110 - [char(30)] Buffer of 30 last typed chars, earlier typed chars are on next bytes. )]
However when i do it like this:
Code:
Dim cheatCodes() as Char = BitConverter.ToChar(ReadMemory(&H969110, 30), 0)
Quote:
Value of type 'Char' cannot be converted to '1-dimensional array of Char'.
Thanks in advance,