Tool Yang Perlu Di Siapkan
(*) Visual Studio 2008
Step 1
* Jalankan Program Vc 2008
* Tekan Ctrl+Shif+N
Pilih Visual C++ Empty Project
Cotoh Gambar Step 1
http://img573.imageshack.us/img573/9057/64584993.jpg
Dan Namakan Project Anda Contoh (Ichsan Crosshair)
Step 2
* Klik Kanan Pada Project Yang Kita Namakan
* Klik Add => New Item => Pilih C++ File(.cpp) Kasih Nama (Main.cpp)
Step 3
Isikan Code Di bawah ini Pada Main.cpp
Spoiler Code Main.cpp
////////////Geetz To MPGH.net/////////////////////
////////////© 2010 By KiraF4///////////////////
////////////Membuat Dll Crosshair For Game//////
////////////Nyit-Nyit.net////////////////////
#include
#include
#include
using namespace std;
bool crosshairon=false;
HDC ragedc = NULL;
int crosshairsize=0;
int cx=0;
int cy=0;
void CrossThread(void)
{
while(1)
{
if(GetAsyncKeyState(VK_NUMPAD0)&1)
{
crosshairon=!crosshairon;
ragedc = GetDC(HWND_DESKTOP);
cx=GetSystemMetrics(SM_CXSCREEN)/2-((crosshairsize-1)/2);
cy=GetSystemMetrics(SM_CYSCREEN)/2-((crosshairsize-1)/2);
}
Sleep(1);
}
}
int main()
{
cout<>crosshairsize;
if(crosshairsize%2==0) //check if its even
{
crosshairsize+=1; //if it is add 1
}
system(“cls”); // clear the console
cout<<"Hotkey numpad0 untuk sistem on & offn";
CreateThread(0,0,(LPTHREAD_START_ROUTINE)CrossThread,0,0,0);
while(1)
{
if(crosshairon==true)
{
for(int i=0;i Klik Propetis Dan Rubah exe To Dll
* Contoh Gambar Step 4
http://img220.imageshack.us/img220/5985/60530873.jpg
* Ubah Application Exe Menjadi Dynamic Dll
Dan Liat Hasi Buiilnya
Happy Ending
http://upload.kapanlagi.com/show.php?photo=20101130175502_untitled_4cf4d806c8679.JPG
cacad Copas Punya abang gw Kira ukira PARAH!
BalasHapus