What's new

Tutorial [Release + Download] Night Rider GT

Preformed Mods

Preformed Mods

Enthusiast
Messages
638
Reaction score
128
Points
125
Sin$
7
hey what up se7enSins!!

i have noticed that people are releasing a lot of stuff now so i might as well release something i created.

this code is for the night rider GT that i created to go into my tool
Project Gate Way but now i am releasing it to do my part in helping the community!!!

btw if u dont know what night rider is then ur not old enough to understand <3


Video of what it does
(its choppy and missing letters because the speed is too fast, but i fixed that now)


You need to add 3 text boxes, and 1 check box And a timer
u can figure out there names :tongue: and if u cant u should not be coding!

Steps:
1. Add in a timer and enable it
2. set the Interval to ur
liking
16ca75353b0a663e7c54301dbabf0638.png

3. Add this code into a Check box:

C:
private void chkNightRider_CheckedChanged(object sender, EventArgs e)
{
if (MovingColor.Text == null)
{
MessageBox.Show("Please put a color in main and moving colors!");
}
else
{

m_movingGTMode = EMovingGTMode.NighRider;


uint num;
var movingGT = GtTextBox.Text;
byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
m_movingGTCount = 0;
}
}
4. Create 3 Text boxes, name them: GtTextBox, MovingColor, MainColor
*note* when putting in colors you must add a Carrot (^) to them
5. Add This code anywhere into ur tool
C:
public Mw3GamerTagEditor()
{
InitializeComponent();

m_movingGTMode = EMovingGTMode.None;
}
C:
private EMovingGTMode m_movingGTMode = EMovingGTMode.None;
private int m_movingGTCount = 0;
private bool m_movingGTCountGoingUp = true;
private void MovingTimer_Tick(object sender, EventArgs e)
{
if (m_movingGTMode == EMovingGTMode.NighRider)
{
if (m_movingGTCount == GtTextBox.Text.Length -1)
m_movingGTCountGoingUp = false;
else if (m_movingGTCount == 0)
m_movingGTCountGoingUp = true;

if (m_movingGTCountGoingUp)
m_movingGTCount++;
else
m_movingGTCount--;

if (m_movingGTCount < 0)
m_movingGTCount = 0;
var msg = GtTextBox.Text;

msg = msg.Insert(m_movingGTCount, "" + MovingColor.Text);

msg = msg.Insert(0, "" + MainColor.Text);
msg = msg.Insert(m_movingGTCount + 5, "" + MainColor.Text);
uint num;
byte[] bytes = Encoding.UTF8.GetBytes(msg);
jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
}
}
C:
public enum EMovingGTMode
{
None,
NighRider
}
6. Enjoy :biggrin:


i hope u enjoy this and pls give credit! as i spent ALOT of time working on this!!!!

Download for all u non-coders
 
Last edited:
SW1TCHY

SW1TCHY

Smoke Weed EveryDay!
Messages
184
Reaction score
71
Points
160
Sin$
0
Also a timer
and one of ur functions is invalid.
Code:
private EMovingGTMode m_movingGTMode = EMovingGTMode.None;
 
Preformed Mods

Preformed Mods

Enthusiast
Messages
638
Reaction score
128
Points
125
Sin$
7
Also a timer
and one of ur functions is invalid.
Code:
private EMovingGTMode m_movingGTMode = EMovingGTMode.None;
sorry!
C:
public Mw3GamerTagEditor()
 {
 InitializeComponent();

 m_movingGTMode = EMovingGTMode.None;
 }
 
SW1TCHY

SW1TCHY

Smoke Weed EveryDay!
Messages
184
Reaction score
71
Points
160
Sin$
0
Error 1 The type or namespace name 'EMovingGTMode' could not be found (are you missing a using directive or an assembly reference?) Visual Studio 2013\Projects\Elite Fool\Elite Fool\Form1.cs 77 17 Elite Fool
that line is " private EMovingGTMode m_movingGTMode = EMovingGTMode.None;"

EMovingGTMode is not defined anywhere‏
 
Preformed Mods

Preformed Mods

Enthusiast
Messages
638
Reaction score
128
Points
125
Sin$
7
Error 1 The type or namespace name 'EMovingGTMode' could not be found (are you missing a using directive or an assembly reference?) Visual Studio 2013\Projects\Elite Fool\Elite Fool\Form1.cs 77 17 Elite Fool
that line is " private EMovingGTMode m_movingGTMode = EMovingGTMode.None;"

EMovingGTMode is not defined anywhere‏
where did u add in?
C:
m_movingGTMode = EMovingGTMode.None;
because if its in a button then it wont work.... because that ^is describing that there
 
SW1TCHY

SW1TCHY

Smoke Weed EveryDay!
Messages
184
Reaction score
71
Points
160
Sin$
0
where did u add in?
C:
m_movingGTMode = EMovingGTMode.None;
because if its in a button then it wont work.... because that ^is describing that there
C:
  public partial class Form1 : Form
  {
  private readonly XRPC jtag = new XRPC();

  private EMovingGTMode m_movingGTMode = EMovingGTMode.None;

  private int m_movingGTCount = 0;
  private bool m_movingGTCountGoingUp = true;
  public Form1()
  {
  InitializeComponent();
  m_movingGTMode = EMovingGTMode.None;
  }
      private void MovingTimer_Tick_1(object sender, EventArgs e)
        {
            if (m_movingGTMode == EMovingGTMode.None)
                return;
            else if (m_movingGTMode == EMovingGTMode.Bounce)
            {
                if (m_movingGTCount == 10)
                    m_movingGTCountGoingUp = false;
                else if (m_movingGTCount == 0)
                    m_movingGTCountGoingUp = true;

                if (m_movingGTCountGoingUp)
                    m_movingGTCount++;
                else
                    m_movingGTCount--;


                string spaces = string.Empty;
                for (int i = 0; i < m_movingGTCount; i++)
                {
                    spaces = spaces + " ";
                }

                uint num;
                var movingGT = spaces + GtTextBox.Text;
                byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
            }
            else if (m_movingGTMode == EMovingGTMode.NighRider)
            {
                if (m_movingGTCount == GtTextBox.Text.Length - 1)
                    m_movingGTCountGoingUp = false;
                else if (m_movingGTCount == 0)
                    m_movingGTCountGoingUp = true;

                if (m_movingGTCountGoingUp)
                    m_movingGTCount++;
                else
                    m_movingGTCount--;

                if (m_movingGTCount < 0)
                    m_movingGTCount = 0;
                var msg = GtTextBox.Text;

                msg = msg.Insert(m_movingGTCount, "^" + MovingColor.Text);

                msg = msg.Insert(0, "^" + MainColor.Text);
                msg = msg.Insert(m_movingGTCount + 5, "^" + MainColor.Text);
                uint num;
                byte[] bytes = Encoding.UTF8.GetBytes(msg);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
            }
        }

        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            if (MovingColor.Text == null)
            {
                MessageBox.Show("Please put a color in main and moving colors!");
            }
            else
            {
                if (checkBox1.Checked)
                {
                    m_movingGTMode = EMovingGTMode.NighRider;
                    /*uint num;
                    var movingGT = GtTextBox.Text;
                    byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
                    */m_movingGTCount = 0;
                 
                    MovingTimer.Start();
                }
                else
                {
                    MovingTimer.Stop();
                }

            }
        }

        public enum EMovingGTMode
    {
        None,
        Bounce,
        NighRider
    }
     
       

        private void checkBox2_CheckedChanged(object sender, EventArgs e)
        {
            if (MovingColor.Text == null)
            {
                MessageBox.Show("Please put a color in main and moving colors!");
            }
            else
            {
                if (checkBox2.Checked)
                {
                    m_movingGTMode = EMovingGTMode.Bounce;
                    /*uint num;
                    var movingGT = GtTextBox.Text;
                    byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
                    m_movingGTCount = 0;
                  */
                    MovingTimer.Start();
                }
                else
                {
                    MovingTimer.Stop();
                }

            }
        }

   }
}
Working with a 450ms timer
i had to modify it a bit to get it working.
 
Preformed Mods

Preformed Mods

Enthusiast
Messages
638
Reaction score
128
Points
125
Sin$
7
C:
  public partial class Form1 : Form
  {
  private readonly XRPC jtag = new XRPC();

  private EMovingGTMode m_movingGTMode = EMovingGTMode.None;

  private int m_movingGTCount = 0;
  private bool m_movingGTCountGoingUp = true;
  public Form1()
  {
  InitializeComponent();
  m_movingGTMode = EMovingGTMode.None;
  }
      private void MovingTimer_Tick_1(object sender, EventArgs e)
        {
            if (m_movingGTMode == EMovingGTMode.None)
                return;
            else if (m_movingGTMode == EMovingGTMode.Bounce)
            {
                if (m_movingGTCount == 10)
                    m_movingGTCountGoingUp = false;
                else if (m_movingGTCount == 0)
                    m_movingGTCountGoingUp = true;

                if (m_movingGTCountGoingUp)
                    m_movingGTCount++;
                else
                    m_movingGTCount--;


                string spaces = string.Empty;
                for (int i = 0; i < m_movingGTCount; i++)
                {
                    spaces = spaces + " ";
                }

                uint num;
                var movingGT = spaces + GtTextBox.Text;
                byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
            }
            else if (m_movingGTMode == EMovingGTMode.NighRider)
            {
                if (m_movingGTCount == GtTextBox.Text.Length - 1)
                    m_movingGTCountGoingUp = false;
                else if (m_movingGTCount == 0)
                    m_movingGTCountGoingUp = true;

                if (m_movingGTCountGoingUp)
                    m_movingGTCount++;
                else
                    m_movingGTCount--;

                if (m_movingGTCount < 0)
                    m_movingGTCount = 0;
                var msg = GtTextBox.Text;

                msg = msg.Insert(m_movingGTCount, "^" + MovingColor.Text);

                msg = msg.Insert(0, "^" + MainColor.Text);
                msg = msg.Insert(m_movingGTCount + 5, "^" + MainColor.Text);
                uint num;
                byte[] bytes = Encoding.UTF8.GetBytes(msg);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
            }
        }

        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            if (MovingColor.Text == null)
            {
                MessageBox.Show("Please put a color in main and moving colors!");
            }
            else
            {
                if (checkBox1.Checked)
                {
                    m_movingGTMode = EMovingGTMode.NighRider;
                    /*uint num;
                    var movingGT = GtTextBox.Text;
                    byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
                    */m_movingGTCount = 0;
               
                    MovingTimer.Start();
                }
                else
                {
                    MovingTimer.Stop();
                }

            }
        }

        public enum EMovingGTMode
    {
        None,
        Bounce,
        NighRider
    }
   
     

        private void checkBox2_CheckedChanged(object sender, EventArgs e)
        {
            if (MovingColor.Text == null)
            {
                MessageBox.Show("Please put a color in main and moving colors!");
            }
            else
            {
                if (checkBox2.Checked)
                {
                    m_movingGTMode = EMovingGTMode.Bounce;
                    /*uint num;
                    var movingGT = GtTextBox.Text;
                    byte[] bytes = Encoding.UTF8.GetBytes(movingGT);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, 20, new byte[20], out num);
                    jtag.xbCon.DebugTarget.SetMemory(0x839691ac, (uint)bytes.Length, bytes, out num);
                    m_movingGTCount = 0;
                  */
                    MovingTimer.Start();
                }
                else
                {
                    MovingTimer.Stop();
                }

            }
        }

   }
}
Working with a 450ms timer
i had to modify it a bit to get it working.
ya sorry the code i posted was sloppy but if u add in the timer and just enable it from properties then u dont need that,

ill clean up the code and repost it

Edit:

Added Steps and Cleaned up the code!
 
Last edited:
SW1TCHY

SW1TCHY

Smoke Weed EveryDay!
Messages
184
Reaction score
71
Points
160
Sin$
0
ya sorry the code i posted was sloppy but if u add in the timer and just enable it from properties then u dont need that,

ill clean up the code and repost it

Edit:

Added Steps and Cleaned up the code!
Much better now mate :smile:
 
Top Bottom
Login
Register