Post: C# All client grind view problem
03-10-2014, 07:25 AM #1
1.MostWanted
K i l l e r b e r g
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU.

I need help with all clients grindview for cex and dex..
I am trying to get the client names show up in the grind view, but there is no code to follow (not that i can find)
The code must be Cex & Dex compitable.
When i hit get clients it just says Form1
I have been trying to figure this out for some time now, but cant figure out what the problem is..
I would really like it If anyone could point me in the right direction Smile

When i hit get clients it just says Form1

Ill give credits to the one that helps me with it Smile

Here are the codes.

    private PS3API PS3 = new PS3API();
private Random rand = new Random();
private byte[] CCAPIname;
public Form1()
{
InitializeComponent();
}
public void GetNames()
{
dataGridView1.Update();
byte[] Mw2GetNames = new byte[16];
uint client0Name = 0x01f9f11c;

for (int i = 0; i < 4; i++)
{
long allClientsOffset = client0Name + (0x3700 * i);
dataGridView1.Rows[i].Cells[1].Value = Name;
}
System.Threading.Thread.Sleep(100);
}
private void Form1_Load(object sender, EventArgs e)
{

}

Get client list button:
private void button1_Click(object sender, EventArgs e)
{
dataGridView1.RowCount = 4;
for (int i = 0; i < 4; i++)
{
dataGridView1.Rows[i].Cells[0].Value = i;
}
Thread.Sleep(100);
}

Update clients:
private void button2_Click(object sender, EventArgs e)
{
GetNames();
Thread.Sleep(100);
}

Auto update clients:
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (checkBox1.Checked == true)
{
timer1.Enabled = true;
timer1.Start();
}
else if (checkBox1.Checked == false)
{
timer1.Enabled = false;
timer1.Stop();
Thread.Sleep(100);
}
}

auto update clients timer:
private void timer1_Tick(object sender, EventArgs e)
{
for (int i = 0; i < 4; i++)
{
dataGridView1.Update();
GetNames();
Thread.Sleep(100);
}
}


Edit.

The problem seems to be in this code..
i have changed abit on it, and now i get this:[ATTACH=CONFIG]30198[/ATTACH]

How the code looks like now:

    public void GetNames()
{
dataGridView1.Update();
byte[] GetNames = new byte[19];
uint client0Name = 0x011008B8;

for (int i = 0; i < 4; i++)
{
long allClientsOffset = client0Name + (0x1D30 * i);
dataGridView1.Rows[i].Cells[1].Value = client0Name;
}
System.Threading.Thread.Sleep(100);
}
(adsbygoogle = window.adsbygoogle || []).push({});
03-11-2014, 01:00 PM #2
1.MostWanted
K i l l e r b e r g
BUMP.

Really no help to get ?
03-11-2014, 01:10 PM #3
Hash847
Purple God
this.dataGridView1.Enabled = true;
this.dataGridView1.RowCount = 12;
for (int i = 0; i < 12; i++)
{
dataGridView1.Update();
dataGridView1.Rows.Cells[0].Value = i;
dataGridView1.Rows.Cells[1].Value = GetNames(i);
dataGridView1.Rows.Cells[4].Value = GetDeaths(i);
dataGridView1.Rows.Cells[3].Value = GetKills(i);
dataGridView1.Rows.Cells[2].Value = GetScore(i);
}
this is how I did it when I used dataGridViews

edit this is my get names:

public static string GetNames(int Client)
{
byte[] bytes = new byte[16];
GetMemory1(0x00f24b9c + (uint)(13824 * Client), ref bytes);
string @string = System.Text.Encoding.ASCII.GetString(bytes);
return @string.Replace("\0", "");
}
03-13-2014, 02:36 AM #4
1.MostWanted
K i l l e r b e r g
Hmmm, cant seem to get it working :/

Do you got a skype ?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo