Résolu Probleme codage tool mw3

membre672002

Membre
Inscription
1 Juillet 2016
Messages
12
Réactions
0
Points
54
Bonjour a tous,je commence a coder mon tool mw3 je met les offsets et la "le nom process id n'existe pas dans le contexte actuel"

voici mon code :
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using PS3Lib;
using MetroFramework;

namespace MW3_Private_tool_by_Snake_Designed
{

public partial class Form1 : MetroFramework.Forms.MetroForm
{
public Form1()
{
InitializeComponent();
}
private PS3API PS3API = new PS3API();
private Random Random = new Random();
private CCAPI CEX = new CCAPI();


private void Form1_Load(object sender, EventArgs e)
{

}

private void metroRadioButton2_CheckedChanged(object sender, EventArgs e)
{
PS3API.ChangeAPI(SelectAPI.ControlConsole);
connect.Enabled = true;
}

private void metroRadioButton1_CheckedChanged(object sender, EventArgs e)
{
PS3API.ChangeAPI(SelectAPI.TargetManager);
connect2.Enabled = true;

}

private void metroButton2_Click(object sender, EventArgs e)
{
if (PS3API.AttachProcess())
{

Byte[] buffer = new byte[] { 0x60, 0x00, 0x00, 0x00 };
PS3API.SetMemory(0x057A47C, buffer);
MessageBox.Show("PS3 attacher avec succËs avec " + PS3API.GetCurrentAPIName(), " SuccËs ", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
PS3API.CCAPI.Notify(CCAPI.NotifyIcon.FINGER, "merci d'utiliser mon tool :p");
}
else
{

MessageBox.Show("PS3 non attacher", "Erreur", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}

private void metroButton1_Click(object sender, EventArgs e)
{
if (PS3API.ConnectTarget())
{
MessageBox.Show("PS3 Connecter avec succËs sur la†" + PS3API.GetConsoleName(), "Information", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
PS3API.CCAPI.Notify(CCAPI.NotifyIcon.FINGER,"Private tool by Snake Designed");

}
}

private void metroButton3_Click(object sender, EventArgs e)
{

}

private void metroButton3_Click_1(object sender, EventArgs e)
{
if (numericUpDown1.Value == 0)
{
byte[] PR0 = new byte[] { 0x00 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR0);
}
else if (numericUpDown1.Value == 1)
{
byte[] PR1 = new byte[] { 0x01 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR1);
}
else if (numericUpDown1.Value == 2)
{
byte[] PR2 = new byte[] { 0x02 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR2);
}
else if (numericUpDown1.Value == 3)
{
byte[] PR3 = new byte[] { 0x03 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR3);
}
else if (numericUpDown1.Value == 4)
{
byte[] PR4 = new byte[] { 0x04 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR4);
}
else if (numericUpDown1.Value == 5)
{
byte[] PR5 = new byte[] { 0x05 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR5);
}
else if (numericUpDown1.Value == 6)
{
byte[] PR6 = new byte[] { 0x06 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR6);
}
else if (numericUpDown1.Value == 7)
{
byte[] PR7 = new byte[] { 0x07 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR7);
}
else if (numericUpDown1.Value == 8)
{
byte[] PR8 = new byte[] { 0x08 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR8);
}
else if (numericUpDown1.Value == 9)
{
byte[] PR9 = new byte[] { 0x09 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, PR9);
}
else if (numericUpDown1.Value == 10)
{
byte[] P10 = new byte[] { 0x0A };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P10);
}
else if (numericUpDown1.Value == 11)
{
byte[] P11 = new byte[] { 0x0B };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P11);
}
else if (numericUpDown1.Value == 12)
{
byte[] P12 = new byte[] { 0x0C };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P12);
}
else if (numericUpDown1.Value == 13)
{
byte[] P13 = new byte[] { 0x0D };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P13);
}
else if (numericUpDown1.Value == 14)
{
byte[] P14 = new byte[] { 0x0E };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P14);
}
else if (numericUpDown1.Value == 15)
{
byte[] P15 = new byte[] { 0x0F };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P15);
}
else if (numericUpDown1.Value == 16)
{
byte[] P16 = new byte[] { 0x10 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P16);
}
else if (numericUpDown1.Value == 17)
{
byte[] P17 = new byte[] { 0x11 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P17);
}
else if (numericUpDown1.Value == 18)
{
byte[] P18 = new byte[] { 0x12 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P18);
}
else if (numericUpDown1.Value == 19)
{
byte[] P19 = new byte[] { 0x13 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P19);
}
else if (numericUpDown1.Value == 20)
{
byte[] P20 = new byte[] { 0x14 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P20);
}
else if (numericUpDown1.Value == 21)
{
byte[] P21 = new byte[] { 0x15 };
PS3TMAPI.ProcessSetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, 0x01c1947c, P21);
}
}
}
}
 

Boubi SEC

Modérateur
Ancien staff
Inscription
10 Avril 2012
Messages
18 137
Réactions
7 130
Points
23 976
Salut BrazzaLobbies, :membre:

Ta demande est-elle résolue ?
Clique sur 'Cette réponse a répondu à ma question' si quelqu'un a su t'aider, pour le remercier et pouvoir déplacer ton topic dans la section adéquate.

Cordialement,
Boubi SEC
 
Haut