Xrpc Help Please

Discussion in 'C#' started by Gudz, Sep 5, 2013.

  1. Gu

    Gudz Newbie
    45/47

    157
    47
    0
    May 26, 2012
    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

    857
    793
    85
    Mar 8, 2011
    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

    1,212
    894
    105
    Nov 19, 2009
    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

    716
    257
    45
    Jun 17, 2013
    Research and Development at Dal-Tile
    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

    157
    47
    0
    May 26, 2012
    Console:
    Xbox
  7. Gu

    Gudz Newbie
    0/47

    157
    47
    0
    May 26, 2012
    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