ExclamationNFD_Player_OffSet undeclared identifier

Posts 1–15 of 18 · Page 1 of 2
NFD_Player_OffSet undeclared identifier
ahm ,please i need a little help il post the codes :

// ================
// Coded by Frolis16
// ================

// Warrock Hack Source Code Section. Coded by Shunnai.
#include <windows.h>

// Addresses
#define ADR_PLAYERPOINTER 0x009E27B0
#define ADR_SERVERPOINTER 0x009E274C
#define OFS_Z 0x00102E8
#define OFS_Y 0x00102F0
#define OFS_X 0x00102E0
#define OFS_NFD 0x00102C8

//End of addresses

/* Hotkeys snippet */

int CH_Superjump = 1;
int CH_NFD = 1;



//Superjump Function
void Superjump()
{
if(CH_Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)(dwPlayerPtr+OFS_Z) = 750;}}}
}
// End of Superjump Function

// NFD Function
void NFD ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+NFD_Player_OffSet) = -20000;
}
}

// End Of NFD Function

// Too add more functions/features just paste the function here then adjust the address the the Address header

// Void and sleep method
void MPGH(void)
{{
for(;
{
Superjump();
NFD();
}
Sleep(150);
}}
// Bool and thread
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MPGH , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}
where's the mistake?
// NFD Function
void NFD ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -20000;
}
}

here you go fixed

you are mistake was you define OFS_NFD not NFD_Player_OffSet
Thaaanks <3
Quote Originally Posted by frolis16 View Post
Thaaanks <3
press it:O but you fix iT?
yea ,done ,aha

pressing right away 8D
@barcoder Thanks

i have a good mentor @Terell. <3

i cant do a freakin' function myself ,there's always errors which i was not taught how to fix.

help?

// ================
// Coded by Frolis16
// ================

// Warrock Hack Source Code Section. Coded by Shunnai.
#include <windows.h>

// Addresses
#define ADR_PLAYERPOINTER 0x009E27B0
#define ADR_SERVERPOINTER 0x009E274C
#define OFS_Z 0x00102E8
#define OFS_Y 0x00102F0
#define OFS_X 0x00102E0
#define OFS_NFD 0x00102C8
#define ADR_NoSpread 0x009E71CC
//End of addresses

/* Hotkeys snippet */

int CH_Superjump = 1;
int CH_NFD = 1;
int CH_NoSpread = 1;


//Superjump Function
void Superjump()
{
if(CH_Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)(dwPlayerPtr+OFS_Z) = 750;}}}
}
// End of Superjump Function

// NFD Function
void NFD ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -20000;
}
}

// End Of NFD Function
// NoSpread Function
void NoSpread ()
{
;if(CH_NoSpread){if(ADR_PLAYERPOINTER!=0){*(float* )NoSpread = 0;}}
// NoSpread Function
// Too add more functions/features just paste the function here then adjust the address the the Address header

// Void and sleep method
void MPGH(void)
{{
for(;
{
Superjump();
NFD();
NoSpread();
}
Sleep(150);
}}
// Bool and thread
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MPGH , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}


What the heck is wrong with the no spread function?

@barcoder @Mike Shinoda
remove the ; in front of if
;if(CH_NoSpread){if(ADR_PLAYERPOINTER!=0){*(float* )NoSpread = 0;}}
Remove ; what is colored by red, remove that and you'll will fixed the problem
Still gives-me these error's and these were the ones i talked about not getting them fixed \:



the codes r yours so you must know where's the error x:

@R3dLine
Quote Originally Posted by SizeMan View Post
You have a Teamviewer ?
@frolis16
sure bro ,have msn ?
Add me "tribinha_kiko@...hotmail.com"

@SizeMan
Yes i have.
@SizeMan holy shit bro ,what did you do ? i really dont understand you gota explain to me ,ahah x)
Quote Originally Posted by frolis16 View Post
@SizeMan holy shit bro ,what did you do ? i really dont understand you gota explain to me ,ahah x)
Backup is at desktop if you don't like mines
i made a backup before doing somthing.
Posts 1–15 of 18 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?