Post: [C#]Rain Name Code for Any CoD RTM Tool
09-03-2018, 01:51 AM #1
xSins
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({});
Wassup NGU

I decided to make this tutorial because I was bored out of my mind.
Hope you enjoy!


Will be adding more codes and will try to make it as simple as possible for you guys!


If this has been posted before or if you would like it removed, pm me

Dependencies:

    using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using PS3Lib;


Step 1:
Place this code under InitialiseComponent();

            private List<Label> nameLabels = new List<Label>();
private List<string> nameColor = new List<string>();


Step2:
Place this code in Form1_Load

                for (int i = 0; i < 10; i++)
{
for (int color = 1; color < 7; j++)
{
this.nameColor.Add("^" + color.ToString());
}
}

Step 3:
Place a timer onto your project and add this

                                string text = this.rainLabel.Text;
int num = 0;
foreach (object obj in Regex.Matches(text, "\\^([0-9])(.)"))
{
Match match = (Match)obj;
string text2 = match.Value.Substring(1, 1);
match.Value.Substring(2, 1);
int num2 = int.Parse(text2);
if (num2 < 7)
{
num2++;
text2 = Convert.ToString(num2);
if (text2 == "7")
{
text2 = "1";
}
text = text.Remove(match.Index + 1, 1);
text = text.Insert(match.Index + 1, text2);
}
num++;
}
this.rainLabel.Text = text;
byte[] bytes = Encoding.ASCII.GetBytes(this.rainLabel.Text);
Array.Resize<byte>(ref bytes, bytes.Length + 1);
Form1.PS3.SetMemory(GAME BYTE HERE, bytes);

Step 4:
Create 2 Buttons, one to start and the other to stop
Start Button

                string text = this.textBox1.Text;
int length = text.Length;
string[] array = new string[length];
for (int i = 0; i < length; i++)
{
array[i] = text.Substring(i, 1);
Label label = new Label();
label.AutoSize = true;
label.Font = new Font("Consolas", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
label.Location = new Point(i * 20 + 15, 75);
label.Name = "lbl1" + i.ToString();
label.Size = new Size(23, 24);
label.TabIndex = 34;
label.Text = array[i];
base.Controls.Add(label);
this.Labels.Add(label);
}
List<string> list = new List<string>();
for (int i = 0; i < array.Count<string>(); i++)
{
list.Add(this.colorList[i]);
list.Add(array[i]);
}
StringBuilder stringBuilder = new StringBuilder();
foreach (string value in list)
{
stringBuilder.Append(value);
}
this.textBox1.Text = stringBuilder.ToString();
this.timer1.Start();

Stop Button:

    timer1.Stop();


And there you have it, This DOES work for most games as long as you replace the "REPLACE WITH GAME NAME SET OFFSET" with your games offset,. I will add those down below!


Offsets
    MW2 - 0x01f9f11c | BO1 - 0x02000934 | MW3 - 0x01BBBC2C | BO2 - 0x026C0658 | Ghosts - 0xF47A1C | Advanced Warfare - 0x2A80BE8 | BO3 - Have no clue if this works on this game, don't have the game to test it on. :(
Last edited by xSins ; 09-05-2018 at 08:33 PM. Reason: Error's.

The following 2 users say thank you to xSins for this useful post:

S63, SoloHoster
09-03-2018, 10:49 AM #2
S63
Space Ninja
Originally posted by xSins View Post
Wassup NGU

I decided to make this tutorial because I was bored out of my mind.
Hope you enjoy!


If this has been posted before or if you would like it removed, pm me

Dependencies:

    using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using PS3Lib;


Step 1:
Place this code under InitialiseComponent();

            private List<Label> nameLabels = new List<Label>();
private List<string> nameColor = new List<string>();


Step2:
Place this code in Form1_Load

                for (int i = 0; i < 10; i++)
{
for (int color = 1; color < 7; j++)
{
this.colorList.Add("^" + color.ToString());
}
}

Step 3:
Place a timer onto your project and add this

                    Match match = (Match)obj;
string text2 = match.Value.Substring(1, 1);
match.Value.Substring(2, 1);
int num2 = int.Parse(text2);
if (num2 < 7)
{
num2++;
text2 = Convert.ToString(num2);
if (text2 == "7")
{
text2 = "1";
}
text = text.Remove(match.Index + 1, 1);
text = text.Insert(match.Index + 1, text2);
}
num++;
}
this.textBox1.Text = text;
byte[] bytes = Encoding.ASCII.GetBytes(this.rainLabel.Text);
Array.Resize<byte>(ref bytes, bytes.Length + 1);
Form1.PS3.SetMemory(REPLACE WITH GAME NAME SET OFFSET, bytes);

Step 4:
Create 2 Buttons, one to start and the other to stop
Start Button

                string text = this.textBox1.Text;
int length = text.Length;
string[] array = new string[length];
for (int i = 0; i < length; i++)
{
array[i] = text.Substring(i, 1);
Label label = new Label();
label.AutoSize = true;
label.Font = new Font("Consolas", 15.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
label.Location = new Point(i * 20 + 15, 75);
label.Name = "lbl1" + i.ToString();
label.Size = new Size(23, 24);
label.TabIndex = 34;
label.Text = array[i];
base.Controls.Add(label);
this.Labels.Add(label);
}
List<string> list = new List<string>();
for (int i = 0; i < array.Count<string>(); i++)
{
list.Add(this.colorList[i]);
list.Add(array[i]);
}
StringBuilder stringBuilder = new StringBuilder();
foreach (string value in list)
{
stringBuilder.Append(value);
}
this.textBox1.Text = stringBuilder.ToString();
this.timer1.Start();

Stop Button:

    timer1.Stop();


And there you have it, This DOES work for most games as long as you replace the "REPLACE WITH GAME NAME SET OFFSET" with your games offset,. I will add those down below!


Offsets
    MW2 - 0x01f9f11c | BO1 - 0x02000934 | MW3 - 0x01BBBC2C | BO2 - 0x026C0658 | Ghosts - 0xF47A1C | Advanced Warfare - 0x2A80BE8 | BO3 - Have no clue if this works on this game, don't have the game to test it on. :(


You must login or register to view this content. good work anyway

The following user thanked S63 for this useful post:

xSins
09-03-2018, 06:32 PM #3
xSins
Bounty hunter
Originally posted by S63 View Post
You must login or register to view this content. good work anyway


Oh damn, didn't realise that was released, but doesn't that only do it to the PSN string you set?
09-03-2018, 09:25 PM #4
S63
Space Ninja
Originally posted by xSins View Post
Oh damn, didn't realise that was released, but doesn't that only do it to the PSN string you set?


no u just change where it says "iMod1998" to textbox.text for example
09-03-2018, 09:29 PM #5
xSins
Bounty hunter
Originally posted by S63 View Post
no u just change where it says "iMod1998" to textbox.text for example


if you do that the CYCL and KRDR wont work will it
09-03-2018, 09:40 PM #6
S63
Space Ninja
Originally posted by xSins View Post
if you do that the CYCL and KRDR wont work will it


no should work just replace string buffer = ""; to string buffer = textBox.text;

The following user thanked S63 for this useful post:

xSins

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo