• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

How To: Make an XDRPC/XRPC {C#}

Mr.Binary

Enthusiast
Since this section needs to be revived, heres how you make an RPC.

First off, you will need 2 .dll files, you can find these .dll files almost anywhere at this point. Download HERE

What you need to do for this tutorial is open Visual Studio(My preference, VS 2012 Ultimate, but you need to have NET Frame 4.0 and up)

Choose "Windows Form" and name it what ever you like :D.

Next were going to add in the .dlls you should have downloaded earlier.
Pictures:
Right Click on References - http://puu.sh/3H9pz.png
Click "Add Reference" and a window will popup - http://puu.sh/3H9sv.png
Click the Browse(You should not have anything in there if this is your first time doing this ;)) - http://puu.sh/3H9ut.png
Click browse and search the folder that you have the files in.
Hit Ctrl and click on them (saves time)
Click OK and then OK again. (These references will move to your bin\Debug if your debugging the program)

Now to call them.

I don't expect you to write all these down. Just C/P.
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using XRPCLib;
using XDevkit;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using XRPCLib;
using System.Windows.Forms;
using System.Threading;
using System.IO;
using System.Xml;

Code:
namespace (Your Namespace)
{
    public partial class Form1 : Form
    {
        XRPC Jtag = new XRPC();
<or>
        XRPC <Custom Name> = new XRPC();
        public static IXboxManager xbm = new XboxManager();
        public static XboxConsole xboxConsole = xbm.OpenConsole(xbm.DefaultConsole);
        private static byte[] myBuffer = new byte[0x20];
        private byte[] noclip;
        private uint nigo = 1; 
        private byte[] max = new byte[] { 0xff };
        private byte[] Ufo;
        private byte[] unfreeze;
        private byte[] godmode;
        private byte[] Freeze;
        private byte[] NightVision;
        private static byte[] CheeseBuffer;
        private static uint outInt;
        private float x;
        private float y;
        private float z;
        public byte[] dak { get; set; }
        private byte[] thermal = new byte[] { 13 };
        bool[] Died = { false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false };
        byte[] buffer = new byte[4];
        int ClientNum = 0;
        byte[] data = new byte[] { Convert.ToByte(0x10) };
<Button Monitoring>
        string LT = "2056";
        string RT = "65536";
        string LB = "32768";
        string RB = "16384";
        string LStick = "139264";
        string RStick = "256";
        string X = "2097152";
        string B = "262144";
        string A = "1024";
        string Start = "64"; // Pause Menu
        string RTplusLT = "67592";
        string LTplusB = "264200";
        string LBplusRB = "49152";
        string LTplusX = "2099208";
        string ProneplusX = "2097408";

Now that you have called the .dll files and everything else you would need for this project, time to connect to your console :D
Set a button and 2 labels on your project designer.
Make one of the labels "Connection Status:" or what ever you would like.
The second label will be used to see if you are connected to the console.
This one is usually labeled "Not Connected" if you wanna go for a more sophisticated look to it make it say "Connection Not Established"
Button1 will be used to connect to the console, so if you lose connection you can re-connect.

(Mine uses a timer, it tries the connection every 15 min. Don't laugh at my code, it works :p)
Code:
private void button1_Click(object sender, EventArgs e)
        {
            Jtag.Connect();
            if (Jtag.activeConnection)
            {
                label2.ForeColor = (Color.Green);
                label2.Text = ("Jtag Connected");
                System.Windows.Forms.MessageBox.Show("Active Connection");
                button1.Text = ("Re-Connect To Jtag");
                timer.Start();
                timer.Interval = (900) * (900);//900 = 15 Min.
                timer.Tick += new EventHandler(timer_Tick);
                
            }
            else
            {
                label2.ForeColor = (Color.Red);
                label2.Text = ("Failed");
                System.Windows.Forms.MessageBox.Show("Please check your Plugins and Try Again");
            }
        }
        void timer_Tick(object sender, EventArgs e)
        {
            Jtag.Connect();
            if (Jtag.activeConnection)
            {
                MessageBox.Show("Still Connected");
                timer.Stop();
                timer1.Start();
            }
            else
            {
                label2.ForeColor = (Color.Red);
                label2.Text = ("Jtag Disconnected");
                System.Windows.Forms.MessageBox.Show("Its Seems There Has Been An Error Connecting To Your Console!");
            }
            timer.Start();
        }

Now that you have that, your connection should be almost instant (depending on your Internet)
So since you now are done with what I believe to be the boring portion of the XRPC, time for the fun shtuff.

===================================MW2===================================

Now what you will need to do is get the SV, since I'm nice im not expecting you to go searching the internet.
MW2 SV: 0x82254940(This is the offset you will use for most calls for commands to your console)

How You Call A Command to your console:
Jtag.Call(Offset, client, 0, "CC* Dvar/Command")
*Character Commands:
s = setClientDvar (Infects everyone in the lobby)
c = iPrintInBold (Puts Text In Center Of Screen, not permanent)
f = iPrintIn (Text Above Kill feed, not permanent)
J = setPlayerData (Allows You To Unlock Challenges, Sets Stats, etc.)
M = setVisionNaked (Sets on of the _mp visions)
d = Fog (Sets tint and thickness of fog)

EX[SUP]1[/SUP]: Jtag.Call(0x82254940, -1, 0, "d 13 256 0.00135 0.4 0.4 1 0.3 0 0");//Sends Purple Fog to All Clients(set up with a button)

Clients:
Your clients will go from 0-17*
*System link 0 = host, online the host can either be 6-13, Rare to get 0 = host online.

===================================MW2===================================

I will be adding more later, ATM im extremely tired, if this post gets popular than I will make a little RPC and put the source on here :D

Thanks Guys,
~Mr.Binary

P.S. Sorry if its in the wrong section, I guess its for both C# and gaming :p so i chose gaming xD
 
Last edited:

Anthonys-Toolbox

Epic Member
Thanks but could you explain what this is for? I'm pretty sure it's only you on here that has any real head way as to what you have posted and what it is used for. And I honestly have no idea what a Jtag is, then again I'm not a modern gamer.

From what I've gathered, this is more of a hack rather than Emulation.
 

brh11

Respected Member
Hey.Ill try and sum up what it is.Alright so the xbox had basically allmost the same parts as a computer (cpu,gfx,mobo etc)The os on the xbox(kernel) is the software that is installed on the xbox via nand(on board memory)A jtag,Is when you solder cables and use a little tool bought online.TO read the nand(flash memory) on the device.What then happens is you exploit the kernel via software.When this is done it allows your xbox to run unsigned code not by m$,there are tons of mods and custom dashboards you can get for your device.Since a while ago xboxs are banned apon connecting to xbox live.The op here.Is making a hack for mw2 to allow a custom cheat menu.This is only possible via jtag.Here is a video showing https://www.youtube.com/watch?v=itLPn__RKzU

Hope I helped.HAve questions.Pm me :)!
 

Parranoia

Insane Member
Hey.Ill try and sum up what it is.Alright so the xbox had basically allmost the same parts as a computer (cpu,gfx,mobo etc)The os on the xbox(kernel) is the software that is installed on the xbox via nand(on board memory)A jtag,Is when you solder cables and use a little tool bought online.TO read the nand(flash memory) on the device.What then happens is you exploit the kernel via software.When this is done it allows your xbox to run unsigned code not by m$,there are tons of mods and custom dashboards you can get for your device.Since a while ago xboxs are banned apon connecting to xbox live.The op here.Is making a hack for mw2 to allow a custom cheat menu.This is only possible via jtag.Here is a video showing https://www.youtube.com/watch?v=itLPn__RKzU

Hope I helped.HAve questions.Pm me :)!

That makes more sense. I read the original post and was so confused as to what exactly it was.
 

Hyperion

Founder
Hey.Ill try and sum up what it is.Alright so the xbox had basically allmost the same parts as a computer (cpu,gfx,mobo etc)The os on the xbox(kernel) is the software that is installed on the xbox via nand(on board memory)A jtag,Is when you solder cables and use a little tool bought online.TO read the nand(flash memory) on the device.What then happens is you exploit the kernel via software.When this is done it allows your xbox to run unsigned code not by m$,there are tons of mods and custom dashboards you can get for your device.Since a while ago xboxs are banned apon connecting to xbox live.The op here.Is making a hack for mw2 to allow a custom cheat menu.This is only possible via jtag.Here is a video showing https://www.youtube.com/watch?v=itLPn__RKzU

Hope I helped.HAve questions.Pm me :)!

Thank's for the info.. I wasn't entirely sure myself. Just knew Jtag was a hardware mod for the xbox. I would love
to attempt this on one of my xbox's, but knowing me I'll probably fuck it up ^.^
 

Mr.Binary

Enthusiast
Hey.Ill try and sum up what it is.Alright so the xbox had basically allmost the same parts as a computer (cpu,gfx,mobo etc)The os on the xbox(kernel) is the software that is installed on the xbox via nand(on board memory)A jtag,Is when you solder cables and use a little tool bought online.TO read the nand(flash memory) on the device.What then happens is you exploit the kernel via software.When this is done it allows your xbox to run unsigned code not by m$,there are tons of mods and custom dashboards you can get for your device.Since a while ago xboxs are banned apon connecting to xbox live.The op here.Is making a hack for mw2 to allow a custom cheat menu.This is only possible via jtag.Here is a video showing https://www.youtube.com/watch?v=itLPn__RKzU

Hope I helped.HAve questions.Pm me :)!

Im going to further explain what it is, I recently made a paragraph to a kid on youtube so ill C&P it ;)
Just know brh11 im not trying to say anything against you im just adding more info :D

People found exploits WAY before MW2. I'm sure you didn't know that. (School is in sesh) So if you didn't know that Jtags where originally made as a reverse engineer of the Xbox 360 Development kit. Exploits were found in almost every game. Modifying the xbox started when the first xbox came out in 2004 and they had "Hard Mods" as well as "soft mods". Jtags aren't ment for exploiting CoD, their ment to run unsigned code and people use them to modify CoD. The Jtag runs unsigned code just like the "dev kit", its a cheaper than a dev kit and it runs homebrew like a div kit. So i read that you think it's just CoD, no, that is not a fact. Nobody reverse engineered a devkit to exploit a game that came out years after the Jtags creation. Jtags were made the same year they came out.

The kid was fighting with this other guy, me being a dick was directed all at his dumb comment. But here's a picture of me saying it :D

http://puu.sh/3Hqm4.png
 
Last edited:
Top