 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
xXxoSmxXx How do I cheat?
Reputation: 0
Joined: 09 Jun 2010 Posts: 4
|
Posted: Tue Aug 17, 2010 4:23 pm Post subject: [TUT] How to make a simple hack for just about any game! |
|
|
What you need:
1.) Microsoft Visual Basic 6.0
2.) Any video game. Not a flash game. (CSS, UrT, etc)
3.) Cheat Engine
If you do not have visual basic 6.0, you can download it here:
i'm an idiot
(someone fix link please)
Now, if you already have vb 6.0, we can begin!
First, open up any game you want. For example, CSS.
Minimize it, and open Cheat Engine.
In Cheat Engine, select a process. In this case, we'll be selecting "hl2.exe".
Now, in CSS, start a game. No bots, just yourself.
In-game, open your console! To do this, you need to press "`" or "~".
Type in "sv_cheats 50"
When you're done with that, go back into Cheat Engine, scan for the value "50".
A lot might come up, so you need to go back in-game, back into the console, and type in "sv_cheats 60".
Once more go into Cheat Engine. This time you'll be scanning for the value 60.
There should be no more than 1 or 2 values left.
Double click the values, so they go into the box at the bottom of Cheat Engine.
Right click the value, and click "Copy".
Now, go to: Start>Run>notepad.exe
In notepad, right click, and press "Paste"
You will see something like this:
| Code: | <CheatTable>
<CheatEntries>
<CheatEntry>
<Description>No description</Description>
<Address>[b]000AC4B4[/b]</Address>
<Type>2</Type>
</CheatEntry>
</CheatEntries>
</CheatTable> |
You want to grab the ADDRESS.
Now this is where parts get tricky.
You can close the game, and cheat engine from here.
Open visual basic 6.0, create a standard exe.
Pay very close attention to this part.
Go to "Project">"Add Module"
I will provide you with everything that goes into the module HERE:
| Code: |
Public Const PROCESS_ALL_ACCESS = &H1F0FFF
Dim f1holder As Integer
Dim timer_pos As Long
Public Declare Function GetWindowThreadProcessId Lib "user32" (ByVal SomeValueIsStoredHere As Long, lpdwProcessId As Long) As Long
Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Public 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
Public Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long
Public Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer
Public Declare Function ReadProcessMem Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Function WriteALong(TheGame As String, TheAddress As Long, ThisIsTheValue As Long)
Dim SomeValueIsStoredHere As Long
Dim SomeValueIsStoredHereToo As Long
Dim SomeValue As Long
SomeValueIsStoredHere = FindWindow(vbNullString, TheGame)
GetWindowThreadProcessId SomeValueIsStoredHere, SomeValueIsStoredHereToo
SomeValue = OpenProcess(PROCESS_ALL_ACCESS, False, SomeValueIsStoredHereToo)
If (SomeValue = 0) Then
Exit Function
End If
WriteProcessMemory SomeValue, TheAddress, ThisIsTheValue, 4, 0&
CloseHandle hProcess
End Function
Public Function ReadALong(TheGame As String, TheAddress As Long, TheValue As Long)
Dim SomeValueIsStoredHere As Long
Dim SomeValueIsStoredHereToo As Long
Dim SomeValue As Long
SomeValueIsStoredHere = FindWindow(vbNullString, TheGame)
GetWindowThreadProcessId SomeValueIsStoredHere, SomeValueIsStoredHereToo
SomeValue = OpenProcess(PROCESS_ALL_ACCESS, False, SomeValueIsStoredHereToo)
If (SomeValue = 0) Then
Exit Function
End If
ReadProcessMem SomeValue, TheAddress, TheValue, 4, 0&
CloseHandle hProcess
End Function
Public Function ReadAFloat(TheGame As String, TheAddress As Long, TheValue As Single)
Dim SomeValueIsStoredHere As Long
Dim SomeValueIsStoredHereToo As Long
Dim SomeValue As Long
SomeValueIsStoredHere = FindWindow(vbNullString, TheGame)
GetWindowThreadProcessId SomeValueIsStoredHere, SomeValueIsStoredHereToo
SomeValue = OpenProcess(PROCESS_ALL_ACCESS, False, SomeValueIsStoredHereToo)
If (SomeValue = 0) Then
Exit Function
End If
ReadProcessMem SomeValue, TheAddress, TheValue, 4, 0&
CloseHandle hProcess
End Function
Public Function WriteAFloat(TheGame As String, TheAddress As Long, ThisIsTheValue As Single)
Dim SomeValueIsStoredHere As Long
Dim SomeValueIsStoredHereToo As Long
Dim SomeValue As Long
SomeValueIsStoredHere = FindWindow(vbNullString, TheGame)
GetWindowThreadProcessId SomeValueIsStoredHere, SomeValueIsStoredHereToo
SomeValue = OpenProcess(PROCESS_ALL_ACCESS, False, SomeValueIsStoredHereToo)
If (SomeValue = 0) Then
Exit Function
End If
WriteProcessMemory SomeValue, TheAddress, ThisIsTheValue, 4, 0&
CloseHandle hProcess
End Function
|
All you need to do, is copy and paste the code into the module.
You're almost done!
Now go back to your form, create a button, rename the caption to whatever you want, and double click it.
Type in:
| Code: |
Call WriteALong("Counter-Strike: Source", &H, 1)
|
Now, do you see the "&H"?
Go into notepad, where you pasted the address.
Paste the address after "&H"
And there you go!
Debug your program, and test it out!
------
I just showed you how to make a simple sv_cheats 1 bypass for counter-strike source.
You can do many other things with this, such as create a wireframe wallhack for css.
-------
This is mainly useful for first person shooters.
If you had any problems with this tutorial, let me know, and I will send you the source.
I hope this helped!
If you leech, please give creds to me!
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Tue Aug 17, 2010 4:46 pm Post subject: |
|
|
| Also, Visual Basic sucks balls. In C++ you can just include a header file and sometimes a library file, and you're able to use all the functions in the header without declaring them. Good luck spending 1 hour declaring functions that you're going to use on your app.
|
|
| Back to top |
|
 |
AhMunRa Grandmaster Cheater Supreme
Reputation: 27
Joined: 06 Aug 2010 Posts: 1117
|
Posted: Tue Aug 17, 2010 6:26 pm Post subject: |
|
|
Barring Excel macro creation I don't use VB at all.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.> |
|
| Back to top |
|
 |
TROLOLOLOLOLOLOLOLOLOLOLO Expert Cheater
Reputation: -1
Joined: 27 Dec 2009 Posts: 100
|
Posted: Mon Aug 23, 2010 3:22 pm Post subject: |
|
|
LOL!
OP can't be serious. Visual Basic to use memory cheats? I think not
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
KryziK Expert Cheater
Reputation: 3
Joined: 16 Aug 2009 Posts: 199
|
Posted: Mon Aug 23, 2010 10:46 pm Post subject: |
|
|
| Not to mention sv_cheat bypassing is detectable, and memory editing for processes that use VAC is becoming detectable as well.
|
|
| Back to top |
|
 |
Maes Advanced Cheater
Reputation: 10
Joined: 09 Apr 2009 Posts: 50
|
Posted: Mon Aug 23, 2010 11:01 pm Post subject: |
|
|
| Thanks alot.
|
|
| Back to top |
|
 |
TROLOLOLOLOLOLOLOLOLOLOLO Expert Cheater
Reputation: -1
Joined: 27 Dec 2009 Posts: 100
|
Posted: Mon Aug 23, 2010 11:58 pm Post subject: |
|
|
| Wiccaan wrote: | | CometJack wrote: | LOL!
OP can't be serious. Visual Basic to use memory cheats? I think not  |
Any language that can access the systems API can be used to write cheats. Which VB6 can. |
I didn't say it couldn't be done, I implied it's inefficient to say the least. Why use VB6 rather than C or C++ and have direct memory access?
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Aug 24, 2010 5:25 am Post subject: |
|
|
| CometJack wrote: | | Wiccaan wrote: | | CometJack wrote: | LOL!
OP can't be serious. Visual Basic to use memory cheats? I think not  |
Any language that can access the systems API can be used to write cheats. Which VB6 can. |
I didn't say it couldn't be done, I implied it's inefficient to say the least. Why use VB6 rather than C or C++ and have direct memory access? |
what's so direct about WriteProcessMemory? maybe if you write a dll, but that's not what this is.
|
|
| Back to top |
|
 |
Fantasy I post too much
Reputation: 13
Joined: 29 Jul 2007 Posts: 3113
|
Posted: Tue Aug 24, 2010 5:33 am Post subject: |
|
|
| No-one noticed the illegal torrent link? T.T
|
|
| Back to top |
|
 |
AhMunRa Grandmaster Cheater Supreme
Reputation: 27
Joined: 06 Aug 2010 Posts: 1117
|
Posted: Tue Aug 24, 2010 8:22 am Post subject: |
|
|
I did, never saw anything in rules about posting torrent links to warez.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.> |
|
| Back to top |
|
 |
noko_112 Grandmaster Cheater
Reputation: 0
Joined: 09 Jun 2009 Posts: 585
|
Posted: Tue Aug 24, 2010 8:34 am Post subject: |
|
|
| AhMunRa wrote: | | I did, never saw anything in rules about posting torrent links to warez. |
Fail
§9. Thou shalt not post porn or warez, nor anything about them.
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Wed Aug 25, 2010 2:16 am Post subject: |
|
|
| Give him a break guys, I think 3 comments were enough, give a better welcome to new members..
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Wed Aug 25, 2010 3:58 am Post subject: |
|
|
| Fantasy wrote: | | No-one noticed the illegal torrent link? T.T |
No, I missed it.
Do report them if you see them. Warez is not allowed.
|
|
| 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
|
|