Post: Get Clients Multiplayer C#
11-10-2015, 03:47 PM #1
RF0oDxM0Dz
You talkin to me?
(adsbygoogle = window.adsbygoogle || []).push({});
Hey Guys

you need to

Button = 2
listBox = 1

this code GET_PLAYER_NAME in Code Form.h


    
public static string GET_CLIENT_NAME(int ClientNum)
{
byte[] buffer = new byte[20];
RPC.PS3.GetMemory((uint)(0x192E38C + (0x61D8 * ClientNum)), buffer);
RPC.PS3.GetMemory((uint)(0x192E38C + (0x61D8 * ClientNum)), buffer);
return Encoding.ASCII.GetString(buffer).Replace("\0", "");
}


Get Client offset = 0x192E38C for 1.02
G_ClientSize = 0x61D8


Now Rename buton1 to [Refresh]

open code button[Refresh]

and paste this

    
this.listBox1.Items.Clear();
for (int i = 0; i < 18; i++)
{
// this.listBox1.Items.Clear();
this.listBox1.Items.GetHashCode();
this.listBox1.Items.Add(GET_CLIENT_NAME(i));
}



and now Rename Button2 to UAV


and open code button UAV & paste this code

    
UAV1();


and this code for UAV

    
bool UV1;
void UAV1()
{
if (UV1 == false)
{
UV1 = true;
byte[] input = new byte[4];
input[0] = 0x60;
RPC.PS3.SetMemory((uint)(0xc7c38 + (this.BO3_CLIENT.SelectedIndex * 0x61DCool Man (aka Tustin)), input);
// RPC.SV_GameSendServerCommand(this.BO3_CLIENT.SelectedIndex, "O \"Unk ^2On\"");
}
else
{
UV1 = false;
byte[] buffer = new byte[] { 0x41, 0x82, 0x00, 0xAC };
RPC.PS3.SetMemory((uint)(0xc7c38 + (this.BO3_CLIENT.SelectedIndex * 0x61DCool Man (aka Tustin)), buffer);
// RPC.SV_GameSendServerCommand(this.BO3_CLIENT.SelectedIndex, "O \"Unk ^1Off\"");

}
}


Finshed

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

Dro, jazrawi_ae

The following user groaned RF0oDxM0Dz for this awful post:

xPreeks
11-13-2015, 11:30 PM #2
ASB-YT
Haxor!
do you think you could make a tool with theese on it? and then release the source of it? thank you
11-14-2015, 08:05 PM #3
Default Avatar
Thomas
Guest
Originally posted by RFOoD
Hey Guys

you need to

Button = 2
listBox = 1

this code GET_PLAYER_NAME in Code Form.h


    
public static string GET_CLIENT_NAME(int ClientNum)
{
byte[] buffer = new byte[20];
RPC.PS3.GetMemory((uint)(0x192E38C + (0x61D8 * ClientNum)), buffer);
RPC.PS3.GetMemory((uint)(0x192E38C + (0x61D8 * ClientNum)), buffer);
return Encoding.ASCII.GetString(buffer).Replace("\0", "");
}


Get Client offset = 0x192E38C for 1.02
G_ClientSize = 0x61D8


Now Rename buton1 to [Refresh]

open code button[Refresh]

and paste this

    
this.listBox1.Items.Clear();
for (int i = 0; i < 18; i++)
{
// this.listBox1.Items.Clear();
this.listBox1.Items.GetHashCode();
this.listBox1.Items.Add(GET_CLIENT_NAME(i));
}



and now Rename Button2 to UAV


and open code button UAV & paste this code

    
UAV1();


and this code for UAV

    
bool UV1;
void UAV1()
{
if (UV1 == false)
{
UV1 = true;
byte[] input = new byte[4];
input[0] = 0x60;
RPC.PS3.SetMemory((uint)(0xc7c38 + (this.BO3_CLIENT.SelectedIndex * 0x61DCool Man (aka Tustin)), input);
// RPC.SV_GameSendServerCommand(this.BO3_CLIENT.SelectedIndex, "O \"Unk ^2On\"");
}
else
{
UV1 = false;
byte[] buffer = new byte[] { 0x41, 0x82, 0x00, 0xAC };
RPC.PS3.SetMemory((uint)(0xc7c38 + (this.BO3_CLIENT.SelectedIndex * 0x61DCool Man (aka Tustin)), buffer);
// RPC.SV_GameSendServerCommand(this.BO3_CLIENT.SelectedIndex, "O \"Unk ^1Off\"");

}
}


Finshed


You can Simply Do a Much Cleaner / Simpler Method:
    
public static String ClientNames(Int32 Client)
{
String Gamertag = PS3.Extension.ReadString(0x192E38C + (0x61D8 * (UInt32)Client));
if(Gamertag == default(String))
return "Player Not Connected";
else
return GamerTag;
}

Same For 'Setting Client Mod':
    
public static void Vsat(Int32 Client, Boolean Status)
{
switch(Status)
{
case true:
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin), new Byte[] { 0x60, 0x00, 0x00, 0x00 });//Btw That 'Uav' Offset is Non Host, Not For other Clients.
}
break;
case false:
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin), new Byte[] { 0x41, 0x82, 0x00, 0xAC });
}
break;
}
}


Notice. i typed this out via my memory, so if you get an Error its not hard to fix lol :p
But yeah, That 'Uav' Offset is ' Non Host '
I Recommend Finding The Actual Offset. as Uav for Clients Does Not Require 'NOP' To Enable it.
it Only Requires 0x01 To enable / 0x00 To Disable.
Last edited by DevOps ; 11-14-2015 at 08:06 PM. Reason: Fix Minor Error haha
11-20-2015, 01:06 PM #4
Why is the Get Client offset on 1.03 not working? It doesn't show the usernames or nothing.
11-20-2015, 05:59 PM #5
BISOON
Maggbot timeout!
Originally posted by DevOps View Post
You can Simply Do a Much Cleaner / Simpler Method:
    
public static String ClientNames(Int32 Client)
{
String Gamertag = PS3.Extension.ReadString(0x192E38C + (0x61D8 * (UInt32)Client));
if(Gamertag == default(String))
return "Player Not Connected";
else
return GamerTag;
}

Same For 'Setting Client Mod':
    
public static void Vsat(Int32 Client, Boolean Status)
{
switch(Status)
{
case true:
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin), new Byte[] { 0x60, 0x00, 0x00, 0x00 });//Btw That 'Uav' Offset is Non Host, Not For other Clients.
}
break;
case false:
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin), new Byte[] { 0x41, 0x82, 0x00, 0xAC });
}
break;
}
}


Notice. i typed this out via my memory, so if you get an Error its not hard to fix lol :p
But yeah, That 'Uav' Offset is ' Non Host '
I Recommend Finding The Actual Offset. as Uav for Clients Does Not Require 'NOP' To Enable it.
it Only Requires 0x01 To enable / 0x00 To Disable.




use Ternary
Save lines : )
    
public static void Vsat(Int32 Client, Boolean Status)
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin),Status == true ? new Byte[] {0x60, 0x00, 0x00, 0x00 /*Example*/ } :new Byte[] { 0x41, 0x82, 0x00, 0xAC /*Example*/} );
}


but you're better than the thread creator and your code clearer and shorter than his code .. xD
i saw many noobs coder now comes and create a new thread with copy and paste without enough knowledge .. :(

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

Bitwise, XM7MD_VX
11-20-2015, 10:07 PM #6
Default Avatar
Thomas
Guest
Originally posted by BISOON View Post
use Ternary
Save lines : )
    
public static void Vsat(Int32 Client, Boolean Status)
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin),Status == true ? new Byte[] {0x60, 0x00, 0x00, 0x00 /*Example*/ } :new Byte[] { 0x41, 0x82, 0x00, 0xAC /*Example*/} );
}


but you're better than the thread creator and your code clearer and shorter than his code .. xD
i saw many noobs coder now comes and create a new thread with copy and paste without enough knowledge .. :(


yeah aha, and i haven't Even thought about that method haha,
i use Ternary for other stuff Smile
Honestly never thought about it that way Gasp
But yeah i Agree, Everything Involves Copy / Paste. I Wanna Help People Out, But in the End they will never learn :( They will just copy / paste Everytime.

The following user thanked Thomas for this useful post:

XM7MD_VX
11-22-2015, 01:48 AM #7
I've been coding for years, just never got into coding a rtm tool until I got into ps3. Not sure why you did it the way you did I would had done it like this.

     public static void Vsat(int client, bool status)
{
PS3.SetMemory(0xc7c38 + ((uint) client * 0x61DCool Man (aka Tustin), status ? new byte[] { 0x60, 0x00, 0x00, 0x00 } : new byte[] { 0x41, 0x82, 0x00, 0x00 }
}

yes it's kinda like yours but. but if you use boolean you would have to do true etc. etc. if you do bool it is true:false. etc. etc.
Last edited by geekiedad ; 11-22-2015 at 01:55 AM.

The following user thanked geekiedad for this useful post:

Winter
12-02-2015, 09:30 AM #8
Toxic
former staff
Originally posted by Thomas View Post
You can Simply Do a Much Cleaner / Simpler Method:
    
public static String ClientNames(Int32 Client)
{
String Gamertag = PS3.Extension.ReadString(0x192E38C + (0x61D8 * (UInt32)Client));
if(Gamertag == default(String))
return "Player Not Connected";
else
return GamerTag;
}

Same For 'Setting Client Mod':
    
public static void Vsat(Int32 Client, Boolean Status)
{
switch(Status)
{
case true:
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin), new Byte[] { 0x60, 0x00, 0x00, 0x00 });//Btw That 'Uav' Offset is Non Host, Not For other Clients.
}
break;
case false:
{
PS3.SetMemory(0xc7c38 + ((UInt32)Client * 0x61DCool Man (aka Tustin), new Byte[] { 0x41, 0x82, 0x00, 0xAC });
}
break;
}
}


Notice. i typed this out via my memory, so if you get an Error its not hard to fix lol :p
But yeah, That 'Uav' Offset is ' Non Host '
I Recommend Finding The Actual Offset. as Uav for Clients Does Not Require 'NOP' To Enable it.
it Only Requires 0x01 To enable / 0x00 To Disable.


lmao, why would u use switch loop for two statements?
it is pointless af,

The following user thanked Toxic for this useful post:

John
12-03-2015, 03:14 PM #9
Default Avatar
Thomas
Guest
Originally posted by ToXiC View Post
lmao, why would u use switch loop for two statements?
it is pointless af,


Just Another Example For You People Who Are ' Coders / Beginners '
I Never Said What One is a Much Better Method. Its About Time A Lot Of These People Learn New Stuff. Instead Of The Copy / Paste Shit Most Of You Learn From.
I'm No Longer Active. i could care Less. Just An Example.
12-03-2015, 05:00 PM #10
Better simple method for get client ...

PS3.Extension.ReadString(G_Client + Name Client + (client * Interval));

Change the G_Client with his address ecc ecc

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo