Post: c# code for get client names
06-19-2014, 09:16 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); if someone could show me how to get client names in a personal tool im making Please?!
(adsbygoogle = window.adsbygoogle || []).push({});
06-20-2014, 01:52 AM #2
-JM-
Space Ninja
Originally posted by LeG3NDS. View Post
if someone could show me how to get client names in a personal tool im making Please?!

Just add Textbox = clientname or what ever you use to store the string
    for (int x = 0; x <= 17; x++)
{
string clientname = "";
byte[] Getn = new byte[18];
PS3.GetMemory(0x110d60c + ((uint)x * 0x3980), Getn);
clientname = Encoding.ASCII.GetString(Getn, 0, Getn.Length);
clientname = clientname.Replace("\0", "");
}
06-20-2014, 10:02 PM #3
Originally posted by JM
Just add Textbox = clientname or what ever you use to store the string
    for (int x = 0; x <= 17; x++)
{
string clientname = "";
byte[] Getn = new byte[18];
PS3.GetMemory(0x110d60c + ((uint)x * 0x3980), Getn);
clientname = Encoding.ASCII.GetString(Getn, 0, Getn.Length);
clientname = clientname.Replace("\0", "");
}


Thanks man :yes:
06-21-2014, 08:04 AM #4
Mango_Knife
In my man cave
Originally posted by JM
Just add Textbox = clientname or what ever you use to store the string
    for (int x = 0; x <= 17; x++)
{
string clientname = "";
byte[] Getn = new byte[18];
PS3.GetMemory(0x110d60c + ((uint)x * 0x3980), Getn);
clientname = Encoding.ASCII.GetString(Getn, 0, Getn.Length);
clientname = clientname.Replace("\0", "");
}


Originally posted by LeG3NDS. View Post
Thanks man :yes:


It need to be 18 not 17, on C# when u are coding it with decimal it will not count the client 0
so do for (int x = 0; x <= 18; x++)
06-21-2014, 08:06 PM #5
Originally posted by Knife View Post
It need to be 18 not 17, on C# when u are coding it with decimal it will not count the client 0
so do for (int x = 0; x <= 18; x++)

add me on skype and help me put this in my tool?
06-21-2014, 08:49 PM #6
Mango_Knife
In my man cave
Originally posted by LeG3NDS. View Post
add me on skype and help me put this in my tool?


mm no need
just change the 17 to 18 ^^
06-21-2014, 09:49 PM #7
-JM-
Space Ninja
Originally posted by Knife View Post
It need to be 18 not 17, on C# when u are coding it with decimal it will not count the client 0
so do for (int x = 0; x <= 18; x++)


What? You are right about decimals I think but in this case its an integer "int" that I force to be an unsigned integer "uint" but its not a decimal when it in the for loop
    for (int x = 0; x <= 17; x++)//int x

am just wondering bc for me this works and I didn't Put
    for (uint x = 0; x <= 17; x++)//uint x
06-21-2014, 10:37 PM #8
Originally posted by Knife View Post
mm no need
just change the 17 to 18 ^^


ok so i just add a button and in the code i put this in there and then what?
06-22-2014, 01:33 AM #9
-JM-
Space Ninja
Originally posted by LeG3NDS. View Post
ok so i just add a button and in the code i put this in there and then what?


add me on skype ill help you skype: Jo-Milk

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo