Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 23:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



WarRock EU - Code Snippets

Discussion on WarRock EU - Code Snippets within the WarRock forum part of the Shooter category.

View Poll Results: Wie findet ihr diesen Thread
Klasse! 78 60.94%
Geht so 17 13.28%
Sinnlos, braucht keiner 33 25.78%
Voters: 128. You may not vote on this poll

Closed Thread
 
Old 04/07/2012, 13:03   #6751

 
elite*gold: 0
Join Date: Mar 2012
Posts: 3,513
Received Thanks: 1,023
Einen Addylogger muusst du dir selbst erstellen.
add mich in skype falls du dafür Hilfe brauchst
Faultyclones is offline  
Old 04/07/2012, 15:34   #6752
 
GReeKlEgEnD's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 84
Received Thanks: 15
Quote:
Originally Posted by Donnie Brasco View Post
Einen Addylogger muusst du dir selbst erstellen.
add mich in skype falls du dafür Hilfe brauchst
Dann gib mal pls Skype name
GReeKlEgEnD is offline  
Old 04/07/2012, 15:57   #6753
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by redhistory View Post
ich stelle die frage einfach nocheinmal:

void Superjump()
{
if(GetAsyncKeyState(VK_CONTROL)&1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*) (dwPlayerPtr + OFS_Z) = 1500;
}}}

und darin sehe ich absolut keinen fehler...
aber du vielleicht

das ergebnis ist das was ich oben beschrieben habe...mich hauts ganz an den rand der map...wo ich dann auf einer linie langgleiten kann also ich bin dann auf einer linie festgebunden auf der ich hin und her gleiten kann auch nach oben und nach unten ...
also beamt mich das Z wahrscheinlich nicht nach oben sondern zur seite an den rand der map....aber wiegesagt bei Y und X passiert dann garnichts

außerdem habe ich noch einen fehler beim hack...
wenn ich den hack starte funzt alles perfekt raum joinen kann ich auch und spielen auch...wenn der raum allerdings zuende ist beendet es automatisch warrock woran kann das denn liegen?
Zum ersten: Dein Wert für OFS_Z entspricht entweder dem der X- oder der Y-Achse.

Zum zweiten:
Deklariere global einen Pointer auf den Wert, der bei dir vermutlich ADR_PLAYERPOINTER heißt. Anstatt diesen Wert einmal zu dereferenzieren und den Wert mehrmals zu benutzen, dereferenzierst du einfach jedes Mal, wenn du den Wert benötigst.
Raz9r is offline  
Old 04/07/2012, 16:00   #6754
 
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
Quote:
Originally Posted by __underScore View Post
Zum ersten: Dein Wert für OFS_Z entspricht entweder dem der X- oder der Y-Achse.

Zum zweiten:
[...]
Richtig, denn OFS_Z ist einzig allein für die HÖHE bestimmt.
Hier zur Kontrolle die richtige OFS_Z Adresse: 102F4
Chown¡¡qhtz is offline  
Old 04/07/2012, 16:10   #6755
 
GReeKlEgEnD's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 84
Received Thanks: 15
Also mein Telport funkt ned -.-
und mein Dig auch ned -.- bräuchte hilfe!
Code:
//Dig
        {
            if(GetAsyncKeyState(VK_F8) &1)
            {
                *(float*)(dwPlayerPtr + OFS_Z) = -1000;
            }
        }
Code:
//Teleport
	{
            if(GetAsyncKeyState(VK_F2)) 
            {
                CoordX = *(float*)(dwPlayerPtr+OFS_X);
                CoordY = *(float*)(dwPlayerPtr+OFS_Y);
                CoordZ = *(float*)(dwPlayerPtr+OFS_Z);
            }
            if (GetAsyncKeyState(VK_F3))
            {
                *(float*)(dwPlayerPtr + OFS_X) = CoordX;
                *(float*)(dwPlayerPtr + OFS_Y) = CoordY;
                *(float*)(dwPlayerPtr + OFS_Z) = CoordZ;
            }
     }
MfG
GReeKlEgEnD is offline  
Old 04/07/2012, 16:45   #6756

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by GReeKlEgEnD View Post
Also mein Telport funkt ned -.-
und mein Dig auch ned -.- bräuchte hilfe!
Code:
//Dig
        {
            if(GetAsyncKeyState(VK_F8) &1)
            {
                *(float*)(dwPlayerPtr + OFS_Z) = -1000;
            }
        }
Code:
//Teleport
	{
            if(GetAsyncKeyState(VK_F2)) 
            {
                CoordX = *(float*)(dwPlayerPtr+OFS_X);
                CoordY = *(float*)(dwPlayerPtr+OFS_Y);
                CoordZ = *(float*)(dwPlayerPtr+OFS_Z);
            }
            if (GetAsyncKeyState(VK_F3))
            {
                *(float*)(dwPlayerPtr + OFS_X) = CoordX;
                *(float*)(dwPlayerPtr + OFS_Y) = CoordY;
                *(float*)(dwPlayerPtr + OFS_Z) = CoordZ;
            }
     }
MfG
wahrscheinlich hast du falsche adressen
xxfabbelxx is offline  
Thanks
1 User
Old 04/07/2012, 19:45   #6757
 
elite*gold: 0
Join Date: Apr 2012
Posts: 3
Received Thanks: 1
Frage bezüglich Sprites, wie Konvertiere ich eine Png oder Jpg Datei in diesen Sprite Code?
[ BYTE _cHeader[] = { 0x89, 0x50, 0x4E, 0x47... ]
x0rx0r is offline  
Old 04/07/2012, 19:56   #6758

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by x0rx0r View Post
Frage bezüglich Sprites, wie Konvertiere ich eine Png oder Jpg Datei in diesen Sprite Code?
[ BYTE _cHeader[] = { 0x89, 0x50, 0x4E, 0x47... ]
picture to byte array -> google das
xxfabbelxx is offline  
Thanks
1 User
Old 04/07/2012, 20:06   #6759
 
elite*gold: 0
Join Date: Apr 2012
Posts: 3
Received Thanks: 1
Finde einfach nichts, nur Source codes aber keine Konverter
Hättest du einen genauen Link für mich?
x0rx0r is offline  
Old 04/07/2012, 20:44   #6760
 
Tibolus_'s Avatar
 
elite*gold: 93
Join Date: Jan 2012
Posts: 517
Received Thanks: 585
Quote:
Originally Posted by x0rx0r View Post
Pastebin:


Hacks.h
Code:
#include <Windows.h>
#include <time.h>
#include "Addys.h"
#include "Defines.h"
#include "Menu.h"
MenuBase *Menu;

void Command(int Memory)
{
	if (!p_Server->Local)
	return;
	DWORD dwPacket = (DWORD)((DWORD)p_Server->Local + Ofs::Packet);
	__asm
	{
		PUSH Memory;
		MOV ECX, dwPacket;
		CALL [Adr::Command];
	}
}

void HealUser(int User)
{
	CPlayerInfo *pInfo;
	if (!p_Server->Local)
		return;
	if (GetGlobalInfo(User)->Health == GetGlobalInfo(User)->MaxHealth)
		return;
	int Memory = (int)calloc(1, 404);
	if (!Memory)
	abort();
	*(DWORD*)Memory = p_Server->Local->Invisible;
	*(DWORD*)(Memory + 8) = p_Server->Local->RoomNumber;
	*(DWORD*)(Memory + 4) = p_Server->Local->MyPlayerSlot;
	*(BYTE*)(Memory + 20) = 0;
	*(DWORD*)(Memory + 12) = 2;
	*(DWORD*)(Memory + 16) = 101;
	*(DWORD*)(Memory + 24) = User;
	*(DWORD*)(Memory + 28) = 1;
	*(DWORD*)(Memory + 32) = 0;
	*(DWORD*)(Memory + 36) = 0;
	Command(Memory);
	free((void*)Memory);
}

//void SuperCar(int Car, DWORD Vehicle)
//{
//	if (!GetVehicle(Car))
//		return;
//	if (GetVehicle(Car)->Health > 0)
//	{
//		__asm
//		{
//			MOV EAX, Vehicle;
//			CALL [Veh::SuperCarSound];
//		}
//	}
//}

void RandomKick()
{
	int KickHim;
	CPlayerInfo *pInfo;
	if (!p_Server->Local)
	return;
	srand(time(NULL));
	if (!pInfo->Team)
	KickHim = rand() % 16;
	else
	KickHim = (rand() % 32) + 16;
	int Memory = (int)calloc(1, 404);
	if (!Memory)
	abort();
	*(DWORD*)Memory = p_Server->Local->Invisible;
	*(DWORD*)(Memory + 8) = p_Server->Local->RoomNumber;
	*(DWORD*)(Memory + 24) = 0;
	*(DWORD*)(Memory + 4) = p_Server->Local->MyPlayerSlot;
	*(BYTE*)(Memory + 20) = 1;
	*(DWORD*)(Memory + 12) = 2;
	*(DWORD*)(Memory + 16) = 61;
	*(DWORD*)(Memory + 28) = KickHim;
	*(DWORD*)(Memory + 40) = p_Server->Local->MyPlayerSlot;
	Command(Memory);
	free((void*)Memory);
}

void xSuperNoDelay()
{
	for(;;)
	{
		if (xWeapon.CH_SuperNoDelay)
		{
			if (GetAsyncKeyState(VK_LBUTTON) &0x8000)
			{
				p_Base->pLocal->NoDelay = 8.0F;
				Sleep(80);
			}
		}
	}
}
void WINAPI WRSendMsgBox(char* chText)
{
    DWORD dwMsgBox = Asm::MsgBox;
    __asm
    {
        PUSH chText
        CALL dwMsgBox 
        ADD ESP, 4
    }
}

void MenuHacks()
{
	if (xMenu.CH_ExitWR)
	{
		DWORD dwWR;
		dwWR = (DWORD)GetModuleHandleA("WarRock.Exe");
		{
			if (dwWR)
			{
				ExitProcess(0);
			}
		}
	}

	if (xMenu.CH_Werbung)
	{
		ShellExecuteA(NULL,NULL, "http://WwW.WR-Scene.Net", NULL, NULL, NULL);
		xMenu.CH_Werbung = 0;
	}
}

void PlayerHacks()
{
	DWORD dwPlayerPtr = *(DWORD*)Ptr::Player;
	DWORD dwServerPtr = *(DWORD*)Ptr::Server;

	if (xPlayer.CH_AntiOPK)
	{
		p_Base->pLocal->PosX = 0.0F;
		p_Base->pLocal->PosY = 0.0F;
		p_Base->pLocal->PosZ = 0.0F;
	}

	if (xPlayer.CH_AutoMedic)
	{
		HealUser(p_Server->Local->MyPlayerSlot);
	}

	if (xPlayer.CH_ImDrunk)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::ImDrunk], 1
		}
	}
	else
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::ImDrunk], 0
		}
	}

	if (xPlayer.CH_CQCProne)
	{
		if (GetAsyncKeyState('C'))
		{
			__asm MOV BYTE PTR DS:[Adr::CQCProne], 3
		}
	}

	if (xPlayer.CH_Dig)
	{
		p_Base->pLocal->PosZ = -2000.0F;
	}

	if (xPlayer.CH_PosOPK !=0)
	{
		if (GetAsyncKeyState(VK_F4))
		{
			OPKSaveX = p_Base->pLocal->PosX;
			OPKSaveY = p_Base->pLocal->PosY;
			OPKSaveZ = p_Base->pLocal->PosZ;
		}
		if (GetAsyncKeyState(VK_F5))
		{
			for(int i = 4; i < 32; i++)
			{
				CPlayer* pPlayerA = p_Base->pGlobal[i];
				pPlayerA->PosX = OPKSaveX;
				pPlayerA->PosY = OPKSaveY;
				pPlayerA->PosZ = OPKSaveZ;
			}
		}
	}
	
	if (xPlayer.CH_PlayerOPK)
	{
		for(int i = 0; i < 32; i++)
		{
			p_Base->pGlobal[i]->PosX = 0.0F;
			Sleep(0);
			p_Base->pGlobal[i]->PosY = 0.0F;
			Sleep(0);
			p_Base->pGlobal[i]->PosZ = 0.0F;
			Sleep(0);
			__asm
			{
				MOV DWORD PTR DS:[Adr::NoBounds1], 0
				MOV DWORD PTR DS:[Adr::NoBounds2], 0
				MOV DWORD PTR DS:[Adr::NoBounds3], 0
			}
			p_Base->pLocal->NoFallDamage = -200000.0F;
			Sleep(0);
		}
	}

	if (xPlayer.CH_NoZombies)
	{
		for (int i = 4; i < 32; i++)
		{
			CPlayer* pPlayerA = p_Base->pGlobal[i];
			pPlayerA->PosX = 0;
			pPlayerA->PosY = 0;
			pPlayerA->PosZ = 0;
		}
	}

	if (xPlayer.CH_ZombieOPK)
	{
		for (int i = 0; i < 32; i++)
		{
			CPlayerInfo *pInfo = GetPlayerInfoByIndex(i);
			CPlayer* pPlayer = p_Base->pGlobal[i];
			if (pInfo && pPlayer)
			{
				CPlayerInfo *pLocalInfo = GetPlayerInfoByIndex(p_Base->pLocal->Index);
				if (pInfo->Team != pLocalInfo->Team)
				{
					if (pInfo->Health > 0)
					{
						pPlayer->PosX = (p_Base->pLocal->PosX);
						pPlayer->PosY = (p_Base->pLocal->PosY + 145);
						pPlayer->PosZ = (p_Base->pLocal->PosZ);
					}
				}
			}
		}
	}
	
	if (xPlayer.CH_AntiKick == 1)
	{
		if (GetAsyncKeyState('v' || 'V'))
		{
			RandomKick();
		}
	}

	if (xPlayer.CH_AntiKick == 2)
	{
		RandomKick();
	}

	if (xPlayer.CH_SuperGameSpeed)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::GameSpeed], 4000
		}
	}

	if (xPlayer.CH_NoFallDamage)
	{
		p_Base->pLocal->NoFallDamage = -200000.0F;
	}

	if (xPlayer.CH_SelfKill)
	{
		xPlayer.CH_NoFallDamage = 0;
		p_Base->pLocal->NoFallDamage = +200000.0F;
	}

	if (xPlayer.CH_MoonJump)
	{
		if (GetAsyncKeyState(VK_SPACE))
		{
			p_Base->pLocal->GravityY = 200.0F;
		}
	}

	if (xPlayer.CH_SuperJump)
	{
		if (GetAsyncKeyState(VK_CONTROL))
		{
			p_Base->pLocal->PosZ = +350.0F;
		}
	}

	if (xPlayer.CH_SilentWalk)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::SilentWalk], 0
		}
	}

	if (xWeapon.CH_RapidFire)
	{
		p_Base->pLocal->NoDelay |= 0xFFFFFFEF;
	}

	if (xPlayer.CH_Stamina)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::Stamina1], 1000
			MOV DWORD PTR DS:[Adr::Stamina2], 1000
			MOV DWORD PTR DS:[Adr::Stamina3], 0
			MOV DWORD PTR DS:[Adr::Stamina4], 0
			MOV DWORD PTR DS:[Adr::Stamina5], 0
		}
	}

	if (xPlayer.CH_SkyWalk)
	{
		if (GetAsyncKeyState(VK_CONTROL))
		{
			p_Base->pLocal->PosZ = 350.0F;
		}
	}

	if (xPlayer.CH_NoBounds)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::NoBounds1], 0
			MOV DWORD PTR DS:[Adr::NoBounds2], 0
			MOV DWORD PTR DS:[Adr::NoBounds3], 0
		}
	}

	if (xWeapon.CH_NoRecoil)
	{
		p_Base->pLocal->NoRecoil1 = 0.0F;
		p_Base->pLocal->NoRecoil2 = 0.0F;
		p_Base->pLocal->NoRecoil3 = 0.0F;
	}

	if (xWeapon.CH_FastNadeBlast)
	{
		p_Base->pLocal->FastNadeBlast = -9.99e2;
	}

	if (xWeapon.CH_CrazyNade)
	{
		p_Base->pLocal->FastNadeBlast = 15.99e2;
	}
	else
	{
		p_Base->pLocal->FastNadeBlast = 0.0F;
	}

	if (xWeapon.CH_PlantAnyWhere)
	{
		__asm
		{
			MOV BYTE PTR DS:[Adr::PlantAnyWhere], 0x1
		}
	}

	if (xWeapon.CH_DefuseAnyWhere)
	{
		__asm
		{
			MOV BYTE PTR DS:[Adr::PlantAnyWhere], 0x1
			MOV WORD PTR DS:[Adr::DefuseAnyWhere], 1
		}
	}

	if (xWeapon.CH_SuperNoSpread)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::SuperNoSpread], 5
		}
	}
	else
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::SuperNoSpread], 0
		}
	}

	if (xWeapon.CH_Scope)
	{
		if (GetAsyncKeyState(VK_RBUTTON))
		{
			__asm
			{
				MOV BYTE PTR DS:[Adr::Scope], 1
			}
		}
		else if (!GetAsyncKeyState(VK_RBUTTON))
		{
			__asm
			{
				MOV BYTE PTR DS:[Adr::Scope], 5
			}
		}
	}

	if (xWeapon.CH_NoM134Idle)
	{
		p_Base2->pLocal2->NoM134Idle = 0.0F;
	}

	if (xWeapon.CH_BoneShot)
	{
		*(double*)(Adr::BoneShot) = 1235;
	}
	else
	{
		*(double*)(Adr::BoneShot) = 1.237e3;	
	}

	if (xWeapon.CH_QuickPlantDefuse)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::QuickPlantDefuse], 20
		}
	}

}

void ServerHacks()
{
	DWORD dwPlayerPtr = *(DWORD*)Ptr::Player;
	DWORD dwServerPtr = *(DWORD*)Ptr::Player;

	//if (SendMsgBox == false)
	//{
	//	SendMsgBox = true;
	//}
	//if (dwServerPtr !=0)
	//{
	//	if (SendMsgBox == true)
	//	{
	//		WRSendMsgBox("BuRn3R >> Welcome to Public HooK!");
	//	}
	//}

	if (xServer.CH_AntiAfk)
	{
		__asm
		{
			MOV DWORD PTR DS:[Adr::AntiAfk], 0
		}
	}
	if (xServer.CH_ImMaster)
	{
		p_Server->Local->ImMaster = 0;
	}
	if (xServer.CH_Slot5)
	{
		p_Server->Local->Slot5 = 0x1;
	}
	if (xServer.CH_Slot6)
	{
		p_Server->Local->Slot6 = 0x1;
	}
	if (xServer.CH_Slot7)
	{
		p_Server->Local->Slot7 = 0x1;
	}
	if (xServer.CH_Slot8)
	{
		p_Server->Local->Slot8 = 0x1;
	}

}

void AimbotHacks()
{
	DWORD dwPlayerPtr = *(DWORD*)Ptr::Player;
	DWORD dwServerPtr = *(DWORD*)Ptr::Server;
	if (dwPlayerPtr !=0)
	{
		if (xAimbot.CH_AimBot)
		{
			p_Base->pLocal->NoRecoil1 = 0.0F;
			p_Base->pLocal->NoRecoil2 = 0.0F;
			p_Base->pLocal->NoRecoil3 = 0.0F;

			if(xAimbot.CH_SeeDown)
			{
				p_Local->Pitch += 150;
			}
			if(xAimbot.CH_SeeUp)
			{
				p_Local->Pitch -= 150;
			}
			if (xAimbot.CH_AimDistance)
			{
				if (xAimbot.CH_AimKey == 0)
				{
					if (xAimbot.CH_AimType == 1)
					{
						p_Local->Pitch = CalculatePitch(GetNearestPlayer());
						p_Local->Yaw = CalculateYaw(GetNearestPlayer());
					}
					if (xAimbot.CH_AimType == 2)
					{
						p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
						p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
					}
				}
				if (xAimbot.CH_AimKey == 1)
				{
					if (GetAsyncKeyState(VK_RBUTTON))
					{
						if (xAimbot.CH_AimType == 1)
						{
							p_Local->Pitch = CalculatePitch(GetNearestPlayer());
							p_Local->Yaw = CalculateYaw(GetNearestPlayer());
						}
						if (xAimbot.CH_AimType == 2)
						{
							p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
							p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
						}
					}
				}
				if (xAimbot.CH_AimKey == 2)
				{
					if (GetAsyncKeyState (VK_LBUTTON))
					{
						if (xAimbot.CH_AimType == 1)
						{
							p_Local->Pitch = CalculatePitch(GetNearestPlayer());
							p_Local->Yaw = CalculateYaw(GetNearestPlayer());
						}
						if (xAimbot.CH_AimType == 2)
						{
							p_Local->Pitch = CalculatePitch(GetCrossHairPlayer());
							p_Local->Yaw = CalculateYaw(GetCrossHairPlayer());
						}
					}
				}
			}
		}
	}
}
Main.cpp
Code:
			VMTInitiliazing(Reset, 16);
			VMTInitiliazing(Reset, 16);
#include <Windows.h>
#include <stdio.h>
#include <d3d9.h>
#include <d3dx9.h>
#include "Main.h"
#include "Color.h"
#include "Detour.h"
#include "VTable.h"
#include "Menu.h"
#include "Addys.h"
#include "Structs.h"
#include "Hacks.h"
#include "VMT.h"
ID3DXFont *pFont;
VTableBase *VTable;
MenuBase *BuRn3R;

void AddMenu()
{
	BuRn3R->AddFolder("Menu Settings",Folder,&xFolder.Folder0,2,MENUFOLDER);
	if (xFolder.Folder0)
	{
		//BuRn3R->AddItem("Destory Menu",OnOff,&xMenu.CH_DestoryMenu,2,MENUITEM);
		BuRn3R->AddItem("Credit Box",OnOff,&CH_Credits,2,MENUITEM);
		BuRn3R->AddItem("Hide Menu",OnOff,&xMenu.CH_HideMenu,2,MENUITEM);
		BuRn3R->AddItem("Text Color",TextColor,&CH_TextColor,5,MENUITEM);
		BuRn3R->AddItem("Exit WarRock",OnOff,&xMenu.CH_ExitWR,2,MENUITEM);
		BuRn3R->AddItem("Werbung",OnOff,&xMenu.CH_Werbung,2,MENUITEM);
	}

	BuRn3R->AddFolder("DirectX 3D",Folder,&xFolder.Folder1,2,MENUFOLDER);
	if (xFolder.Folder1)
	{
		BuRn3R->AddItem("D3D Enable",OnOff,&xDirect3D.CH_D3DEnable,2,MENUITEM);
		BuRn3R->AddItem("Cross Hair",CrossHair,&xDirect3D.CH_Crosshair,11,MENUITEM);
		BuRn3R->AddItem("Player Chams",OnOff,&xDirect3D.CH_Chams,2,MENUITEM);
		BuRn3R->AddItem("Color 1",Chams,&xDirect3D.CH_ChamsColorA,9,MENUITEM);
		BuRn3R->AddItem("Color 2",Chams,&xDirect3D.CH_ChamsColorB,9,MENUITEM);
		BuRn3R->AddItem("Wire Frame",OnOff,&xDirect3D.CH_WireFrame,2,MENUITEM);
		BuRn3R->AddItem("Wall Hack",OnOff,&xDirect3D.CH_WallHack,2,MENUITEM);
		BuRn3R->AddItem("No Fog",OnOff,&xDirect3D.CH_NoFog,2,MENUITEM);
	}
	
	BuRn3R->AddFolder("ESP Area",Folder,&xFolder.Folder2,2,MENUFOLDER);
	if (xFolder.Folder2)
	{
		BuRn3R->AddItem("ESP - Enable",OnOff,&xESP.CH_ESPEnable,2,MENUITEM);
		BuRn3R->AddItem("ESP - Enemy Only",OnOff,&xESP.CH_EnemyOnly,2,MENUITEM);
		BuRn3R->AddItem("ESP - Name",OnOff,&xESP.CH_ESPName,2,MENUITEM);
		BuRn3R->AddItem("ESP - Health",ESPHealth,&xESP.CH_ESPHealth,3,MENUITEM);
		BuRn3R->AddItem("ESP - Distance",OnOff,&xESP.CH_ESPDistance,2,MENUITEM);
		BuRn3R->AddItem("ESP - IP",OnOff,&xESP.CH_ESPIP,2,MENUITEM);
	}

	BuRn3R->AddFolder("Aimbot Area",Folder,&xFolder.Folder3,2,MENUFOLDER);
	if (xFolder.Folder3)
	{
		BuRn3R->AddItem("Aimbot",OnOff,&xAimbot.CH_AimBot,2,MENUITEM);
		BuRn3R->AddItem("Aim - Key",AimKey,&xAimbot.CH_AimKey,3,MENUITEM);
		BuRn3R->AddItem("Aim - Type",AimType,&xAimbot.CH_AimType,3,MENUITEM);
		BuRn3R->AddItem("Aim - Enemy",OnOff,&xAimbot.CH_AimEnemy,2,MENUITEM);
		BuRn3R->AddItem("Aim - Distance",AimDistance,&xAimbot.CH_AimDistance,11,MENUITEM);
		BuRn3R->AddItem("Aim - FOV",AimDistance,&xAimbot.CH_MaxFOV,11,MENUITEM);
	}

	BuRn3R->AddFolder("Player Area",Folder,&xFolder.Folder4,2,MENUFOLDER);
	if (xFolder.Folder4)
	{
		BuRn3R->AddItem("Super Game Speed",OnOff,&xPlayer.CH_SuperGameSpeed,2,MENUITEM);
		BuRn3R->AddItem("Player OPK",VIPOnly,&xPlayer.CH_PlayerOPK,1,MENUITEM);
		BuRn3R->AddItem("Pos OPK",VIPOnly,&xPlayer.CH_PosOPK,1,MENUITEM);
		//BuRn3R->AddItem("Anti OPK",OnOff,&xPlayer.CH_AntiOPK,2,MENUITEM);
		BuRn3R->AddItem("Auto Medic[Fast]",OnOff,&xPlayer.CH_AutoMedic,2,MENUITEM);
		BuRn3R->AddItem("Im Drunk",OnOff,&xPlayer.CH_ImDrunk,2,MENUITEM);
		BuRn3R->AddItem("CQC Prone",OnOff,&xPlayer.CH_CQCProne,2,MENUITEM);
		BuRn3R->AddItem("Dig [Under Map]",OnOff,&xPlayer.CH_Dig,2,MENUITEM);
		BuRn3R->AddItem("No Bounds",OnOff,&xPlayer.CH_NoBounds,2,MENUITEM);
		BuRn3R->AddItem("No Zombies",OnOff,&xPlayer.CH_NoZombies,2,MENUITEM);
		BuRn3R->AddItem("Zombie OPK",OnOff,&xPlayer.CH_ZombieOPK,2,MENUITEM);
		BuRn3R->AddItem("No Fall Damage",OnOff,&xPlayer.CH_NoFallDamage,2,MENUITEM);
		BuRn3R->AddItem("Self Kill",OnOff,&xPlayer.CH_SelfKill,2,MENUITEM);
		BuRn3R->AddItem("Moon Jump",OnOff,&xPlayer.CH_MoonJump,2,MENUITEM);
		BuRn3R->AddItem("Super Jump",OnOff,&xPlayer.CH_SuperJump,2,MENUITEM);
		BuRn3R->AddItem("Sky Walk",OnOff,&xPlayer.CH_SkyWalk,2,MENUITEM);
		BuRn3R->AddItem("Silent Walk",OnOff,&xPlayer.CH_SilentWalk,2,MENUITEM);
		BuRn3R->AddItem("Anti Kick[Auto Vote]",VIPOnly,&xPlayer.CH_AntiKick,1,MENUITEM);
		BuRn3R->AddItem("Stamina",Stamina,&xPlayer.CH_Stamina,2,MENUITEM);
	}

	BuRn3R->AddFolder("Server Area",Folder,&xFolder.Folder5,2,MENUFOLDER);
	if (xFolder.Folder5)
	{
		BuRn3R->AddItem("Enable Slot 5",OnOff,&xServer.CH_Slot5,2,MENUITEM);
		BuRn3R->AddItem("Enable Slot 6",OnOff,&xServer.CH_Slot6,2,MENUITEM);
		BuRn3R->AddItem("Enable Slot 7",OnOff,&xServer.CH_Slot7,2,MENUITEM);
		BuRn3R->AddItem("Enable Slot 8",OnOff,&xServer.CH_Slot8,2,MENUITEM);
		BuRn3R->AddItem("Anti Afk",OnOff,&xServer.CH_AntiAfk,2,MENUITEM);
		BuRn3R->AddItem("Im Master",OnOff,&xServer.CH_ImMaster,2,MENUITEM);
	}

	BuRn3R->AddFolder("Weapon Area",Folder,&xFolder.Folder6,2,MENUFOLDER);
	if (xFolder.Folder6)
	{
		BuRn3R->AddItem("No Recoil",OnOff,&xWeapon.CH_NoRecoil,2,MENUITEM);
		BuRn3R->AddItem("Super No Spread",OnOff,&xWeapon.CH_SuperNoSpread,2,MENUITEM);
		BuRn3R->AddItem("Fast Nade Blast",OnOff,&xWeapon.CH_FastNadeBlast,2,MENUITEM);
		BuRn3R->AddItem("Crazy Nade",OnOff,&xWeapon.CH_CrazyNade,2,MENUITEM);
		BuRn3R->AddItem("Plant Any Where",OnOff,&xWeapon.CH_PlantAnyWhere,2,MENUITEM);
		BuRn3R->AddItem("Defuse Any Where",OnOff,&xWeapon.CH_DefuseAnyWhere,2,MENUITEM);
		BuRn3R->AddItem("Scope",Scope,&xWeapon.CH_Scope,2,MENUITEM);
		BuRn3R->AddItem("No M134 Idle",OnOff,&xWeapon.CH_NoM134Idle,2,MENUITEM);
		BuRn3R->AddItem("Bone Shot",OnOff,&xWeapon.CH_BoneShot,2,MENUITEM);
		BuRn3R->AddItem("No Delay",OnOff,&xWeapon.CH_RapidFire,2,MENUITEM);
		BuRn3R->AddItem("Super No Delay",VIPOnly,&xWeapon.CH_SuperNoDelay,1,MENUITEM);
		BuRn3R->AddItem("Quick P/D",OnOff,&xWeapon.CH_QuickPlantDefuse,2,MENUITEM);//war da eben trollface? XDD ja xD
	}

	BuRn3R->AddText((""));
}

HRESULT WINAPI Reset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* pPresentationParameters)
{
	pFont->OnLostDevice();
	HRESULT pRes = pReset(pDevice, pPresentationParameters);
	pFont->OnResetDevice();

	return pRes;
}

HRESULT WINAPI Present(LPDIRECT3DDEVICE9 pDevice,CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion)
{
	if (!Create)
	{
		D3DXCreateFont(pDevice, 14, 0, FW_BOLD, 1, 0, DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH | FF_DONTCARE,L"Arial", &pFont);
		Create = true;
	}
	
	if (pFont == NULL)
		pFont->OnLostDevice();
	else
	{
		if (BuRn3R == NULL)
		{
			BuRn3R = new MenuBase("Arial");
		}
		else
		{
			if (BuRn3R->Mmax == 0)AddMenu();
			if (xMenu.CH_HideMenu == 0)
			{
				BuRn3R->MenuShow(12,12,pFont,pDevice);
			}
			BuRn3R->MenuNavigation();
		}
		if (BuRn3R->Mmax == 0)AddMenu();
		xCrossHairHacks(pDevice);
	}
	//CloseAllShit();
	//if (xMenu.CH_DestoryMenu)
	//{
	//	xMenu.CH_CloseAllShit = 1;
	//	xMenu.CH_HideMenu = 1;
	//}

	if (xAimbot.CH_AimBot)
	{
		p_Local = (CLocal*)*(DWORD*)(Ptr::Angels);
		if (xAimbot.CH_AimBot || xAimbot.CH_AimDistance || xAimbot.CH_AimEnemy || xAimbot.CH_AimKey || xAimbot.CH_AimType || xAimbot.CH_MaxFOV)
		{
			AimbotHacks();
		}
	}
	
	if (xPlayer.CH_UserInfo)
	{
		int i = xPlayer.CH_UserInfo;
		CPlayerInfo *pInfo = GetPlayerInfoByIndex(i);
		CPlayer* pPlayer = p_Base->pGlobal[i];
		sprintf(chUserText, "Name: %s", pInfo->Name);
		sprintf(chUserIP, "IP: %s", pInfo->Ip);
	}
	else
	{
		int i = xPlayer.CH_UserInfo;
		CPlayerInfo *pInfo = GetPlayerInfoByIndex(i);
		CPlayer* pPlayer = p_Base->pGlobal[i];
		sprintf(chUserText, "Name: -", pInfo->Name);
		sprintf(chUserIP, "IP: -", pInfo->Ip);
	}

	if (xESP.CH_Radar2D)
	{
		BuRn3R->DrawBox(pDevice, 700, 50, 150, 150, BLUE);
		BuRn3R->DrawDot(776, 126, 255, 255, 255, pDevice);
		for (int i = 0; i < 32; i++)
		{
			if (!p_Base->pGlobal || !p_Base->pLocal)break;
			CPlayer* pPlayer = p_Base->pGlobal[i];
			CPlayerInfo *pInfo = GetPlayerInfoByIndex(i);
			if (pInfo && pPlayer)
			{
				CPlayerInfo *pLocalInfo = GetPlayerInfoByIndex(p_Base->pLocal->Index);
				D3DXVECTOR3 PlayerView(p_Base->pGlobal[i]->ViewX,p_Base->pGlobal[i]->ViewY,p_Base->pGlobal[i]->ViewZ),View;
				if (GetScreenCoordFromWorld(pDevice,View,PlayerView))
				{
					DWORD RadPosX;
					DWORD RadPosY;
					DWORD RadPosZ;
					if (pLocalInfo->Team == pInfo->Team)
					{
						RadPosX = 0;
						RadPosY = 255;
						RadPosZ = 0;
					}
					else
					{
						RadPosX = 255;
						RadPosY = 0;
						RadPosZ = 0;
					}
					DWORD PosX = View.x;
					DWORD PosY = View.y;
					DWORD PosiX = (776 + (PosX / 10));
					DWORD PosiY = (126 + (PosY / 10));
					BuRn3R->DrawDot(PosiX, PosiY, RadPosX, RadPosY, RadPosZ, pDevice);
				}
			}
		}
	}

if (xESP.CH_ESPName || xESP.CH_ESPHealth || xESP.CH_ESPDistance || xESP.CH_ESPIP || xESP.CH_ESPBox || xESP.CH_ESPClass)
{
	for(int i = 0; i < 32; i++)
	{
		if(!p_Base->pGlobal || !p_Base->pLocal) break;
		CPlayerInfo *pInfo = GetPlayerInfoByIndex(i);
		CPlayer* pPlayer = p_Base->pGlobal[i];
		CServer *pServer  = p_Server->Local;
		if(pInfo && pPlayer && pServer)
		{
			CPlayerInfo *pLocalInfo = GetPlayerInfoByIndex(p_Base->pLocal->Index);
			if (xESP.CH_ESPName || xESP.CH_ESPHealth || xESP.CH_ESPDistance || xESP.CH_ESPIP || xESP.CH_ESPBox || xESP.CH_ESPClass)
			{
				D3DXVECTOR3 PlayerView(p_Base->pGlobal[i]->ViewX,p_Base->pGlobal[i]->ViewY,p_Base->pGlobal[i]->ViewZ),EspView;

				if (GetScreenCoordFromWorld(pDevice,EspView,PlayerView))
				{
					if (xESP.CH_ESPEnable)
					{
						if (xESP.CH_ESPName)
						{
							char chName[100];
							sprintf(chName,"Name: %s",pInfo->Name);
							BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,BLUE,chName,pFont);
							EspView.y += 12;
						}

						if (xESP.CH_ESPHealth)
						{
							if (xESP.CH_ESPHealth == 1)
							{
								char chHealth[100];
								sprintf(chHealth,"Health: %d",pInfo->Health/10);
								BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,RED,chHealth,pFont);
								EspView.y += 11;
							}
							int Red,Green;
							Red = 255-((pInfo->Health/10)*2.55);
							Green =	(pInfo->Health/10)*2.55;
							if (xESP.CH_ESPHealth == 2)
							{
								char chHealth[100];
								BuRn3R->DrawBox(pDevice,EspView.x - 50,EspView.y - 50,100,5,D3DCOLOR_ARGB(255,20,20,20));
								BuRn3R->DrawBox(pDevice,EspView.x - 50,EspView.y - 50,pInfo->Health/10,5,D3DCOLOR_ARGB(255,Red,Green,0));
								//sprintf(chHealth,"%d HP\n ",pInfo->Health/100);
								//BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 40,RED,chHealth,pFont);
								EspView.y += 11;
							}
						}
						if (xESP.CH_ESPIP)
						{
							char chIP[100];
							sprintf(chIP,"IP: %i",pInfo->Ip);
							BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,RED,chIP,pFont);
							EspView.y += 9;
						}
						if (xESP.CH_ESPDistance)
						{
							char chDistance[100];
							sprintf(chDistance,"%.2f m",GetDistance(p_Base->pLocal,pPlayer)/10);
							BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,SKYBLUE,chDistance,pFont);
							EspView.y += 8;
						}

						if(xESP.CH_ESPBox)
						{
							xweight=30;xplaats=15;
							yheight=70;yplaats=70;
							char chBox[100];
							BuRn3R->DrawRectangle(pDevice,(float)EspView.x-xplaats,(float)EspView.y-yplaats,xweight, yheight, 1,GREEN);
						}

						/* ESP Enemy Only */
						if (xESP.CH_EnemyOnly && pInfo->Health > 0 && pInfo->Team != pLocalInfo->Team)

						if (GetGlobalInfo(GetLocalInfo())->Team != GetGlobalInfo(i)->Team)
						{
							if (GetGlobalInfo(i)->Health > 0)
							{

						if (xESP.CH_ESPName)
						{
							char chName[100];
							sprintf(chName,"Name: %s",pInfo->Name);
							BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,BLUE,chName,pFont);
							EspView.y += 12;
						}
						if (xESP.CH_ESPHealth)
						{
							if (xESP.CH_ESPHealth == 1)
							{
								char chHealth[100];
								sprintf(chHealth,"Health: %d",pInfo->Health/10);
								BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,RED,chHealth,pFont);
								EspView.y += 11;
							}
							int Red,Green;
							Red = 255-((pInfo->Health/10)*2.55);
							Green =	(pInfo->Health/10)*2.55;
							if (xESP.CH_ESPHealth == 2)
							{
								char chHealth[100];
								BuRn3R->DrawBox(pDevice,EspView.x - 50,EspView.y - 50,100,5,D3DCOLOR_ARGB(255,20,20,20));
								BuRn3R->DrawBox(pDevice,EspView.x - 50,EspView.y - 50,pInfo->Health/10,5,D3DCOLOR_ARGB(255,Red,Green,0));
								//sprintf(chHealth,"%d HP\n ",pInfo->Health/100);
								//BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 40,RED,chHealth,pFont);
								EspView.y += 11;
							}
						}
						if (xESP.CH_ESPIP)
						{
							char chIP[100];
							sprintf(chIP,"IP: %i",pInfo->Ip);
							BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,RED,chIP,pFont);
							EspView.y += 9;
						}
						if (xESP.CH_ESPDistance)
						{
							char chDistance[100];
							sprintf(chDistance,"%.2f m",GetDistance(p_Base->pLocal,pPlayer)/10);
							BuRn3R->DrawTextC(EspView.x - 50,EspView.y - 50,SKYBLUE,chDistance,pFont);
							EspView.y += 8;
						}
						if(xESP.CH_ESPBox)
						{
							xweight=30;xplaats=15;
							yheight=70;yplaats=70;
							char chBox[100];
							BuRn3R->DrawRectangle(pDevice,(float)EspView.x-xplaats,(float)EspView.y-yplaats,xweight, yheight, 1,GREEN);
						}
					}
				}
			}
		}
	}
}}}

return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}

HRESULT WINAPI DrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT PrimCount)
{
	if (pDevice->GetStreamSource(0, &StreamData, &OffsetInBytes, &m_Stride) == D3D_OK)
	{
		StreamData->Release();
	}

	DWORD dwEnable = D3DZB_TRUE;
	if (Color)
	{
		GenerateTexture(pDevice, &White,      WHITE);
		GenerateTexture(pDevice, &Red,	      RED);
		GenerateTexture(pDevice, &Green,      GREEN);
		GenerateTexture(pDevice, &Blue,		  BLUE);
		GenerateTexture(pDevice, &Black,      BLACK);
		GenerateTexture(pDevice, &Purple,	  PURPLE);
		GenerateTexture(pDevice, &Pink,	      PINK);
		GenerateTexture(pDevice, &Grey,		  GREY);
		GenerateTexture(pDevice, &Yellow,	  YELLOW);
		GenerateTexture(pDevice, &Orange,     ORANGE);
		GenerateTexture(pDevice, &LightBlue,  LIGHTBLUE);
		GenerateTexture(pDevice, &LightBlack, LIGHTBLACK);
		GenerateTexture(pDevice, &LightGrey,  LIGHTGREY);
		GenerateTexture(pDevice, &LightGreen, LIGHTGREEN);
		GenerateTexture(pDevice, &LightRed,   LIGHTRED);
		GenerateTexture(pDevice, &GhostRed,   GHOSTRED);
		GenerateTexture(pDevice, &GhostWhite, GHOSTWHITE);
		GenerateTexture(pDevice, &GhostCyan,  GHOSTCYAN);
		GenerateTexture(pDevice, &GhostCyan2, GHOSTCYAN2);
		GenerateTexture(pDevice, &GhostGreen, GHOSTGREEN);
		GenerateTexture(pDevice, &GhostBlue,  GHOSTBLUE);
		GenerateTexture(pDevice, &GhostBlack, GHOSTBLACK);
		GenerateTexture(pDevice, &GhostPurple,GHOSTPURPLE);
		GenerateTexture(pDevice, &GhostGrey,  GHOSTGREY);
		GenerateTexture(pDevice, &GhostYellow,GHOSTYELLOW);
		GenerateTexture(pDevice, &GhostPink,  GHOSTPINK);
		Color = false;
	}

if (xDirect3D.CH_D3DEnable)
{
	if (xDirect3D.CH_Chams)
	{
		if (xDirect3D.CH_ChamsColorA)
		{
			if (m_Stride == 36 || m_Stride == 32)
			{
				if (xDirect3D.CH_ChamsColorA)pDevice->SetRenderState(D3DRS_LIGHTING, false);
				if (xDirect3D.CH_ChamsColorA)pDevice->SetRenderState(D3DRS_ZENABLE, false);
				if (xDirect3D.CH_ChamsColorA)pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
				if (xDirect3D.CH_ChamsColorA == 1){pDevice->SetTexture(0, Red);}
				if (xDirect3D.CH_ChamsColorA == 2){pDevice->SetTexture(0, Yellow);}
				if (xDirect3D.CH_ChamsColorA == 3){pDevice->SetTexture(0, Orange);}
				if (xDirect3D.CH_ChamsColorA == 4){pDevice->SetTexture(0, Green);}
				if (xDirect3D.CH_ChamsColorA == 5){pDevice->SetTexture(0, Blue);}
				if (xDirect3D.CH_ChamsColorA == 6){pDevice->SetTexture(0, Purple);}
				if (xDirect3D.CH_ChamsColorA == 8){pDevice->SetTexture(0, Black);}
				if (xDirect3D.CH_ChamsColorA == 9){pDevice->SetTexture(0, Grey);}
				pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, PrimCount);
			}
		}

if (xDirect3D.CH_ChamsColorB)
{
	if (m_Stride == 36 || m_Stride == 32)
	{
		if (xDirect3D.CH_ChamsColorB)pDevice->SetRenderState(D3DRS_LIGHTING, false);
		if (xDirect3D.CH_ChamsColorB)pDevice->SetRenderState(D3DRS_ZENABLE, true);
		if (xDirect3D.CH_ChamsColorB)pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID);
		if (xDirect3D.CH_ChamsColorB == 1){pDevice->SetTexture(0, Red);}
		if (xDirect3D.CH_ChamsColorB == 2){pDevice->SetTexture(0, Yellow);}
		if (xDirect3D.CH_ChamsColorB == 3){pDevice->SetTexture(0, Orange);}
		if (xDirect3D.CH_ChamsColorB == 4){pDevice->SetTexture(0, Green);}
		if (xDirect3D.CH_ChamsColorB == 5){pDevice->SetTexture(0, Blue);}
		if (xDirect3D.CH_ChamsColorB == 6){pDevice->SetTexture(0, Purple);}
		if (xDirect3D.CH_ChamsColorB == 8){pDevice->SetTexture(0, Black);}
		if (xDirect3D.CH_ChamsColorB == 9){pDevice->SetTexture(0, Grey);}
		pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, PrimCount);
	}
}}
}

if (xDirect3D.CH_WireFrame)
{
	if (m_Stride == 36)
	{
		pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
	}
}

if (xDirect3D.CH_WallHack)
{
	if (m_Stride == 40)
	{
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	}
}

if (xDirect3D.CH_NoFog)
{
	pDevice->SetRenderState(D3DRS_FOGENABLE, 0);
}

	return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, PrimCount);
}

//int DIP = 1;
//DWORD DIPEnd(DWORD dwFunction,DWORD dwAddress)
//{
//	DWORD dwD3D;
//	do
//	{
//		dwD3D = (DWORD)GetModuleHandleA("D3D9.DLL");
//		Sleep(1000);
//	}
//	while(!dwD3D);
//	{
//		if (DIP)
//		{
//			__asm
//			{
//				mov eax,[eax+0xE9+DrawIndexedPrimitive]
//				mov eax,[eax+0xE8+DrawIndexedPrimitive]
//				mov eax,[eax+0xF8+DrawIndexedPrimitive]
//				mov eax,[eax+0x80+DrawIndexedPrimitive]
//				mov eax,[eax+0x90+DrawIndexedPrimitive]
//				push eax
//				call DrawIndexedPrimitive
//				pop DrawIndexedPrimitive
//				jmp DrawIndexedPrimitive
//			}
//		}
//	}
//	return 0;
//}

DWORD xAntiAbnormal()
{
	DWORD dwServerPtr = *(DWORD*)Ptr::Server;
	if (dwServerPtr !=0)
	{
		*(DWORD*)(dwServerPtr + Ofs::Abnormal1) = 0;
		*(DWORD*)(dwServerPtr + Ofs::Abnormal2) = 0;
		*(DWORD*)(dwServerPtr + Ofs::Abnormal3) = 0;
		*(DWORD*)(dwServerPtr + Ofs::Abnormal4) = 0;
	}
	return true;
}
/*
HRESULT __stdcall xDirectXHooK()
{
	DWORD dwD3D9;
	do
	{
		dwD3D9 = (DWORD)GetModuleHandleA("D3D9.DLL");
		Sleep(1000);
	}
	while (!dwD3D9);

	pPresent = (oPresent)WriteDetour((DWORD)Present,(DWORD)VTable->ID(17));
	pReset = (oReset)WriteDetour((DWORD)Reset,(DWORD)VTable->ID(16));
	

	//while (1);
	//{
	//	pDrawIndexedPrimitive = (oDrawIndexedPrimitive)DIPEnd((DWORD)DrawIndexedPrimitive,(DWORD)VTable->ID(82));
	//	Sleep(30);
	//}

	return true;
}
*/

void xHackLooP()
{
	for(;;)
	{
		PlayerHacks();
		ServerHacks();
		MenuHacks();
		Sleep(5);
	}
}

DWORD WINAPI xSmallByPass()
{
	DWORD dwEhSvc = 0;
	do
	{
		dwEhSvc = (DWORD)GetModuleHandleA("EhSvc.dll");
		Sleep(30);
	}
	while(!dwEhSvc);
	DWORD dwPlayerPtr = *(DWORD*)Ptr::Player;
	if(dwPlayerPtr !=0)
	{
		WriteMemory((void*)(Asm::CRCPatch),(PBYTE)"\x90\x90",2);
	}
	return 1;
}
int __stdcall xDirectX3DHooK(void)//wo is
{
	while( !GetModuleHandleA("d3d9.dll") || !GetModuleHandleA("EhSvc.dll") )
		Sleep(300);
	CreateThread(0,0,(LPTHREAD_START_ROUTINE)KeepVMTUndetected,0,0,0);

	bool bValid = false;
	while(true)
	{
		bValid = WarRockDevice(0) > 0;
		if( bValid )
		{
			VMTInitiliazing(Reset, 16);		
            VMTInitiliazing(Present, 17);
            VMTInitiliazing(DrawIndexedPrimitive, 82);
		}
		Sleep(300);
	}
	return (0);
}
/*
int __stdcall xDirectX3DHooK(void)
{
	bool bValid = false;
	while(true)
	{
		bValid = WarRockDevice(0) > 0;
		if (bValid)
		{
			VMTInitiliazing(Reset, 16);
			VMTInitiliazing(Present, 17);
			VMTInitiliazing(DrawIndexedPrimitive, 82);
		}
		Sleep(300);
	}
	return (0);
}
*/

bool __stdcall DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
	AntiHeaders(hDll);
	EraseHeaders(hDll);
	AntiDumping();
	DisableThreadLibraryCalls(hDll);
	if (dwReason == DLL_PROCESS_ATTACH)
	{
		ShellExecuteA(NULL, NULL, "http://WwW.WR-Scene.Net/", NULL, NULL, NULL);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)xDirectX3DHooK, NULL, NULL, NULL);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)xHackLooP, NULL, NULL, NULL);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)xSuperNoDelay, NULL, NULL, NULL);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)xAntiAbnormal, NULL, NULL, NULL);
		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)xSmallByPass, NULL, NULL, NULL);
	}
	return true;
}
Structs.h (sind nicht alle)
Code:
struct CPlayer // Updated fully working
{
	char xUnknown1[50236];//0x00
	float NoRecoil1;//0xC43C
	float NoRecoil2;//0xC440
	float NoRecoil3;//0xC444
	char xUnknown2[69];//0xC448
	BYTE Index;//0xC48D
	char xUnknown3[22];//0xC48E
	float GravityX;//0xC4A4
	float GravityY;//0xC4A8
	float GravityZ;//0xC4AC
	char xUnknown4[15436];//0xC4B0
	float NoSpread;//0x100FC
	float FastNadeBlast;//0x10100
	char xUnknown6[144];//0x10104
	float Pitch;//0x10194
	char xUnknown7[24];//0x10198
	float Yaw;//0x101B0
	char xUnknown8[12];//0x101B4
	float ViewX;//0x101C0
	float ViewY;//0x101C4
	float ViewZ;//0x101C8
	char xUnknown9[12];//0x101CC
	WORD Weapon1;//0x101D8
	WORD Weapon2;//0x101DA
	WORD Weapon3;//0x101DC
	char xUnknown10[90];//0x101DE
	BYTE PlayerState;//0x10238
	char xUnknown11[155];//0x10239
	float NoFallDamage;//0x102D4
	char xUnknown12[20];//0x102D8
	float PosX;//0x102EC
	char xUnknown13[12];//0x102F0
	float PosZ;//0x102F4
	char xUnknown14[12];//0x102F8
	float PosY;//0x102FC
	char xUnknown15[224];//0x10300
	DWORD NoDelay;//0x103E0
};

struct CServer // Updated fully working
{
	char xUnknown1[1022416];//0x00
	DWORD Packet;//0xF99D0
	char xUnknown2[14224];//0xF99D4
	int ImMaster;//0xFD160
	char xUnknown3[20564];//0xFD164
	BYTE Slot1;//0x1021B8
	BYTE Slot2;//0x1021B9
	BYTE Slot3;//0x1021BA
	BYTE Slot4;//0x1021BB
	BYTE Slot5;//0x1021BC
	BYTE Slot6;//0x1021BD
	BYTE Slot7;//0x1021BE
	BYTE Slot8;//0x1021BF
	char xUnknown4[98556];//0x1021C0
	long Invisible;//0x11A2BC
	char xUnknown5[5436];//0x11A2C0
	DWORD RoomNumber;//0x11B7FC
	DWORD MyPlayerSlot;//0x11B800
	DWORD MyTeam;//0x11B804
};

struct CBase // Updated fully working
{
    CPlayer* pLocal;
    char xJumpToAdress1[1171732];
    CPlayer** pGlobal;
};

Dein Pech!
TradeMark
pass lieber auf ...
wir können dir deinen ruf im arsch machen!
nur weil jetzt herausgekommen ist das du spreadest musst du nicht alles Public machen :P
Nur weil du keinen Skill hast? und ehh shcon alles copy and pastet hast?
peinlich
Wir könnten auch so einiges mit deiner Seite anstelln ... Und dann wär die komplett im ARSCH! :P
Also pass leiber auf, mein skill wird dich vernichten xDD
Tibolus_ is offline  
Thanks
3 Users
Old 04/07/2012, 21:50   #6761
 
elite*gold: 0
Join Date: Sep 2010
Posts: 10,215
Received Thanks: 5,781
Wie wärs wenn ihr alle mal die Klappe haltet? Sonst vernichte ich eure e*pvp Accounts mit meinem Skill.
theitfan1337 is offline  
Thanks
11 Users
Old 04/07/2012, 21:52   #6762
 
.Tiq3reye™'s Avatar
 
elite*gold: 15
Join Date: Apr 2011
Posts: 1,524
Received Thanks: 971
Suche buggfreie Full Stamina Source!
.Tiq3reye™ is offline  
Old 04/07/2012, 21:53   #6763

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by Nomad' View Post
Wie wärs wenn ihr alle mal die Klappe haltet? Sonst vernichte ich eure e*pvp Accounts mit meinem Skill.
Dieses Machtgehabe, wer der bessere Copypasta ist, ist schon auf dauer nervig.

Also stellt das bitte ein, oder Josh schwingt seinen Infrahammer.

Danke.
xxfabbelxx is offline  
Thanks
1 User
Old 04/07/2012, 23:47   #6764
 
elite*gold: 1
Join Date: Nov 2011
Posts: 283
Received Thanks: 34
Kann mir mal wer sagen was boneshot bringt im hack ?
.Anonymous' is offline  
Old 04/07/2012, 23:53   #6765
 
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
Quote:
Originally Posted by .Anonymous' View Post
Kann mir mal wer sagen was boneshot bringt im hack ?
Du kannst z.B auf die füße vom Gegner schießen und es ist wie ein Headshot.
__BuRn3R is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
WTB Flyff Source code snippets
04/01/2012 - Flyff Trading - 0 Replies
Hellow I posted this because I wanted to buy a fix scroll of unbinding.Which removes soul-link of an item.If you have its code snippets PM me.Don't sell me a code which is release because all of them are not working.I wanted to buy a fix one and a non-buggy code Payment:via Paypal
[Autoit] Youtube Code Snippets
07/29/2011 - AutoIt - 5 Replies
Tag Zusammen. Wie wohl die meisten von euch mitbekommen haben, bieten derzeit sehr viele User hier sogenannte Youtube Services an, bei denen man Abos, Likes, Dislikes etc. kaufen kann. Doch wer wirklich Erfolg haben will, braucht natürlich viele Abonnenten und Likes, was per Hand Tage dauern würde. Deshalb werden hier in letzter Zeit immer mehr Youtube Bots verkauft. Was, wie ich finde, ein ziemliche Abzocke ist, da das meist nur sehr schlechte Bots sind, die lediglich den Internet...
Some Code-Snippets[PSERVER]
07/15/2011 - Kal Hacks, Bots, Cheats & Exploits - 17 Replies
This is the code of the hack which Fremo released.. I got new methods so I dont need this anymore & maybe it'll help some people... G31 Adult Skill if(comboBox4->Text=="Panther'crit'") { KC->Chat(255," Panther Skill ON"); KC->Threads=1; KC->lasttime = timeGetTime()-15000; } else if(comboBox4->Text=="Tiger'otp'")
[Release] Code Snippets Manager
01/21/2011 - Coding Releases - 0 Replies
Code Snippets Manager http://upit.cc/images/1d47d78e.jpg Hab mich heute mal rangesetzt, und einen kleinen Manager für Code-Snippets(Code-Fetzen) gecodet, da ich alles sortiert in einer Anwendung wollte. Da es sicherlich jemand nützlich finden wird, lad ich es hier mal hoch.



All times are GMT +1. The time now is 23:42.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.