Post: [1.16]Clone Player & Suicide Function [FIXED ALL CLIENT]
03-17-2014, 07:17 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU,

You might have already seen my previous post about the ClonePlayer but it only worked for client 0.
Now i modified some PPC instructions so it works for any client you want, i also included Suicide Happy

    public static void ClonePlayer(uint client)
{
PS3.SetMemory(0x001F6564, new byte[] { 0x38, 0x60, 0x00, 0x00 });
WriteInt16(0x001F6564 + 2, (short)client);
RPC.Call(0x1F6528, client);
}
public static void SuicidePlayer(int client)
{
PS3.SetMemory(0x001F3648, new byte[] { 0x38, 0x60, 0x00, 0x00 });
WriteInt16(0x001f3648 + 2, (short)client);
RPC.Call(0x1F3630, client);
}

public static void WriteInt16(uint address, short input)
{
byte[] array = new byte[2];
ReverseBytes(BitConverter.GetBytes(input)).CopyTo(array, 0);
PS3.SetMemory(address, array);
}

public static byte[] ReverseBytes(byte[] toReverse)
{
Array.Reverse(toReverse);
return toReverse;
}


Why does this work?
You must login or register to view this content.
Look at the highlighted line, the instruction is mulli.
In this case, 0x31C (which is the g_entity interval) is being multiplied by the value of r3 and stored in r4.
r3 never had a set value so it is always set to 0.
You must login or register to view this content.
So i just changed the srdi instruction into li r3, 1 which then sets r3 to a value of 1 and 0x31C will be multiplied by 1.
Therefore, working for client 1 Happy

Enjoy Choco
(adsbygoogle = window.adsbygoogle || []).push({});

The following 7 users say thank you to logiicdope for this useful post:

$ticky, iMoDz-Baptiste, iSpeeDzM, Mango_Knife, ThePaaqoHD, XxModxX_XxModxX, zZHackzZ
03-17-2014, 08:15 PM #2
iMoDz-Baptiste
Do a barrel roll!
Thanks but work only for private match ^^
03-17-2014, 10:45 PM #3
seb5594
Proud Former Admin
Originally posted by logiicdope View Post
Hello NGU,

Here is the ClonePlayer Function that doesnt freeze you.

    public static void ClonePlayer(uint client)
{
RPC.Call(0x1F6528, client << 44);
}


You need to do << 44 because all PlayerCMD functions take a struct param which is 4 bytes long or 2 shorts.

Enjoy Choco


idk who you are but it seems like you know some stuff. recheck IDA, 44 is not correct stare
03-17-2014, 11:40 PM #4
Originally posted by seb5594 View Post
idk who you are but it seems like you know some stuff. recheck IDA, 44 is not correct stare

hmm ok, will do Winky Winky

EDIT: Its not like it really matters, im not sure if you can clone players for every client. I believe that PlayerCMD's are host only, but im not sure :/
03-17-2014, 11:53 PM #5
seb5594
Proud Former Admin
Originally posted by logiicdope View Post
hmm ok, will do Winky Winky

EDIT: Its not like it really matters, im not sure if you can clone players for every client. I believe that PlayerCMD's are host only, but im not sure :/

You can use ANY PlayerCMD function all client's
Check IDA and edit the 44 Smile
03-18-2014, 12:00 AM #6
Originally posted by seb5594 View Post
You can use ANY PlayerCMD function all client's
Check IDA and edit the 44 Smile

i found something but im not sure, not too good with PlayerCMD's :p
48
03-18-2014, 01:53 AM #7
seb5594
Proud Former Admin
Originally posted by logiicdope View Post
i found something but im not sure, not too good with PlayerCMD's :p
48


Yeah thats correct
03-18-2014, 02:10 AM #8
Originally posted by seb5594 View Post
Yeah thats correct

Since that still does not work for me, i went inside the PlayerCMD_ClonePlayer and just changed the g_entity address to a different clients and it worked
03-18-2014, 05:17 PM #9
Eddie Mac
At least I can fight
Originally posted by logiicdope View Post
Since that still does not work for me, i went inside the PlayerCMD_ClonePlayer and just changed the g_entity address to a different clients and it worked


Damn DexModderFTW you just love to make new accounts huh? still got that lamjam account too? lol you're sad kid.
03-18-2014, 07:21 PM #10
SC58
Former Staff
this isnt even how its really done, this is like ghetto as fck lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo