XRPC | How it works | How to make a tool
I use Visual Studio 2013 to make tools. It's free and be sure you ONLY download the C# part of it


XRPC is the most commonly used tool to connect and real time edit a game. There are other plugins, but this thread is just for XRPC.

How it works:
The XRPC.dll is made as a reference in the code and is it's thought process on how/where to send the code to. Since XRPC.dll would be a reference it would add more valid commands into Visual Studio, such as "Jtag.Call". This is how commands are sent to your console and know what to do.

First Look:
If it's your first time using Visual Studio, it may be a bit confusing. Make a new project and use Windows Form Application. You will be brought to the Designer view. Look to the right and go ahead and drag a button into the Form. Press the button ONCE and look to the bottom right. It will ask for a name and what the button should say (You may need to scroll down to find "name"). Click on what it should say and type, "Connect". Go down for the name and name it, "btnConnect". When naming you should always get into the habit of using the abbreviation and what it does. Since it is a button I put "btn" Since it connects to the console I put "Connect". Now, double click the button. This is where the magic happens. Look to the top right and you'll see "WindowsFormApplication" look a little bit down and look for "reference". Right click and select "Add reference". Now select the XRPC.dll, where ever it is located. It is now a reference and you have a little bit of a thought process going on the project. When looking at the top of the code it stars off with lines saying "using (whatever)". You will now need to add "using XRPCLib;" As soon as you type "XRP" it should automatically pop up. Now look down and look for "namespace WindowsFormApplication". Now you will need to add 2 lines of code here. ABOVE but before the "{" is where you need to start. Type:
Code:
XRPC Jtag = new XRPC(); 
private Form form2instance;
You now have the last step in adding the XRPC reference into the project. Go back to designer and double click the button again. You will be brought to:
Code:
private void btnConnect_Click(object sender, EventArgs e)
        {

            }
BETWEEN the curly braces is where you need to add some code. You are now adding code to the button. So when it's pressed, it will send the code to connect to your Xbox 360. Between those curly braces type:
Code:
            Jtag.Connect();

            if (Jtag.activeConnection)
            {
                MessageBox.Show("Connected");
            }
            else
            {
                MessageBox.Show("Failed to Connect");
            }
Please understand what this code does. It sends the code "Jtag.Connect(); and looks for a responce. If the console is on and accepts it you will get a message box saying 'Connected". If your console is off and/or won't accept the code you will get "Failed to Connect". Look up to the word "Build" on the option bar. Click that and press "Build Solution". You're ready to go! Now press start and let the application start up. Press "Connect" and you should get the message box that says "Connected". If not, make sure your console is on, has XRPC on dashlaunch as a plugin, and is the default Xbox 360 on "Neighborhood".


Adding Real Time Edit buttons for Call of Duty Modern Warfare 2 & 3:
Coming soon....