Xrpc Help Please

Gudz Sep 5, 2013

  1. Gu

    Gudz Newbie
    45/47

    Joined:
    May 26, 2012
    Messages:
    157
    Likes Received:
    47
    Trophy Points:
    0
    Console:
    Xbox
    I want to make a small Black Ops 2 XRPC tool for zombies. I am new to visual studio. I have figured out how to code the connect button and notify.

    All I want in the tool is the ability to add cash, god mode, unlimited ammo, and to be able to give any weapon available in zombies. I have searched and found some offsets and the weapon IDs. I am just not sure how to code the buttons for the above. Can someone give me a starting point for this. I know some of the tools out have some of this but most of them don't have the give weapons and if they do it doesn't work properly or include all the weapons.

    I would really like to learn how to make these and give back to the community.
     
  2. t3

    t3fury Guest

    Speak To Coder123 he used to make black ops 2 rte
     
  3. Homura

    Homura Creator of Avalon XPG Developer Lifetime Gold
    85/94

    Joined:
    Mar 8, 2011
    Messages:
    857
    Likes Received:
    793
    Trophy Points:
    85
    Gender:
    Male
    Location:
    Wouldn't you like to know.
    Console:
    Xbox
    if he wants to make a .net program and not rte then he would need the algorithm Black Ops 2 uses.. without that he cannot really do anything. well I guess he could tell people afterwards to load up their saves in unknowns v2's black ops 2 tool to fix it.. but yeah.. I have the algorithm as well >.> but not mine to give out as I didn't reverse it. so he could just ask Unknown v2 for it..
     
  4. Renegade

    Renegade Super Special Awesome XPG Developer
    105/188

    Joined:
    Nov 19, 2009
    Messages:
    1,212
    Likes Received:
    894
    Trophy Points:
    105
    Gender:
    Male
    Location:
    United Kingdom
    Console:
    Xbox
    But he wants to make an XDRPC application not a save/GPD editor. So he doesn't need the Blops 2 algo.
     
  5. Sensational

    Sensational RIP TheAye.
    45/47

    Joined:
    Jun 17, 2013
    Messages:
    720
    Likes Received:
    257
    Trophy Points:
    45
    Gender:
    Male
    Occupation:
    Research and Development at Dal-Tile
    Location:
    Dallas, Texas
    Console:
    Xbox
    If you have the offsets, and you know they work, then you'll just need the dvars for each offset.
    Here are the zombie dvars as well as the offsets that coincide with them. http://pastebin.com/RCEV47Av

    Next, all you will need to do is create a button for each command.

    For example, I'll use infinite ammo.

    private void button1_Click(object sender, EventArgs e)
    {
    this.Jtag.Call(0x02943D18, new object[] { 0, "set player_sustainAmmo 1" });
    }

    All this does is that when the user presses the specified button, unlimited ammo will come into effect. You can't toggle this on and off, unless you use a pair of radio buttons and in which you would do:

    private void radioButton1_CheckedChanged(object sender, EventArgs e)
    {
    if (radioButton1.Checked == true)
    {
    this.Jtag.Call(0x02943D18, new object[] { 0, "set player_sustainAmmo 1" });
    }
    }

    private void radioButton2_CheckedChanged(object sender, EventArgs e)
    {
    if (radioButton2.Checked == true)
    {
    this.Jtag.Call(0x02943D18, new object[] { 0, "set player_sustainAmmo 0" });
    }
    }

    Thus, creating an on/off switch for the dvar you're using.
     
  6. Gu

    Gudz Newbie
    0/47

    Joined:
    May 26, 2012
    Messages:
    157
    Likes Received:
    47
    Trophy Points:
    0
    Console:
    Xbox
    Thank you
     
  7. Gu

    Gudz Newbie
    0/47

    Joined:
    May 26, 2012
    Messages:
    157
    Likes Received:
    47
    Trophy Points:
    0
    Console:
    Xbox
    Ok I understand how to code the buttons now for most of what I want but not sure how to add godmode for zombies. As far as what offset to use and isgodmode.
     

Share This Page

Close