using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace COD_RTE_RAIN_NAME
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private List<string> colorList = new List<string>();
private Dictionary<string, Color> lblColors = new Dictionary<string, Color>();
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 0; i < 10; i++)
{
for (int j = 1; j < 7; j++)
{
colorList.Add("^" + j.ToString());
}
}
lblColors.Add("^1", Color.Red);
lblColors.Add("^2", Color.GreenYellow);
lblColors.Add("^3", Color.Yellow);
lblColors.Add("^4", Color.Blue);
lblColors.Add("^5", Color.Cyan);
lblColors.Add("^6", Color.DeepPink);
}
private List<Label> Labels = new List<Label>();
private void rainButton_Click(object sender, EventArgs e)
{
string text = rainTextBox.Text;
int charcount = text.Length;
string[] chars = new string[charcount];
for (int i = 0; i < charcount; i++)
{
chars[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 = chars[i];
Controls.Add(label);
Labels.Add(label);
}
List<string> test = new List<string>();
for (int i = 0; i < chars.Count(); i++)
{
test.Add(colorList[i]);
test.Add(chars[i]);
}
StringBuilder sb = new StringBuilder();
foreach (var VARIABLE in test)
{
sb.Append(VARIABLE);
}
rainLabel.Text = sb.ToString();
rainTimer.Start();
}
private void stopButton_Click(object sender, EventArgs e)
{
rainTimer.Stop();
moveTimer.Stop();
}
private void rainTimer_Tick(object sender, EventArgs e)
{
string temp = rainLabel.Text;
int count = 0;
foreach (Match match in Regex.Matches(temp, @"\^([0-9])(.)"))
{
string digit = match.Value.Substring(1, 1);
string lbltext = match.Value.Substring(2, 1);
Labels[count].Text = lbltext;
Labels[count].ForeColor = lblColors[match.Value.Substring(0, 2)];
var i = int.Parse(digit);
if (i < 7)
{
i++;
digit = Convert.ToString(i);
if (digit == "7")
digit = "1";
temp = temp.Remove(match.Index + 1, 1);
temp = temp.Insert(match.Index + 1, digit);
}
count++;
}
rainLabel.Text = temp;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(rainLabel.Text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
private int charcount;
private string text;
private bool state;
private void MoveName()
{
label2.Text = rainTextBox.Text;
text = label2.Text;
charcount = text.Length;
moveTimer.Start();
}
private void moveTimer_Tick(object sender, EventArgs e)
{
if (text.Length <= 16)
{
if (text.Length == charcount)
{
state = true;
}
if (text.Length == 16)
{
state = false;
}
if (state)
{
text = text.Insert(0, " ");
label2.Text = text;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
if (!state)
{
text = text.Remove(0, 1);
label2.Text = text;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
}
}
private void moveButton_Click(object sender, EventArgs e)
{
MoveName();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace COD_RTE_RAIN_NAME
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private List<string> colorList = new List<string>();
private Dictionary<string, Color> lblColors = new Dictionary<string, Color>();
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 0; i < 10; i++)
{
for (int j = 1; j < 7; j++)
{
colorList.Add("^" + j.ToString());
}
}
lblColors.Add("^1", Color.Red);
lblColors.Add("^2", Color.GreenYellow);
lblColors.Add("^3", Color.Yellow);
lblColors.Add("^4", Color.Blue);
lblColors.Add("^5", Color.Cyan);
lblColors.Add("^6", Color.DeepPink);
}
private List<Label> Labels = new List<Label>();
private void rainButton_Click(object sender, EventArgs e)
{
string text = rainTextBox.Text;
int charcount = text.Length;
string[] chars = new string[charcount];
for (int i = 0; i < charcount; i++)
{
chars[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 = chars[i];
Controls.Add(label);
Labels.Add(label);
}
List<string> test = new List<string>();
for (int i = 0; i < chars.Count(); i++)
{
test.Add(colorList[i]);
test.Add(chars[i]);
}
StringBuilder sb = new StringBuilder();
foreach (var VARIABLE in test)
{
sb.Append(VARIABLE);
}
rainLabel.Text = sb.ToString();
rainTimer.Start();
}
private void stopButton_Click(object sender, EventArgs e)
{
rainTimer.Stop();
moveTimer.Stop();
}
private void rainTimer_Tick(object sender, EventArgs e)
{
string temp = rainLabel.Text;
int count = 0;
foreach (Match match in Regex.Matches(temp, @"\^([0-9])(.)"))
{
string digit = match.Value.Substring(1, 1);
string lbltext = match.Value.Substring(2, 1);
Labels[count].Text = lbltext;
Labels[count].ForeColor = lblColors[match.Value.Substring(0, 2)];
var i = int.Parse(digit);
if (i < 7)
{
i++;
digit = Convert.ToString(i);
if (digit == "7")
digit = "1";
temp = temp.Remove(match.Index + 1, 1);
temp = temp.Insert(match.Index + 1, digit);
}
count++;
}
rainLabel.Text = temp;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(rainLabel.Text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
private int charcount;
private string text;
private bool state;
private void MoveName()
{
label2.Text = rainTextBox.Text;
text = label2.Text;
charcount = text.Length;
moveTimer.Start();
}
private void moveTimer_Tick(object sender, EventArgs e)
{
if (text.Length <= 16)
{
if (text.Length == charcount)
{
state = true;
}
if (text.Length == 16)
{
state = false;
}
if (state)
{
text = text.Insert(0, " ");
label2.Text = text;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
if (!state)
{
text = text.Remove(0, 1);
label2.Text = text;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
}
}
private void moveButton_Click(object sender, EventArgs e)
{
MoveName();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace COD_RTE_RAIN_NAME
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private List<string> colorList = new List<string>();
private Dictionary<string, Color> lblColors = new Dictionary<string, Color>();
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 0; i < 10; i++)
{
for (int j = 1; j < 7; j++)
{
colorList.Add("^" + j.ToString());
}
}
lblColors.Add("^1", Color.Red);
lblColors.Add("^2", Color.GreenYellow);
lblColors.Add("^3", Color.Yellow);
lblColors.Add("^4", Color.Blue);
lblColors.Add("^5", Color.Cyan);
lblColors.Add("^6", Color.DeepPink);
}
private List<Label> Labels = new List<Label>();
private void rainButton_Click(object sender, EventArgs e)
{
string text = rainTextBox.Text;
int charcount = text.Length;
string[] chars = new string[charcount];
for (int i = 0; i < charcount; i++)
{
chars[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 = chars[i];
Controls.Add(label);
Labels.Add(label);
}
List<string> test = new List<string>();
for (int i = 0; i < chars.Count(); i++)
{
test.Add(colorList[i]);
test.Add(chars[i]);
}
StringBuilder sb = new StringBuilder();
foreach (var VARIABLE in test)
{
sb.Append(VARIABLE);
}
rainLabel.Text = sb.ToString();
rainTimer.Start();
}
private void stopButton_Click(object sender, EventArgs e)
{
rainTimer.Stop();
moveTimer.Stop();
}
private void rainTimer_Tick(object sender, EventArgs e)
{
string temp = rainLabel.Text;
int count = 0;
foreach (Match match in Regex.Matches(temp, @"\^([0-9])(.)"))
{
string digit = match.Value.Substring(1, 1);
string lbltext = match.Value.Substring(2, 1);
Labels[count].Text = lbltext;
Labels[count].ForeColor = lblColors[match.Value.Substring(0, 2)];
var i = int.Parse(digit);
if (i < 7)
{
i++;
digit = Convert.ToString(i);
if (digit == "7")
digit = "1";
temp = temp.Remove(match.Index + 1, 1);
temp = temp.Insert(match.Index + 1, digit);
}
count++;
}
rainLabel.Text = temp;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(rainLabel.Text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
private int charcount;
private string text;
private bool state;
private void MoveName()
{
label2.Text = rainTextBox.Text;
text = label2.Text;
charcount = text.Length;
moveTimer.Start();
}
private void moveTimer_Tick(object sender, EventArgs e)
{
if (text.Length <= 16)
{
if (text.Length == charcount)
{
state = true;
}
if (text.Length == 16)
{
state = false;
}
if (state)
{
text = text.Insert(0, " ");
label2.Text = text;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
if (!state)
{
text = text.Remove(0, 1);
label2.Text = text;
//USE YOUR CODE TO SET MEMORY
/*
byte[] name = Encoding.ASCII.GetBytes(text);
snresult = PS3TMAPI.ProcessSetMemory(target, PS3TMAPI.UnitType.PPU, 0x1020200,
0xFFFFFFFF, 0x1EC828C, name);
*/
}
}
}
private void moveButton_Click(object sender, EventArgs e)
{
MoveName();
}
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.