Create Wallhack Part 2
+17
rahmat2010
bancer
lance8811
radzone
electro
f3rryp3ll0
tdee
xblitzx
denis
anjnkgila
adi
ikiscream
xxx4ndr3
bagaskara7
ridhotherock
abenkCB
Agoeng_Jr
21 posters
:: C++
Halaman 2 dari 2
Halaman 2 dari 2 • 1, 2
Create Wallhack Part 2
First topic message reminder :
nih gan tutor pembuatan wallhack...
-Microsoft Visual C++ 2008
-Microsoft DirectX SDK Summer 2004
oke langsung aja.. buka C++ 2008.. pilih new project/win32/win32 project.
-kemudian masukkan nama terserah anda... Contoh : nama anda.ccp dan klik ok
-klik application setting/ pilih DLL / finish
-kemudian pada (nama anda.ccp) masukkan code di bawah ini :
-tambahkan sebuah project (.h) dan beri nama log.h
-masukkan code pada log.h
log.h
-C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Include
-setelah itu klik/tool/option/project & solution/VC ++
directories/ilibrary files
-C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\lib
klik project/properties/configuration properties/character set/pilih use Multi-Byte character set.
dan klik ok
yang terakhir klik Build/build (nama Anda)
nih gan tutor pembuatan wallhack...
-Microsoft Visual C++ 2008
-Microsoft DirectX SDK Summer 2004
oke langsung aja.. buka C++ 2008.. pilih new project/win32/win32 project.
-kemudian masukkan nama terserah anda... Contoh : nama anda.ccp dan klik ok
-klik application setting/ pilih DLL / finish
-kemudian pada (nama anda.ccp) masukkan code di bawah ini :
- Spoiler:
- #include <windows.h>
#include <detours.h>
#include <d3d8.h>
#include <d3dx8.h>
#include "log.h"
#include <fstream>
#include <iostream>
#pragma comment(lib, "d3dx8.lib")
#pragma comment(lib, "d3d8.lib")
using namespace std;
static DWORD dwBeginScene = 0x6D9D9250;
static DWORD dwEndScene = 0x6d9d93a0;
static DWORD dwDrawIndexedPrimitive = 0x6d9d73a0;
static DWORD dwSetStreamSource = 0x6d9d6760;
static DWORD dwSetViewport = 0x6d9d5b90 ;
int m_Stride;
int texnum;
int nNumVertices;
int nPrimitiveCount;
LPDIRECT3DTEXTURE8 Red,Yellow,Green,Blue,Purple,Pink,Orange;
bool Color = true;
bool Logger = false;
ofstream ofile;
char dlldir[320];
float ScreenCenterX = 0.0f;
float ScreenCenterY = 0.0f;
bool xhair = false;
bool WallHack = false;
bool WallHack2 = false;
HANDLE hand1 =NULL;
HANDLE hand2 =NULL;
DWORD bytes;
//Logger
int texarray[1000];
int arraycounter;
int delarray[500];
int dcount;
unsigned int arrc;
int i=0;
D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );
char *GetDirectoryFile(char *filename)
{
static char path[320];
strcpy(path, dlldir);
strcat(path, filename);
return path;
}
void __cdecl add_log (const char *fmt, ...)
{
if(ofile != NULL)
{
if(!fmt) { return; }
va_list va_alist;
char logbuf[256] = {0};
va_start (va_alist, fmt);
_vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) -
strlen(logbuf), fmt, va_alist);
va_end (va_alist);
ofile << logbuf << endl;
}
}
HRESULT GenerateTexture(IDirect3DDevice8 *pD3Ddev, IDirect3DTexture8
**ppD3Dtex, DWORD colour32)
{
if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4,
D3DPOOL_MANAGED, ppD3Dtex)) )
return E_FAIL;
WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
|(WORD)(((colour32>>20)&0xF)<<
|(WORD)(((colour32>>12)&0xF)<<4)
|(WORD)(((colour32>>4)&0xF)<<0);
D3DLOCKED_RECT d3dlr;
(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
WORD *pDst16 = (WORD*)d3dlr.pBits;
for(int xy=0; xy < 8*8; xy++)
*pDst16++ = colour16;
(*ppD3Dtex)->UnlockRect(0);
return S_OK;
}
//=================================EndScene_Start===
==================================================
============================//
typedef HRESULT ( WINAPI* oEndScene ) ( LPDIRECT3DDEVICE8 pDevice );
oEndScene pEndScene;
HRESULT WINAPI myEndScene(LPDIRECT3DDEVICE8 pDevice)
{
if(Color)
{
GenerateTexture(pDevice, &Red, D3DCOLOR_ARGB (255 , 255
, 0 , 0 ));
GenerateTexture(pDevice, &Yellow, D3DCOLOR_ARGB (255 , 255
, 255 , 0 ));
GenerateTexture(pDevice, &Green, D3DCOLOR_ARGB (255 , 0
, 255 , 0 ));
GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255 , 0
, 0 , 255 ));
GenerateTexture(pDevice, &Purple, D3DCOLOR_ARGB (255 , 102
, 0 , 153 ));
GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255 , 255
, 20 , 147 ));
GenerateTexture(pDevice, &Orange, D3DCOLOR_ARGB (255 , 255
, 165 , 0 ));
Color=false;
}
if(xhair)
{
D3DRECT rec2 = {ScreenCenterX-20, ScreenCenterY, ScreenCenterX+ 20,
ScreenCenterY+2};
D3DRECT rec3 = {ScreenCenterX, ScreenCenterY-20, ScreenCenterX+
2,ScreenCenterY+20};
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,redt, 0, 0);
pDevice->Clear(1, &rec3, D3DCLEAR_TARGET,redt, 0, 0);
}
//=============================================UnHoo
K_Start=========================================== ========//
if((GetAsyncKeyState(VK_F5)&1))
{
int end =NULL;
int dip =NULL;
int svp =NULL;
int sss =NULL;
BYTE Unhook[5] = {0x8B,0xFF,0x55,0x8B,0xEC};//Original Function Bytes.
hand1 = GetCurrentProcess();
DWORD dwmodualBase=(DWORD)GetModuleHandle("d3d8.dll");
end = 0x6d9d93a0;
dip = 0x6d9d73a0;
svp = 0x6d9d5b90;
sss = 0x6d9d6760;
WriteProcessMemory(hand1, (void*) end, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) dip, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) svp ,Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) sss,Unhook, 5, &bytes);
}
//=========================================UnHook_En
d================================================= ========//
if((GetAsyncKeyState(VK_F1)&1)){xhair=!xhair;}
if((GetAsyncKeyState(VK_F2)&1)){WallHack=!WallHack ;}
return pEndScene(pDevice);
}
//====================================EndScene_End==
==================================================
========================//
//=================================Dip_Start========
==================================================
==================================//
typedef HRESULT ( WINAPI* oDrawIndexedPrimitive ) ( LPDIRECT3DDEVICE8
pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT
nStartIndex, UINT nPrimitiveCount );
oDrawIndexedPrimitive pDrawIndexedPrimitive;
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice,
D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT
nStartIndex, UINT nPrimitiveCount)
{
if(WallHack)
{
texnum = (nNumVertices*100000)+nPrimitiveCount;
if(m_Stride==40 &&
(texnum==7500121 )||(texnum==8500105
)||(texnum==12400168)||(texnum==37000650)||
(texnum==18000274)||(texnum==8800105
)||(texnum==36900650)||(texnum==19600314)||
(texnum==21800306)||(texnum==7500121 )||(texnum==8500105
)||(texnum==12400168)||
(texnum==21800306)||(texnum==36900650)||(texnum==7 500121
)||(texnum==37000650)||
(texnum==18000274)||(texnum==7500121 )||(texnum==8500105
)||(texnum==38000658)||
(texnum==22100268)||(texnum==62400752)||(texnum==2
7900456)||(texnum==45700654)||
(texnum==4800040 )||(texnum==83600752)||(texnum==33400477)||(texnum
==38100666)||
(texnum==2800036 )||(texnum==62400752)||(texnum==29700492)||(texnum
==84900778)||
(texnum==27500442)||(texnum==52100658)||(texnum==6
2400752)||(texnum==33600552)||
(texnum==44100646)||(texnum==18000274)||(texnum==3
7200508)||(texnum==45700654)||
(texnum==37200508)||(texnum==52100658)||(texnum==5 2100658)
&&
(nNumVertices == 100 && nPrimitiveCount == 121) || //Foot
(nNumVertices == 105 && nPrimitiveCount == 168) || //Right
Arm
(nNumVertices == 132 && nPrimitiveCount == 180) || //Hand
(nNumVertices == 159 && nPrimitiveCount == 200) || //Left
Arm
(nNumVertices == 338 && nPrimitiveCount == 534) ||
//Underbody thanks japennese guy =)
//(nNumVertices == 448 && nPrimitiveCount == 776) || //Head
(nNumVertices == 804 && nPrimitiveCount == 1016) || //Body
//SRG Option item
(nNumVertices == 109 && nPrimitiveCount == 110) ||
//Bulletproof Vest
(nNumVertices == 336 && nPrimitiveCount == 532)) //Battle
Pants
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Orange);
//pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME );
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
//pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID );
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Pink);
}
if(m_Stride==40 && texnum== 21300174)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Green);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Purple);
}
if(nNumVertices == 158 && nPrimitiveCount == 131)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Red);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Yellow);
}
if (nNumVertices == 171 && nPrimitiveCount == 143)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Red);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Yellow);
}
if(m_Stride==40 &&//face,mask etc...
(texnum==36700612) ||
(texnum==9600172 ) ||
(texnum==14200236) ||
(texnum==37800552) ||
(texnum==28100486) ||
(texnum==35500568) ||
(texnum==2200024 ) ||
(texnum==16200243) ||
(texnum==31900466) ||
(texnum==19300342) ||
(texnum==36200604) ||
(texnum==21300290) ||
(texnum==35700558) ||
(texnum==22100396) ||
(texnum==36100604) ||
(texnum==27100464) ||
(texnum==11400180) ||
(texnum==34900580) ||
(texnum==13200212) ||
(texnum==34700538) ||
(texnum==19500352)&&
(nNumVertices == 448 && nPrimitiveCount == 776))
{
pDevice->SetTexture(0,Blue);
}
{
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
}
/*Logger
if(m_Stride==40){
while(GetAsyncKeyState(VK_NUMPAD1)&1) arrc--; //Used as manual
index for adding textures to delarray
while(GetAsyncKeyState(VK_NUMPAD3)&1) arrc++;
bool alrdy=false;
bool inarr=false;
if(texarray[arrc]==texnum)
if(delarray[i]==texarray[arrc])
alrdy=true;
for(int i=0;i<dcount;i++) //sees if said texture is in delarray
if(delarray[i]==texnum)
inarr=true;
if(texarray[arrc]==texnum || inarr){ //If true, color model
differently
LPDIRECT3DTEXTURE8 texCol;
DWORD dwOldZEnable = D3DZB_TRUE;
pDevice->SetTexture(0, NULL);
pDevice->GetRenderState(D3DRS_ZENABLE,
&dwOldZEnable);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
if(alrdy) //Different colors for selected models that are
already being logged (For removal from array)
texCol=Blue;
else
texCol=Red;
pDevice->SetTexture(0, texCol);
pDrawIndexedPrimitive(pDevice, pType, nMinIndex,
nNumVertices, nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, dwOldZEnable);
}
}
if(GetAsyncKeyState(VK_F5)&1) add_log("Logged tesx: %i",
texarray[arrc]); //F5 will print currently selected texnum to logfile
if(GetAsyncKeyState(VK_F6)&1) { //For adding/removing textures to
array
bool inarr=true;
for(int k=0;k<dcount;k++){
if(delarray[k]==texarray[arrc])
{
inarr=false;//Found selected texture to already exist
delarray[k]=0;//Delete texture
break;//Cancel loop
}
}
if(inarr==true)
{
delarray[dcount]=texarray[arrc];//Add texture
dcount++;
}
}
if(GetAsyncKeyState(VK_F7)&1){
int total=1;
add_log("omfg values?!? {");
for(int x=0;x<dcount;x++)//Loops through all recorded variables
and prints them in a nice array based format
if(delarray[x]){
add_log("%i,",delarray[x]); //add_log2==add_log but without
endl
total++;
}
add_log("}; %i variables in array",total);
}
bool found = false; //THIS PART CREDITS TO KRYPTEC
for(int y=0; y<arraycounter; y++) //THIS IS HIS LOGGING FUNCTION
{
if(texnum==texarray[y])found=true; //I JUST CREATED AN INTERFACE FOR
IT
}
if(!found && arraycounter < 1000)
{
texarray[arraycounter]=texnum;
arraycounter++;
}*/
}
return pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
}
//=====================================Dip_End======
==================================================
===================//
//=====================================Sss_Start====
==================================================
====================//
typedef HRESULT ( WINAPI* oSetStreamSource ) ( LPDIRECT3DDEVICE8
pDevice, UINT nStreamNumber, LPDIRECT3DVERTEXBUFFER8 pStreamData, UINT
nStride );
oSetStreamSource pSetStreamSource;
HRESULT WINAPI mySetStreamSource(LPDIRECT3DDEVICE8 pDevice, UINT
nStreamNumber, LPDIRECT3DVERTEXBUFFER8 pStreamData, UINT nStride)
{
if(nStreamNumber==0)
m_Stride = nStride;
return pSetStreamSource(pDevice, nStreamNumber, pStreamData,
nStride);
}
//====================================Sss_End=======
==================================================
===================//
//====================================Svp_Start=====
==================================================
===================//
typedef HRESULT (WINAPI* oSetViewport)(LPDIRECT3DDEVICE8 pDevice,CONST
D3DVIEWPORT8* pViewport);
oSetViewport pSetViewport;
HRESULT WINAPI mySetViewport(LPDIRECT3DDEVICE8 pDevice,CONST
D3DVIEWPORT8* pViewport)
{
ScreenCenterX = ( float )pViewport->Width / 2;
ScreenCenterY = ( float )pViewport->Height / 2;
return pSetViewport(pDevice,pViewport);
}
//===================================Svp_End========
==================================================
===================//
typedef HRESULT ( WINAPI* oBeginScene ) ( LPDIRECT3DDEVICE8 pDevice );
oBeginScene pBeginScene;
HRESULT WINAPI myBeginScene(LPDIRECT3DDEVICE8 pDevice)
{
if((GetAsyncKeyState(VK_F6)&1))
{
pEndScene = (oEndScene)DetourFunction((PBYTE)dwEndScene,
(PBYTE)myEndScene);
pDrawIndexedPrimitive =
(oDrawIndexedPrimitive)DetourFunction((PBYTE)dwDra wIndexedPrimitive,
(PBYTE)myDrawIndexedPrimitive);
pSetStreamSource =
(oSetStreamSource)DetourFunction((PBYTE)dwSetStrea mSource,
(PBYTE)mySetStreamSource);
pSetViewport=(oSetViewport)DetourFunction((PBYTE)d
wSetViewport,(PBYTE)mySetViewport);
}
return pBeginScene(pDevice);
}
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpReserved
)
{
DisableThreadLibraryCalls(hModule);
if ( dwReason == DLL_PROCESS_ATTACH )
{
//=========Log==========================//
GetModuleFileName(hModule, dlldir, 512);
for(int i = strlen(dlldir); i > 0; i--) { if(dlldir[i] ==
'\') { dlldir[i+1] = 0; break; } }
ofile.open(GetDirectoryFile("log.txt"), ios::app);
//=========Log=========================//
pBeginScene = (oBeginScene)DetourFunction((PBYTE)dwBeginScene,
(PBYTE)myBeginScene);
pEndScene = (oEndScene)DetourFunction((PBYTE)dwEndScene,
(PBYTE)myEndScene);
pDrawIndexedPrimitive =
(oDrawIndexedPrimitive)DetourFunction((PBYTE)dwDra wIndexedPrimitive,
(PBYTE)myDrawIndexedPrimitive);
pSetStreamSource =
(oSetStreamSource)DetourFunction((PBYTE)dwSetStrea mSource,
(PBYTE)mySetStreamSource);
pSetViewport=(oSetViewport)DetourFunction((PBYTE)d
wSetViewport,(PBYTE)mySetViewport);
}
return TRUE;
}
-tambahkan sebuah project (.h) dan beri nama log.h
-masukkan code pada log.h
log.h
- Spoiler:
- #define WIN32_LEAN_AND_MEAN
#ifndef _MAIN_H
#define _MAIN_H
char *GetDirectoryFile(char *filename);
void __cdecl add_log (const char * fmt, ...);
#endif
-C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\Include
-setelah itu klik/tool/option/project & solution/VC ++
directories/ilibrary files
-C:\Program Files\Microsoft DirectX 9.0 SDK (Summer 2004)\lib
klik project/properties/configuration properties/character set/pilih use Multi-Byte character set.
dan klik ok
yang terakhir klik Build/build (nama Anda)
Re: Create Wallhack Part 2
Om Agung_JR biar jelas buat Videonya Ajah Biar Kami tidak repot
anjnkgila- C4~ Member
- Jumlah posting : 27
Reputation : 1000
Join date : 10.05.11
Re: Create Wallhack Part 2
Agoeng_Jr wrote:denis wrote:aduh pertanyaan ane di abaikan terus nie..sama suhu agung,,,pencerahan nya om...
padahal mau belajar....
Tuh yg kurang.. adlah.. detours.h & Detours.lib.. silahkan download.. dan masukkan file detours.h pada folder Direct SDK.. dan masukkan file detours.lib pada folder lib Direct SDK
hehe om agung,,, jika file detours.h di smpen ke folder C:\Program Files\Microsoft DirectX 9.0 SDK (.........) pas d build masih tetap meminta detours.h nya trus detours.lib nya juga dah di taro di folder sdk/lib
jika file detour.h di simpen ke include malah jadi error..gini :
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(509) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(510) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(511) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(512) : error C2065: 'd' : undeclared identifier
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(512) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(512) : error C2059: syntax error : ')'
1>c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(517) : fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\administrator\my documents\visual studio 2008\projects\denis.cpp\denis.cpp\denis.cpp.cpp(488)' was matched
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\denis.cpp\denis.cpp\Debug\BuildLog.htm"
1>denis.cpp - 71 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
terus ada 1 file lagi Detours.pdb itu di simpen dmna??
mhon bimbingan nya om,,,biarpun sc hasil copas asalkan ada keinginan untuk belajar saya tetap puas om.....
sebelum nya thank's to om agung jr
denis- C4~ Member
- Jumlah posting : 5
Reputation : 1000
Join date : 28.05.11
Re: Create Wallhack Part 2
saya dah sukses di build nya,cuma pasa masuk pb ga ngefek ya????
1>------ Build started: Project: Blitz.ccp, Configuration: Debug Win32 ------
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://c:\Documents and Settings\FATHUR\My Documents\Visual Studio 2008\Projects\Blitz.ccp\Blitz.ccp\Debug\BuildLog.htm"
1>Blitz.ccp - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
dimana kah yg salahnya suhu........
1>------ Build started: Project: Blitz.ccp, Configuration: Debug Win32 ------
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>Embedding manifest...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Build log was saved at "file://c:\Documents and Settings\FATHUR\My Documents\Visual Studio 2008\Projects\Blitz.ccp\Blitz.ccp\Debug\BuildLog.htm"
1>Blitz.ccp - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
dimana kah yg salahnya suhu........
xblitzx- C4~ Member
- Jumlah posting : 1
Reputation : 1000
Join date : 05.06.11
Re: Create Wallhack Part 2
maaf Om,,
saya mo tanya,,,
saya masih bergaris warna merah di bagian ini Om
saya bingung bagian ini,,
udah coba-coba tetep warna merah aja..
pencerahanya dong Om..
saya mo tanya,,,
saya masih bergaris warna merah di bagian ini Om
saya bingung bagian ini,,
udah pasti error klo di build,,, editnya bagaimana yaa...???//=========Log==========================//
GetModuleFileName(hModule, dlldir, 512);
for(int i = strlen(dlldir); i > 0; i--) { if(dlldir[i] ==
'') { dlldir[i+1] = 0; break; } }
ofile.open(GetDirectoryFile("log.txt"), ios::app);
//=========Log=========================//
udah coba-coba tetep warna merah aja..
pencerahanya dong Om..
tdee- C4~ Member
- Jumlah posting : 2
Reputation : 1000
Join date : 05.06.11
Re: Create Wallhack Part 2
nih sudah saya ikuti caranya kok jadinya bgini napa tuh SUHU...
1>------ Build started: Project: Dewa, Configuration: Release Win32 ------
1>Compiling...
1>anda.cpp
1>.\anda.cpp(53) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>.\anda.cpp(54) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(79) : see declaration of 'strcat'
1>.\anda.cpp(69) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_vsnprintf'
1>.\anda.cpp(85) : error C2065: 'Cool' : undeclared identifier
1>.\anda.cpp(86) : error C2143: syntax error : missing ')' before ';'
1>.\anda.cpp(102) : error C2059: syntax error : '=='
1>.\anda.cpp(105) : error C2146: syntax error : missing ';' before identifier 'pEndScene'
1>.\anda.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(131) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(139) : error C2065: 'K_Start' : undeclared identifier
1>.\anda.cpp(139) : error C2059: syntax error : '=='
1>.\anda.cpp(142) : error C2143: syntax error : missing ';' before '{'
1>.\anda.cpp(163) : error C2065: 'd' : undeclared identifier
1>.\anda.cpp(163) : error C2059: syntax error : '=='
1>.\anda.cpp(165) : error C2143: syntax error : missing ';' before '{'
1>.\anda.cpp(168) : error C2064: term does not evaluate to a function taking 1 arguments
1>.\anda.cpp(171) : error C2059: syntax error : '=='
1>.\anda.cpp(183) : error C2146: syntax error : missing ';' before identifier 'pDrawIndexedPrimitive'
1>.\anda.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(204) : error C2143: syntax error : missing ')' before 'constant'
1>.\anda.cpp(237) : error C2059: syntax error : ')'
1>.\anda.cpp(240) : error C2143: syntax error : missing ';' before '{'
1>.\anda.cpp(247) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(261) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(274) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(287) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(410) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(413) : error C2059: syntax error : '=='
1>.\anda.cpp(423) : error C2146: syntax error : missing ';' before identifier 'pSetStreamSource'
1>.\anda.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(432) : error C2064: term does not evaluate to a function taking 4 arguments
1>.\anda.cpp(435) : error C2059: syntax error : '=='
1>.\anda.cpp(443) : error C2146: syntax error : missing ';' before identifier 'pSetViewport'
1>.\anda.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(451) : error C2064: term does not evaluate to a function taking 2 arguments
1>.\anda.cpp(454) : error C2059: syntax error : '=='
1>.\anda.cpp(458) : error C2146: syntax error : missing ';' before identifier 'pBeginScene'
1>.\anda.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(464) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(467) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(467) : error C2065: 'dwDra' : undeclared identifier
1>.\anda.cpp(467) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>.\anda.cpp(468) : error C2059: syntax error : ')'
1>.\anda.cpp(470) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(470) : error C2065: 'dwSetStrea' : undeclared identifier
1>.\anda.cpp(470) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>.\anda.cpp(471) : error C2059: syntax error : ')'
1>.\anda.cpp(472) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(473) : error C2065: 'd' : undeclared identifier
1>.\anda.cpp(473) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>.\anda.cpp(473) : error C2059: syntax error : ')'
1>.\anda.cpp(476) : error C2064: term does not evaluate to a function taking 1 arguments
1>.\anda.cpp(491) : error C2001: newline in constant
1>.\anda.cpp(491) : error C2015: too many characters in constant
1>.\anda.cpp(492) : error C2146: syntax error : missing ')' before identifier 'ofile'
1>.\anda.cpp(495) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(497) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(500) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(500) : error C2065: 'dwDra' : undeclared identifier
1>.\anda.cpp(500) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>.\anda.cpp(501) : error C2059: syntax error : ')'
1>.\anda.cpp(503) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(503) : error C2065: 'dwSetStrea' : undeclared identifier
1>.\anda.cpp(503) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>.\anda.cpp(504) : error C2059: syntax error : ')'
1>.\anda.cpp(505) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(506) : error C2065: 'd' : undeclared identifier
1>.\anda.cpp(506) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>.\anda.cpp(506) : error C2059: syntax error : ')'
1>.\anda.cpp(511) : fatal error C1075: end of file found before the left brace '{' at '.\anda.cpp(482)' was matched
1>Build log was saved at "file://c:\Documents and Settings\ferry\Desktop\Dewa\Dewa\Release\BuildLog.htm"
1>Dewa - 71 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
apa yg kurang
1>------ Build started: Project: Dewa, Configuration: Release Win32 ------
1>Compiling...
1>anda.cpp
1>.\anda.cpp(53) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>.\anda.cpp(54) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(79) : see declaration of 'strcat'
1>.\anda.cpp(69) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_vsnprintf'
1>.\anda.cpp(85) : error C2065: 'Cool' : undeclared identifier
1>.\anda.cpp(86) : error C2143: syntax error : missing ')' before ';'
1>.\anda.cpp(102) : error C2059: syntax error : '=='
1>.\anda.cpp(105) : error C2146: syntax error : missing ';' before identifier 'pEndScene'
1>.\anda.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(131) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\anda.cpp(139) : error C2065: 'K_Start' : undeclared identifier
1>.\anda.cpp(139) : error C2059: syntax error : '=='
1>.\anda.cpp(142) : error C2143: syntax error : missing ';' before '{'
1>.\anda.cpp(163) : error C2065: 'd' : undeclared identifier
1>.\anda.cpp(163) : error C2059: syntax error : '=='
1>.\anda.cpp(165) : error C2143: syntax error : missing ';' before '{'
1>.\anda.cpp(168) : error C2064: term does not evaluate to a function taking 1 arguments
1>.\anda.cpp(171) : error C2059: syntax error : '=='
1>.\anda.cpp(183) : error C2146: syntax error : missing ';' before identifier 'pDrawIndexedPrimitive'
1>.\anda.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(204) : error C2143: syntax error : missing ')' before 'constant'
1>.\anda.cpp(237) : error C2059: syntax error : ')'
1>.\anda.cpp(240) : error C2143: syntax error : missing ';' before '{'
1>.\anda.cpp(247) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(261) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(274) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(287) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(410) : error C2064: term does not evaluate to a function taking 6 arguments
1>.\anda.cpp(413) : error C2059: syntax error : '=='
1>.\anda.cpp(423) : error C2146: syntax error : missing ';' before identifier 'pSetStreamSource'
1>.\anda.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(432) : error C2064: term does not evaluate to a function taking 4 arguments
1>.\anda.cpp(435) : error C2059: syntax error : '=='
1>.\anda.cpp(443) : error C2146: syntax error : missing ';' before identifier 'pSetViewport'
1>.\anda.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(451) : error C2064: term does not evaluate to a function taking 2 arguments
1>.\anda.cpp(454) : error C2059: syntax error : '=='
1>.\anda.cpp(458) : error C2146: syntax error : missing ';' before identifier 'pBeginScene'
1>.\anda.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>.\anda.cpp(464) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(467) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(467) : error C2065: 'dwDra' : undeclared identifier
1>.\anda.cpp(467) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>.\anda.cpp(468) : error C2059: syntax error : ')'
1>.\anda.cpp(470) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(470) : error C2065: 'dwSetStrea' : undeclared identifier
1>.\anda.cpp(470) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>.\anda.cpp(471) : error C2059: syntax error : ')'
1>.\anda.cpp(472) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(473) : error C2065: 'd' : undeclared identifier
1>.\anda.cpp(473) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>.\anda.cpp(473) : error C2059: syntax error : ')'
1>.\anda.cpp(476) : error C2064: term does not evaluate to a function taking 1 arguments
1>.\anda.cpp(491) : error C2001: newline in constant
1>.\anda.cpp(491) : error C2015: too many characters in constant
1>.\anda.cpp(492) : error C2146: syntax error : missing ')' before identifier 'ofile'
1>.\anda.cpp(495) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(497) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(500) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(500) : error C2065: 'dwDra' : undeclared identifier
1>.\anda.cpp(500) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>.\anda.cpp(501) : error C2059: syntax error : ')'
1>.\anda.cpp(503) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(503) : error C2065: 'dwSetStrea' : undeclared identifier
1>.\anda.cpp(503) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>.\anda.cpp(504) : error C2059: syntax error : ')'
1>.\anda.cpp(505) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>.\anda.cpp(506) : error C2065: 'd' : undeclared identifier
1>.\anda.cpp(506) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>.\anda.cpp(506) : error C2059: syntax error : ')'
1>.\anda.cpp(511) : fatal error C1075: end of file found before the left brace '{' at '.\anda.cpp(482)' was matched
1>Build log was saved at "file://c:\Documents and Settings\ferry\Desktop\Dewa\Dewa\Release\BuildLog.htm"
1>Dewa - 71 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
apa yg kurang
f3rryp3ll0- C4~ Member
- Jumlah posting : 8
Reputation : 1000
Join date : 12.05.11
Re: Create Wallhack Part 2
Om agung, gini, kok pas aku pilih new project/win32/win32 project.
trus aplication setting. pilihan dll nya ga mau dipilih.
aku pake MS C++ 2005 express
trus aplication setting. pilihan dll nya ga mau dipilih.
aku pake MS C++ 2005 express
Re: Create Wallhack Part 2
Coba Pake MV C++ 2008 Express.fathursip wrote:Om agung, gini, kok pas aku pilih new project/win32/win32 project.
trus aplication setting. pilihan dll nya ga mau dipilih.
aku pake MS C++ 2005 express
Re: Create Wallhack Part 2
Agoeng_Jr wrote:Coba Pake MV C++ 2008 Express.fathursip wrote:Om agung, gini, kok pas aku pilih new project/win32/win32 project.
trus aplication setting. pilihan dll nya ga mau dipilih.
aku pake MS C++ 2005 express
ok sip, udah berhasil
trus ini om. mohon bimbingannya
1>------ Build started: Project: electro, Configuration: Debug Win32 ------
1>Compiling...
1>electro.cpp
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(53) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(54) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : see declaration of 'strcat'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(69) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(85) : error C2065: 'Cool' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(86) : error C2143: syntax error : missing ')' before ';'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(102) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(105) : error C2146: syntax error : missing ';' before identifier 'pEndScene'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(131) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(139) : error C2065: 'K_Start' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(139) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(142) : error C2143: syntax error : missing ';' before '{'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(151) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(163) : error C2065: 'd' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(163) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(165) : error C2143: syntax error : missing ';' before '{'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(168) : error C2064: term does not evaluate to a function taking 1 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(171) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(183) : error C2146: syntax error : missing ';' before identifier 'pDrawIndexedPrimitive'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(204) : error C2143: syntax error : missing ')' before 'constant'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(237) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(240) : error C2143: syntax error : missing ';' before '{'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(247) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(261) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(274) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(287) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(410) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(413) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(423) : error C2146: syntax error : missing ';' before identifier 'pSetStreamSource'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(432) : error C2064: term does not evaluate to a function taking 4 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(435) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(443) : error C2146: syntax error : missing ';' before identifier 'pSetViewport'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(451) : error C2064: term does not evaluate to a function taking 2 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(454) : error C2059: syntax error : '=='
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(458) : error C2146: syntax error : missing ';' before identifier 'pBeginScene'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(464) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(467) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(467) : error C2065: 'dwDra' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(467) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(468) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(470) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(470) : error C2065: 'dwSetStrea' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(470) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(471) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(472) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(473) : error C2065: 'd' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(473) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(473) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(476) : error C2064: term does not evaluate to a function taking 1 arguments
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(489) : error C2664: 'GetModuleFileNameW' : cannot convert parameter 2 from 'char [320]' to 'LPWCH'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(491) : error C2001: newline in constant
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(491) : error C2015: too many characters in constant
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(492) : error C2146: syntax error : missing ')' before identifier 'ofile'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(495) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(497) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(500) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(500) : error C2065: 'dwDra' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(500) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(501) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(503) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(503) : error C2065: 'dwSetStrea' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(503) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(504) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(505) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(506) : error C2065: 'd' : undeclared identifier
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(506) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(506) : error C2059: syntax error : ')'
1>c:\visual studio 2008\projects\electro\electro\electro.cpp(511) : fatal error C1075: end of file found before the left brace '{' at 'c:\visual studio 2008\projects\electro\electro\electro.cpp(482)' was matched
1>Build log was saved at "file://c:\Visual Studio 2008\Projects\electro\electro\Debug\BuildLog.htm"
1>electro - 73 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Dmana salahnya nih om saya newbie
Re: Create Wallhack Part 2
SS
SKEDAR nambah smangat
- Spoiler:
- [You must be registered and logged in to see this link.]
Uploaded with [You must be registered and logged in to see this link.]
SKEDAR nambah smangat
Re: Create Wallhack Part 2
@up gimana buat walshotnya mohon bantu gan trirmss
//radzone
//radzone
radzone- C4~ Member
- Jumlah posting : 9
Reputation : 1000
Join date : 08.05.11
Re: Create Wallhack Part 2
Maaf gan klo ane lemot ato apa lah soal masih newbie....
klo kya gini yang salah kira2 di mana gan...
klo kya gini yang salah kira2 di mana gan...
- Code:
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>g:\nana10.cpp\nana10.cpp\nana10.cpp.cpp(10) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>g:\nana10.cpp\nana10.cpp\nana10.cpp.cpp(514) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
1>Build log was saved at "file://g:\nana10.cpp\nana10.cpp\Debug\BuildLog.htm"
1>nana10.cpp - 1 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
lance8811- C4~ Member
- Jumlah posting : 1
Reputation : 1000
Join date : 09.06.11
Re: Create Wallhack Part 2
@ TS :
kok bnyk yang error ya ..
pencerahan gan agoeng
kok bnyk yang error ya ..
- Code:
1>------ Build started: Project: wallhack, Configuration: Release Win32 ------
1>Compiling...
1>wallhack1.cpp
1>.\wallhack1.cpp(53) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(74) : see declaration of 'strcpy'
1>.\wallhack1.cpp(54) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\string.h(79) : see declaration of 'strcat'
1>.\wallhack1.cpp(69) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358) : see declaration of '_vsnprintf'
1>.\wallhack1.cpp(102) : error C2065: 'LPDIRECT3DDEVICE9' : undeclared identifier
1>.\wallhack1.cpp(102) : error C2146: syntax error : missing ')' before identifier 'pDevice'
1>.\wallhack1.cpp(102) : error C2165: 'left-side modifier' : cannot modify pointers to data
1>.\wallhack1.cpp(102) : error C2513: 'HRESULT *' : no variable declared before '='
1>.\wallhack1.cpp(102) : error C2059: syntax error : ')'
1>.\wallhack1.cpp(128) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(128) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(128) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(129) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(131) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(131) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>.\wallhack1.cpp(164) : error C2064: term does not evaluate to a function taking 1 arguments
1>.\wallhack1.cpp(428) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(431) : error C2065: 'dwDra' : undeclared identifier
1>.\wallhack1.cpp(431) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>.\wallhack1.cpp(432) : error C2059: syntax error : ')'
1>.\wallhack1.cpp(434) : error C2065: 'dwSetStrea' : undeclared identifier
1>.\wallhack1.cpp(434) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>.\wallhack1.cpp(435) : error C2059: syntax error : ')'
1>.\wallhack1.cpp(437) : error C2065: 'd' : undeclared identifier
1>.\wallhack1.cpp(437) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>.\wallhack1.cpp(437) : error C2059: syntax error : ')'
1>.\wallhack1.cpp(431) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(434) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(436) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(455) : error C2001: newline in constant
1>.\wallhack1.cpp(455) : error C2015: too many characters in constant
1>.\wallhack1.cpp(456) : error C2146: syntax error : missing ')' before identifier 'ofile'
1>.\wallhack1.cpp(459) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(461) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(463) : error C2065: 'dwDra' : undeclared identifier
1>.\wallhack1.cpp(463) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>.\wallhack1.cpp(463) : error C2059: syntax error : ')'
1>.\wallhack1.cpp(464) : error C2065: 'dwSetStrea' : undeclared identifier
1>.\wallhack1.cpp(464) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>.\wallhack1.cpp(465) : error C2059: syntax error : ')'
1>.\wallhack1.cpp(463) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(464) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(466) : error C3861: 'DetourFunction': identifier not found
1>.\wallhack1.cpp(471) : fatal error C1075: end of file found before the left brace '{' at '.\wallhack1.cpp(446)' was matched
1>Build log was saved at "file://f:\SDK summer\VC++\sapta\wallhack\wallhack\Release\BuildLog.htm"
1>wallhack - 34 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
pencerahan gan agoeng
bancer- C4~ Member
- Jumlah posting : 3
Reputation : 1000
Join date : 05.06.11
Re: Create Wallhack Part 2
Gan mau nanyak gimana cara edit fungsi d3dshadervalidationcreate9
mohon di bimbing
mohon di bimbing
rahmat2010- C4~ Member
- Jumlah posting : 2
Reputation : 1000
Join date : 05.06.11
Re: Create Wallhack Part 2
- Code:
1>------ Build started: Project: WALLHACK, Configuration: Debug Win32 ------
1>Compiling...
1>pratissapriselaazura.cpp
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(2) : warning C4627: '#include <detours.h>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(3) : warning C4627: '#include <d3d8.h>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(4) : warning C4627: '#include <d3dx8.h>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(5) : warning C4627: '#include "log.h"': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(6) : warning C4627: '#include <fstream>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(7) : warning C4627: '#include <iostream>': skipped when looking for precompiled header use
1> Add directive to 'stdafx.h' or rebuild precompiled header
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\wallhack\wallhack\pratissapriselaazura.cpp(511) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
1>Build log was saved at "file://c:\Users\Reza Prima Wardhana\Documents\Visual Studio 2008\Projects\WALLHACK\WALLHACK\Debug\BuildLog.htm"
1>WALLHACK - 1 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
cacad999- C4~ Member
- Jumlah posting : 14
Reputation : 1000
Join date : 15.06.11
Re: Create Wallhack Part 2
- Code:
1>------ Build started: Project: TESTANJINK, Configuration: Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>TESTANJINK.cpp
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(58) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(74) : see declaration of 'strcpy'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(59) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\string.h(79) : see declaration of 'strcat'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(74) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : see declaration of '_vsnprintf'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(90) : error C2065: 'Cool' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(91) : error C2143: syntax error : missing ')' before ';'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(107) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(110) : error C2146: syntax error : missing ';' before identifier 'pEndScene'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(110) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(110) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(135) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(135) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(135) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(136) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(137) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(137) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(138) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(138) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(144) : error C2065: 'K_Start' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(144) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(147) : error C2143: syntax error : missing ';' before '{'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(156) : error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(168) : error C2065: 'd' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(168) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(170) : error C2143: syntax error : missing ';' before '{'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(173) : error C2064: term does not evaluate to a function taking 1 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(176) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(188) : error C2146: syntax error : missing ';' before identifier 'pDrawIndexedPrimitive'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(188) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(209) : error C2143: syntax error : missing ')' before 'constant'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(242) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(245) : error C2143: syntax error : missing ';' before '{'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(252) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(266) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(279) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(292) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(415) : error C2064: term does not evaluate to a function taking 6 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(418) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(428) : error C2146: syntax error : missing ';' before identifier 'pSetStreamSource'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(428) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(428) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(437) : error C2064: term does not evaluate to a function taking 4 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(440) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(448) : error C2146: syntax error : missing ';' before identifier 'pSetViewport'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(448) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(448) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(456) : error C2064: term does not evaluate to a function taking 2 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(459) : error C2059: syntax error : '=='
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(463) : error C2146: syntax error : missing ';' before identifier 'pBeginScene'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(463) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(463) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(469) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(472) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(472) : error C2065: 'dwDra' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(472) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(473) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(475) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(475) : error C2065: 'dwSetStrea' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(475) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(476) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(477) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(478) : error C2065: 'd' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(478) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(478) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(481) : error C2064: term does not evaluate to a function taking 1 arguments
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(494) : error C2664: 'GetModuleFileNameW' : cannot convert parameter 2 from 'char [320]' to 'LPWCH'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(496) : error C2001: newline in constant
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(496) : error C2015: too many characters in constant
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(497) : error C2146: syntax error : missing ')' before identifier 'ofile'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(500) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(502) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(505) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(505) : error C2065: 'dwDra' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(505) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(506) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(508) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(508) : error C2065: 'dwSetStrea' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(508) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(509) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(510) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(511) : error C2065: 'd' : undeclared identifier
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(511) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(511) : error C2059: syntax error : ')'
1>c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(516) : fatal error C1075: end of file found before the left brace '{' at 'c:\users\reza prima wardhana\documents\visual studio 2008\projects\testanjink\testanjink\testanjink.cpp(487)' was matched
1>Build log was saved at "file://c:\Users\Reza Prima Wardhana\Documents\Visual Studio 2008\Projects\TESTANJINK\TESTANJINK\Debug\BuildLog.htm"
1>TESTANJINK - 73 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
KENAPA YAH ?
cacad999- C4~ Member
- Jumlah posting : 14
Reputation : 1000
Join date : 15.06.11
tolong k agung
[quote="Agoeng_Jr"]nih gan tutor pembuatan wallhack...
-Microsoft Visual C++ 2008
-Microsoft DirectX SDK Summer 2004
oke langsung aja.. buka C++ 2008.. pilih new project/win32/win32 project.
-kemudian masukkan nama terserah anda... Contoh : nama anda.ccp dan klik ok
-klik application setting/ pilih DLL / finish
-kemudian pada (nama anda.ccp) masukkan code di bawah ini :
[spoiler]#include
#include
#include
#include
#include "log.h"
#include
#include
#pragma comment(lib, "d3dx8.lib")
#pragma comment(lib, "d3d8.lib")
using namespace std;
static DWORD dwBeginScene = 0x6D9D9250;
static DWORD dwEndScene = 0x6d9d93a0;
static DWORD dwDrawIndexedPrimitive = 0x6d9d73a0;
static DWORD dwSetStreamSource = 0x6d9d6760;
static DWORD dwSetViewport = 0x6d9d5b90 ;
int m_Stride;
int texnum;
int nNumVertices;
int nPrimitiveCount;
LPDIRECT3DTEXTURE8 Red,Yellow,Green,Blue,Purple,Pink,Orange;
bool Color = true;
bool Logger = false;
ofstream ofile;
char dlldir[320];
float ScreenCenterX = 0.0f;
float ScreenCenterY = 0.0f;
bool xhair = false;
bool WallHack = false;
bool WallHack2 = false;
HANDLE hand1 =NULL;
HANDLE hand2 =NULL;
DWORD bytes;
//Logger
int texarray[1000];
int arraycounter;
int delarray[500];
int dcount;
unsigned int arrc;
int i=0;
D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );
char *GetDirectoryFile(char *filename)
{
static char path[320];
strcpy(path, dlldir);
strcat(path, filename);
return path;
}
void __cdecl add_log (const char *fmt, ...)
{
if(ofile != NULL)
{
if(!fmt) { return; }
va_list va_alist;
char logbuf[256] = {0};
va_start (va_alist, fmt);
_vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) -
strlen(logbuf), fmt, va_alist);
va_end (va_alist);
ofile << logbuf << endl;
}
}
HRESULT GenerateTexture(IDirect3DDevice8 *pD3Ddev, IDirect3DTexture8
**ppD3Dtex, DWORD colour32)
{
if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4,
D3DPOOL_MANAGED, ppD3Dtex)) )
return E_FAIL;
WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
|(WORD)(((colour32>>20)&0xF)<<
|(WORD)(((colour32>>12)&0xF)<<4)
|(WORD)(((colour32>>4)&0xF)<<0);
D3DLOCKED_RECT d3dlr;
(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
WORD *pDst16 = (WORD*)d3dlr.pBits;
for(int xy=0; xy < 8*8; xy++)
*pDst16++ = colour16;
(*ppD3Dtex)->UnlockRect(0);
return S_OK;
}
//=================================EndScene_Start===
==================================================
============================//
typedef HRESULT ( WINAPI* oEndScene ) ( LPDIRECT3DDEVICE8 pDevice );
oEndScene pEndScene;
HRESULT WINAPI myEndScene(LPDIRECT3DDEVICE8 pDevice)
{
if(Color)
{
GenerateTexture(pDevice, &Red, D3DCOLOR_ARGB (255 , 255
, 0 , 0 ));
GenerateTexture(pDevice, &Yellow, D3DCOLOR_ARGB (255 , 255
, 255 , 0 ));
GenerateTexture(pDevice, &Green, D3DCOLOR_ARGB (255 , 0
, 255 , 0 ));
GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255 , 0
, 0 , 255 ));
GenerateTexture(pDevice, &Purple, D3DCOLOR_ARGB (255 , 102
, 0 , 153 ));
GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255 , 255
, 20 , 147 ));
GenerateTexture(pDevice, &Orange, D3DCOLOR_ARGB (255 , 255
, 165 , 0 ));
Color=false;
}
if(xhair)
{
D3DRECT rec2 = {ScreenCenterX-20, ScreenCenterY, ScreenCenterX+ 20,
ScreenCenterY+2};
D3DRECT rec3 = {ScreenCenterX, ScreenCenterY-20, ScreenCenterX+
2,ScreenCenterY+20};
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,redt, 0, 0);
pDevice->Clear(1, &rec3, D3DCLEAR_TARGET,redt, 0, 0);
}
//=============================================UnHoo
K_Start=========================================== ========//
if((GetAsyncKeyState(VK_F5)&1))
{
int end =NULL;
int dip =NULL;
int svp =NULL;
int sss =NULL;
BYTE Unhook[5] = {0x8B,0xFF,0x55,0x8B,0xEC};//Original Function Bytes.
hand1 = GetCurrentProcess();
DWORD dwmodualBase=(DWORD)GetModuleHandle("d3d8.dll");
end = 0x6d9d93a0;
dip = 0x6d9d73a0;
svp = 0x6d9d5b90;
sss = 0x6d9d6760;
WriteProcessMemory(hand1, (void*) end, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) dip, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) svp ,Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) sss,Unhook, 5, &bytes);
}
//=========================================UnHook_En
d================================================= ========//
if((GetAsyncKeyState(VK_F1)&1)){xhair=!xhair;}
if((GetAsyncKeyState(VK_F2)&1)){WallHack=!WallHack ;}
return pEndScene(pDevice);
}
//====================================EndScene_End==
==================================================
========================//
//=================================Dip_Start========
==================================================
==================================//
typedef HRESULT ( WINAPI* oDrawIndexedPrimitive ) ( LPDIRECT3DDEVICE8
pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT
nStartIndex, UINT nPrimitiveCount );
oDrawIndexedPrimitive pDrawIndexedPrimitive;
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice,
D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT
nStartIndex, UINT nPrimitiveCount)
{
if(WallHack)
{
texnum = (nNumVertices*100000)+nPrimitiveCount;
if(m_Stride==40 &&
(texnum==7500121 )||(texnum==8500105
)||(texnum==12400168)||(texnum==37000650)||
(texnum==18000274)||(texnum==8800105
)||(texnum==36900650)||(texnum==19600314)||
(texnum==21800306)||(texnum==7500121 )||(texnum==8500105
)||(texnum==12400168)||
(texnum==21800306)||(texnum==36900650)||(texnum==7 500121
)||(texnum==37000650)||
(texnum==18000274)||(texnum==7500121 )||(texnum==8500105
)||(texnum==38000658)||
(texnum==22100268)||(texnum==62400752)||(texnum==2
7900456)||(texnum==45700654)||
(texnum==4800040 )||(texnum==83600752)||(texnum==33400477)||(texnum
==38100666)||
(texnum==2800036 )||(texnum==62400752)||(texnum==29700492)||(texnum
==84900778)||
(texnum==27500442)||(texnum==52100658)||(texnum==6
2400752)||(texnum==33600552)||
(texnum==44100646)||(texnum==18000274)||(texnum==3
7200508)||(texnum==45700654)||
(texnum==37200508)||(texnum==52100658)||(texnum==5 2100658)
&&
(nNumVertices == 100 && nPrimitiveCount == 121) || //Foot
(nNumVertices == 105 && nPrimitiveCount == 168) || //Right
Arm
(nNumVertices == 132 && nPrimitiveCount == 180) || //Hand
(nNumVertices == 159 && nPrimitiveCount == 200) || //Left
Arm
(nNumVertices == 338 && nPrimitiveCount == 534) ||
//Underbody thanks japennese guy =)
//(nNumVertices == 448 && nPrimitiveCount == 776) || //Head
(nNumVertices == 804 && nPrimitiveCount == 1016) || //Body
//SRG Option item
(nNumVertices == 109 && nPrimitiveCount == 110) ||
//Bulletproof Vest
(nNumVertices == 336 && nPrimitiveCount == 532)) //Battle
Pants
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Orange);
//pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME );
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
//pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID );
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Pink);
}
if(m_Stride==40 && texnum== 21300174)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Green);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Purple);
}
if(nNumVertices == 158 && nPrimitiveCount == 131)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Red);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Yellow);
}
if (nNumVertices == 171 && nPrimitiveCount == 143)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Red);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Yellow);
}
if(m_Stride==40 &&//face,mask etc...
(texnum==36700612) ||
(texnum==9600172 ) ||
(texnum==14200236) ||
(texnum==37800552) ||
(texnum==28100486) ||
(texnum==35500568) ||
(texnum==2200024 ) ||
(texnum==16200243) ||
(texnum==31900466) ||
(texnum==19300342) ||
(texnum==36200604) ||
(texnum==21300290) ||
(texnum==35700558) ||
(texnum==22100396) ||
(texnum==36100604) ||
(texnum==27100464) ||
(texnum==11400180) ||
(texnum==34900580) ||
(texnum==13200212) ||
(texnum==34700538) ||
(texnum==19500352)&&
(nNumVertices == 448 && nPrimitiveCount == 776))
{
pDevice->SetTexture(0,Blue);
}
{
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
}
/*Logger
if(m_Stride==40){
while(GetAsyncKeyState(VK_NUMPAD1)&1) arrc--; //Used as manual
index for adding textures to delarray
while(GetAsyncKeyState(VK_NUMPAD3)&1) arrc++;
bool alrdy=false;
bool inarr=false;
if(texarray[arrc]==texnum)
if(delarray[i]==texarray[arrc])
alrdy=true;
for(int i=0;i
-Microsoft Visual C++ 2008
-Microsoft DirectX SDK Summer 2004
oke langsung aja.. buka C++ 2008.. pilih new project/win32/win32 project.
-kemudian masukkan nama terserah anda... Contoh : nama anda.ccp dan klik ok
-klik application setting/ pilih DLL / finish
-kemudian pada (nama anda.ccp) masukkan code di bawah ini :
[spoiler]#include
#include
#include
#include
#include "log.h"
#include
#include
#pragma comment(lib, "d3dx8.lib")
#pragma comment(lib, "d3d8.lib")
using namespace std;
static DWORD dwBeginScene = 0x6D9D9250;
static DWORD dwEndScene = 0x6d9d93a0;
static DWORD dwDrawIndexedPrimitive = 0x6d9d73a0;
static DWORD dwSetStreamSource = 0x6d9d6760;
static DWORD dwSetViewport = 0x6d9d5b90 ;
int m_Stride;
int texnum;
int nNumVertices;
int nPrimitiveCount;
LPDIRECT3DTEXTURE8 Red,Yellow,Green,Blue,Purple,Pink,Orange;
bool Color = true;
bool Logger = false;
ofstream ofile;
char dlldir[320];
float ScreenCenterX = 0.0f;
float ScreenCenterY = 0.0f;
bool xhair = false;
bool WallHack = false;
bool WallHack2 = false;
HANDLE hand1 =NULL;
HANDLE hand2 =NULL;
DWORD bytes;
//Logger
int texarray[1000];
int arraycounter;
int delarray[500];
int dcount;
unsigned int arrc;
int i=0;
D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );
char *GetDirectoryFile(char *filename)
{
static char path[320];
strcpy(path, dlldir);
strcat(path, filename);
return path;
}
void __cdecl add_log (const char *fmt, ...)
{
if(ofile != NULL)
{
if(!fmt) { return; }
va_list va_alist;
char logbuf[256] = {0};
va_start (va_alist, fmt);
_vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) -
strlen(logbuf), fmt, va_alist);
va_end (va_alist);
ofile << logbuf << endl;
}
}
HRESULT GenerateTexture(IDirect3DDevice8 *pD3Ddev, IDirect3DTexture8
**ppD3Dtex, DWORD colour32)
{
if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4,
D3DPOOL_MANAGED, ppD3Dtex)) )
return E_FAIL;
WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)
|(WORD)(((colour32>>20)&0xF)<<
|(WORD)(((colour32>>12)&0xF)<<4)
|(WORD)(((colour32>>4)&0xF)<<0);
D3DLOCKED_RECT d3dlr;
(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);
WORD *pDst16 = (WORD*)d3dlr.pBits;
for(int xy=0; xy < 8*8; xy++)
*pDst16++ = colour16;
(*ppD3Dtex)->UnlockRect(0);
return S_OK;
}
//=================================EndScene_Start===
==================================================
============================//
typedef HRESULT ( WINAPI* oEndScene ) ( LPDIRECT3DDEVICE8 pDevice );
oEndScene pEndScene;
HRESULT WINAPI myEndScene(LPDIRECT3DDEVICE8 pDevice)
{
if(Color)
{
GenerateTexture(pDevice, &Red, D3DCOLOR_ARGB (255 , 255
, 0 , 0 ));
GenerateTexture(pDevice, &Yellow, D3DCOLOR_ARGB (255 , 255
, 255 , 0 ));
GenerateTexture(pDevice, &Green, D3DCOLOR_ARGB (255 , 0
, 255 , 0 ));
GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255 , 0
, 0 , 255 ));
GenerateTexture(pDevice, &Purple, D3DCOLOR_ARGB (255 , 102
, 0 , 153 ));
GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255 , 255
, 20 , 147 ));
GenerateTexture(pDevice, &Orange, D3DCOLOR_ARGB (255 , 255
, 165 , 0 ));
Color=false;
}
if(xhair)
{
D3DRECT rec2 = {ScreenCenterX-20, ScreenCenterY, ScreenCenterX+ 20,
ScreenCenterY+2};
D3DRECT rec3 = {ScreenCenterX, ScreenCenterY-20, ScreenCenterX+
2,ScreenCenterY+20};
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,redt, 0, 0);
pDevice->Clear(1, &rec3, D3DCLEAR_TARGET,redt, 0, 0);
}
//=============================================UnHoo
K_Start=========================================== ========//
if((GetAsyncKeyState(VK_F5)&1))
{
int end =NULL;
int dip =NULL;
int svp =NULL;
int sss =NULL;
BYTE Unhook[5] = {0x8B,0xFF,0x55,0x8B,0xEC};//Original Function Bytes.
hand1 = GetCurrentProcess();
DWORD dwmodualBase=(DWORD)GetModuleHandle("d3d8.dll");
end = 0x6d9d93a0;
dip = 0x6d9d73a0;
svp = 0x6d9d5b90;
sss = 0x6d9d6760;
WriteProcessMemory(hand1, (void*) end, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) dip, Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) svp ,Unhook, 5, &bytes);
WriteProcessMemory(hand1, (void*) sss,Unhook, 5, &bytes);
}
//=========================================UnHook_En
d================================================= ========//
if((GetAsyncKeyState(VK_F1)&1)){xhair=!xhair;}
if((GetAsyncKeyState(VK_F2)&1)){WallHack=!WallHack ;}
return pEndScene(pDevice);
}
//====================================EndScene_End==
==================================================
========================//
//=================================Dip_Start========
==================================================
==================================//
typedef HRESULT ( WINAPI* oDrawIndexedPrimitive ) ( LPDIRECT3DDEVICE8
pDevice, D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT
nStartIndex, UINT nPrimitiveCount );
oDrawIndexedPrimitive pDrawIndexedPrimitive;
HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice,
D3DPRIMITIVETYPE pType, UINT nMinIndex, UINT nNumVertices, UINT
nStartIndex, UINT nPrimitiveCount)
{
if(WallHack)
{
texnum = (nNumVertices*100000)+nPrimitiveCount;
if(m_Stride==40 &&
(texnum==7500121 )||(texnum==8500105
)||(texnum==12400168)||(texnum==37000650)||
(texnum==18000274)||(texnum==8800105
)||(texnum==36900650)||(texnum==19600314)||
(texnum==21800306)||(texnum==7500121 )||(texnum==8500105
)||(texnum==12400168)||
(texnum==21800306)||(texnum==36900650)||(texnum==7 500121
)||(texnum==37000650)||
(texnum==18000274)||(texnum==7500121 )||(texnum==8500105
)||(texnum==38000658)||
(texnum==22100268)||(texnum==62400752)||(texnum==2
7900456)||(texnum==45700654)||
(texnum==4800040 )||(texnum==83600752)||(texnum==33400477)||(texnum
==38100666)||
(texnum==2800036 )||(texnum==62400752)||(texnum==29700492)||(texnum
==84900778)||
(texnum==27500442)||(texnum==52100658)||(texnum==6
2400752)||(texnum==33600552)||
(texnum==44100646)||(texnum==18000274)||(texnum==3
7200508)||(texnum==45700654)||
(texnum==37200508)||(texnum==52100658)||(texnum==5 2100658)
&&
(nNumVertices == 100 && nPrimitiveCount == 121) || //Foot
(nNumVertices == 105 && nPrimitiveCount == 168) || //Right
Arm
(nNumVertices == 132 && nPrimitiveCount == 180) || //Hand
(nNumVertices == 159 && nPrimitiveCount == 200) || //Left
Arm
(nNumVertices == 338 && nPrimitiveCount == 534) ||
//Underbody thanks japennese guy =)
//(nNumVertices == 448 && nPrimitiveCount == 776) || //Head
(nNumVertices == 804 && nPrimitiveCount == 1016) || //Body
//SRG Option item
(nNumVertices == 109 && nPrimitiveCount == 110) ||
//Bulletproof Vest
(nNumVertices == 336 && nPrimitiveCount == 532)) //Battle
Pants
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Orange);
//pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME );
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
//pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID );
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Pink);
}
if(m_Stride==40 && texnum== 21300174)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Green);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Purple);
}
if(nNumVertices == 158 && nPrimitiveCount == 131)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Red);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Yellow);
}
if (nNumVertices == 171 && nPrimitiveCount == 143)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
pDevice->SetTexture(0,Red);//GreenNade
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices,
nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
pDevice->SetTexture(0,Yellow);
}
if(m_Stride==40 &&//face,mask etc...
(texnum==36700612) ||
(texnum==9600172 ) ||
(texnum==14200236) ||
(texnum==37800552) ||
(texnum==28100486) ||
(texnum==35500568) ||
(texnum==2200024 ) ||
(texnum==16200243) ||
(texnum==31900466) ||
(texnum==19300342) ||
(texnum==36200604) ||
(texnum==21300290) ||
(texnum==35700558) ||
(texnum==22100396) ||
(texnum==36100604) ||
(texnum==27100464) ||
(texnum==11400180) ||
(texnum==34900580) ||
(texnum==13200212) ||
(texnum==34700538) ||
(texnum==19500352)&&
(nNumVertices == 448 && nPrimitiveCount == 776))
{
pDevice->SetTexture(0,Blue);
}
{
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
}
/*Logger
if(m_Stride==40){
while(GetAsyncKeyState(VK_NUMPAD1)&1) arrc--; //Used as manual
index for adding textures to delarray
while(GetAsyncKeyState(VK_NUMPAD3)&1) arrc++;
bool alrdy=false;
bool inarr=false;
if(texarray[arrc]==texnum)
if(delarray[i]==texarray[arrc])
alrdy=true;
for(int i=0;i
abdul87- C4~ Member
- Jumlah posting : 1
Reputation : 1000
Join date : 18.10.11
Re: Create Wallhack Part 2
kk bisa gak kalau pake visual basic
truz kalo pake visual basic pilih poroject yang mana ???
[You must be registered and logged in to see this image.]
kk minta link sc destrous.h nya di mana ea kak
[You must be registered and logged in to see this image.]
truz kalo pake visual basic pilih poroject yang mana ???
[You must be registered and logged in to see this image.]
kk minta link sc destrous.h nya di mana ea kak
[You must be registered and logged in to see this image.]
Hacker666- C4~ Member
- Jumlah posting : 1
Reputation : 1000
Join date : 02.12.11
Re: Create Wallhack Part 2
ridhotherock wrote:SS
- Spoiler:
[You must be registered and logged in to see this link.]
Uploaded with [You must be registered and logged in to see this link.]
SKEDAR nambah smangat
om bagi WSnya donks sama ajarin Biar D3d Menunya ka cepet di tendang (sejenis BT ma DC) ma GM
anndreass- C4~ Member
- Jumlah posting : 2
Reputation : 1000
Join date : 08.01.12
Halaman 2 dari 2 • 1, 2
:: C++
Halaman 2 dari 2
Permissions in this forum:
Anda tidak dapat menjawab topik