Using my method, players names can be displayed either in the program or displayed in the menu.
Note: I will show you how to do this in c#, so if you would like other languages just work around it
Anyway all you have to do is first copy this code to your program:
What this does is simply convert a byte array to its string equivalent (hex string).
public static string ByteToString(byte nay)
string hex = BitConverter.ToString(nay);
return hex.Replace("-", "");
Now you will need this code:
What this does is convert a hex string to there equivalent characters and then replaces all null values.
private string HA(string h)
StringBuilder nay = new StringBuilder();
for (int i = 0; i <= h.Length - 2; i += 2)
nay.Replace((char)0x00, ' ');
Then finally you will need this:
This code gets the memory of the player state and converts it to a readable string.
public string p(ulong i)
byte ps3num = new byte;
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x0110D694 + (i * 0x3980), ref ps3num);
string s = HA(ByteToString(ps3num));
s = s.Trim();
Thats all you need!
If you want to get someones name simply type something like this:
To get all clients names do something like this:
This is how i do it, its not the best way and im sure other dex modders have their own methods, anyway i hope you enjoy!
MessageBox.Show(""+p(0) + "\n" +p(1) + "\n" +p(2) + "\n" +p(3) + "\n" +p(4) + "\n" +p(5) + "\n" +p(6) + "\n" +p(7) + "\n" +p(8) + "\n" +p(9) + "\n" +p(10) + "\n" +p(11) + "\n" +p(12) + "\n" +p(13) + "\n" +p(14) + "\n" +p(15) + "\n" +p(16) + "\n" +p(17));
Credits to IMCSx for the player offsets.