HEllo to aLL GaMehack Master
Im about to make a visual basic hack (VB 2010)...(Basic Menu Hack)
and I got this code to attach in module (below)....
the hack worked when i first run it, but in just 1 second the hack doesn't work anymore, I saw it because the warrock windows detected it(it doesn't show the "gamehack or gameguard hack detected") soh it means my hack bypass it...
... i think a few coding is missing to function it well... could someone helps me throughout this problem, plz!!....
thanks in advance to those who help!!!
/-----------------------------------------------------------------------------------/
Module Module1
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function WriteFloatMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function ReadFloat Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByRef buffer As Single, ByVal size As Int32, ByRef lpNumberOfBytesRead As Int32) As Boolean
Private Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer
Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Public RBuff As Long
Public RBuff2 As Single
Public RBuff3 As Integer
Public Function holdprocess(ByVal Address As Integer, ByVal Value As Long, ByVal Bytes As Integer)
Dim sourceLookUp As Process() = Process.GetProcessesByName("WarRock")
If sourceLookUp.Length = True Then
End If
Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, sourceLookUp(0).Id)
WriteProcessMemory(processHandle, Address, Value, Bytes, Nothing)
CloseHandle(processHandle)
End Function
End Module
/-----------------------------------------------------------------------------------/
holdprocess("address", Value, byte)
/-----------------------------------------------------------------------------------/
and I got this code to attach in module (below)....
the hack worked when i first run it, but in just 1 second the hack doesn't work anymore, I saw it because the warrock windows detected it(it doesn't show the "gamehack or gameguard hack detected") soh it means my hack bypass it...
... i think a few coding is missing to function it well... could someone helps me throughout this problem, plz!!....
thanks in advance to those who help!!!

/-----------------------------------------------------------------------------------/
Module Module1
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function WriteFloatMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function ReadFloat Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByRef buffer As Single, ByVal size As Int32, ByRef lpNumberOfBytesRead As Int32) As Boolean
Private Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Integer) As Integer
Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Public RBuff As Long
Public RBuff2 As Single
Public RBuff3 As Integer
Public Function holdprocess(ByVal Address As Integer, ByVal Value As Long, ByVal Bytes As Integer)
Dim sourceLookUp As Process() = Process.GetProcessesByName("WarRock")
If sourceLookUp.Length = True Then
End If
Dim processHandle As IntPtr = OpenProcess(&H1F0FFF, 0, sourceLookUp(0).Id)
WriteProcessMemory(processHandle, Address, Value, Bytes, Nothing)
CloseHandle(processHandle)
End Function
End Module
/-----------------------------------------------------------------------------------/
holdprocess("address", Value, byte)
/-----------------------------------------------------------------------------------/

)
