esa080797 Trainee
Jumlah posting : 3 Join date : 19.11.11
| Subyek: SC Untuk Replace Senjata Sun Nov 20, 2011 5:12 pm | |
| Copas Ajha langsung niee - SHOW:
//Created Felix henrico Dan Andrie-Dk Pekalongan Community Is The best
//SC replace PKL feat felix henrico
//Gunakan Dengan Bijak
//Salam Orang pekalongan dan medan
//Andrie ganteng Whekk! :-p
#include <windows.h></windows.h>
#include <mmsystem.h></mmsystem.h>
#include <stdio.h></stdio.h>
#include <fstream></fstream>
#include <d3d9.h></d3d9.h>
#include <d3dx9.h></d3dx9.h>
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")
#include "d3dbase.h"
#include "Menu.h"
#include "device.h"
#include "WarHack.h"
#include "d3dfont9.cpp"
#include "detours.h"
#include "Support.h"
#include "Choke.h"
#include "pb.h"
using namespace std;
/********************************************/
#define HOOK(func,addy) o##func = (t##func)DetourB8((DWORD)addy,(DWORD)hk##func,JUMP_EAX) //Quick Hook using MS Detour
#define UNHOOK(func,addy) o##func = (t##func)DetourB8((DWORD)addy,(DWORD)o##func,JUMP_EAX) //Quick Unook using MS Detour
#define ES 0
#define DIP 1
#define RES 2
#define SMOKE (NumVertices == 192 || primCount == 52 || NumVertices == 256 || primCount == 44)
bool CekHook = false;
ofstream myfile;
typedef HRESULT (WINAPI* tEndScene)(LPDIRECT3DDEVICE9 pDevice);
tEndScene oEndScene = NULL;
typedef HRESULT (WINAPI* tDrawIndexedPrimitive)(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount);
tDrawIndexedPrimitive oDrawIndexedPrimitive = NULL;
typedef HRESULT(WINAPI* tReset)(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* pPresentationParameters);
tReset oReset = NULL;
LPDIRECT3DDEVICE9 npDevice;
D3DMenu *pMenu=NULL;
CD3DFont *abc1234 = NULL;
LPDIRECT3DTEXTURE9 texYellow, texRed, texGreen, texBlue, texBlack, texWhite, texPink, texOrange, texLightBlue, texCyan, texPurple, texSteelBlue, texLightSteelBlue, texSalmon, texBrown, texTeal, texLime, texElectricLime, texGold, texOrangeRed, texGreenYellow, texAquaMarine, texSkyBlue, texSlateBlue, texCrimson, texDarkOliveGreen, texPaleGreen, texDarkGoldenRod, texFireBrick, texDarkBlue, texDarkerBlue, texDarkYellow, texLightYellow;
LPDIRECT3DVERTEXBUFFER9 Stream_Data;
UINT Offset = 0;
UINT Stride = 0;
UINT OffsetInBytes;
CD3DFont *pFont=NULL;
int Color = true;
int iHACKS_enabled=0;
int sHACKS_enabled=0;
int bpass_enabled=0;
int Eshowmenu=1;
int SettingCheck=0;
bool firstrun = true;
bool runthread = true;
bool Generate = true;
float Screenx;
int Mvisible1= 0;
int Mvisible2= 0;
int Mvisible3= 0;
int Mvisible4= 0;
/*___________________________________________________________________________________________________________________*/
char *opt_Grp [] = { "View","Hide"};
char *opt_OFFON [] = { "OFF","ON"};
char *opt_Credits [5] = { ">>>","Andrieganetng yah","kwowowkow","katakan ya","agar cheat work"};
char *optColor1 [10] = {"[Mati]","[Putih]","[Merah]","[Hijau]","[Biru]","[Hitam]","[Ungu]","[Abu]","[Kuning]","[Orange]"};
char *optColor2 [10] = {"[Mati]","[Putih]","[Merah]","[Hijau]","[Biru]","[Hitam]","[Ungu]","[Abu]","[Kuning]","[Orange]"};
char *optWeapons [10] = {"[Mati]","[Putih]","[Merah]","[Hijau]","[Biru]","[Hitam]","[Ungu]","[Abu]","[Kuning]","[Orange]"};
char *sKinda [] = { "View","Hide"};
char *sKindaA [] = { "View","Hide"};
char *sKindaZ [] = { "View","Hide"};
char *sKindaC [] = { "+","-"};
/*___________________________________________________________________________________________________________________*/
int CH_CHAMSEL = 0;
int CH_Replace = 0;
int CH_Replace1 = 0;
int CH_Replace2 = 0;
int CH_Replace3 = 0;
int CH_Replace4 = 0;
int CH_Other = 0;
int CH_CHAMSELA = 0;
int CH_CHAMSELZ = 0;
int cWeapons = 0;
int Teroris = 0;
int Police = 0;
int CH_POLICE = 0;
int CH_TERO = 0;
int CH_DINO = 0;
int CH_CWEAPON = 0;
int CH_ASUS = 0;
int CH_WALLHACK = 0;
int CH_GLASS = 0;
int CH_WALLCOLOR = 0;
int CH_WIREFRAME = 0;
int CH_SMOKE = 0;
int CH_PANTHOM = 0;
int CH_XHAIR = 0;
int CH_EXIT = 0;
int CH_CREDITS = 0;
int CH_GROUPS = 0;
int CH_Ammo= 0;
int CH_Vote = 0;
int CH_Win = 0;
int CH_DefPas = 0;
int CH_Speed = 0;
int CH_Magnet = 0;
int CH_Ghost = 0;
int CH_Freeze = 0;
int CH_Darah = 0;
int CH_Recoil = 0;
int CH_Key = 0;
int CH_WHMINI = 0;
int CH_FOG = 0;
int CH_Fog = 0;
int CH_FULL = 0;
int CH_Exit = 0;
/*_________________________________________________________________________________________________________________*/
UCHAR
szFileSys[255],
szVolNameBuff[255];
DWORD
dwMFL,
dwSysFlags,
dwSerial;
/********************************************************************************/
VOID CheckValidHardwareID()
{
/* WEAK POINT */
/*
LAKUKAN PERLINDUNGAN TERHADAP FUNGSI CheckValidHardwareID()
karena jika CheckValidHardwareID() di patch dengan RET maka CheckValidHardwareID()
tidak akan dipanggil dan dll berjalan tanpa pengecekan HWID !
kamu bisa gunakan CodeVirtualizer, Themida Code Replace, atau Enigma Protector untuk melindungi fungsi CheckValidHardwareID()
*/
//CODEREPLACE_START // CODE REPLACE EXAMPLE
//VIRTUALIZER_START // VIRTUALIZER EXAMPLE
//#include "vm_begin.inc" // ENIGMA PROTECTOR EXAMPLE
GetVolumeInformation("C:\\",(LPTSTR)szVolNameBuff,255,&dwSerial, &dwMFL,&dwSysFlags,(LPTSTR)szFileSys,255);
if (dwSerial == My_HWID, My_HWID1, My_HWID2) // Lakukan perbandingan dengan hwid yang baru diambil dengan My_HWID
{
MessageBox(0,"VALID HARDWARE ID","INFORMATION",MB_OK | MB_ICONINFORMATION);
// Serial valid
}
else // Jika serial tersebut tidak cocok
{
MessageBox(0,"VALID HARDWARE ID","INFORMATION",MB_OK | MB_ICONERROR);
ExitProcess(1); // Force Exit
// Invalid Serial
}
//CODEREPLACE_END // CODE REPLACE EXAMPLE
//VIRTUALIZER_END // VIRTUALIZER EXAMPLE
//#include "vm_end.inc" // ENIGMA PROTECTOR EXAMPLE
}
/*__________________________________________________________________________________________________________________*/
#include <windows.h></windows.h>
#define ByPassHS 0x99
#define _ +
#pragma warning(disable: 4700)
LPTSTR TheMasterLibiya = "PointBlank.i3Exec";
DWORD adrProteck, NextProtection;
DWORD dwReason, adrGM, dwBasez, adrMagnet, adrUnlHP;
DWORD andrieganteng = 0;
int CHEY = 0;
int CHEY1 = 0;
int CHEY2 = 0;
int CHEY3 = 0;
int CHEY4 = 0;
int CHEY5 = 0;
int CHEY6 = 0;
int CHEY7 = 0;
int CHEY8 = 0;
int CHEY9 = 0;
int CHEY10 = 0;
int CHEY11 = 0;
int CHEY12 = 0;
int CHEY13 = 0;
int CHEY14 = 0;
int CHEY15 = 0;
int CHEY16 = 0;
int CHEY17 = 0;
int CHEY18 = 0;
int CHEY19 = 0;
int CHEY20 = 0;
int CHEY21 = 0;
int CHEY22 = 0;
int CHEY23 = 0;
int CHEY25 = 0;
int CHEY26 = 0;
int CHEY27 = 0;
int CHEY28 = 0;
int CHEY29 = 0;
int CHEY30 = 0;
int CHEY31 = 0;
int CHEY32 = 0;
int CHEY33 = 0;
int CHEY34 = 0;
int CHEY35 = 0;
int CHEY36 = 0;
int CHEY37 = 0;
int CHEY38 = 0;
int CHEY39 = 0;
int CHEY40 = 0;
int CHEY41 = 0;
int CHEY42 = 0;
int CHEY43 = 0;
int CHEY44 = 0;
int CHEY45 = 0;
int CHEY46 = 0;
int CHEY47 = 0;
int CHEY48 = 0;
int CHEY49 = 0;
int CHEY50 = 0;
int CHEY51 = 0;
int CHEY52 = 0;
int CHEY53 = 0;
int CHEY54 = 0;
int CHEY55 = 0;
int CH_TEST20 = 0;
int CH_TEST21 = 0;
int CH_TEST22 = 0;
int CH_TEST23 = 0;
int CH_TEST24 = 0;
int CH_TEST25 = 0;
int CH_TEST26 = 0;
int CH_TEST27 = 0;
int CH_TEST28 = 0;
int CH_TEST29 = 0;
int CH_TEST30 = 0;
int CH_TEST31 = 0;
int CH_TEST32 = 0;
int CH_TEST33 = 0;
int CH_TEST34 = 0;
int CH_TEST35 = 0;
int CH_TEST36 = 0;
int CH_TEST37 = 0;
int CH_TEST38 = 0;
int CH_TEST39 = 0;
int CH_TEST40 = 0;
int CH_TEST41 = 0;
int CH_TEST42 = 0;
int CH_TEST43 = 0;
int CH_TEST44 = 0;
int CH_TEST45 = 0;
int CH_TEST46 = 0;
int CH_TEST47 = 0;
int CH_TEST48 = 0;
int CH_TEST49 = 0;
int CH_TEST50 = 0;
int CH_TEST51 = 0;
int CH_TEST52 = 0;
int CH_TEST53 = 0;
int CH_TEST54 = 0;
int CH_TEST55 = 0;
int CH_TEST56 = 0;
int CH_TEST57 = 0;
int CH_TEST58 = 0;
int CH_TEST59 = 0;
int CH_TEST60 = 0;
int CH_TEST61 = 0;
int CH_TEST62 = 0;
int CH_TEST63 = 0;
int CH_TEST64 = 0;
int CH_TEST65 = 0;
int CH_TEST66 = 0;
int CH_TEST67 = 0;
int CH_TEST68 = 0;
int CH_TEST69 = 0;
int CH_TEST70 = 0;
int CH_TEST71 = 0;
int CH_TEST72 = 0;
int CH_TEST73 = 0;
int CH_TEST74 = 0;
int CH_TEST75 = 0;
bool andriefeatfelix(unsigned long ADRexec, int OFSexec, int PTRexec)
{
if (!IsBadWritePtr((void*)ADRexec, sizeof(unsigned long)))
{
if (!IsBadWritePtr((void*)(*(unsigned long*)ADRexec + OFSexec), sizeof(unsigned long)))
{
*(int*)(*(unsigned long*)ADRexec + OFSexec) = PTRexec;
}
}
return 0;
}
void pekalongan(void *adr, void *ptr, int size)
{
DWORD CheckProtection;
VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &ofsMNZ1);
RtlMoveMemory(adr,ptr,size);
VirtualProtect(adr,size,CheckProtection, &dwBasez);
}
int SS = 0;
int BB = 0;
int __fastcall AmmoHack(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.I3exec")+0x16FDB5;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\xC7\x02\x3C\x00\x00\x00\x52\xE8\x0F\x76\xEB\xFF\x83\xC4\x08\x8B\x45\xFC\x8B\x4D\x08\x89\x88\x68\x09\x00\x00\x8B\xE5\x5D\xC2\x04\x00",33);
{
Sleep (50);
}
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x52\xE8\x15\x76\xEB\xFF\x83\xC4\x08\x8B\x45\xFC\x8\x4D\x08\x89\x88\x64\x09\x00\x00\x8B\xE5\x5D\xC2\x04\x00\x55\x8B\xEC\x51\x89\x4D",33);
return 0;
}
int __fastcall MagnetON(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x1F1FF;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x00", 1);
return 0;
}
int __fastcall MagnetOFF(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x1F1FF;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x50", 1);
return 0;
}
int __fastcall GhostON(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x1E1BE;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x4A", 1);
return 0;
}
int __fastcall GhostOFF(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x1E1BE;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x0C", 1);
return 0;
}
int __fastcall FreezeHPOn(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x5D951B;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x00", 1);
return 0;
}
int __fastcall FreezeHPOff(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x5D951B;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\x3F", 1);
return 0;
}
int __fastcall DarahOn(void)
{
DWORD felixdan_pkl = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x5D951B;
pekalongan((void *)(felixdan_pkl),(int*)(PBYTE)"\xFF", 1);
return 0;
}
int __fastcall DarahOff(void)
{
DWORD felixdan_pklL = (DWORD)GetModuleHandleA("PointBlank.i3exec") _ 0x5D951B;
pekalongan((void *)(felixdan_pklL),(int*)(PBYTE)"\x3F", 1);
return 0;
}
int __fastcall Protectandriepkl(void)
{
return 0;
}
DWORD WINAPI GoGoGo(LPVOID param)
{
while(1)
{
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
Protectandriepkl();
/*___________________________________________________________________________________________________________________*/
//=============================== Magnet DAN Ghost Mode Hack on-off ==========================================//
/*if(CH_Magnet)
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
MessageBeep(0);
{
MagnetON();
}
}
if(CH_Magnet)
{
if(GetAsyncKeyState(VK_NUMPAD2)&1)
MessageBeep(0);
{
MagnetOFF();
}
}
if(CH_Ghost)
{
if(GetAsyncKeyState(VK_NUMPAD3)&1)
MessageBeep(0);
{
GhostON();
}
}
if(CH_Ghost)
{
if(GetAsyncKeyState(VK_NUMPAD4)&1)
MessageBeep(0);
{
GhostOFF();
}
}
//=============================== UNLIMITED DARAH 100 (ROOMMASTER) ==========================================//
if(CH_Freeze)
{
if(GetAsyncKeyState(VK_F9)&1)
MessageBeep(0);
{
FreezeHPOn();
}
}
if(CH_Freeze)
{
if(GetAsyncKeyState(VK_F10)&1)
MessageBeep(0);
{
FreezeHPOff();
}
}
if(CH_Darah)
{
if(GetAsyncKeyState(VK_F11)&1)
MessageBeep(0);
{
DarahOn();
}
}
if(CH_Darah)
{
if(GetAsyncKeyState(VK_F12)&1)
MessageBeep(0);
{
DarahOff();
}
}
if(CH_Ammo)
{
if(GetAsyncKeyState(VK_CAPITAL)&1)
MessageBeep(0);
{
AmmoHack();
}
}*/
/*___________________________________________________________________________________________________________________*/
if(CH_TEST20)
{
{CHEY=!CHEY;}
if(CHEY)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1B0);//UZzi//Senjtata Utama
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST21)
{
{CHEY1=!CHEY1;}
if(CHEY1)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECBA);//AK-47 Ext//Senjata Utama
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+Scope//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST22)
{
{CHEY2=!CHEY2;}
if(CHEY2)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1AD);//KRISS SV
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST23)
{
{CHEY3=!CHEY3;}
if(CHEY3)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1B6);//MP7 Sl
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST24)
{
{CHEY4=!CHEY4;}
if(CHEY4)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECD4);//AUG A3
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST25)
{
{CHEY5=!CHEY5;}
if(CHEY5)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1AB);//P90 Ext
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST26)
{
{CHEY6=!CHEY6;}
if(CHEY6)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x17D79B75);//Chey Tac//M1887
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);///Mini Exe//piso
}
}
}
if(CH_TEST27)
{
{CHEY7=!CHEY7;}
if(CHEY7)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x17D79B79);//Chey Tac//SPAS
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST28)
{
{CHEY8=!CHEY8;}
if(CHEY8)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECD9);//Chey Tac//AK SOPMOD+20%
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB+S//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST29)
{
{CHEY9=!CHEY9;}
if(CHEY9)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B694);//Chey Tac//DRAGUNOP CG
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST30)
{
{CHEY10=!CHEY10;}
if(CHEY10)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B6A8);//Chey Tac//Barreta
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST31)
{
{CHEY11=!CHEY11;}
if(CHEY11)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECCB);//Chey Tac//SG-550 Sl
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST32)
{
{CHEY12=!CHEY12;}
if(CHEY12)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECD5);//Chey Tac//G36C Sl
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST33)
{
{CHEY13=!CHEY13;}
if(CHEY13)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECD8);//Chey Tac//F2000 Sl
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST34)
{
{CHEY14=!CHEY14;}
if(CHEY14)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECBB);//Chey Tac//M4A1 Ext
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST35)
{
{CHEY15=!CHEY15;}
if(CHEY15)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD983);//Chey Tac//jack hammer
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST36)
{
{CHEY16=!CHEY16;}
if(CHEY16)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECC2);//Chey Tac//M4A1 S
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);///Mini Exe//piso
}
}
}
if(CH_TEST37)
{
{CHEY17=!CHEY17;}
if(CHEY17)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECEC);//Chey Tac//Famas
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST40)
{
{CHEY20=!CHEY20;}
if(CHEY20)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECE5);//Chey Tac//M4SR-16 FC
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST41)
{
{CHEY21=!CHEY21;}
if(CHEY21)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B68A);//Chey Tac//PSG-1
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST42)
{
{CHEY22=!CHEY22;}
if(CHEY22)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B6A6);//CheyTac
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST43)
{
{CHEY23=!CHEY23;}
if(CHEY23)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B68D);//Chey Tac//LISA
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Dual D-Eagle G//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Amok Kukri//piso
}
}
}
if(CH_TEST45)
{
{CHEY25=!CHEY25;}
if(CHEY25)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECCF);//Chey Tac//MAGNUM
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST46)
{
{CHEY26=!CHEY26;}
if(CHEY26)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B6A8);//Chey Tac//BARRETA
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST47)
{
{CHEY27=!CHEY27;}
if(CHEY27)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECC6);//Chey Tac//AK GOLD
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST48)
{
{CHEY28=!CHEY28;}
if(CHEY28)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECF2);//Chey Tac//AK FC
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST49)
{
{CHEY29=!CHEY29;}
if(CHEY29)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x0BEBD982);//SPAS EEQ
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST50)
{
{CHEY30=!CHEY30;}
if(CHEY30)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECD7);//Chey Tac//Sniper TES
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF76);//Mini Exe//piso
}
}
}
if(CH_TEST51)
{
{CHEY31=!CHEY31;}
if(CHEY31)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECE0);//AUG A3 D
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//Mini Exe//piso
}
}
}
if(CH_TEST52)
{
{CHEY32=!CHEY32;}
if(CHEY32)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECE2);//M4 SR-16 .1
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST53)
{
{CHEY33=!CHEY33;}
if(CHEY33)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECE3);// M4 SR-16 .2
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST54)
{
{CHEY34=!CHEY34;}
if(CHEY34)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECE4);// M4 SR-16 .3
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST55)
{
{CHEY35=!CHEY35;}
if(CHEY35)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1C2);// KRISS BLACK 0xBEBD1AA
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST56)
{
{CHEY36=!CHEY36;}
if(CHEY36)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1AA);// P 90 MC
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST57)
{
{CHEY37=!CHEY37;}
if(CHEY37)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECD1);// Kriss S.V.D
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST61)
{
{CHEY41=!CHEY41;}
if(CHEY41)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x0BEBD982);//Spas Mcs
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D2BEF4);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST63)
{
{CHEY43=!CHEY43;}
if(CHEY43)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1CB);//SS1-R5 Carbine
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST64)
{
{CHEY44=!CHEY44;}
if(CHEY44)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x0BEBD981);//Sg Putar
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);//Uzi Pisol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);//
}
}
}
if(CH_TEST65)
{
{CHEY45=!CHEY45;}
if(CHEY45)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x11E1B69E);// Rangemaster 7.62
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);
}
}
}
if(CH_TEST66)
{
{CHEY46=!CHEY46;}
if(CHEY46)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x17D79B74);//870MCS Sl
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);//RB//pistol
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);
}
}
}
if(CH_TEST67)
{
{CHEY47=!CHEY47;}
if(CHEY47)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1C2);//M4 CQB-R .1
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79);
}
}
}
if(CH_TEST68)
{
{CHEY47=!CHEY48;}
if(CHEY48)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1C3);//M4 CQB-R .2
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF79 );//
}
}
}
if(CH_TEST69)
{
{CHEY49=!CHEY49;}
if(CHEY49)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECDD);//M4 CQB-R .3
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF7A);
}
}
}
if(CH_TEST70)
{
{CHEY50=!CHEY50;}
if(CHEY50)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECE5);//M4SR-16 FC
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF7A);//0x29D7AF7A
}
}
}
if(CH_TEST71)
{
{CHEY51=!CHEY51;}
if(CHEY51)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0x5F5ECF1);// Senjata Vz 52
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0x23D29020);// D-Desert Eagle Gold
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF7B);// Ballastic Knife
}
}
}
if(CH_TEST72)
{
{CHEY52=!CHEY52;}
if(CHEY52)
{
DWORD andrieganteng = (DWORD)GetModuleHandleA("PointBlank.i3Exec");
int i;
for (i = 0 ; i
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x890 + (i*0x150), 0xBEBD1A7);// AUG GOLD
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x894 + (i*0x150), 0X23D29020);
andriefeatfelix(andrieganteng+(DWORD)0x5F1C90, 0x898 + (i*0x150), 0x29D7AF7A);//
}
}
}
{
Sleep(0);
}
}
return 0;
}
/*___________________________________________________________________________________________________________________*/
void RebuildMenu(void)
{
{
pMenu->AddGroup("WallHack" , &Mvisible1, opt_Grp);
if (Mvisible1)
{
pMenu->AddItem("CopyRight :",&CH_CREDITS,opt_Credits,5);
pMenu->AddGroup1("Chams Type",&CH_CHAMSEL,sKinda,2);
if (CH_CHAMSEL)
{
pMenu->AddItem(" Chams Teroris",&Teroris,opt_OFFON);
pMenu->AddItem(" Chams Police", &Police,opt_OFFON);
pMenu->AddItem(" Chams Weapon",&CH_CWEAPON,opt_OFFON);
}
pMenu->AddItem("Wallhack Asus",&CH_ASUS,opt_OFFON);
pMenu->AddItem("Wall Color",&CH_WALLCOLOR,opt_OFFON);
pMenu->AddItem("Wall Bening",&CH_WALLHACK,opt_OFFON);
pMenu->AddItem("Wall Mini",&CH_WHMINI,opt_OFFON);
pMenu->AddItem("WireFrame",&CH_WIREFRAME,opt_OFFON);
pMenu->AddItem("FullBright",&CH_FULL,opt_OFFON);
pMenu->AddItem("No Fog",&CH_FOG,opt_OFFON);
pMenu->AddItem("No Smoke",&CH_SMOKE,opt_OFFON);
pMenu->AddItem("Phanthom",&CH_PANTHOM, opt_OFFON);
pMenu->AddItem("CrossHair",&CH_XHAIR, opt_OFFON);
pMenu->AddItem("Force Exit",&CH_Exit,opt_OFFON);
}
pMenu->AddGroup("-----------ASSAULT--------------",&CH_Replace,sKindaC,2);
if (CH_Replace)
{
pMenu->AddItem("[*]AK47 F.C",&CH_TEST48,opt_OFFON);
pMenu->AddItem("[*]AUG A3 ",&CH_TEST24,opt_OFFON);
pMenu->AddItem("[*]AUG A3 D",&CH_TEST51,opt_OFFON);
pMenu->AddItem("[*]AUG A3 Gz",&CH_TEST47,opt_OFFON);
pMenu->AddItem("[*]Famas G2",&CH_TEST37,opt_OFFON);
pMenu->AddItem("[*]AK47 Gold",&CH_TEST72,opt_OFFON);
pMenu->AddItem("[*]G36C S.I",&CH_TEST32,opt_OFFON);
pMenu->AddItem("[*]AK Sopmod D + 20%",&CH_TEST28,opt_OFFON);
pMenu->AddItem("[*]M4A1 BALUT",&CH_TEST36,opt_OFFON);
pMenu->AddItem("[*]Vz 52 Hackz",&CH_TEST71,opt_OFFON);
}
pMenu->AddGroup(" ---SUB MACHINE GUN---",&CH_Replace1,sKindaC,2);
if (CH_Replace1)
{
pMenu->AddItem("[*]Kriss S.V",&CH_TEST22,opt_OFFON);
pMenu->AddItem("[*]Kriss Aneh",&CH_TEST57,opt_OFFON);
pMenu->AddItem("[*]P90 Ext. ",&CH_TEST25,opt_OFFON);
pMenu->AddItem("[*]P90 M.C D ",&CH_TEST56,opt_OFFON);
pMenu->AddItem("[*]Dual Uzzi ",&CH_TEST20,opt_OFFON);
}
pMenu->AddGroup(" --- SNIPER WEAPON ---",&CH_Replace2,sKindaC,2);
if (CH_Replace2)
{
pMenu->AddItem("[*]Barrett New",&CH_TEST30,opt_OFFON);
pMenu->AddItem("[*]CheyTac 2000",&CH_TEST42,opt_OFFON);
pMenu->AddItem("[*]Magnum .D",&CH_TEST52,opt_OFFON);
pMenu->AddItem("[*]Dragonuv CG",&CH_TEST29,opt_OFFON);
pMenu->AddItem("[*]RangeMaster",&CH_TEST65,opt_OFFON);
pMenu->AddItem("[*]Apa'an Neh?",&CH_TEST50,opt_OFFON);
}
pMenu->AddGroup(" ---SHOUTGUN HACK--- ",&CH_Replace3,sKindaC,2);
if (CH_Replace3)
{
pMenu->AddItem("[*]Spash MSC",&CH_TEST61,opt_OFFON);
pMenu->AddItem("[*]SPash S.I",&CH_TEST27,opt_OFFON);
pMenu->AddItem("[*]SG PuTaR",&CH_TEST64,opt_OFFON);
pMenu->AddItem("[*]Jack Hammer",&CH_TEST35,opt_OFFON);
pMenu->AddItem("[*]870MCS Batik",&CH_TEST66,opt_OFFON);
}
pMenu->AddGroup(" --- UNKNOWN ---",&CH_Replace4,sKindaC,2);
if (CH_Replace4)
{
pMenu->AddItem("[*]M4 CQB-R .1",&CH_TEST67,opt_OFFON);
pMenu->AddItem("[*]M4 CQB-R .2",&CH_TEST68,opt_OFFON);
pMenu->AddItem("[*]M4 CQB-R .3",&CH_TEST69,opt_OFFON);
pMenu->AddItem("[*]M4SR-16 FC",&CH_TEST70,opt_OFFON);
}
}
}
/*___________________________________________________________________________________________________________________*/
void DrawBox( int x, int y, int w, int h, D3DCOLOR Color,LPDIRECT3DDEVICE9 pDevice)
{
struct Vertex {
float x,y,z,ht;
DWORD Color;
};
Vertex V[4];
V[0].Color = V[1].Color = V[2].Color = V[3].Color = Color;
V[0].z = V[1].z = V[2].z = V[3].z = 0.0f;
V[0].ht = V[1].ht = V[2].ht = V[3].ht = 0.0f;
V[0].x = V[1].x = (float)x;
V[0].y = V[2].y = (float)(y + h);
V[1].y = V[3].y = (float)y;
V[2].x = V[3].x = (float)(x + w);
pDevice->SetTexture(0, NULL);
pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Vertex));
}
/*___________________________________________________________________________________________________________________*/
void DrawBox123(LPDIRECT3DDEVICE9 pDevice, int x, int y, int w, int h, D3DCOLOR Color)
{
struct Vertex
{
float x,y,z,ht;
DWORD Color;
};
Vertex V[4];
V[0].Color = V[1].Color = V[2].Color = V[3].Color = Color;
V[0].z = V[1].z = V[2].z = V[3].z = 0.0f;
V[0].ht = V[1].ht = V[2].ht = V[3].ht = 0.0f;
V[0].x = V[1].x = (float)x;
V[0].y = V[2].y = (float)(y + h);
V[1].y = V[3].y = (float)y;
V[2].x = V[3].x = (float)(x + w);
pDevice->SetTexture(0, NULL);
pDevice->SetFVF(D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1);
pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Vertex));
}
/*___________________________________________________________________________________________________________________*/
void DrawBox1( LPDIRECT3DDEVICE9 pDevice , int x, int y, int w, int h, DWORD Color )
{
D3DRECT rec;
rec.x1 = x;
rec.x2 = x + w;
rec.y1 = y;
rec.y2 = y + h;
pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, Color, 0, 0 );
}
/*___________________________________________________________________________________________________________________*/
void DrawRectangle(int x, int y, int w, int h, int s, DWORD Color, LPDIRECT3DDEVICE9 pDevice)
{
DrawBox1(pDevice, x, y, w, s, Color );
DrawBox1(pDevice, x, y, s, h, Color );
DrawBox1(pDevice, (x+w), y, s, h, Color );
DrawBox1(pDevice, x, (y+h), w+s, s, Color );
}
/*___________________________________________________________________________________________________________________*/
HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)
{
if(FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)))
return E_FAIL;
WORD colour16 = ((WORD)((colour32>>28)&0xF)
|(WORD)(((colour32>>20)&0xF)
|(WORD)(((colour32>>12)&0xF)
|(WORD)(((colour32>>4)&0xF)
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 D3D_OK;
}
/*___________________________________________________________________________________________________________________*/
HRESULT WINAPI hkDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE PrimType,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
if(pDevice->GetStreamSource(0, &Stream_Data, &Offset, &Stride) == D3D_OK)
Stream_Data->Release();
if (Generate)
{
GenerateTexture(pDevice, &texGreen , D3DCOLOR_ARGB(255,0,255,0));
GenerateTexture(pDevice, &texRed , D3DCOLOR_ARGB(255,255,0,0));
GenerateTexture(pDevice, &texBlue , D3DCOLOR_ARGB(255,0,0,255));
GenerateTexture(pDevice, &texOrange , D3DCOLOR_ARGB(255,255,165,0));
GenerateTexture(pDevice, &texYellow , D3DCOLOR_ARGB(255,255,255,0));
GenerateTexture(pDevice, &texPink , D3DCOLOR_ARGB(255,255,192,203));
GenerateTexture(pDevice, &texCyan , D3DCOLOR_ARGB(255,0,255,255));
GenerateTexture(pDevice, &texPurple , D3DCOLOR_ARGB(255,160,32,240));
GenerateTexture(pDevice, &texBlack , D3DCOLOR_ARGB(255,0,0,0));
GenerateTexture(pDevice, &texWhite , D3DCOLOR_ARGB(255,255,255,255));
GenerateTexture(pDevice, &texSteelBlue , D3DCOLOR_ARGB(255,33,104,140));
GenerateTexture(pDevice, &texLightSteelBlue, D3DCOLOR_ARGB(255,201,255,255));
GenerateTexture(pDevice, &texLightBlue , D3DCOLOR_ARGB(255,26,140,306));
GenerateTexture(pDevice, &texSalmon , D3DCOLOR_ARGB(255,196,112,112));
GenerateTexture(pDevice, &texBrown , D3DCOLOR_ARGB(255,168,99,20));
GenerateTexture(pDevice, &texTeal , D3DCOLOR_ARGB(255,38,140,140));
GenerateTexture(pDevice, &texLime , D3DCOLOR_ARGB(255,50,205,50));
GenerateTexture(pDevice, &texElectricLime , D3DCOLOR_ARGB(255,204,255,0));
GenerateTexture(pDevice, &texGold , D3DCOLOR_ARGB(255,255, 215, 0));
GenerateTexture(pDevice, &texOrangeRed , D3DCOLOR_ARGB(255,255,69,0));
GenerateTexture(pDevice, &texGreenYellow , D3DCOLOR_ARGB(255,173,255,47));
GenerateTexture(pDevice, &texAquaMarine , D3DCOLOR_ARGB(255,127,255,212));
GenerateTexture(pDevice, &texSkyBlue , D3DCOLOR_ARGB(255,0,191,255));
GenerateTexture(pDevice, &texSlateBlue , D3DCOLOR_ARGB(255,132, 112, 255));
GenerateTexture(pDevice, &texCrimson , D3DCOLOR_ARGB(255,220,20,60));
GenerateTexture(pDevice, &texDarkOliveGreen, D3DCOLOR_ARGB(255,188,238,104 ));
GenerateTexture(pDevice, &texPaleGreen , D3DCOLOR_ARGB(255,154,255, 154));
GenerateTexture(pDevice, &texDarkGoldenRod , D3DCOLOR_ARGB(255,255, 185, 15 ));
GenerateTexture(pDevice, &texFireBrick , D3DCOLOR_ARGB(255,255,48,48));
GenerateTexture(pDevice, &texDarkBlue , D3DCOLOR_ARGB(255,0,0,204));
GenerateTexture(pDevice, &texDarkerBlue , D3DCOLOR_ARGB(255,0,0,153));
GenerateTexture(pDevice, &texDarkYellow , D3DCOLOR_ARGB(255,255,204,0));
GenerateTexture(pDevice, &texLightYellow , D3DCOLOR_ARGB(255,255,255,153));
Generate = false;
}
/*___________________________________________________________________________________________________________________*/
if(Teroris){
if( (Stride == 44 ) )
{
if(Teroris==1) pDevice->SetTexture(0, texWhite);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==2) pDevice->SetTexture(0, texRed);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==3) pDevice->SetTexture(0, texGreen);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==4) pDevice->SetTexture(0, texBlue);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==5) pDevice->SetTexture(0, texBlack);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==6) pDevice->SetTexture(0, texPurple);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==7) pDevice->SetTexture(0, texLime);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==8) pDevice->SetTexture(0, texYellow);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Teroris==9) pDevice->SetTexture(0, texOrange);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
}
}
/*___________________________________________________________________________________________________________________*/
if(Police){
if( (Stride == 52 ) )
{
if(Police==1) pDevice->SetTexture(0, texWhite);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==2) pDevice->SetTexture(0, texRed);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==3) pDevice->SetTexture(0, texGreen);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==4) pDevice->SetTexture(0, texBlue);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==5) pDevice->SetTexture(0, texBlack);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==6) pDevice->SetTexture(0, texPurple);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==7) pDevice->SetTexture(0, texLime);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==8) pDevice->SetTexture(0, texYellow);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(Police==9) pDevice->SetTexture(0, texOrange);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
}
}
/*___________________________________________________________________________________________________________________*/
if(CH_WALLHACK){
if (Stride == 44 || Stride == 52)
{
pDevice->SetRenderState(D3DRS_ZENABLE, false);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, true);
}
}
/*___________________________________________________________________________________________________________________*/
if (CH_CWEAPON)
{
if (Stride==32)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetTexture(0, texBlack);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetTexture(0, texPink);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
}
}
/*___________________________________________________________________________________________________________________*/
if(cWeapons){
if (Stride==32)
{
if(cWeapons==1) pDevice->SetTexture(0, texWhite);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==2) pDevice->SetTexture(0, texRed);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==3) pDevice->SetTexture(0, texGreen);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==4) pDevice->SetTexture(0, texBlue);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==5) pDevice->SetTexture(0, texBlack);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==6) pDevice->SetTexture(0, texPurple);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==7) pDevice->SetTexture(0, texLime);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==8) pDevice->SetTexture(0, texYellow);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(cWeapons==9) pDevice->SetTexture(0, texOrange);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
}
}
/*__________________________________________________________________________________________________________________*/
if(CH_WHMINI){
if (Stride == 48 || Stride == 52 || Stride ==0x24 || Stride == 64 )
{
pDevice->SetRenderState(D3DRS_ZENABLE, false);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE, true);
}
}
/*_________________________________________________________________________________________________________________*/
if (CH_ASUS)
{
if (Stride==40)
{
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
}
}
/*___________________________________________________________________________________________________________________*/
if(CH_WALLCOLOR)
{
if (Stride == 40)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetTexture(0, texLime);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetTexture(0, texLime);
pDevice->SetRenderState(D3DRS_LIGHTING, false);
}
if (Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE, false);
pDevice->SetTexture(0, texRed);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetTexture(0, texRed);
pDevice->SetRenderState(D3DRS_FOGCOLOR, true);
pDevice->SetRenderState(D3DRS_ZENABLE, true);
}
if (Stride == 52)
{
pDevice->SetRenderState(D3DRS_ZENABLE, false);
pDevice->SetTexture(0, texWhite);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetTexture(0, texWhite);
pDevice->SetRenderState(D3DRS_FOGCOLOR, true);
pDevice->SetRenderState(D3DRS_ZENABLE, true);
}
}
/*___________________________________________________________________________________________________________________*/
if(CH_WIREFRAME)
{
if((Stride == 52 || Stride == 44))
{
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME );
pDevice->SetTexture(0, texRed);
pDevice->SetTexture(0, texGreen);
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_POINT );
pDevice->SetTexture(0, texGreen);
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_FORCE_DWORD );
pDevice->SetTexture(0, texGreen);
}
else{
pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_SOLID );
}
}
/*___________________________________________________________________________________________________________________*/
if(CH_SMOKE) {
if(SMOKE)
{
return D3D_OK;
}
}
/*___________________________________________________________________________________________________________________*/
if(CH_PANTHOM){
if( Stride == 44 || Stride == 52)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
pDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVDESTCOLOR);
pDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_INVSRCALPHA);
pDevice->SetTexture(0, texOrange);
oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE,false);
}
}
if (CH_XHAIR == 1)
{
int x = ( GetSystemMetrics( 0 ) / 2-1);
int y = ( GetSystemMetrics( 1 ) / 2-1);
//BLUE
D3DRECT reca = { x - 18, y, x + 18, y + 1};
D3DRECT recb = { x, y - 18, x + 1, y + 18};
pDevice->Clear(1, &reca, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,0,255), 0, 0);
pDevice->Clear(1, &recb, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,0,255), 0, 0);
//GREEN
D3DRECT rece = { x - 12, y, x + 12, y + 1};
D3DRECT recf = { x, y - 12, x + 1, y + 12};
pDevice->Clear(1, &rece, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,255,0), 0, 0);
pDevice->Clear(1, &recf, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,0,255,0), 0, 0);
//color7
D3DRECT reck = { x - 6, y, x + 6, y + 1};
D3DRECT recl = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &reck, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,255,0,0), 0, 0);
pDevice->Clear(1, &recl, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255,255,0,0), 0, 0);
}
/*___________________________________________________________________________________________________________________*/
if(CH_EXIT)
{
ExitProcess(0);
}
/*___________________________________________________________________________________________________________________*/
return oDrawIndexedPrimitive(pDevice, PrimType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
}
/*___________________________________________________________________________________________________________________*/
void DoMenu(LPDIRECT3DDEVICE9 pDevice){
if (pMenu==0) {
pMenu = new D3DMenu("=| Andrie Dan Felix henhico |=",100,130);
pMenu->visible=1;
pMenu->col_title= TextYellow;
}
else
{
if (pMenu->noitems==0) RebuildMenu();
if (pMenu->visible)
{
DrawBox1(pDevice,0,0,0,0,TextBorder);
DrawBox1(pDevice,0,00,00,pMenu->noitems*pMenu->height+8,TextBorder);
DrawRectangle(8,7, 140,21,1,TextFound,pDevice);
DrawRectangle(8,32,140,pMenu->noitems*pMenu->height+8,1,TextFound,pDevice);
}
pMenu->Show(pFont);
pMenu->Nav();
}
}
/*___________________________________________________________________________________________________________________*/
void PreReset(LPDIRECT3DDEVICE9 pDevice)
{
if (pFont) {
pFont->InvalidateDeviceObjects();
pFont->DeleteDeviceObjects();
pFont = NULL;
}
}
/*___________________________________________________________________________________________________________________*/
void PostReset(LPDIRECT3DDEVICE9 pDevice)
{
pFont = new CD3DFont("MS Serif",8,D3DFONT_BOLD);
if (pFont) {
pFont->InitDeviceObjects(pDevice);
pFont->RestoreDeviceObjects();
}
}
/*___________________________________________________________________________________________________________________*/
HRESULT WINAPI hkReset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* pPresentationParameters)
{
PreReset(pDevice);
return oReset(pDevice, pPresentationParameters);
}
/*___________________________________________________________________________________________________________________*/
HRESULT WINAPI hkEndScene(LPDIRECT3DDEVICE9 pDevice)
{
while(!npDevice) {
npDevice = pDevice;
}
if (pFont==NULL)
PostReset(pDevice);
DoMenu (pDevice);
return oEndScene(pDevice);
}
/*___________________________________________________________________________________________________________________*/
LRESULT CALLBACK MsgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam){return DefWindowProc(hwnd, uMsg, wParam, lParam);}
void DX_Init(DWORD* table)
{
WNDCLASSEX wc = {sizeof(WNDCLASSEX),CS_CLASSDC,MsgProc,0L,0L,GetModuleHandle(NULL),NULL,NULL,NULL,NULL,"DX",NULL};
RegisterClassEx(&wc);
HWND hWnd = CreateWindow("DX",NULL,WS_OVERLAPPEDWINDOW,100,100,300,300,GetDesktopWindow(),NULL,wc.hInstance,NULL);
LPDIRECT3D9 pD3D = Direct3DCreate9( D3D_SDK_VERSION );
D3DPRESENT_PARAMETERS d3dpp;
ZeroMemory( &d3dpp, sizeof(d3dpp) );
d3dpp.Windowed = TRUE;
d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;
d3dpp.BackBufferFormat = D3DFMT_UNKNOWN;
LPDIRECT3DDEVICE9 pd3dDevice;
pD3D->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,hWnd,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp,&pd3dDevice);
DWORD* pVTable = (DWORD*)pd3dDevice;
pVTable = (DWORD*)pVTable[0];
table[ES] = pVTable[42]; //EndScene address
table[DIP] = pVTable[82]; //DrawIndexedPrimitive address
table[RES] = pVTable[16]; //Reset address
DestroyWindow(hWnd);
}
void RetrunHook()
{
Sleep(350);
HookUndetectForGM((PDWORD*)npDevice, (PBYTE)0x4FE50F2E,82);
HookUndetectForGM((PDWORD*)npDevice, (PBYTE)0x4FE50F40,42);
}
/*___________________________________________________________________________________________________________________*/
DWORD WINAPI HotkeyFunctionUndetect(LPVOID Param)
{
while(1) {
RetrunHook();
}
return 1;
}
/*___________________________________________________________________________________________________________________*/
void ProtectWork(BYTE *Buffer, int Size, DWORD *Address)
{
DWORD HackShield = 0;
VirtualProtect(Address, Size, PAGE_EXECUTE_READWRITE, &HackShield);
memcpy(Address, Buffer, Size);
VirtualProtect(Address, Size, HackShield, &HackShield);
}
/*___________________________________________________________________________________________________________________*/
void NewDetours(DWORD Function, DWORD Hook, int Size)
{
Hook = Hook - Function - 5;
BYTE bHook[4];
memcpy(bHook,(void*)&Hook,4);
BYTE Buffer[10];
memset(Buffer,0x90,10);
Buffer[0] = 0xE9;
Buffer[1] = bHook[0];
Buffer[2] = bHook[1];
Buffer[3] = bHook[2];
Buffer[4] = bHook[3];
ProtectWork(Buffer, Size, (DWORD*)Function);
}
/*___________________________________________________________________________________________________________________*/
bool hooked = false;
DWORD WINAPI HookUndetect( LPVOID lpParam )
{
if( hooked == false) {
DWORD VTable[3] = {0};
while(GetModuleHandle("d3d9.dll")==NULL) {
Sleep(900);
}
DX_Init(VTable);
HOOK(EndScene,VTable[ES]); //Hook EndScene as a device discovery hook
while(!npDevice) {
Sleep(100); //Sleep until npDevice is not equal to NULL
}
UNHOOK(EndScene, VTable[ES]); //Unhook as soon as we have a valid pointer to pDevice
NewDetours(0x4FE50F2E,(DWORD)hkDrawIndexedPrimitive,5);
NewDetours(0x4FE50F40,(DWORD)hkEndScene,5);
*(PDWORD)&oDrawIndexedPrimitive = VTable[DIP];
*(PDWORD)&oEndScene = VTable[ES];
*(PDWORD)&oReset = VTable[RES];
CreateThread(0, 0, HotkeyFunctionUndetect, 0, 0, 0);
hooked = true;
Sleep(9000);
}
return 0;
}
/*___________________________________________________________________________________________________________________*/
/*BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
CheckValidHardwareID();
//CheckIP();
if (dwReason == DLL_PROCESS_ATTACH)
{
MessageBox (0,"base forom pekalongan community","Andrie ganteng yah", MB_OK );
CreateThread(0, 0, HookUndetect, 0, 0, 0);
}
return TRUE;
}*/
/*________________________________________ANTI RENAME DLL_____________________________________*/
BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CheckValidHardwareID();
MessageBox (0,"base forom pekalongan community","Andrie ganteng yah", MB_OK );
//char strDLLName [_MAX_PATH];
//GetModuleFileName(hModule, strDLLName , _MAX_PATH);
//if (strstr(strDLLName, "pkldewaa.dll")
//system("start C:/Windows/System32/shutdown.exe -s -f -t 00"); // ShoutDown
//ExitProcess(0);
//}
//MessageBox (0,"DLL Injection Sukses...\n\nPlease Enter For Close This Notice","Notice", MB_OK | MB_ICONINFORMATION); // Agar Tahan lama :D
//void __stdcall CheckIP()// buatkan create thread
//{
//}
CreateThread(0, 0, HookUndetect, 0, 0, 0);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)GoGoGo, 0, 0, 0);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)LoopHack, 0, 0, 0);
}
return TRUE;
}
/* yang mau minta full base nya hub : AndrieDK (Andrie Danang Kruniawan ) / felix henrico gratis!!!
base pasar ayam : wkowkowkwo (dimana mada ada cacad dah yang share,,hahaha
tapi tetap katakan andrie ganteng ,,!whekk :-p*/
| |
|