You are viewing our Forum Archives. To view or take place in current topics click here.
Create Your Own JRPC XNotify Tool! [RGH/J-TAG]
Posted:

Create Your Own JRPC XNotify Tool! [RGH/J-TAG]Posted:

Exentric
  • Challenger
Status: Offline
Joined: Jul 17, 20168Year Member
Posts: 137
Reputation Power: 21
Status: Offline
Joined: Jul 17, 20168Year Member
Posts: 137
Reputation Power: 21
Alright, Welcome to my post on how to create a Simple Custom Notification tool!


Programs Needed!

Visual Studio 13/15




DLL's Needed!:

JRPC.Dll and xdevkit.dll




Download DLLS

[ Register or Signin to view external links. ]




Virus Total For DLLS:
[ Register or Signin to view external links. ]

Tutorial!

Okay, So the First thing you would like to do is Run: Visual Studio 13
The second thing you would like to do is click, "New Project"
Then you want to go down to Visual C# then select, Windows Form Application.


[ Register or Signin to view external links. ]




Now, Once you've created your project, You would want to click ToolBox on the
Left side of the screen. Then you would like to add One TextBox and one Button!
Layout the Tool how you want to lay it out, I've laid mine out like this!


[ Register or Signin to view external links. ]




Once you have laid out your Program. You would then want to Double click on the button.
You should get a screen with code,


[ Register or Signin to view external links. ]




But before we do any Coding! You want to add the Dll's, To add the Dll's You want to go to Project, Add reference! Look for were you extracted your dll's. And add them into your project.
Once you've got then dlls added you would like to go up into the top left corner in the code and under "using System.Windows.Forms;" You would like to add the code,


using XDevkit;
using JRPC_Client;



Your code should now look like this!

[ Register or Signin to view external links. ]


The next thing you would like to do is Go under the "Public Partial class form1 : form"
and then click enter next to the "{" once you done that type the following code
"IXboxConsole jtag;"


Now you want to go to, "private void button1_Click(object sender, EventArgs e)"
You should now want to type the following code that has been quoted below,


private void button1_Click(object sender, EventArgs e)
{
if (jtag.Connect(out jtag))
{
jtag.XNotify("Connected!");
label2.Text = "Connected";
MessageBox.Show("Connected!", "Success!", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
MessageBox.Show("Couldn't connect!");
label2.Text = "Failed! Try again!";
}
}


Your Code Should Now Look Like This!

[ Register or Signin to view external links. ]



I've forgot to say, Add labels so, Label 1 will be status: and label2 will be disconnected
but when it connects it will change!
also add a second button so the program can send the notification!
Now click on the second button.
Type the following code!

jtag.XNotify("" + textBox1);


Your code should look like this!

[ Register or Signin to view external links. ]

Once you have typed that code! You can now run your tool, You have successfully created a Nice XNotify tool!



For Lazy People... Copy The Code!

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using XDevkit;
using JRPC_Client;

namespace WindowsFormsApplication7
{
public partial class Form1 : Form
{
IXboxConsole jtag;
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
if (jtag.Connect(out jtag)) // Connects to Jtag
{
jtag.XNotify("Connected"); // Sends test notification to your rgh!
label2.Text = "Connected"; // Change status to connected
MessageBox.Show("ConnectedSuccess!", MessageBoxButtons.OK, MessageBoxIcon.Information); // Shows a Message that you connected!
}
else // What if you cant connect
{
MessageBox.Show("Couldn't"); // Shows a Message that you couldn't connect
label2.Text = "Failed! Try again!"; // Chanaged the Status to Failed
}
}

private void button2_Click(object sender, EventArgs e) // When you click the button
{
jtag.XNotify("" + textBox1); // Sends Your Text to Your Modded Console
}
}
}




The following 2 users thanked Exentric for this useful post:

Allnutt (02-23-2017), lel (02-23-2017)
#2. Posted:
ip
  • Winter 2018
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
Just something that made me laugh is that your project name is WindowsFormsApplicaiton7, meaning you have 6 other projects that are just WinForms without proper naming. Anyways, nice little tutorial but people won't have any idea where to go on from here if they are just starting out in c#, or making their first tool.
#3. Posted:
Chat
  • Winter 2017
Status: Offline
Joined: Jan 10, 201212Year Member
Posts: 7,913
Reputation Power: 7437
Status: Offline
Joined: Jan 10, 201212Year Member
Posts: 7,913
Reputation Power: 7437
ip wrote Just something that made me laugh is that your project name is WindowsFormsApplicaiton7, meaning you have 6 other projects that are just WinForms without proper naming. Anyways, nice little tutorial but people won't have any idea where to go on from here if they are just starting out in c#, or making their first tool.


I mean this guy was a complete copy from one over on S7 found it earlier today, only difference is the colors, either way he gave to us and helped who who need help. unless he's the guy who made it over on S7 who knows, was made a year and 7 months ago.
#4. Posted:
Gnu
  • V5 Launch
Status: Offline
Joined: Feb 19, 201311Year Member
Posts: 3,991
Reputation Power: 253
Status: Offline
Joined: Feb 19, 201311Year Member
Posts: 3,991
Reputation Power: 253
Great tutorial!
#5. Posted:
SwizzlePick
  • 2 Million
Status: Offline
Joined: Sep 05, 201212Year Member
Posts: 795
Reputation Power: 51
Status: Offline
Joined: Sep 05, 201212Year Member
Posts: 795
Reputation Power: 51
Thanks for this! Might mess around with it later.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.