yop all menbre de RG j'ai besoin de quelqu'un qui sais code car j'ai commence a faire un petit name changer et j'aimerai fai le flashing name mais je sais pas du tout comment faire il faut integre un timer et mettre se code
et sa
Sources : NGU
et je ne sais pas du tout comment procédé et l'insere dans le tool ^^ merci de me venir en aide
Code:
//Flashing Name
Random random = new Random();
int Color= random.Next(0, 7);
byte[] Code1 = Encoding.ASCII.GetBytes("^" + Color + your textbox.Text);
Array.Resize(ref Code1, Code1.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, NameOffset, Code1);
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Media;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public static uint ProcessID;
public static uint[] processIDs;
public static stringsnresult;
public static PS3TMAPI.ConnectStatus connectStatus;
public static string Status;
public static string MemStatus;
public Form1()
{
InitializeComponent();
s_myTimer1.Tick += button1_Click;
//You can simply add timers here, by putting "s_myTimer2.Tick += button2_Click; and so on
}
//You can simply add timers here, by putting "static Timer s_myTimer2 = new Timer(); and so on
static Timer s_myTimer1 = new Timer();
static int Countername = 0;
private void button1_Click(object sender, EventArgs e)
{
// 1 second = 1000 milliseconds
s_myTimer1.Start();
s_myTimer1.Interval = 500; //Time It takes to loop through ALL cases
{
Countername++;
switch (Countername)
{
case 1:
byte[] name1 = Encoding.ASCII.GetBytes("^4" + textBox1.Text);
Array.Resize(ref name1, name1.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name1);
break;
case 2:
byte[] name2 = Encoding.ASCII.GetBytes("^4" + textBox1.Text);
Array.Resize(ref name2, name2.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name2);
break;
case 3:
byte[] name3 = Encoding.ASCII.GetBytes("^4" + textBox1.Text);
Array.Resize(ref name3, name3.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name3);
break;
case 4:
byte[] name4 = Encoding.ASCII.GetBytes("^4" + textBox1.Text);
Array.Resize(ref name4, name4.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name4);
break;
case 5:
byte[] name5 = Encoding.ASCII.GetBytes("^5" + textBox1.Text);
Array.Resize(ref name5, name5.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name5);
break;
case 6:
byte[] name6 = Encoding.ASCII.GetBytes("^6" + textBox1.Text);
Array.Resize(ref name6, name6.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name6);
break;
case 7:
byte[] name7 = Encoding.ASCII.GetBytes("^;" + textBox1.Text);
Array.Resize(ref name7, name7.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name7);
break;
case 8:
byte[] name8 = Encoding.ASCII.GetBytes("^0" + textBox1.Text);
Array.Resize(ref name8, name8.Length + 1);
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01bbbc2c, name8 );
break;
}
if (Countername == 9) Countername = 0;
{
s_myTimer1.Start();
//This Causes it to loop the "x" cases. If you have 8 cases, put Countername == 9 like i did. For 9 cases, put Countername ==10, and so on.
}
}
}
private void button2_Click(object sender, EventArgs e)
{
s_myTimer1.Stop(); //This is to turn the timer off with a different button.
}
}
et je ne sais pas du tout comment procédé et l'insere dans le tool ^^ merci de me venir en aide