Question[HELP] Help on Coding.

Posts 112 of 12 · Page 1 of 1
[HELP] Help on Coding.
#include <stdio.h>
#include <Windows.h>

#define ADR_PLAYERPOINTER
#define ADR_SERVERPOINTER

void source_codes();{
(DWORD) dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
(DWORD) dwSeverPtr = *(DWORD*)ADR_SERVERPOINTER;



//-------------Hack Thread--------------//

//No Fog

void Fog ()
{
if(CH_Fog == 0);{
*(float*)OFS_NOFOG = 1166127104;//far fog address
*(float*)OFS_NEARFOG = 1166127104;}} //nearfog address

//End No Fog

//Fast All

void Fastrepair()
{
if(CH_Fastrepair == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTREPAIR = 5000000;}}}

void Fasthealth()
{
if(CH_Fasthealth == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTHEALTH = 5000000;}}}

void Fasthealth()
{
if(CH_Fastflag == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTFLAG = 5000000;}}}

void Fastammo
{
if(CH_Fastammo == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTAMMO = 5000000;}}}

//End Fast All

//Full Bright

void ADR_FULLBRIGHT1()
{
if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT1) = 1092779973;}}

void ADR_FULLBRIGHT2()
{
if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT2) = 1092779973;}}

void ADR_FULLBRIGHT3()
{
if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT3) = 1092779973;}}

//End Full Bright

//No Spawn

void ADR_Nospawn1()
{
if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN1 = 0;}}

void ADR_Nospawn2()
{
if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN2 = 0;}}

void ADR_Nospawn3()
{
if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN3 = 0;}}

//End No Spawn

//Super Jump

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

//End Super Jump

//No Bounds

void NoBounds1()
{
if(NoBounds){
*(float*)NoBounds1 = 0;}

void NoBounds2()
{
if(NoBounds){
*(float*)NoBounds2 = 0;}

void NoBounds3()
{
if(Nobounds){
*(float*)NoBounds3 = 0;}}

//End No Bounds

//No Spread

void NoSpread()
{
if(NoSpread){
if(dwPlayerPtr!=0){
*(float*)Nospread = 0;}}}

//End No Spread

//No Recoil

void NoRecoil1()
{
if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil1 = 0;}

void NoRecoil2()
{
if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil2 = 0;}

void NoRecoil3()
{
if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil3 = 0;}}

//End No Recoil

//Extra Ammo

void ExtraAmmo1()
{
if(Extra1){*(int*)ExtraAmmo1 = 1;}}

void ExtraAmmo2()
{
if(Extra2){*(int*)ExtraAmmo2 = 1;}}

//End Extra Ammo

}

//-------------End Hack Thread----------------//

void Module_Thread(){
for(;
{
if(*dwPlayerPtr)
source_codes();
}
Sleep(200);
}

BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
{

if(Basic_Base /*Our defention*/ == DLL_PROCESS_ATTACH)

{

MessageBoxA(NULL, "Despair ", "Enjoy The Game, while it last! ", MB_OK);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)Module_Th read/*We run our ModuleThread to start the whole process*/,0,0,0);
}
return TRUE;
}


Hmm can someone help me? 'cause im confused.

BTW: what is the addie for NFD? Hehe..
Quote Originally Posted by HAxCodER2 View Post
All faiL )
Hmm ok.. I remake my coding. Is it still wrong?
let me see ur work
this guy always say fail in his sentences because his work is a total fail.
Quote Originally Posted by choykay619 View Post
this guy always say fail in his sentences because his work is a total fail.
HAHAHA tomo!! buti nga na banned ung lvl 81 niya.. na karma yan si siegz. buti nga may nag try eee
Quote Originally Posted by Despairado View Post
#include <stdio.h>
#include <Windows.h>

#define ADR_PLAYERPOINTER
#define ADR_SERVERPOINTER

void source_codes();{
(DWORD) dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
(DWORD) dwSeverPtr = *(DWORD*)ADR_SERVERPOINTER;



//-------------Hack Thread--------------//

//No Fog

void Fog ()
{
if(CH_Fog == 0);{
*(float*)OFS_NOFOG = 1166127104;//far fog address
*(float*)OFS_NEARFOG = 1166127104;}} //nearfog address

//End No Fog

//Fast All

void Fastrepair()
{
if(CH_Fastrepair == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTREPAIR = 5000000;}}}

void Fasthealth()
{
if(CH_Fasthealth == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTHEALTH = 5000000;}}}

void Fasthealth()
{
if(CH_Fastflag == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTFLAG = 5000000;}}}

void Fastammo
{
if(CH_Fastammo == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTAMMO = 5000000;}}}

//End Fast All

//Full Bright

void ADR_FULLBRIGHT1()
{
if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT1) = 1092779973;}}

void ADR_FULLBRIGHT2()
{
if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT2) = 1092779973;}}

void ADR_FULLBRIGHT3()
{
if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT3) = 1092779973;}}

//End Full Bright

//No Spawn

void ADR_Nospawn1()
{
if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN1 = 0;}}

void ADR_Nospawn2()
{
if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN2 = 0;}}

void ADR_Nospawn3()
{
if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN3 = 0;}}

//End No Spawn

//Super Jump

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

//End Super Jump

//No Bounds

void NoBounds1()
{
if(NoBounds){
*(float*)NoBounds1 = 0;}

void NoBounds2()
{
if(NoBounds){
*(float*)NoBounds2 = 0;}

void NoBounds3()
{
if(Nobounds){
*(float*)NoBounds3 = 0;}}

//End No Bounds

//No Spread

void NoSpread()
{
if(NoSpread){
if(dwPlayerPtr!=0){
*(float*)Nospread = 0;}}}

//End No Spread

//No Recoil

void NoRecoil1()
{
if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil1 = 0;}

void NoRecoil2()
{
if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil2 = 0;}

void NoRecoil3()
{
if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil3 = 0;}}

//End No Recoil

//Extra Ammo

void ExtraAmmo1()
{
if(Extra1){*(int*)ExtraAmmo1 = 1;}}

void ExtraAmmo2()
{
if(Extra2){*(int*)ExtraAmmo2 = 1;}}

//End Extra Ammo

}

//-------------End Hack Thread----------------//

void Module_Thread(){
for(;
{
if(*dwPlayerPtr)
source_codes();
}
Sleep(200);
}

BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD Basic_Base,LPVOID lpvReserved)
{

if(Basic_Base /*Our defention*/ == DLL_PROCESS_ATTACH)

{

MessageBoxA(NULL, "Despair ", "Enjoy The Game, while it last! ", MB_OK);


CreateThread(0,0,(LPTHREAD_START_ROUTINE)Module_Th read/*We run our ModuleThread to start the whole process*/,0,0,0);
}
return TRUE;
}


Hmm can someone help me? 'cause im confused.

BTW: what is the addie for NFD? Hehe..


I smell Copy&Paste... , just kidding...
Btw, try to Convert D3D source's to NoMenu..
Like This :


D3D
Code:
void ADR_Nospawn3()
{
	if(CH_Nospawn ==1)
{
		*(float*) ADR_NOSPAWN3 = 0;
}
}
To NoMenu

Code:
void ADR_Nospawn3()
{
{
		*(float*) ADR_NOSPAWN3 = 0;
}
}
Quote Originally Posted by FG Tim View Post
I smell Copy&Paste... , just kidding...
Btw, try to Convert D3D source's to NoMenu..
Like This :


D3D
Code:
void ADR_Nospawn3()
{
	if(CH_Nospawn ==1)
{
		*(float*) ADR_NOSPAWN3 = 0;
}
}
To NoMenu

Code:
void ADR_Nospawn3()
{
{
		*(float*) ADR_NOSPAWN3 = 0;
}
}

Hehe Well its kinda "Copy&Paste" haha! Hmm thanks alot.

i'll press thanks don't worry. /me
Moved to the right section and...

Quote Originally Posted by FG Tim View Post
I smell Copy&Paste... , just kidding...
Btw, try to Convert D3D source's to NoMenu..
Like This :


D3D
Code:
void ADR_Nospawn3()
{
	if(CH_Nospawn ==1)
{
		*(float*) ADR_NOSPAWN3 = 0;
}
}
To NoMenu

Code:
void ADR_Nospawn3()
{
{
		*(float*) ADR_NOSPAWN3 = 0;
}
}
That's not "converting to nomenu" in any way. All you did was remove an if statement >_>
this is the right nomenu, right? correct me if it's wrong
Code:
void AUTO_Ammo ()
{
DWORD dwPlayer_POINT = *(DWORD*)Adr_PlayerPoint;
if(dwPlayer_POINT != 0)
{
*(float*)Adr_FAmmo = 5000000;
}
}
hahaha ... copy paste ???
Addies are updated?
Posts 112 of 12 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?