Hey guys,
I've got some problems at the moment, im creating a information bar , or how to call it that shows my HP and MP and name ect ect...
But at the moment it only display the first letter of my name and servername, sometimes it shows everything and sometimes it shows nothing ...
Here is the code for my char name
(the public string ReadString ect ect i got from ZeraPain, the rest is from myself ^^)
Now sometimes it will show up nothing, only the first letter of my name, or the whole name, mostly nothing or the first letter.. The rest i got from myself, name with server and guildname. HP and MP and exp and sp and stuff are working fine.
Anyone knows whats going on ?
I've got some problems at the moment, im creating a information bar , or how to call it that shows my HP and MP and name ect ect...
But at the moment it only display the first letter of my name and servername, sometimes it shows everything and sometimes it shows nothing ...
Here is the code for my char name
Code:
string charactername = mem.ReadString(0xF9E9B8);
Code:
public string ReadString(uint pointer)
{
byte[] bytes = new byte[24];
ReadProcessMemory(Handle, (IntPtr)pointer, bytes, (UIntPtr)24, 0);
return Encoding.UTF8.GetString(bytes);
Code:
label1.Text = "CharacterName:" + charactername;
Anyone knows whats going on ?