Post: [Release] RPC for all updates 1.14+!
09-01-2013, 07:43 PM #1
Choco
Respect my authoritah!!
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU!


Rather than update my Remote Procedure Call tool each time an update is released, I decided to just make a DLL for it that will work regardless of update. When initialized, it finds the fog function and overwrites it with my RPC function. This one, unlike my previous RPC DLL, can take 3 types of arguments - int, uint, or string.



How to add the DLL to a C# project

1. Download my DLL.
2. In Visual C#, click on the project tab and then select "Add Reference".
3. Click the browse tab. Find the DLL you downloaded and click OK.



How to initialize the DLL

1. In your code, go to your function that connects to the PS3 and attaches the process.
2. After the part of code that attaches process, add this line:

    BO2.PS3.Init();


This will locate the function R_SetFrameFog and replace it with my RPC function. For 1.14, it will initialize quickly. For future updates, it may take a few seconds to initialize because it has to find the function.

Once you have done this, the RPC function is ready to go.



How to call a function

To call a function, you need to use the following code:

    BO2.RPC.Call(uint func_address, arguments);


Here's a few examples:

    BO2.RPC.Call(0x349B8C, 0, 0, "O \"^2Test!\"");       //this calls SV_GameSendServerCommand

BO2.RPC.Call(0x3139A8, 0, "set cg_fov 90"); //this calls CBuf_AddText

BO2.RPC.Call(0x2A8044, 0x177B828, 1, 0); //this calls G_GivePlayerWeapon (and gives default weapon)


When a function is called, it returns an integer value. If you want to get the return value, do it like so:

    int returnVal = BO2.RPC.Call(0x275A04, "This is a string");     //Calls G_LocalizedStringIndex and assigns it's return value to returnVal




Credits

-aerosoul94 for showing me how to take different argument types and giving me his library for importing PS3 target manager functions



Download

Download: You must login or register to view this content.

Virus Scan: You must login or register to view this content.


Note: PS3 Target Manager must be installed on your computer or this will not work.

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

The following 59 users say thank you to Choco for this useful post:

-JM-, -Numb, {H} | Exception, Eddie Mac, AlexNGU, Ansity., anxify, ARABIC_GUY, Asian, Bad Luck Brian, BadChoicesZ, BaSs_HaXoR, bomboHD, CodJumper:, DiiMoON_YouTube, ErasedDev, DJok3r, Gendjisan, Geo, Harry, Hori_By_Nature, i_iTop_i, Callumeleyy, ilasthope, iMoDz-Baptiste, iNDMx, Welsh, JakeP0500, John Leepe, KING_ZOO, Loxy, M-alShammary, M33-_-Firmware, Mango_Knife, MegaMister, moekroeman, MoTmrD, MrKiller261, NGU-xNiicKzHD, Norway-_-1999, John, primetime43, Raz0rMind, SC58, Shark, Dacoco, SkillsPayBills-, SnaY, Taylor, TheUnexpected, worrorfight, xD3VHΛX, Fatality, xMiLeZz, xPreeks, XxBlud23xX
09-28-2014, 08:41 AM #47
Hash847
Purple God
Originally posted by JeWeLs View Post
my friend of mine gave me his RPC.sc and i added it

then i added this code "RPC.Enable():"

but when i go into the game, the mods do not work, making the RTM tool pointless...... but when i take off the "RPC.Enable();" then the mods work perfectly fine.... why is that?


Just thought I'd mention, this RPC is kind of bad, I'd suggest you use this rpc You must login or register to view this content.

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

One, Welsh
11-22-2014, 12:51 AM #48
iTпDM
Vault dweller
Thanks Chococy :p
11-23-2014, 07:29 AM #49
Hunter926
Little One
Originally posted by Winter View Post
Just thought I'd mention, this RPC is kind of bad, I'd suggest you use this rpc You must login or register to view this content.

Are you planning on updating your RPC to work with 1.19?
I couldn't find anything else that worked on 1.18 except the one you posted here =/
11-23-2014, 08:01 PM #50
Hash847
Purple God
Originally posted by hunter926 View Post
Are you planning on updating your RPC to work with 1.19?
I couldn't find anything else that worked on 1.18 except the one you posted here =/


You must login or register to view this content. updated.

The following user thanked Hash847 for this useful post:

Hunter926
12-04-2014, 03:36 PM #51
Adrian
Adrian is back!
Originally posted by Winter View Post
You must login or register to view this content. updated.


wen i use that winter i need the Lib from there that is the only downside and wen i get the Lib and add it in to my tool as a cs all the PS3.GetMemory and PS3.SetMemory in the whole cs goes red underlined and i dont know wat to do from there and i realy need help... shark sent me the cs for Lib
12-04-2014, 09:25 PM #52
Hash847
Purple God
Originally posted by .Adrian View Post
wen i use that winter i need the Lib from there that is the only downside and wen i get the Lib and add it in to my tool as a cs all the PS3.GetMemory and PS3.SetMemory in the whole cs goes red underlined and i dont know wat to do from there and i realy need help... shark sent me the cs for Lib


Because PS3 is already defined (PS3API PS3 = new PS3API()Winky Winky

The following user thanked Hash847 for this useful post:

One
05-08-2015, 11:42 AM #53
umm what do i do with this can someone help pls
06-30-2015, 11:16 PM #54
TheDevilHoster
Bounty hunter
Thank you!
06-30-2015, 11:17 PM #55
TheDevilHoster
Bounty hunter
wicked thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo