
Originally Posted by
ac1d_buRn
he'll probably want the classes to go with it /
[php]
typedef DWORD ADDY;
class cAddresses{
public:
ADDY LTClient;//Engine LTC
ADDY ASUS;//Glass Walls
ADDY Recoil;//NoRecoil
ADDY Reload;//NoReload(Visual)
ADDY Bypass;//Semi Bypass
ADDY RPP;//RandomPlayerPointer
ADDY LPP;//LocalPlayerPointer
ADDY Info;//Pointer for the Infoclass
ADDY LTB;//CShell LTC
ADDY SuperBullet;//Superbullets
bool bDataCompare(const BYTE* pData, const BYTE* bMask, const char* szMask);//Need for Pattern
ADDY FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask);//Search for an Addres and return it
};
class cReadys{
public:
bool ReadyForSearch();//Return true, when all needed Files Loaded
bool MouseIsOver(int x, int y, int w, int h);//Return true, when the Mouse is in the section
bool MouseIsIn(int x1, int y1, int x2, int y2);//Return true, if the Mosue is in the SQUAD
bool IsIngame();//Return true, when u are ingame
bool FinAddresses;//Is True, after SigScan
bool ReadyForHook();//Return true, when D3D can be enabled
};
class cValues{
public:
POINT MousePos;//MousePosition
int FontR, FontG, FontB;//FontColors
int MenuR, MenuG, MenuB;//MenuColors
int CrossR, CrossG, CrossB;//Crosshaircolor
int CrossSize;//Crosshairsize
int Infox,Infoy;//Infoposition
int Ammox,Ammoy;//Ammoposition
int HPx,HPy;//Healtbarposition
int Flykey, Hoverkey;//The Keys for the named hack
};
class cMisc{
public:
int WritePrivateProfileInt(LPCTSTR lpAppName, LPCTSTR lpKeyName, int nInteger, LPCTSTR lpFileName);//Write values, not strings
char *GetFrameRate();//Current FPS, NEED Globals
char *Fontname;//The Fontname
char *Path;//The SafePath
void GetMouse(POINT &Mouse);//Convert to the Local MousePosition
void OPK();//The void for the OPKThread
void HEXMemory(PVOID address, void* val, int bytes);//Edit the BYTES of an address
void SearchAddies();//Search for addies, convert a bool to true after finish scan
void HackIt(int sleep);//Normal hack void, best value is 250
void PermaHack();//For Hacks like Hover
void ConvertToKey(int &Key);//Convert an integer to the value of the pressed Key
void SetUp();//Set all by startup(Not D3D)
void SetUp3D();//Set all by startup(D3D Only)
void PatchCommand(bool OnOffVal, char *command, int On, int Off);//RunConsoleCommand
RCC RunConsoleCommand;
};
class cHack{
public:
cAddresses Addresses;//All addresses and the addresssearch
cReadys Readys;//All setting where return true if this is ok
cValues Values;//All Values for the DLL
cMisc Misc;//The other functions and settings
};
extern class cHack Hack;[/php]