(adsbygoogle = window.adsbygoogle || []).push({});
welp heres the code i got it to pull clients but either one of two things will happens 1. they populate in a listbox either as numbers as there stored in memory or 2. nothing will show up but if i click at the top of the listbox and try to enable a mod it will enable it for me.
code below:
// Black Ops 1 Client Names
public static string ClientNames(uint client)
{
string getnames = PS3.Extension.ReadString(0x139784C + client * 0x2A3
;
return getnames;
}
uint CalculateAddress(uint Address, uint Client, uint Offset)
{
return Address + Offset + ((uint)Client * 0x2A3
;
}
//Black Ops 1 Get Clients
private void simpleButton422_Click(object sender, EventArgs e)
{
try
{
if (listBoxControl17.ItemCount == 1)
{
listBoxControl17.Items.Clear();
listBoxControl17.Items.Add(17);
}
for (uint i = 0; i < 18; i++)
{
listBoxControl17.Items.Clear();
uint AddressToRead = CalculateAddress(0x139784C, i, 0x2A3
;
string Clientnames = PS3.Extension.ReadString(0x139784C + (i * 0x2A3
);
listBoxControl17.Items.Add(Clientnames);
}
}
catch
{
MessageBox.Show("Could Not Retrieve Client's Please Try Agian");
}
}