Connexion
S'inscrire
Actualités
Quoi de neuf
Activités générales
Auteurs
Forums
Nouveaux messages
Rechercher un forum
Wiki
Pages
Dernière activité
Quoi de neuf
Nouveaux messages
Nouveaux articles
Nouveaux messages de profil
Activités générales
Membres
Membres inscrits
Visiteurs actuels
Nouveaux messages de profil
Rechercher dans les messages des profils
Teams
Créé ton équipe
Magasin
Quoi de neuf ?
Nouveaux messages
Rechercher un forum
Menu
Connexion
S'inscrire
Install the app
Install
Forums
Jeux-vidéos
Call of Duty
Call of Duty 9 : Black Ops II
[RELEASE] Black Ops 2 - Buttons Monitoring All Clients
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="FM|T iMCSx" data-source="post: 1367751" data-attributes="member: 269738"><p><strong><span style="font-size: 15px"><span style="font-family: 'Times New Roman'"><span style="color: #000000">H</span></span></span></strong><span style="font-size: 15px"><span style="font-family: 'Times New Roman'"><span style="color: #000000">ello !</span></span></span></p><p> </p><p style="text-align: center"><span style="font-size: 22px"><u><span style="font-family: 'arial black'">MADE BY iMCSx</span></u></span></p><p></p><p><span style="font-size: 15px"><span style="font-family: 'Times New Roman'"><span style="color: #000000">Aujourd'hui je décide de publié mon travail a propos du buttons monitoring pour all clients.</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">Ceci va vous permettre de crée vos propres méthodes C# personaliser et les envoyés au clients en jeu (Autres joueurs , bien entendu)</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">Je partage donc ce petit source code , j'ai écrit un code différent ici parce que il est plus extendu et permet une meilleur compréhension de son comportement.</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">Donc j'ai utilisé le g_entity pour obtenir les pointeurs du g_client et pour tout les clients par Index (0x31C).</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">Vous pouvez utiliez directement le g_client avec sa taille de (0x5808) mais ce moyen est bien meilleur pour vous faire comprendre.</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">je publie aujourd'hui donc ce code pour Black Ops 2 en 1.08 & Modern Warfare 3 en 1.23 car il est aussi déjà release sur xbox (Mw2)</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">J'utilise ceci depuis un long moment sur Xbox , mais également depuis bien 2 mois sur PS3 (<strong><a href="http://www.youtube.com/iMCSx" target="_blank">ICI</a></strong>)</span></span></span></p><p><span style="font-size: 15px"><span style="font-family: 'Times New Roman'"><span style="color: #000000">J'espère ceci va aidé des gens a nous crée des nouveaux mods assez épics <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite171" alt=":D" title="Awesome face :D" loading="lazy" data-shortname=":D" /></span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">Facile a mettre a jour , il suffit de trouver l'address du g_entity lors d'une prochaine mise à jour.</span></span></span></p><p> </p><p>[CODE]using System;</p><p>using System.Collections.Generic;</p><p>using System.ComponentModel;</p><p>using System.Data;</p><p>using System.Drawing;</p><p>using System.Linq;</p><p>using System.Text;</p><p>using System.Threading.Tasks;</p><p>using System.Windows.Forms;</p><p> </p><p>namespace Buttons_Monitoring_All_Clients</p><p>{</p><p> </p><p> // Made by iMCSx for Playstation 3.</p><p> // Credit to : Im A Hooker (Se7enSins) , for his Xbox Mw2 Release.</p><p> // Youtube.com/iMCSx - Nextgenupdate.com - www.French Modding Team.com</p><p> </p><p> public partial class Form1 : Form</p><p> {</p><p> // Define Custom Timer (I don't like use this, i use a custom hard way)</p><p> // It is ok for test and use for fun</p><p> private Timer StartiMCSxButtons = new Timer();</p><p> </p><p> public Form1()</p><p> {</p><p> InitializeComponent();</p><p> }</p><p> </p><p> private void Form1_Load(object sender, EventArgs e)</p><p> {</p><p> </p><p> }</p><p> </p><p> public class Buttons</p><p> {</p><p> // Define Buttons For Black Ops II</p><p> public static uint</p><p> X = 8192,</p><p> O = 16384,</p><p> Square = 4,</p><p> L3 = 1088,</p><p> R3 = 32,</p><p> L2 = 256,</p><p> R2 = 512,</p><p> L1 = 2147487744,</p><p> R1 = 128,</p><p> Crouch = 16384,</p><p> Prone = 32768;</p><p> }</p><p> </p><p> public class PS3Types</p><p> {</p><p> // Create Connect Types</p><p> public static int StartButton;</p><p> public static byte[] BIND = new byte[4];</p><p> public static uint[] processIDs;</p><p> public static uint ProcessID;</p><p> }</p><p> </p><p> public void ConnectAttach()</p><p> {</p><p> try</p><p> {</p><p> PS3TMAPI.InitTargetComms();</p><p> PS3TMAPI.Connect(0, null);</p><p> PS3TMAPI.GetProcessList(0, out PS3Types.processIDs);</p><p> ulong uProcess = PS3Types.processIDs[0];</p><p> PS3Types.ProcessID = Convert.ToUInt32(uProcess);</p><p> PS3TMAPI.ProcessAttach(0, PS3TMAPI.UnitType.PPU, PS3Types.ProcessID);</p><p> PS3TMAPI.ProcessContinue(0, PS3Types.ProcessID);</p><p> }</p><p> catch (Exception ex)</p><p> {</p><p> MessageBox.Show(ex.Message);</p><p> }</p><p> }</p><p> </p><p> private uint getPlayerState(int clientIndex)</p><p> {</p><p> // Get the playerState from entities.</p><p> byte[] iMCSxDest = new byte[4];</p><p> PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, PS3Types.ProcessID, 0, 0x01692dbc + ((uint)clientIndex * 0x31C) + 0x154, ref iMCSxDest);</p><p> Array.Reverse(iMCSxDest);</p><p> uint Next = BitConverter.ToUInt32(iMCSxDest, 0);</p><p> return Next;</p><p> }</p><p> </p><p> private uint UseButtonMonitoring(int client)</p><p> {</p><p> // Get buttons value.</p><p> return (getPlayerState(client) + 0x569C);</p><p> }</p><p> </p><p> private uint DetectButton(int clientID)</p><p> {</p><p> // Reverse Byte[] to UInt32 and detect them.</p><p> PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, PS3Types.ProcessID, 0, UseButtonMonitoring(clientID), ref PS3Types.BIND);</p><p> return System.BitConverter.ToUInt32(PS3Types.BIND, 0);</p><p> }</p><p> </p><p> private void button1_Click(object sender, EventArgs e)</p><p> {</p><p> ConnectAttach(); // Connect First your debug.</p><p> StartiMCSxButtons.Interval = 300;</p><p> StartiMCSxButtons.Enabled = true;</p><p> StartiMCSxButtons.Tick += StartiMCSxButtons_Tick;</p><p> StartiMCSxButtons.Start(); // Start Event.</p><p> }</p><p> </p><p> private void button2_Click(object sender, EventArgs e)</p><p> {</p><p> StartiMCSxButtons.Enabled = false;</p><p> StartiMCSxButtons.Stop(); // Stop Event.</p><p> }</p><p> </p><p> void StartiMCSxButtons_Tick(object sender, EventArgs e)</p><p> {</p><p> uint client0 = DetectButton(0); // Must be in a loop.</p><p> uint client1 = DetectButton(1); // Example Other Client</p><p> </p><p> if (client0 == Buttons.X)</p><p> MessageBox.Show("Client 0 Press the buttons X !");</p><p> if (client0 == Buttons.R1 + Buttons.L1) // Example 2 Buttons Pressed in the same moment.</p><p> MessageBox.Show("Client 0 Press the buttons R1 + L1 !");</p><p> if (client1 == Buttons.X)</p><p> MessageBox.Show("Client 1 Press the buttons X !");</p><p> }</p><p> }</p><p>}[/CODE]</p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'"><strong>Credit à :</strong> Im A Hooker (Se7ensins) pour son release xbox mw2.</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">Vous pouvez voir quelqu'un " // " dans le code , j'écrit ici pourquoi et comment ça fonctionne sur différente partie , comme j'ai dit j'aime pas utilisé les timers , j'utilise un bon vieux while() avec du code assez complexe , voilà d'ou vient le fait que j'met un timer pour pas vous piqué les yeux.</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">j'utilise ici les commands PS3TMAPI_NET.dll , mais vous pouvez toujours intégrer ce code a votre code perso , j'ai pas voulu release MAINTENANT mon PS3Lib.dll v2 qui a beaucoup évolué.</span></span></span></p><p> </p><p><span style="color: #000000"><span style="font-size: 15px"><span style="font-family: 'Times New Roman'">A bientôt , et amusez-vous bien dans Visual Studio (Et en jeu <img src="/data/assets/smilies/joueur.gif" class="smilie" loading="lazy" alt=":p" title="Joueur :p" data-shortname=":p" />)</span></span></span></p></blockquote><p></p>
[QUOTE="FM|T iMCSx, post: 1367751, member: 269738"] [B][SIZE=4][FONT=Times New Roman][COLOR=#000000]H[/COLOR][/FONT][/SIZE][/B][SIZE=4][FONT=Times New Roman][COLOR=#000000]ello ![/COLOR][/FONT][/SIZE] [CENTER][SIZE=6][U][FONT=arial black]MADE BY iMCSx[/FONT][/U][/SIZE][/CENTER] [SIZE=4][FONT=Times New Roman][COLOR=#000000]Aujourd'hui je décide de publié mon travail a propos du buttons monitoring pour all clients.[/COLOR][/FONT][/SIZE] [COLOR=#000000][SIZE=4][FONT=Times New Roman]Ceci va vous permettre de crée vos propres méthodes C# personaliser et les envoyés au clients en jeu (Autres joueurs , bien entendu)[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]Je partage donc ce petit source code , j'ai écrit un code différent ici parce que il est plus extendu et permet une meilleur compréhension de son comportement.[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]Donc j'ai utilisé le g_entity pour obtenir les pointeurs du g_client et pour tout les clients par Index (0x31C).[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]Vous pouvez utiliez directement le g_client avec sa taille de (0x5808) mais ce moyen est bien meilleur pour vous faire comprendre.[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]je publie aujourd'hui donc ce code pour Black Ops 2 en 1.08 & Modern Warfare 3 en 1.23 car il est aussi déjà release sur xbox (Mw2)[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]J'utilise ceci depuis un long moment sur Xbox , mais également depuis bien 2 mois sur PS3 ([B][URL='http://www.youtube.com/iMCSx']ICI[/URL][/B])[/FONT][/SIZE][/COLOR] [SIZE=4][FONT=Times New Roman][COLOR=#000000]J'espère ceci va aidé des gens a nous crée des nouveaux mods assez épics :D[/COLOR][/FONT][/SIZE] [COLOR=#000000][SIZE=4][FONT=Times New Roman]Facile a mettre a jour , il suffit de trouver l'address du g_entity lors d'une prochaine mise à jour.[/FONT][/SIZE][/COLOR] [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; namespace Buttons_Monitoring_All_Clients { // Made by iMCSx for Playstation 3. // Credit to : Im A Hooker (Se7enSins) , for his Xbox Mw2 Release. // Youtube.com/iMCSx - Nextgenupdate.com - www.French Modding Team.com public partial class Form1 : Form { // Define Custom Timer (I don't like use this, i use a custom hard way) // It is ok for test and use for fun private Timer StartiMCSxButtons = new Timer(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } public class Buttons { // Define Buttons For Black Ops II public static uint X = 8192, O = 16384, Square = 4, L3 = 1088, R3 = 32, L2 = 256, R2 = 512, L1 = 2147487744, R1 = 128, Crouch = 16384, Prone = 32768; } public class PS3Types { // Create Connect Types public static int StartButton; public static byte[] BIND = new byte[4]; public static uint[] processIDs; public static uint ProcessID; } public void ConnectAttach() { try { PS3TMAPI.InitTargetComms(); PS3TMAPI.Connect(0, null); PS3TMAPI.GetProcessList(0, out PS3Types.processIDs); ulong uProcess = PS3Types.processIDs[0]; PS3Types.ProcessID = Convert.ToUInt32(uProcess); PS3TMAPI.ProcessAttach(0, PS3TMAPI.UnitType.PPU, PS3Types.ProcessID); PS3TMAPI.ProcessContinue(0, PS3Types.ProcessID); } catch (Exception ex) { MessageBox.Show(ex.Message); } } private uint getPlayerState(int clientIndex) { // Get the playerState from entities. byte[] iMCSxDest = new byte[4]; PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, PS3Types.ProcessID, 0, 0x01692dbc + ((uint)clientIndex * 0x31C) + 0x154, ref iMCSxDest); Array.Reverse(iMCSxDest); uint Next = BitConverter.ToUInt32(iMCSxDest, 0); return Next; } private uint UseButtonMonitoring(int client) { // Get buttons value. return (getPlayerState(client) + 0x569C); } private uint DetectButton(int clientID) { // Reverse Byte[] to UInt32 and detect them. PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, PS3Types.ProcessID, 0, UseButtonMonitoring(clientID), ref PS3Types.BIND); return System.BitConverter.ToUInt32(PS3Types.BIND, 0); } private void button1_Click(object sender, EventArgs e) { ConnectAttach(); // Connect First your debug. StartiMCSxButtons.Interval = 300; StartiMCSxButtons.Enabled = true; StartiMCSxButtons.Tick += StartiMCSxButtons_Tick; StartiMCSxButtons.Start(); // Start Event. } private void button2_Click(object sender, EventArgs e) { StartiMCSxButtons.Enabled = false; StartiMCSxButtons.Stop(); // Stop Event. } void StartiMCSxButtons_Tick(object sender, EventArgs e) { uint client0 = DetectButton(0); // Must be in a loop. uint client1 = DetectButton(1); // Example Other Client if (client0 == Buttons.X) MessageBox.Show("Client 0 Press the buttons X !"); if (client0 == Buttons.R1 + Buttons.L1) // Example 2 Buttons Pressed in the same moment. MessageBox.Show("Client 0 Press the buttons R1 + L1 !"); if (client1 == Buttons.X) MessageBox.Show("Client 1 Press the buttons X !"); } } }[/CODE] [COLOR=#000000][SIZE=4][FONT=Times New Roman][B]Credit à :[/B] Im A Hooker (Se7ensins) pour son release xbox mw2.[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]Vous pouvez voir quelqu'un " // " dans le code , j'écrit ici pourquoi et comment ça fonctionne sur différente partie , comme j'ai dit j'aime pas utilisé les timers , j'utilise un bon vieux while() avec du code assez complexe , voilà d'ou vient le fait que j'met un timer pour pas vous piqué les yeux.[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]j'utilise ici les commands PS3TMAPI_NET.dll , mais vous pouvez toujours intégrer ce code a votre code perso , j'ai pas voulu release MAINTENANT mon PS3Lib.dll v2 qui a beaucoup évolué.[/FONT][/SIZE][/COLOR] [COLOR=#000000][SIZE=4][FONT=Times New Roman]A bientôt , et amusez-vous bien dans Visual Studio (Et en jeu :p)[/FONT][/SIZE][/COLOR] [/QUOTE]
Insérer les citations…
Vérification
Publier la réponse
Forums
Jeux-vidéos
Call of Duty
Call of Duty 9 : Black Ops II
[RELEASE] Black Ops 2 - Buttons Monitoring All Clients
Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies.
Acceptez
En savoir plus.…
Haut