 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
synapsehome How do I cheat?
Reputation: 0
Joined: 13 Jul 2011 Posts: 7
|
Posted: Thu Jul 14, 2011 11:00 am Post subject: |
|
|
| Code: | Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Object, ByVal lpBuffer As Object, ByVal nSize As Long, ByVal lpNumberOfBytesWritten As Long) As Long
Public Shared Function WriteProcessMemory(ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByVal lpBuffer As Byte(), ByVal nSize As UIntPtr, ByRef lpNumberOfBytesWritten As IntPtr) As Boolean
End Function |
| Code: | Dim HL2WriteProcess As Process = Process.GetProcessesByName("hl2")(0)
Dim ValueToWrite As Integer = 1
Dim pBytes As Byte() = BitConverter.GetBytes(ValueToWrite)
WriteProcessMemory(HL2WriteProcess.Handle, AddressWith0X.Text, pBytes, pBytes.Length, 0) |
ERROR: Bringing the line 0x0100B250 of the type Long is unacceptable.
What i need to do?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Thu Jul 14, 2011 11:37 am Post subject: |
|
|
You really need to stop, go back, and learn the basics if you can't fix simple issues like this. Getting spoonfed is not going to teach you how to do anything on your own when people are tired of helping you.
_________________
- Retired. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|