Post: Load clients for cod simple way [tip]
03-05-2014, 04:35 AM #1
primetime43
Knowledge is power Tiphat
(adsbygoogle = window.adsbygoogle || []).push({});
Hey there, I have seen lately that a lot of people have been making their coding so difficult/long for their tools. They are loading them in textboxes and stuff when you can simply load it into a dataGridView or a listview or anything really. The code that i'm showing you guys is directly from my Black Ops 1 tool.

    
private void GetClientNames(out string[] names)
{
names = new string[18];
uint client = 0x13950C8;
for (int index = 0; index < 18; ++index)
{
names[index] = PS3Util.PS3.ReplaceString(PS3Util.PS3.ReadString(client + (uint) (index*0x2A3Cool Man (aka Tustin) + 0x280Cool Man (aka Tustin));
}
}

/////////////////////////////////////////////////////////////////////

private void button8_Click(object sender, EventArgs e)
{
string[] names;
GetClientNames(out names);
dataGridView1.Rows.Clear();
for (int i = 0; i <= 18; i++)
{
try
{
if (Encoding.ASCII.GetBytes(names)[0] != 0x00)
{
dataGridView1.Rows.Add();
dataGridView1.Rows.Cells[0].Value = i;
dataGridView1.Rows.Cells[1].Value = names;
}
}
}
}


- The uint client is where the g_client begins in the memory.- The 0x2A38 is amount of bytes between each client- The 0x2808 is how many bytes from the g_client to the name of the client 0.
Here is some stuff I made from a thread before to understand the g_client.
**I will be showing you the gclient, the gclient size, and the gclient's name (so you can load the names).
Ok, first is where the gclient starts. It starts at the client 0 like below:

You must login or register to view this content.

Next, is the gclient size. Now the length will start at the beginning of where I just showed you of client 0, and all the way down to the next client before it begins.

You must login or register to view this content.

The yellow is where the next client starts; client 1. The red is where the nulls separate the two clients. And the green is the client 0, right before it ends; ending right before the nulled line in red.

Here, is the gclient's name.
You must login or register to view this content.

The red is where you get the size to get all the client's names. You would start from the gclient's start of that client, down to there. What ever the size of that is, is what you use.

Here is an example of loading the clients in a tool:
You must login or register to view this content.

Now here is an example of how you can use it to load the clients:
    
gclient_addr = 0x13950C8; -------- Here is where the gclient starts for client 0 in Black Ops 1




gclient_size = 0x2A38; -------------- Here is the size of where the gclient starts to where it ends for Black Ops 1




gclient_name = 0x2808; --------- Here is the size from where the gclient starts, down to the second name of where the two names are


- Enjoy! primetime43 Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to primetime43 for this useful post:

-SuperMan, A Friend, Swifter, tunde1992
06-27-2014, 12:00 AM #2
primetime43
Knowledge is power Tiphat
There I bumped it just for u mate.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo