Post: Remote Procedure Calls 1.24 ( Better Version )
04-12-2014, 04:47 PM #1
Shark
Retired.
(adsbygoogle = window.adsbygoogle || []).push({}); since chocos rpc works but its not the best I decided to port chocos newer rpc from ghost, this also supports multiple args !

C# Code
You must login or register to view this content.

Credits To Choco and anyone else I missed....
(adsbygoogle = window.adsbygoogle || []).push({});

The following 15 users say thank you to Shark for this useful post:

-JM-, ImAzazel, iMoDz-Baptiste, Jannik007, kiwi_modz, Mango_Knife, John, Notorious, Obris, OLDSCHOOLMODZHD, RaGE_LoLo69, Sticky, Hash847, Xx-GIPPI-xX
04-13-2014, 01:15 AM #2
Originally posted by sharkbait263 View Post
since chocos rpc works but its not the best I decided to port chocos newer rpc from ghost, this also supports multiple args !

C# Code
You must login or register to view this content.

Credits To Choco and anyone else I missed....


thanks for releasing this <3
also I cant figure out why when I use this callfunc my hud text is messed up.
04-13-2014, 02:48 AM #3
Shark
Retired.
Originally posted by hatersxgonnahat View Post
thanks for releasing this <3
also I cant figure out why when I use this callfunc my hud text is messed up.


er can you explain more, or post a picture?
04-13-2014, 03:13 AM #4
Originally posted by sharkbait263 View Post
er can you explain more, or post a picture?

You must login or register to view this content.
04-13-2014, 04:57 AM #5
Shark
Retired.
Originally posted by hatersxgonnahat View Post
You must login or register to view this content.


hm how are you calling the function?
04-13-2014, 05:28 AM #6
Originally posted by sharkbait263 View Post
hm how are you calling the function?

    public static void StoreTextElem(uint elemIndex, int client, string Text, double font, double fontScale, float x, float y, uint align, float sort, decimal r, decimal g, decimal b, decimal a)
{
string setText = Text + "\0";
byte[] TextIndex = SetText(setText);
uint elem = Offsets.G_HudElems + ((elemIndex) * 0xB4);
byte[] ClientID = ReverseBytes(BitConverter.GetBytes(client));
PS3.SetMemory(elem, new byte[0xB4]);
PS3.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x00 });
PS3.SetMemory(elem + HElems.relativeOffset, new byte[] { 0x00, 0x00, 0x00, 0x00, 0x92, 0xFF, 0xFF, 0xFF, 0xFF });
PS3.SetMemory(elem + HElems.relativeOffset - 4, new byte[] { 0x00, 0x00, 0x00, 0x05 });
PS3.SetMemory(elem + Hudelem.HElems.textOffset, TextIndex);
PS3.Extension.WriteFloat(elem + HElems.fontOffset, (float)font);
PS3.SetMemory(elem + HElems.alignOffset, ReverseBytes(BitConverter.GetBytes(Convert.ToInt32(align))));
PS3.SetMemory(elem + HElems.textOffset + 4, ReverseBytes(BitConverter.GetBytes(sort)));
PS3.Extension.WriteFloat(elem + HElems.fontSizeOffset, (float)fontScale);
PS3.SetMemory(elem + HElems.xOffset, ToHexFloat(x));
PS3.SetMemory(elem + HElems.yOffset, ToHexFloat(y));
PS3.SetMemory(elem + HElems.colorOffset, RGBA(r, g, b, a));
PS3.SetMemory(elem + HElems.clientOffset, ClientID);
PS3.SetMemory(elem + 0xA8, ReverseBytes(BitConverter.GetBytes(Convert.ToInt32(client))));
byte[] Type_ = BitConverter.GetBytes(1);
Array.Reverse(Type_);
PS3.SetMemory(elem, Type_);
}

its the same hud elems from your base.
04-17-2014, 08:41 AM #7
xProvXKiller
Climbing up the ladder
Originally posted by sharkbait263 View Post
hm how are you calling the function?


im also getting a error You must login or register to view this content.

The following user thanked xProvXKiller for this useful post:

-JM-
04-29-2014, 04:50 PM #8
makeabce
I defeated!
Originally posted by Shark View Post
since chocos rpc works but its not the best I decided to port chocos newer rpc from ghost, this also supports multiple args !

C# Code
You must login or register to view this content.

Credits To Choco and anyone else I missed....

Why i keep getting errors...
You must login or register to view this content.
04-30-2014, 06:17 AM #9
Shark
Retired.
Originally posted by makeabce View Post
Why i keep getting errors...
You must login or register to view this content.

the image is to small to read it Sad Awesome, skype me :p
05-01-2014, 04:07 PM #10
-JM-
Space Ninja
Originally posted by Shark View Post
the image is to small to read it Sad Awesome, skype me :p

There is an error in this function can update ur thread?
Originally posted by another user

public static void WriteSingle(uint address, float[] input)
{
int length = input.Length;
byte[] array = new byte[length * 4];
for (int i = 0; i < length; i++)
{
PS3.Extension.ReverseBytes(BitConverter.GetBytes(input)).CopyTo(array, (int)(i * 4));
}
PS3.SetMemory(address, array);
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo