Source code for my mw3 tool :)

dnq6 Nov 25, 2013

  1. dnq6

    dnq6 Daniel
    0/47

    Joined:
    Sep 24, 2012
    Messages:
    460
    Likes Received:
    91
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Trippa Snippa
    Console:
    Xbox
    So i know it aint much but it is something aye!

    This is an xrpc tool so you will need xrpc.dll!

    Here is the code:

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

    namespace WindowsFormsApplication6
    {
    public partial class Form1 : Form
    {
    public uint DV = 0x82540410;
    public uint SV = 0x822C9278; //this is the sv_gamesendservercommand offset
    XRPC Jtag = new XRPC(); //this is used to define our console
    public Form1()
    {
    InitializeComponent();
    }

    public uint getClientState(uint client)
    {
    return (0x82f99580 + (client * 0x3980));
    }

    private uint getPlayerState(uint clientIndex)
    {
    uint num;
    byte[] data = new byte[4];
    Jtag.xbCon.DebugTarget.GetMemory((0x82dccc80 + (clientIndex * 640)) + 0x158, 4, data, out num);
    Array.Reverse(data);
    return BitConverter.ToUInt32(data, 0);
    }




    private void button2_Click(object sender, EventArgs e)
    {
    Jtag.WriteFloat(0x82001D68, 999f); //this sets the jump hieght
    Jtag.WriteFloat(0x82000C04, 9999f); //this sets fall damage
    Jtag.Call(SV, -1, 1, "c \" super jump ^20n!\"");

    }

    private void button4_Click(object sender, EventArgs e)
    {
    int client = (int)numericUpDown1.Value; //selects the client
    Jtag.Call(SV, client, 1, textBox1.Text); //sends the command in text box
    }

    private void button3_Click(object sender, EventArgs e)
    {
    Jtag.WriteFloat(0x82001D68, 39f); //sets the normal jump hieght
    Jtag.Call(SV, -1, 1, "c \" normal jump ^20n!\"");
    }

    private void button5_Click(object sender, EventArgs e)
    {
    int client = (int)numericUpDown2.Value; //selects client
    Jtag.Call(SV, -1, 1, "c \"" + textBox2.Text + "\"");

    }

    private void button6_Click(object sender, EventArgs e)
    {
    Jtag.Call(DV, 0x82540410); //ignore this as i never used it

    }

    private void button7_Click(object sender, EventArgs e)
    {





    }

    private void button6_Click_1(object sender, EventArgs e)
    {
    Jtag.WriteByte(0x8215A2C0, 0x1); //writes the byte for laser on
    Jtag.Call(SV, 0, 1, "c \" Laser ^20n!\"");
    }

    private void button7_Click_1(object sender, EventArgs e)
    {
    Jtag.WriteByte(0x8215A2C0, 0x0); //writes the byte for laser off
    Jtag.Call(SV, 0, 1, "c \" Laser ^20n!\"");
    }

    private void connectToolStripMenuItem_Click(object sender, EventArgs e)
    {
    Jtag.Connect(); //this is the connection sequence i use
    if (Jtag.activeConnection)
    MessageBox.Show("Connected!");
    else
    MessageBox.Show("Failed To Connect");
    }

    private void Form1_Load(object sender, EventArgs e)
    {

    }

    private void toolStripLabel1_Click(object sender, EventArgs e)
    {
    try
    {
    System.Diagnostics.Process.Start("http://www.xpgamesaves.com/page/homepage.html");
    }
    catch { } //this redirects you to we website, in this case xpg
    }

    private void button1_Click(object sender, EventArgs e)
    {
    this.Jtag.SetMemory(0x820ea214, new byte[] { 0x39, 0x60, 0, 2 });
    }//noclip

    private void button8_Click(object sender, EventArgs e)
    {
    Jtag.SetMemory(0x820F63E0, new byte[] { 60, 00, 00, 00 });
    Jtag.SetMemory(0x821614D4, new byte[] { 60, 00, 00, 00 });
    Jtag.Call(SV, -1, 1, "c \" Max ^2Amm0!\"");
    }

    private void button9_Click(object sender, EventArgs e)
    {
    Jtag.WriteFloat(0x82001D68, 9999f);
    Jtag.WriteFloat(0x82000C04, 9999f);
    Jtag.Call(SV, -1, 1, "c \" Super super jump ^20n!\"");

    }

    private void button10_Click(object sender, EventArgs e)
    {
    Jtag.SetMemory(0x821154A4, new byte[] { 0x60, 0x00, 0x00, 0x00 });
    }//for redboxes



    }
    }

    Here is a link to the whole project:

    https://www.mediafire.com/?7g81araahdldhgx

    Here is a virus scan as well :https://www.virustotal.com/en/file/07fadc8ed7838a0f2f3fcc5bd477f23251b23e68c45002688db7d6e8a49a95e4/analysis/1385394069/




    This is my first project so no haters <3 xoxo

    EDIT: added a few // descriptions for the code to help you understand it
     
  2. XeOsama

    XeOsama Banned BANNED
    0/47

    Joined:
    Nov 27, 2013
    Messages:
    5
    Likes Received:
    1
    Trophy Points:
    0
    Great Release, thank you so much.
     
  3. ReachModding

    ReachModding Banned BANNED
    0/47

    Joined:
    Dec 17, 2013
    Messages:
    87
    Likes Received:
    6
    Trophy Points:
    0
    Console:
    Playstation 3
    I got one tip for you........


    Keep posting really helped.
     
  4. dnq6

    dnq6 Daniel
    25/47

    Joined:
    Sep 24, 2012
    Messages:
    460
    Likes Received:
    91
    Trophy Points:
    25
    Gender:
    Male
    Location:
    Trippa Snippa
    Console:
    Xbox
    No Problem :)
     
  5. cornerpath

    cornerpath Banned BANNED
    0/47

    Joined:
    Apr 23, 2012
    Messages:
    379
    Likes Received:
    31
    Trophy Points:
    0
    Console:
    Xbox
    What about future soldier?
     
  6. ReachModding

    ReachModding Banned BANNED
    0/47

    Joined:
    Dec 17, 2013
    Messages:
    87
    Likes Received:
    6
    Trophy Points:
    0
    Console:
    Playstation 3
    Something to add.


    Not sure if this would work



    private void looptext()
    {
    for(;;)
    {
    this.Loop = true;//OR something
    SV(-1, 0, "c textBox1.Text "\"");
    SV(-1, 0, "f textBox1.Text "\"");
    }
    else if(button1_Clicked)
    {
    this.Loop = false;// or !false
    }
    }
    }

    Like i said it may now work
     
  7. Mectrikz

    Mectrikz Banned BANNED
    0/47

    Joined:
    Nov 15, 2013
    Messages:
    674
    Likes Received:
    25
    Trophy Points:
    0
    Gender:
    Male
    Console:
    Xbox
    Sweet man, great release!
     

Share This Page

Close