PS3 MW2 1.14 Fixed RPC

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

Nostafaru

Moderating the Crunch Bunch.
Retired Staff
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Apr 6, 2014
2,020
1,783
443

  1. Happy Coding everyone! ;)
    This is a fixed RPC for mw2 1.14

    This is a fixed version of the RPC SC58 released, it didn't return values so yea this is just a quick fix :P
    The call function is also edited so it supports some more value types!


    MW2 1.14 RPC:


    private static uint function_address = 0x38EDE8;

    public static int Call(UInt32 func_address, params object[] parameters)
    {
    int length = parameters.Length;
    int index = 0;
    UInt32 num3 = 0;
    UInt32 num4 = 0;
    UInt32 num5 = 0;
    UInt32 num6 = 0;
    while (index < length)
    {
    if (parameters[index] is int)
    {
    PS3.Extension.WriteInt32(0x10050000 + (num3 * 4), (int)parameters[index]);
    num3++;
    }
    else if (parameters[index] is UInt32)
    {
    PS3.Extension.WriteUInt32(0x10050000 + (num3 * 4), (UInt32)parameters[index]);
    num3++;
    }
    else
    {
    UInt32 num7;
    if (parameters[index] is string)
    {
    num7 = 0x10052000 + (num4 * 0x400);
    PS3.Extension.WriteString(num7, Convert.ToString(parameters[index]));
    PS3.Extension.WriteUInt32(0x10050000 + (num3 * 4), num7);
    num3++;
    num4++;
    }
    else if (parameters[index] is float)
    {
    PS3.Extension.WriteFloat(0x10050024 + (num5 * 4), (float)parameters[index]);
    num5++;
    }
    else if (parameters[index] is float[])
    {
    float[] input = (float[])parameters[index];
    num7 = 0x10051000 + (num6 * 4);
    Lib.WriteSingle(num7, input);
    PS3.Extension.WriteUInt32(0x10050000 + (num3 * 4), num7);
    num3++;
    num6 += (UInt32)input.Length;
    }
    }
    index++;
    }
    PS3.Extension.WriteUInt32(0x1005004C, func_address);
    Thread.Sleep(20);
    return PS3.Extension.ReadInt32(0x10050050);
    }

    public static void EnableRPC()
    {
    byte[] RPC = { 0xF8, 0x21, 0xFF, 0x91, 0x7C, 0x08, 0x02, 0xA6, 0xF8, 0x01, 0x00, 0x80, 0x3C, 0x40, 0x00, 0x72, 0x30, 0x42, 0x4C, 0x38, 0x3C, 0x60, 0x10, 0x05, 0x81, 0x83, 0x00, 0x4C, 0x2C, 0x0C, 0x00, 0x00, 0x41, 0x82, 0x00, 0x64, 0x80, 0x83, 0x00, 0x04, 0x80, 0xA3, 0x00, 0x08, 0x80, 0xC3, 0x00, 0x0C, 0x80, 0xE3, 0x00, 0x10, 0x81, 0x03, 0x00, 0x14, 0x81, 0x23, 0x00, 0x18, 0x81, 0x43, 0x00, 0x1C, 0x81, 0x63, 0x00, 0x20, 0xC0, 0x23, 0x00, 0x24, 0xC0, 0x43, 0x00, 0x28, 0xC0, 0x63, 0x00, 0x2C, 0xC0, 0x83, 0x00, 0x30, 0xC0, 0xA3, 0x00, 0x34, 0xC0, 0xC3, 0x00, 0x38, 0xC0, 0xE3, 0x00, 0x3C, 0xC1, 0x03, 0x00, 0x40, 0xC1, 0x23, 0x00, 0x48, 0x80, 0x63, 0x00, 0x00, 0x7D, 0x89, 0x03, 0xA6, 0x4E, 0x80, 0x04, 0x21, 0x3C, 0x80, 0x10, 0x05, 0x38, 0xA0, 0x00, 0x00, 0x90, 0xA4, 0x00, 0x4C, 0x90, 0x64, 0x00, 0x50, 0x3C, 0x40, 0x00, 0x73, 0x30, 0x42, 0x4B, 0xE8, 0xE8, 0x01, 0x00, 0x80, 0x7C, 0x08, 0x03, 0xA6, 0x38, 0x21, 0x00, 0x70, 0x4E, 0x80, 0x00, 0x20 };
    PS3.SetMemory(function_address, RPC);
    PS3.SetMemory(0x10050000, new byte[0x2854]);
    }
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • @ QM|T_JinX:
    by the way i unlocked the gold camo on bo7 looks pretty cool hahah
  • @ lurch6661:
    lol
  • @ ANGUS0023233:
    Jinx do you got PSN ?
  • @ QM|T_JinX:
    yea i do
  • @ QM|T_JinX:
    my gf is coming over i check you guys later on tc guys
  • @ lurch6661:
    ok bro tc
  • @ ANGUS0023233:
    Wow bunch of my links and such are gone i’ll have to look into it and try to fix it or update it anyways take care lurch and jinx
  • @ QM|T_JinX:
    t bro good to see you back on here catch you guys later
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    carkys is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • Chat Bot:
    QM|T_JinX has joined the room.
  • Chat Bot:
    Christo has joined the room.
  • @ Christo:
    Happy First Sunday of Advent

    :christmastree:
    +1
  • Chat Bot:
    keverson is our newest member. Welcome!
  • Chat Bot:
    keverson has left the room.
  • Chat Bot:
    keverson has joined the room.
  • @ keverson:
    Idps alguém me fala
  • Chat Bot:
    keverson has posted a new reply in the thread "Console ID #8670".
  • Chat Bot:
    keverson has posted a new reply in the thread "Console ID #8671".
  • Chat Bot:
    keverson has posted a new reply in the thread "Console ID #8671".
      Chat Bot: keverson has posted a new reply in the thread "Console ID #8671".