Post: C# MW3 Get Client Names Using DataGridView. Help?
03-21-2014, 01:28 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); OK guys, I am almost done with my RTM tool for MW3! But the last thing I wanna do is add clients. I want to be able to get EVERY persons names in my lobby to show on my tool then right click on there names and give them mods. Here is 2 previews of Mango_Knife's tool, he has exactly what I wanna do for my tool except I want it for MW3. You must login or register to view this content. and You must login or register to view this content. THanks for any help I recieve <3
(adsbygoogle = window.adsbygoogle || []).push({});
03-23-2014, 09:10 PM #2
jwm614
NextGenUpdate Elite
Originally posted by ThatGuyWithKush View Post
OK guys, I am almost done with my RTM tool for MW3! But the last thing I wanna do is add clients. I want to be able to get EVERY persons names in my lobby to show on my tool then right click on there names and give them mods. Here is 2 previews of Mango_Knife's tool, he has exactly what I wanna do for my tool except I want it for MW3. You must login or register to view this content. and You must login or register to view this content. THanks for any help I recieve <3


first add this
     public string GetName(int client)
{
byte[] buffer = new byte[20];
GetMemory(NameAddress + 0X3980 * (uint)client, buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
}



then put in a button/timer
    dataGridView1.Enabled = true; dataGridView1.RowCount = 18;
for (int i = 0; i < 18; i++)
{
dataGridView1.Update();
dataGridView1.Rows[i].Cells[0].Value = i;
dataGridView1.Rows[i].Cells[1].Value = GetName(i);


}


if you want to change a clients name use this in a menustrip

    int Client = dataGridView1.CurrentRow.Index;
string a = Interaction.InputBox("New name: ", "Name Change", GetName(Client), -1, -1);
byte[] NewName = Encoding.ASCII.GetBytes(a + "\0");
SetMemory(NameAddress + (uint)Client * 0X3980, NewName);


here is the off set for nameaddress

NameAddress = 0x0110D694;

The following 2 users say thank you to jwm614 for this useful post:

JLM, ThatGuyWithKush
03-24-2014, 03:22 AM #3
kiwi_modz
I defeated!
Originally posted by jwm614 View Post
first add this
     public string GetName(int client)
{
byte[] buffer = new byte[20];
GetMemory(NameAddress + 0X3980 * (uint)client, buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
}



then put in a button/timer
    dataGridView1.Enabled = true; dataGridView1.RowCount = 18;
for (int i = 0; i < 18; i++)
{
dataGridView1.Update();
dataGridView1.Rows[i].Cells[0].Value = i;
dataGridView1.Rows[i].Cells[1].Value = GetName(i);


}


if you want to change a clients name use this in a menustrip

    int Client = dataGridView1.CurrentRow.Index;
string a = Interaction.InputBox("New name: ", "Name Change", GetName(Client), -1, -1);
byte[] NewName = Encoding.ASCII.GetBytes(a + "\0");
SetMemory(NameAddress + (uint)Client * 0X3980, NewName);


here is the off set for nameaddress

NameAddress = 0x0110D694;


very nice. good to see people helping out in this community still. If he doesn't get this he's doomed lol.

The following 3 users say thank you to kiwi_modz for this useful post:

JLM, jwm614, ThatGuyWithKush
03-24-2014, 04:27 AM #4
Originally posted by jwm614 View Post
first add this
     public string GetName(int client)
{
byte[] buffer = new byte[20];
GetMemory(NameAddress + 0X3980 * (uint)client, buffer);
string names = Encoding.ASCII.GetString(buffer);
names = names.Replace("\0", "");
return names;
}



then put in a button/timer
    dataGridView1.Enabled = true; dataGridView1.RowCount = 18;
for (int i = 0; i < 18; i++)
{
dataGridView1.Update();
dataGridView1.Rows[i].Cells[0].Value = i;
dataGridView1.Rows[i].Cells[1].Value = GetName(i);


}


if you want to change a clients name use this in a menustrip

    int Client = dataGridView1.CurrentRow.Index;
string a = Interaction.InputBox("New name: ", "Name Change", GetName(Client), -1, -1);
byte[] NewName = Encoding.ASCII.GetBytes(a + "\0");
SetMemory(NameAddress + (uint)Client * 0X3980, NewName);


here is the off set for nameaddress

NameAddress = 0x0110D694;


Thank you Smile Exactly what I needed!
03-24-2014, 10:26 AM #5
jwm614
NextGenUpdate Elite
Originally posted by ThatGuyWithKush View Post
Thank you Smile Exactly what I needed!


No problem just quote me if u need any help with it
03-24-2014, 10:17 PM #6
jwm614
NextGenUpdate Elite
Originally posted by kiwi
very nice. good to see people helping out in this community still. If he doesn't get this he's doomed lol.


lol everything is right there just need ps3lib
04-16-2015, 07:02 PM #7
is it the same for bo2 but different offsets and if, whats the offset
06-25-2016, 05:28 PM #8
added it but it says that "i" is not declare in my god mode function and all the other funcs

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo