ZFreeze Func
So ,once more ,i tried to add a vital func to my no menu ,complementing an idea of making a simple Lighthouse Time hack.
once i tried to add the func ,i was able to take out all errors and finally decompile the .dll ,but as always ,something fails.
as i was saying ,once more i come to you guys of MPGH the best hacking community ever known by men ,in the 'quest' to try to fix my code ,because i just cant seem to see whats wrong.
PLEASE HELP ,il quote the base right away.
Thanks ,and after fixed credits will be given ,in BIG RED LINES 
once i tried to add the func ,i was able to take out all errors and finally decompile the .dll ,but as always ,something fails.
as i was saying ,once more i come to you guys of MPGH the best hacking community ever known by men ,in the 'quest' to try to fix my code ,because i just cant seem to see whats wrong.
PLEASE HELP ,il quote the base right away.
#include <windows.h>
#include <stdio.h>
//ADDIES
#define PlayerPointer 0x00******
#define ServerPointer 0x00******
#define OFS_Z 0x00******
#define OFS_Y 0x001******
#define OFS_X 0x00******
#define OFS_Nofalldamage 0x00******
#define ADR_STAMINA1 0x******
#define ADR_STAMINA2 0x******
#define ADR_STAMINA3 0x******
#define ADR_STAMINA4 0x******
#define ADR_STAMINA5 0x8******
#define OFS_NoSpread 0x00******
#define OFS_NoRecoil1 0x0******
#define OFS_NoRecoil2 0x00******
#define OFS_NoRecoil3 0x00******
#define OFS_Premium 0x000******
#define SLOT5 0x00******
#define SLOT6 0x001******
#define SLOT7 0x00******
#define SLOT8 0x00******
#define ADR_GlassWalls 0x00******
#define ADR_Speed 0x84AC98
void Hacks()
{
DWORD PlayerPtr = *(DWORD*)PlayerPointer;
DWORD ServerPtr = *(DWORD*)ServerPointer;
if(PlayerPtr!=0)
{
//SuperJump
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD PlayerPtr = *(DWORD*)PlayerPointer;
if(PlayerPtr != 0){
*(float*)(PlayerPtr+OFS_Z) = 1000;}}
{//NoFallDamage
*(float*)(PlayerPtr+OFS_Nofalldamage) = -20000;
}
{//Stamina
*(float*)ADR_STAMINA1 = 1000;
*(double*)ADR_STAMINA2 = 1000;
*(double*)ADR_STAMINA3 = 0;
*(float*)ADR_STAMINA4 = 0;
*(float*)ADR_STAMINA5 = 0;
}
{//NoSpread
*(float*)(PlayerPtr + OFS_NoSpread) = 1;
}
{//NoRecoil
*(float*)(PlayerPtr + OFS_NoRecoil1) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil2) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil3) = 0;
}
//ZombieFreeze andOR adr_speed
{
if (ADR_Speed == 1)
{
*(double*)(ADR_Speed) = 0.0f;
}
if(ADR_Speed == 0)
{
*(double*)(ADR_Speed) = 96.0f;
}
}//End of PlayerHacks
if(ServerPtr!=0)
{
{//Premium
*(long*)(ServerPtr + OFS_Premium)= 3;
}
{//All Slots
*(long*) (ServerPtr + SLOT5) = 1;
*(long*) (ServerPtr + SLOT6) = 1;
*(long*) (ServerPtr + SLOT7) = 1;
*(long*) (ServerPtr + SLOT8) = 1;
}
//GlassWalls
if(GetAsyncKeyState(VK_NUMPAD2)&1){*(int*)(ADR_Gla ssWalls) = 1;}
if(GetAsyncKeyState(VK_NUMPAD3)&1){*(int*)(ADR_Gla ssWalls) = 0;}
// Dig
if(GetAsyncKeyState(VK_HOME)){*(float*)(PlayerPtr+ OFS_Z) = -2000;}
}
}
//End of Hacks
void HackThread()
{
for(;; )
{
Hacks();//Hacks
}
Sleep(200);
}
BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD dwReason,LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)Hac kThread,NULL,NULL,NULL);
}
return TRUE;
}
#include <stdio.h>
//ADDIES
#define PlayerPointer 0x00******
#define ServerPointer 0x00******
#define OFS_Z 0x00******
#define OFS_Y 0x001******
#define OFS_X 0x00******
#define OFS_Nofalldamage 0x00******
#define ADR_STAMINA1 0x******
#define ADR_STAMINA2 0x******
#define ADR_STAMINA3 0x******
#define ADR_STAMINA4 0x******
#define ADR_STAMINA5 0x8******
#define OFS_NoSpread 0x00******
#define OFS_NoRecoil1 0x0******
#define OFS_NoRecoil2 0x00******
#define OFS_NoRecoil3 0x00******
#define OFS_Premium 0x000******
#define SLOT5 0x00******
#define SLOT6 0x001******
#define SLOT7 0x00******
#define SLOT8 0x00******
#define ADR_GlassWalls 0x00******
#define ADR_Speed 0x84AC98
void Hacks()
{
DWORD PlayerPtr = *(DWORD*)PlayerPointer;
DWORD ServerPtr = *(DWORD*)ServerPointer;
if(PlayerPtr!=0)
{
//SuperJump
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD PlayerPtr = *(DWORD*)PlayerPointer;
if(PlayerPtr != 0){
*(float*)(PlayerPtr+OFS_Z) = 1000;}}
{//NoFallDamage
*(float*)(PlayerPtr+OFS_Nofalldamage) = -20000;
}
{//Stamina
*(float*)ADR_STAMINA1 = 1000;
*(double*)ADR_STAMINA2 = 1000;
*(double*)ADR_STAMINA3 = 0;
*(float*)ADR_STAMINA4 = 0;
*(float*)ADR_STAMINA5 = 0;
}
{//NoSpread
*(float*)(PlayerPtr + OFS_NoSpread) = 1;
}
{//NoRecoil
*(float*)(PlayerPtr + OFS_NoRecoil1) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil2) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil3) = 0;
}
//ZombieFreeze andOR adr_speed
{
if (ADR_Speed == 1)
{
*(double*)(ADR_Speed) = 0.0f;
}
if(ADR_Speed == 0)
{
*(double*)(ADR_Speed) = 96.0f;
}
}//End of PlayerHacks
if(ServerPtr!=0)
{
{//Premium
*(long*)(ServerPtr + OFS_Premium)= 3;
}
{//All Slots
*(long*) (ServerPtr + SLOT5) = 1;
*(long*) (ServerPtr + SLOT6) = 1;
*(long*) (ServerPtr + SLOT7) = 1;
*(long*) (ServerPtr + SLOT8) = 1;
}
//GlassWalls
if(GetAsyncKeyState(VK_NUMPAD2)&1){*(int*)(ADR_Gla ssWalls) = 1;}
if(GetAsyncKeyState(VK_NUMPAD3)&1){*(int*)(ADR_Gla ssWalls) = 0;}
// Dig
if(GetAsyncKeyState(VK_HOME)){*(float*)(PlayerPtr+ OFS_Z) = -2000;}
}
}
//End of Hacks
void HackThread()
{
for(;; )
{
Hacks();//Hacks
}
Sleep(200);
}
BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD dwReason,LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)Hac kThread,NULL,NULL,NULL);
}
return TRUE;
}


