Create WallHack PointBlank
+2
abenkCB
Agoeng_Jr
6 posters
:: C++
Halaman 1 dari 1
Create WallHack PointBlank
Source code :
Tambahin ini biar g ke detect :
pasang di : DLL_Attach_Process
Semua SC Credit Untuk :
[You must be registered and logged in to see this link.]
- 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);
}
}
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;
}
log.h (a header file)
Code:
#define WIN32_LEAN_AND_MEAN
#ifndef _MAIN_H
#define _MAIN_H
char *GetDirectoryFile(char *filename);
void __cdecl add_log (const char * fmt, ...);
#endif
- 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);
}
//=============================================UnHooK_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_End=========================================================//
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==7500121 )||(texnum==37000650)||
(texnum==18000274)||(texnum==7500121 )||(texnum==8500105 )||(texnum==38000658)||
(texnum==22100268)||(texnum==62400752)||(texnum==27900456)||(texnum==45700654)||
(texnum==4800040 )||(texnum==83600752)||(texnum==33400477)||(texnum==38100666)||
(texnum==2800036 )||(texnum==62400752)||(texnum==29700492)||(texnum==84900778)||
(texnum==27500442)||(texnum==52100658)||(texnum==62400752)||(texnum==33600552)||
(texnum==44100646)||(texnum==18000274)||(texnum==37200508)||(texnum==45700654)||
(texnum==37200508)||(texnum==52100658)||(texnum==52100658) &&
(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)dwDrawIndexedPrimitive, (PBYTE)myDrawIndexedPrimitive);
pSetStreamSource = (oSetStreamSource)DetourFunction((PBYTE)dwSetStreamSource, (PBYTE)mySetStreamSource);
pSetViewport=(oSetViewport)DetourFunction((PBYTE)dwSetViewport,(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)dwDrawIndexedPrimitive, (PBYTE)myDrawIndexedPrimitive);
pSetStreamSource = (oSetStreamSource)DetourFunction((PBYTE)dwSetStreamSource, (PBYTE)mySetStreamSource);
pSetViewport=(oSetViewport)DetourFunction((PBYTE)dwSetViewport,(PBYTE)mySetViewport);
}
return TRUE;
}
- Spoiler:
- #define WIN32_LEAN_AND_MEAN
#ifndef _MAIN_H
#define _MAIN_H
char *GetDirectoryFile(char *filename);
void __cdecl add_log (const char * fmt, ...);
#endif
Tambahin ini biar g ke detect :
- Spoiler:
- ///////////////////////BEGIN PATCH/////////////
DWORD OldProtection;
void MEMwrite(void *adr, void *ptr, int size)
{
VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);
memcpy(adr,ptr,size);
VirtualProtect(adr,size,OldProtection, &OldProtection);
}
void NewDetourhs(long Address,int Size,int Size2)
{
long EhSvc = (long)GetModuleHandleA("EhSvc.dll");
DWORD OldProtect;
VirtualProtect((void*)(EhSvc+Address),Size,PAGE_EXECUTE_READWRITE,&OldProtect);
*(DWORD*)(EhSvc+Address) = Size2;
//*(int*)(EhSvc+Address) = Size;
}
void CopyModules(void)
{
long EhSvc = (long)GetModuleHandleA("EhSvc.dll");
//self crc checks
MEMwrite((void *)(EhSvc+0x0FF28),(void*)(PBYTE)"\xB8\x01\x00\x00\x00",5);
//anti asm scan game client
MEMwrite((void *)(EhSvc+0x1BC28),(void*)(PBYTE)"\x90\x90",2);//
////unhook dip & sss 8
MEMwrite((void *)(EhSvc+0x650A5),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x650CF),(void*)(PBYTE)"\xEB",1);//
//dll jump code check
MEMwrite((void *)(EhSvc+0x66931),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x66B79),(void*)(PBYTE)"\xEB",1);//
//anti restore page
MEMwrite((void *)(EhSvc+0x5F80E),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x5F784),(void*)(PBYTE)"\xEB",1);//
//processscan, main eagle process detect callback, for Ch*at engine
MEMwrite((void *)(EhSvc+0x54A14),(void*)(PBYTE)"\xE9\x7E\x0A\x00\x00",5);//
// nano detect objects
MEMwrite((void *)(EhSvc+0x2411B),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x24265),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x2435F),(void*)(PBYTE)"\x31",1);//
MEMwrite((void *)(EhSvc+0x22556),(void*)(PBYTE)"\x31",1);//
MEMwrite((void *)(EhSvc+0x26171),(void*)(PBYTE)"\x31",1);//
MEMwrite((void *)(EhSvc+0x25618),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x2572C),(void*)(PBYTE)"\xEB",1);//
MEMwrite((void *)(EhSvc+0x25ADB),(void*)(PBYTE)"\xEB",1);//
int EhPtr = 0x0D0F40;
NewDetourhs((EhPtr-0x44),0x8,4);//
NewDetourhs((EhPtr-0x40),0x8,4);//
NewDetourhs((EhPtr-0x20),0x8,4);//
NewDetourhs(0x0D13F8,0x8,4);//
NewDetourhs(0x0CD5F8,0x8,4);//
NewDetourhs(0x0C7570,0x8,4);//
NewDetourhs(0x0C7754,0x8,4);//
NewDetourhs(0x0CED40,0x8,4);//
NewDetourhs(0x0C7739,0x8,4);//
NewDetourhs(0x0D2E08,0x8,4);//
NewDetourhs(0x0C7758,0x8,4);//
NewDetourhs(0x0C62F8,0x8,4);//
NewDetourhs(0x0C7715,0x8,4);//
NewDetourhs(0x0D0F40,0x8,4);//
NewDetourhs(0x0C7719,0x8,4);//
NewDetourhs(0x0D2E40,0x8,4);//
NewDetourhs(0x0C62F8,0x8,4);//
NewDetourhs(0x0CD8FC,0x8,4);//
NewDetourhs(0x0CD5F8,0x8,4);//
NewDetourhs(0x0D3DF1,0x8,4);//
}
void Loop(void)
{
for(;
{
long EhSvc = (long)GetModuleHandleA("EhSvc.dll");
if(EhSvc!=0)
{
CopyModules();
}
Sleep(20);
}
}
/////////////////////END PATCH///////////////////////
pasang di : DLL_Attach_Process
- Spoiler:
- CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Loop, NULL, NULL, NULL);
Semua SC Credit Untuk :
[You must be registered and logged in to see this link.]
Re: Create WallHack PointBlank
dalam SC ini ane kesulitan dalam detour.h nya OM TS ane binggung selalu bertuliskan
1>------ Build started: Project: TS WH, Configuration: Release Win32 ------
1> D3dbase.cpp
1>c:\documents and settings\administrator\my documents\visual studio 2010\projects\ts wh\ts wh\SystemIncludes.h(11): fatal error C1083: Cannot open include file: 'detours.h': No such file or directory
1> WH.cpp
1>WH.cpp(2): fatal error C1083: Cannot open include file: 'detours.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
ini harus gmana ya
mohon bantuannya
1>------ Build started: Project: TS WH, Configuration: Release Win32 ------
1> D3dbase.cpp
1>c:\documents and settings\administrator\my documents\visual studio 2010\projects\ts wh\ts wh\SystemIncludes.h(11): fatal error C1083: Cannot open include file: 'detours.h': No such file or directory
1> WH.cpp
1>WH.cpp(2): fatal error C1083: Cannot open include file: 'detours.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
ini harus gmana ya
mohon bantuannya
abenkCB- C4~ Member
- Jumlah posting : 11
Reputation : 1000
Join date : 07.05.11
Re: Create WallHack PointBlank
Download : [You must be registered and logged in to see this link.]abenkCB wrote:dalam SC ini ane kesulitan dalam detour.h nya OM TS ane binggung selalu bertuliskan
1>------ Build started: Project: TS WH, Configuration: Release Win32 ------
1> D3dbase.cpp
1>c:\documents and settings\administrator\my documents\visual studio 2010\projects\ts wh\ts wh\SystemIncludes.h(11): fatal error C1083: Cannot open include file: 'detours.h': No such file or directory
1> WH.cpp
1>WH.cpp(2): fatal error C1083: Cannot open include file: 'detours.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
ini harus gmana ya
mohon bantuannya
Cari File Detours.h lalu copykan file ke folder (include) pada DirectX 9.0 SDK
Re: Create WallHack PointBlank
belum ane down OM tapi ane ucapkan terima kasih
coz ane maen poker dulu sama istri... hehehe malem nya baru korek-korek C++ nya hehe...
salam hangat dari ane Om - aBenk selalu ada hehehe
coz ane maen poker dulu sama istri... hehehe malem nya baru korek-korek C++ nya hehe...
salam hangat dari ane Om - aBenk selalu ada hehehe
abenkCB- C4~ Member
- Jumlah posting : 11
Reputation : 1000
Join date : 07.05.11
Re: Create WallHack PointBlank
@mas AGOENG
mas ini kan project msc++, gimana kalo dibikin di devc++... apakah masih bisa di build??
mas ini kan project msc++, gimana kalo dibikin di devc++... apakah masih bisa di build??
pointer29- C4~ Member
- Jumlah posting : 17
Reputation : 1000
Join date : 11.05.11
Re: Create WallHack PointBlank
mas saya total ada 17 error nih pas build..
boleh nanya ga..
Source code dan Name zzz.cpp, itu sourcodenya c++ sama ya, ato dipake dua2nya?? (bigung soalnya)
terus Tambahin ini biar g ke detect, itu ditaro dimana SCnya mas??? di akhir zzz.cpp atau log.h??
dan satu lagi mas Lalu buat fungsi untuk memanggil Anti HS pasang di : DLL_Attach_Process itu nanti dbkin file khusus.h sendiri ya??? atau ditaro di zzz.cpp???
maaf nih mas banyak tanya, saya mo serius nih belajarnya, mohon bantuannya
boleh nanya ga..
Source code dan Name zzz.cpp, itu sourcodenya c++ sama ya, ato dipake dua2nya?? (bigung soalnya)
terus Tambahin ini biar g ke detect, itu ditaro dimana SCnya mas??? di akhir zzz.cpp atau log.h??
dan satu lagi mas Lalu buat fungsi untuk memanggil Anti HS pasang di : DLL_Attach_Process itu nanti dbkin file khusus.h sendiri ya??? atau ditaro di zzz.cpp???
maaf nih mas banyak tanya, saya mo serius nih belajarnya, mohon bantuannya
pointer29- C4~ Member
- Jumlah posting : 17
Reputation : 1000
Join date : 11.05.11
Re: Create WallHack PointBlank
hmmmm..ada bau forum snutz.us...hemmmm
sori ye bang agung bukanya promosi atau apa tapi feeling saya hhmmmm ini SC berbau forum snutz.us
sori ye bang agung bukanya promosi atau apa tapi feeling saya hhmmmm ini SC berbau forum snutz.us
xxx4ndr3- Moderator
- Jumlah posting : 4
Reputation : 1000
Join date : 10.05.11
Re: Create WallHack PointBlank
Memang ini SC dari Om snutz.us... dan perbaikannya Pada Part 2...xxx4ndr3 wrote:hmmmm..ada bau forum snutz.us...hemmmm
sori ye bang agung bukanya promosi atau apa tapi feeling saya hhmmmm ini SC berbau forum snutz.us
Re: Create WallHack PointBlank
maaf dengan sangat OM agung
Download : [You must be registered and logged in to see this link.]
Cari File Detours.h lalu copykan file ke folder (include) pada DirectX 9.0 SDK
yang ente kasih ke ane kenapa setelah ane copy k include masih ajah meminta detours.h nya ya...
//*thank OM...
Download : [You must be registered and logged in to see this link.]
Cari File Detours.h lalu copykan file ke folder (include) pada DirectX 9.0 SDK
yang ente kasih ke ane kenapa setelah ane copy k include masih ajah meminta detours.h nya ya...
//*thank OM...
abenkCB- C4~ Member
- Jumlah posting : 11
Reputation : 1000
Join date : 07.05.11
Re: Create WallHack PointBlank
@abenkCB
mungkin directorynya blom di set... coba baca disini [You must be registered and logged in to see this link.]
pertanyaan saya kok dikacang molo ya >...<
[You must be registered and logged in to see this image.]
mungkin directorynya blom di set... coba baca disini [You must be registered and logged in to see this link.]
pertanyaan saya kok dikacang molo ya >...<
[You must be registered and logged in to see this image.]
pointer29- C4~ Member
- Jumlah posting : 17
Reputation : 1000
Join date : 11.05.11
Re: Create WallHack PointBlank
udah ane ikut langkah tersebut di atas dan ane masih ga menemukan detours.h nya...
kalau yang agan maksud ane udah save di desktop ane gan semua tinggal begerak ya tapi itu selalu error dalam detours hikz
ane muter sampe-sampe madol gawe demi nyiptain satu program yang ane kejar biar warnet yang ane jaga laku berat,
hehehehehe.... cmiiw
"kalau masalah kacang mending disini om masih bisa kita di jawab sama staff and moderator dari forum ini, coba agan di forum laen pasti berbut and pasti yang ente tanya ga akaan di bales... hehehe tapi kalau ane bisa ane akan bagi ilmu ane, tapi no show off biar kga ke tendang sama GM he.
kalau yang agan maksud ane udah save di desktop ane gan semua tinggal begerak ya tapi itu selalu error dalam detours hikz
ane muter sampe-sampe madol gawe demi nyiptain satu program yang ane kejar biar warnet yang ane jaga laku berat,
hehehehehe.... cmiiw
"kalau masalah kacang mending disini om masih bisa kita di jawab sama staff and moderator dari forum ini, coba agan di forum laen pasti berbut and pasti yang ente tanya ga akaan di bales... hehehe tapi kalau ane bisa ane akan bagi ilmu ane, tapi no show off biar kga ke tendang sama GM he.
abenkCB- C4~ Member
- Jumlah posting : 11
Reputation : 1000
Join date : 07.05.11
Re: Create WallHack PointBlank
@abenkCB
ato coba kek cara ane, gini copy file detours.h...
terus taro di : Microsoft Visual Studio 9.0\VC\include ( soanya ane pake mvs2008)
kalo 2010 mungkin mirip2 ama yang diatas [You must be registered and logged in to see this image.] , yang jelas taro di directory defaultnya(vc\include)..
kalo dah jadi kabarin ya ... ane jg lg build tp error molo hehehe...
[You must be registered and logged in to see this image.]
ato coba kek cara ane, gini copy file detours.h...
terus taro di : Microsoft Visual Studio 9.0\VC\include ( soanya ane pake mvs2008)
kalo 2010 mungkin mirip2 ama yang diatas [You must be registered and logged in to see this image.] , yang jelas taro di directory defaultnya(vc\include)..
kalo dah jadi kabarin ya ... ane jg lg build tp error molo hehehe...
[You must be registered and logged in to see this image.]
pointer29- C4~ Member
- Jumlah posting : 17
Reputation : 1000
Join date : 11.05.11
Re: Create WallHack PointBlank
om gimana nehh helpp mee
kok setelah ane build hasilnya jadi kek gini... gw uda ngikutin tutor diatas 100%
need pencerahann
kok setelah ane build hasilnya jadi kek gini... gw uda ngikutin tutor diatas 100%
- Code:
1>------ Build started: Project: sempak, Configuration: Debug Win32 ------
1>Compiling...
1>wh.cpp
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.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>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.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>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.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>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(85) : error C2065: 'Cool' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(86) : error C2143: syntax error : missing ')' before ';'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(102) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(105) : error C2146: syntax error : missing ';' before identifier 'pEndScene'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(105) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(130) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(131) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(132) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(133) : warning C4244: 'initializing' : conversion from 'float' to 'LONG', possible loss of data
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(139) : error C2065: 'K_Start' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(139) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(142) : error C2143: syntax error : missing ';' before '{'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(163) : error C2065: 'd' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(163) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(165) : error C2143: syntax error : missing ';' before '{'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(168) : error C2064: term does not evaluate to a function taking 1 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(171) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(183) : error C2146: syntax error : missing ';' before identifier 'pDrawIndexedPrimitive'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(183) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(204) : error C2143: syntax error : missing ')' before 'constant'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(237) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(240) : error C2143: syntax error : missing ';' before '{'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(247) : error C2064: term does not evaluate to a function taking 6 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(261) : error C2064: term does not evaluate to a function taking 6 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(274) : error C2064: term does not evaluate to a function taking 6 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(287) : error C2064: term does not evaluate to a function taking 6 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(410) : error C2064: term does not evaluate to a function taking 6 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(413) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(423) : error C2146: syntax error : missing ';' before identifier 'pSetStreamSource'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(423) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(432) : error C2064: term does not evaluate to a function taking 4 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(435) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(443) : error C2146: syntax error : missing ';' before identifier 'pSetViewport'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(443) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(451) : error C2064: term does not evaluate to a function taking 2 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(454) : error C2059: syntax error : '=='
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(458) : error C2146: syntax error : missing ';' before identifier 'pBeginScene'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(458) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(464) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(467) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(467) : error C2065: 'dwDra' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(467) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(468) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(470) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(470) : error C2065: 'dwSetStrea' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(470) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(471) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(472) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(473) : error C2065: 'd' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(473) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(473) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(476) : error C2064: term does not evaluate to a function taking 1 arguments
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(491) : error C2001: newline in constant
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(491) : error C2015: too many characters in constant
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(492) : error C2146: syntax error : missing ')' before identifier 'ofile'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(495) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(497) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(500) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(500) : error C2065: 'dwDra' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(500) : error C2146: syntax error : missing ')' before identifier 'wIndexedPrimitive'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(501) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(503) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(503) : error C2065: 'dwSetStrea' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(503) : error C2146: syntax error : missing ')' before identifier 'mSource'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(504) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(505) : error C2146: syntax error : missing ';' before identifier 'DetourFunction'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(506) : error C2065: 'd' : undeclared identifier
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(506) : error C2146: syntax error : missing ')' before identifier 'wSetViewport'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(506) : error C2059: syntax error : ')'
1>d:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(511) : fatal error C1075: end of file found before the left brace '{' at 'd:\document billing\visual studio 2008\projects\sempak\sempak\wh.cpp(482)' was matched
1>Build log was saved at "file://d:\Document Billing\Visual Studio 2008\Projects\sempak\sempak\Debug\BuildLog.htm"
1>sempak - 71 error(s), 11 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
need pencerahann
rahmat2010- C4~ Member
- Jumlah posting : 2
Reputation : 1000
Join date : 05.06.11
Re: Create WallHack PointBlank
kok cuma tahan sampai lobby az ya...
mohon pencerahannya apa ada yg salah...
mohon pencerahannya apa ada yg salah...
ozy12RM- C4~ Member
- Jumlah posting : 1
Reputation : 1000
Join date : 05.06.11
:: C++
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik