Register for your free account! | Forgot your password?

You last visited: Today at 22:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



12/5/010 *New*Codes*

Discussion on 12/5/010 *New*Codes* within the WarRock Hacks, Bots, Cheats & Exploits forum part of the WarRock category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 36
Received Thanks: 50
12/5/010 *New*Codes*

Public Const PROCESS_ALL_ACCESS = &H1F0FFF
Dim f1holder As Integer
Dim timer_pos As Long

'API Declaration
Public Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd 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 WriteAByte(gamewindowtext As String, address As Long, value As Byte)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
WriteProcessMemory phandle, address, value, 1, 0&
CloseHandle hProcess
End Function

Public Function WriteAnInt(gamewindowtext As String, address As Long, value As Integer)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
WriteProcessMemory phandle, address, value, 2, 0&
CloseHandle hProcess
End Function

Public Function WriteALong(gamewindowtext As String, address As Long, value As Long)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
WriteProcessMemory phandle, address, value, 4, 0&
CloseHandle hProcess
End Function

Public Function ReadAByte(gamewindowtext As String, address As Long, valbuffer As Byte)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
ReadProcessMem phandle, address, valbuffer, 1, 0&
CloseHandle hProcess
End Function

Public Function ReadAnInt(gamewindowtext As String, address As Long, valbuffer As Integer)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
ReadProcessMem phandle, address, valbuffer, 2, 0&
CloseHandle hProcess
End Function

Public Function ReadALong(gamewindowtext As String, address As Long, valbuffer As Long)
Dim hwnd As Long
Dim pid As Long
Dim phandle As Long
hwnd = FindWindow(vbNullString, gamewindowtext)
If (hwnd = 0) Then
MsgBox "The Game Is Not Working", vbCritical, "Error"
End
Exit Function
End If
GetWindowThreadProcessId hwnd, pid
phandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)
If (phandle = 0) Then
MsgBox "Can't get ProcessId", vbCritical, "Error"
Exit Function
End If
ReadProcessMem phandle, address, valbuffer, 4, 0&
CloseHandle hProcess
End Function
men23 is offline  
Thanks
1 User
Old 05/11/2010, 23:37   #2
 
tarikgangster's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 198
Received Thanks: 62
Naja ich komm nicht so draus mit D3D aber wird vielleicht für D3D coders hilfreich sein
Edit: Ist sowieso nur C&P ^^
tarikgangster is offline  
Old 05/12/2010, 06:52   #3
 
Cash²'s Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,305
Received Thanks: 936
Quote:
Originally Posted by tarikgangster View Post
Naja ich komm nicht so draus mit D3D aber wird vielleicht für D3D coders hilfreich sein
Edit: Ist sowieso nur C&P ^^
Das ist Visual Basic und damit kannst du nur einen Injector erstellen.
Cash² is offline  
Old 05/12/2010, 12:29   #4
 
tarikgangster's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 198
Received Thanks: 62
Aha welche bit anzahl?
tarikgangster is offline  
Old 05/12/2010, 20:22   #5

 
elite*gold: 4250
Join Date: Jan 2010
Posts: 690
Received Thanks: 70
omg vb ... keine objectorrientiert Programmiersprache aber naja c++ besser
diablo31 is offline  
Reply


Similar Threads Similar Threads
Suche dinar codes gebe accs oder messer codes
08/31/2013 - WarRock Trading - 6 Replies
Ja habe zurzeit : Lvl 43er mit Retails Lvl 60er mit Retails Lvl 33er mit gute KD Lvl 31er mit Retails Lvl 16er mit 2er KD Lvl 30er Ein lvl 32 mit Gold Prem und sehr vielen guten Waffen
vk promo codes , cx4storm , combat knife, m7, alle codes vk auch 1200g1 für 10euro
01/26/2011 - WarRock Trading - 3 Replies
vk promo codes und g1credits 1200g1+codes für 10euro psc skype:xxkillaxx12 schreibt mir eine nachricht ;)
vk promo codes , cx4storm , combat knife, m7, alle codes vk auch 1250g1 für 10euro
08/18/2010 - WarRock Trading - 4 Replies
hallo vk promo codes und g1punkte bietet mir was an



All times are GMT +1. The time now is 22:51.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.