Friday, December 30, 2011

Tutorial Cara Membuat TRAINER GAME mungkin berguna untuk LS

Asslamualikum om!!
Hari ini saya akan mengajarkan membuat trainer dengan VB 6 ( kalau bisa bukan yang portabel ya )

MOGA2 di Pin ya om!! 

komposisinya!!

- Mikocok Visual Basic 6
- 1 Timer kasih interval
- 1 Form ' kalau mau di tambahin juga ngga papa
- otak jernih + makanan
- dan sedikit pengetahuan tentang MSVB 6.

langkah langkah

- New Project EXE
- klik 2X pada form dan masukan Skrip ini


Spoiler: 
Quote:' Copyright :[C³]Ace-Corporation
http://www.code-codes.blogspot.com
http://www.chibi-cyber.com


Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Declare Function CreateRoundRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long
Private Declare Function SetWindowRgn Lib "user32" (ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long


Private Sub Form_Load()
Dim l As Long
l = CreateRoundRectRgn(0, 0, Me.Width / Screen.TwipsPerPixelX, Me.Height / Screen.TwipsPerPixelY, 20, 20)
SetWindowRgn Me.hWnd, l, True
App.TaskVisible = True 'Sembunyikan aplikasi dari window taskmanager true= untuk menampilkan /false Untuk Tidak menampilkan
'tetapi tidak hidden di process


'perintah menghindari aplikasi dijalankan 2 kali
'pada saat yg bersamaan
'----------------------------------------
If App.PrevInstance Then
End
End If
MsgBox " Virgie Riichnaldi 2011 ", vbInformation, "Tentang"
MsgBox " Dilarang ResHack Aplikasi Gua ", vbCritical, " Perhatian "
MsgBox " Fitur Ada di read me! ", vbInformation, "informasi"
End Sub
Private Sub timer1_timer()
If GetAsyncKeyState(36) Then
Call WriteALong("ePSXe - Enhanced PSX Emulator", &H9BDA8C, 4)
Beep
End If
End Sub


Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
If (MsgBox("Bener Lo Mau Keluar", vbQuestion Or vbYesNo, "Keluar") = vbNo) Then
Cancel = True
End If
End Sub

'- Penjelasan pada scrip tadi!
Spoiler: 
Quote:Private Sub timer1_timer()
If GetAsyncKeyState(36) Then
Call WriteALong("ePSXe - Enhanced PSX Emulator", &H9BDA8C, 4)
Beep
End If
End Sub


Call WriteALong("ePSXe - Enhanced PSX Emulator", &H9BDA8C, 4)




-pada (ePSXe - Enhanced PSX Emulator) = ini adalah target si pelaku
- dan yang ini &H9BDA8C ada addres dari game tersebut
ingat kalau misalnya game adress tersebut adalah 00D3131
taronya begino &HD3131
- 4) yang ini adalah valuenya
- If GetAsyncKeyState(36) Then
pada (35) ini adalah hotkey

- buka Project -> add Module
masukan script ini
Spoiler: 
Quote:' Copyright :[C³]Ace-Corporation
http://www.code-codes.blogspot.com
http://www.chibi-cyber.com




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


' INGAT YANG INI JANGAN DI KOTAK KATIK

HOTKEYNYA!!

CLICK HERE

PASS :

112233qw 


Ini Trainernya saja om, seperti Tampilannya saja

Contoh Trainer :

[Image: PlantsVsZombies_%2B5_Trainer.JPG]

0 komentar:

Post a Comment