Hey Guys, I'm currently having a problem with the class while trying to read/write from/on pointer addresses. It would be very cool if someone could look at it. Thank You
https://www.mpgh.net/forum/33-visual-...ml#post9181872
New Write Function:
New WriteLong Function:Code:Private Sub Write(Address As Integer, Value As Long) Dim Buffer As Byte() = BitConverter.GetBytes(Value) Dim Zero As IntPtr = IntPtr.Zero WriteProcessMemory(pHandel, New IntPtr(Address), Buffer, UInt32.Parse(Buffer.Length), Zero) End Sub
Simple enough.Code:Public Sub WriteLong(Address As Integer, Value As Long) Write(Address, Value) End Sub
Or just convert it to byte/2-bytes/4-bytes .
Last edited by Lovroman; 08-06-2013 at 08:32 AM. Reason: WriteInteger-->WriteLong
Hey Guys, I'm currently having a problem with the class while trying to read/write from/on pointer addresses. It would be very cool if someone could look at it. Thank You
https://www.mpgh.net/forum/33-visual-...ml#post9181872
net.framerwork 4 is needed ???
u can add this
that u can convert bytes to string and string to hex example for namefakerCode:Function StringToHex(ByVal text As String) As String Dim hex As String For i As Integer = 0 To text.Length - 1 hex &= Asc(text.Substring(i, 1)).ToString("x").ToUpper Next Return hex End Function Function HexToString(ByVal hex As String) As String Dim text As New System.Text.StringBuilder(hex.Length \ 2) For i As Integer = 0 To hex.Length - 2 Step 2 text.Append(Chr(Convert.ToByte(hex.Substring(i, 2), 16))) Next Return text.ToString End Function
String function not working!
can i get the example code from the form side too like u gave example code for the c#
and also it can search PID from chrome browser to detect the flash player ?
i get the error
when i try to write a string to mw2.Originally Posted by VB.NET
any help?
Originally Posted by Dave84311Originally Posted by RoyceOriginally Posted by Hitokiri~Originally Posted by HypnotizedOriginally Posted by _TaviOriginally Posted by Hitokiri~
Usage for WriteString with the Process Target??
Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!
dd/mm/yyyy
Member - 31/01/2015
Premium - 12/09/2016
Call of Duty minion - 05/11/2016 - 05/11/2019
BattleOn minion - 28/02/2017 - 05/11/2019
Battlefield minion - 30/05/2017 - 05/11/2019
Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
Publicist - 07/11/2017 - 02/08/2018
Cock Sucker - 01/12/2017 - Unknown
Minion+ - 06/03/2018 - 05/11/2019
Fortnite minion - 08/05/2018 - 05/11/2019
Head Publicist - 08/10/2018 - 10/01/2020
Developer Team - 26/10/2019 - 10/01/2020
Former Staff - 10/01/2020
But how about if I wanna Read or Write Doubles? I need code pls.