UnhappyCan someone write the correct code

Posts 1–9 of 9 · Page 1 of 1
Can someone write the correct code
This is my code

code:
Code:
#include <windows.h>

#define ADR_PlayerPointer 0x00A96574
#define ADR_ServerPointer 0x00A95518
#define ADR_Glasswall 0x00A946A8
#define ADR_STAMINA1	0x889D70
#define ADR_SNS 0x8BD8C0
#define OFS_NORECOIL1 0xC440
#define OFS_NORECOIL2 0xC444
#define OFS_NORECOIL3 0xC448

DWORD *ingame= (DWORD*)ADR_Playerpointer;
DWORD *outgame= (DWORD*)ADR_Serverpointer;

void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWalls = 1;

else
{
*(int**)ADR_GlassWalls = 0;
}
}
void sns()
{
*(double*)ADR_SNS = 0;
}
void Stamina() //UnliSP
{
*(float*)ADR_Stamina = 9999999;
*(float*)ADR_Stamina = 0;
*(float*)ADR_Stamina = 0;
*(float*)ADR_Stamina = 0;
*(float*)ADR_Stamina = 9999999;
}
void nr()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
Stamina();
sns();
nr();
}
if(*outgame)
{
}
Sleep(200);
}
}

//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{

MessageBoxA(NULL,"Made by TagzkieNet","Credits",MB_OK);//
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
And It says

1>------ Build started: Project: dobspogs, Configuration: Debug Win32 ------
1> main.cpp
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(12): error C2065: 'ADR_Playerpointer' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(13): error C2065: 'ADR_Serverpointer' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(18): error C2065: 'ADR_GlassWalls' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(22): error C2065: 'ADR_GlassWalls' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(31): error C2065: 'ADR_Stamina' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(32): error C2065: 'ADR_Stamina' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(33): error C2065: 'ADR_Stamina' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(34): error C2065: 'ADR_Stamina' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(35): error C2065: 'ADR_Stamina' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(42): error C2065: 'OFS_NoRecoil1' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(43): error C2065: 'OFS_NoRecoil2' : undeclared identifier
1>c:\users\administrator\documents\visual studio 2010\projects\dobspogs\dobspogs\main.cpp(44): error C2065: 'OFS_NoRecoil3' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Can someone help me
man try to read the error and and u will get the poin on how to fix it ^_^
Please understand what it says
if you #define ADR_STAMINA1 use ADR_STAMINA1 on your function and not ADR_Stamina same for the other addresses.
address and source must be thesame in name!
Code:
#include <windows.h>

#define ADR_PlayerPointer 0x00A96574
#define ADR_ServerPointer 0x00A95518
#define ADR_Glasswall 0x00A946A8
#define ADR_SNS 0x8BD8C0
#define OFS_NoRecoil1 0xC440
#define OFS_NoRecoil2 0xC444
#define OFS_NoRecoil3 0xC448

DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;

void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_Glasswall = 1;

else
{
*(int**)ADR_Glasswall = 0;
}
}
void sns()
{
*(double*)ADR_SNS = 0;
}
void nr()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
}
}
void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
sns();
nr();
}
if(*outgame)
{
}
Sleep(200);
}
}

//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{

MessageBoxA(NULL,"Made by TagzkieNet","Credits",MB_OK);//
MessageBoxA(NULL,"SyncMaster/KenshinCoder","Credits",MB_OK);//
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}


Wag mo na po lagyan ng UnlimitedStamina kasi d na po yun gumagana
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?