ExclamationZFreeze Func

Posts 1–11 of 11 · Page 1 of 1
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.

#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;
}
Thanks ,and after fixed credits will be given ,in BIG RED LINES
Tested/Works

//Hotkeys -
//GlassWalls - NumPad2/NumPad3
//Dig - Home
//ZombieFreeze - NumPad7/NumPad8

#include <windows.h>
#include <stdio.h>

//ADDIES
#define PlayerPointer 0x009E27B0
#define ServerPointer 0x009E274C
#define OFS_Y 0x00102E0
#define OFS_X 0x00102F0
#define OFS_Z 0x00102E8
#define OFS_NFD 0x00102C8
#define ADR_STAMINA1 0x0081CDAC
#define ADR_STAMINA2 0x0081CDB0
#define ADR_STAMINA3 0x0081CDB4
#define ADR_STAMINA4 0x0081CDB8
#define ADR_STAMINA5 0x0081CDBC
#define ADR_NoSpread 0x009E71CC
#define OFS_NoRecoil1 0x00C34C
#define OFS_NoRecoil2 0x00C440
#define OFS_NoRecoil3 0x00C444
#define OFS_Premium 0x58C
#define SLOT5 0x001021B4
#define SLOT6 0x001021B5
#define SLOT7 0x001021B6
#define SLOT8 0x001021B7
#define ADR_GlassWalls 0x009E23F4
#define ADR_Speed 0x0084AC98


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_NFD) = -20000;
}


{//Stamina
*(float*)ADR_STAMINA1 = 1000;
*(double*)ADR_STAMINA2 = 1000;
*(double*)ADR_STAMINA3 = 0;
*(float*)ADR_STAMINA4 = 0;
*(float*)ADR_STAMINA5 = 0;
}


{//NoSpread
*(float*)ADR_NoSpread = 0;
}


{//NoRecoil
*(float*)(PlayerPtr + OFS_NoRecoil1) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil2) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil3) = 0;
}


//ZombieFreeze
if(GetAsyncKeyState(VK_NUMPAD7)&1){ *(double*)(ADR_Speed) = 0.0f; }//ON
if(GetAsyncKeyState(VK_NUMPAD8)&1){ *(double*)(ADR_Speed) = 96.0f; }//OFF


//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 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;
}


}//End of ServerHacks
}//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;
}
EDIT: Its 05:08AM so....if u see any mistakes let me know! :P
FREEZE ZOMBIE =

{
float Speed = 0;
}
Quote Originally Posted by DirecTX_ View Post
FREEZE ZOMBIE =

{
float Speed = 0;
}

Speed is double now . Do u live in a cave ?

Its tested source so st..
Beutiful naruto ,one of the best coders ive ever seen

thanks.
Quote Originally Posted by frolis16 View Post
Beutiful naruto ,one of the best coders ive ever seen

thanks.
Im not coder yet. It takes alot more to become a real coder.
geez ,and i thaugh u were one ,i want to be like u are xD

whats ur defenition of coder? |:
Someone who can code hacks without using someone's base Lol.
Quote Originally Posted by scraprecon View Post
Someone who can code hacks without using someone's base Lol.
Thats not what a coder is.
Quote Originally Posted by frolis16 View Post
geez ,and i thaugh u were one ,i want to be like u are xD

whats ur defenition of coder? |:
A coder is a person that knows how their codes work, you can be a leecher (like 98% of the guys out there) and saying you made the menu since its a leecher or public base

i prefer people who code their own stuff,it does not need be big,aslong as they understand what they are doing without making topics every minute of the day, i call them coders

I can understand you ask for help, i do it to some times, any coder does even the coders from microsoft need help somethimes.
Thats normal, but don't ask every second or every error in a thread or to someone,STUDY it, i made alot of tutorials on nomenu since everyone thinks they can code if they coded 1 function.

People copy & paste ALOT Just check the include: #include <stdio.h>
that part is not even needed for a nomenu
check how much people add it just because they dont understand what their doing, check the Source Section and search for a nomenu base, i can guarantie you you'll find it almost everywhere!
Quote Originally Posted by scraprecon View Post
Someone who can code hacks without using someone's base Lol.
its far more complicated to be a coder then what you tell it is
imo it is. wats a coder to you?
Posts 1–11 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?