 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
suprat Cheater
Reputation: 0
Joined: 14 Jul 2007 Posts: 40
|
Posted: Sat Jul 21, 2007 6:20 am Post subject: How do i ADD a value In cheat Engine To a Program?? |
|
|
Hey Guys,
I have Visual Basic and My Brother Know Things about it, but he dont know how to add the hacks from (the values) Cheat Engine to a Program, like a Trainer, so what do i have to do, what codes do i put.
Thanks
|
|
| Back to top |
|
 |
ribolzi Expert Cheater
Reputation: 0
Joined: 08 Jul 2007 Posts: 145
|
Posted: Sat Jul 21, 2007 7:28 am Post subject: |
|
|
I recomend you to do the tutorial of CE
step 1 is modifyng values
step 7 is code injection
that would help u
|
|
| Back to top |
|
 |
suprat Cheater
Reputation: 0
Joined: 14 Jul 2007 Posts: 40
|
Posted: Sat Jul 21, 2007 7:39 am Post subject: |
|
|
| Lol, i couldnt finish the pointers Step, i cant go to step 7, could u give me the Step Pass. plz
|
|
| Back to top |
|
 |
ribolzi Expert Cheater
Reputation: 0
Joined: 08 Jul 2007 Posts: 145
|
Posted: Sat Jul 21, 2007 7:52 am Post subject: |
|
|
omg
use the search button, there are a lot of video tutorials for steps 1-8
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6300
|
Posted: Sun Jul 22, 2007 5:31 pm Post subject: Re: How do i ADD a value In cheat Engine To a Program?? |
|
|
| suprat wrote: | Hey Guys,
I have Visual Basic and My Brother Know Things about it, but he dont know how to add the hacks from (the values) Cheat Engine to a Program, like a Trainer, so what do i have to do, what codes do i put.
Thanks |
I dont know why they said to do CE tutorials when if you already find the cheats in ce and need to know how to get it into VB.
To write a trainer in vb you need a module:
This is a old module by Jackson. It will get you in the door to writing your own trainers in VB. This is not what they use in flash trainers. ["Thats not even close to this"] This is to make a real memory altering trainer just like CE can make.
* handle = FindWindow(vbNullString, "Cybernoid 2 - The Revenge")
This part of it is what you alter to detect th game it is made for. It is the window cation and has to be exact. Cybernoid 2 - The Revenge
| Code: | 'Add the below to a module.
Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long
Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Declare Function Hotkey Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer
Public Function LAB(address As Long, value As Long)
Dim handle As Long, processID As Long, ProcessHandle As Long, gamewindowtext As String, bytes As Byte
handle = FindWindow(vbNullString, "Cybernoid 2 - The Revenge") '<--- Game Window Name
GetWindowThreadProcessId handle, processID
ProcessHandle = OpenProcess(&H1F0FFF, True, processID)
WriteProcessMemory ProcessHandle, address, value, 1, 0
CloseHandle ProcessHandle
End Function |
Then in the form for a button, you do this:
TMK does something simular to this using POKE
| Code: | Private Sub Command1_Click()
Call LAB(&H9110AC, &H90)
Call LAB(&H9110AD, &H90)
Call LAB(&H9110AE, &H90)
Call LAB(&H9110AF, &H90)
Call LAB(&H9110B0, &H90)
Call LAB(&H9110B1, &H90)
End Sub |
And with a timer: ASCII Button State Hotkey"49" Is the 1 key across the top of the keyboard.
This allows you to just hit the 1 key while in game to activate the cheat.
* See the attached download of a tool i wrote to help with knowing the number assigned to the keys of the keyboard.
| Code: | Private Sub Timer1_Timer()
'Add this to a timer, which is enabled and has an interval of 200.
If Hotkey(49) Then Command1_Click
End Sub |
|
|
| Back to top |
|
 |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Mon Jul 23, 2007 4:41 pm Post subject: |
|
|
| ribolzi wrote: | omg
use the search button, there are a lot of video tutorials for steps 1-8 |
And my released list of CE tut passwords.
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06. |
|
| 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
|
|