 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
xDemonx Expert Cheater
Reputation: 0
Joined: 05 May 2007 Posts: 232 Location: The Netherlands
|
Posted: Tue Aug 26, 2008 12:45 pm Post subject: [Question]Trainer in visual basic 2008? |
|
|
Is it possible?
I mean a trainer with memory-editing, not just a flash-game trainer.
Please don't tell me to learn another language.
I tried C++ but i felt more like learning VB
Thanks in advance
|
|
| Back to top |
|
 |
kb3z0n Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 542
|
Posted: Tue Aug 26, 2008 12:47 pm Post subject: |
|
|
| I don't think you can, but you can in delphi, and VB isnt much of a good language, You should learn c++.
|
|
| Back to top |
|
 |
xDemonx Expert Cheater
Reputation: 0
Joined: 05 May 2007 Posts: 232 Location: The Netherlands
|
Posted: Tue Aug 26, 2008 1:04 pm Post subject: |
|
|
| kb3z0n wrote: | | I don't think you can, but you can in delphi, and VB isnt much of a good language, You should learn c++. |
Lol, i've learned HTML and a bit of C++
But i hate to code much, with not much result.
And if anyone viewing this thread knows in which programming language darkwalk's private server trainer 1.2 is made (maplestory) i would like to know...
because i want to start making trainers for maplestory private servers (no GG yay)
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Aug 26, 2008 1:51 pm Post subject: |
|
|
Basics to Read/WriteProcessMemory, I'm sure you can manage creating 2 buttons and a textbox on your form as well as a few other minor changes. Right now it just goofs with the timer in minesweeper.
I still much prefer C/C++
| Code: | Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("kernel32.dll")> _
Public Shared Function WriteProcessMemory( _
ByVal hProcess As IntPtr, _
ByVal lpBaseAddress As IntPtr, _
ByVal lpBuffer As Byte(), _
ByVal nSize As UInt32, _
ByRef lpNumberOfBytesWritten As UInt32 _
) As Boolean
End Function
<DllImport("kernel32.dll")> _
Public Shared Function ReadProcessMemory( _
ByVal hProcess As IntPtr, _
ByVal lpBaseAddress As IntPtr, _
ByVal lpBuffer As Byte(), _
ByVal iSize As UInt32, _
ByRef lpNumberOfBytesRead As UInt32 _
) As Boolean
End Function
Dim p As Process() = Process.GetProcessesByName("winmine")
Dim buffer As Byte() = New Byte(3) {}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WriteProcessMemory(p(0).Handle, &H100579C, New Byte() {&HFF}, 4, 0)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
ReadProcessMemory(p(0).Handle, &H100579C, buffer, 4, 0)
TextBox1.Text = Convert.ToString(BitConverter.ToUInt32(buffer, 0))
End Sub
End Class |
|
|
| Back to top |
|
 |
xDemonx Expert Cheater
Reputation: 0
Joined: 05 May 2007 Posts: 232 Location: The Netherlands
|
Posted: Wed Aug 27, 2008 12:13 am Post subject: |
|
|
| slovach wrote: | Basics to Read/WriteProcessMemory, I'm sure you can manage creating 2 buttons and a textbox on your form as well as a few other minor changes. Right now it just goofs with the timer in minesweeper.
I still much prefer C/C++
| Code: | Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("kernel32.dll")> _
Public Shared Function WriteProcessMemory( _
ByVal hProcess As IntPtr, _
ByVal lpBaseAddress As IntPtr, _
ByVal lpBuffer As Byte(), _
ByVal nSize As UInt32, _
ByRef lpNumberOfBytesWritten As UInt32 _
) As Boolean
End Function
<DllImport("kernel32.dll")> _
Public Shared Function ReadProcessMemory( _
ByVal hProcess As IntPtr, _
ByVal lpBaseAddress As IntPtr, _
ByVal lpBuffer As Byte(), _
ByVal iSize As UInt32, _
ByRef lpNumberOfBytesRead As UInt32 _
) As Boolean
End Function
Dim p As Process() = Process.GetProcessesByName("winmine")
Dim buffer As Byte() = New Byte(3) {}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WriteProcessMemory(p(0).Handle, &H100579C, New Byte() {&HFF}, 4, 0)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
ReadProcessMemory(p(0).Handle, &H100579C, buffer, 4, 0)
TextBox1.Text = Convert.ToString(BitConverter.ToUInt32(buffer, 0))
End Sub
End Class |
|
Thx for the help..
I think i will start learning C++ again, since many people say it's harder to learn C++ when you know VB..
|
|
| 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
|
|