#ifndef OFFSETS_H
#define OFFSETS_H
#include "PMemory.h"
#include <string>
#include <sstream>
#include "Decrypt.h"
class COffsets {
public:
[junk_enable 2 5 /]
[junk_enable_declares /]
[swap_lines]const DWORD LocalPlayer = 0x00A932BC;
DWORD dwLocalPlayer;
DWORD dwEntityList;
DWORD dwAttack;
DWORD dwEnginePointer;
DWORD dwSetViewAngle;
DWORD dwGlow;
DWORD dwActiveWeapon = 0x12C0; //m_hActiveWeapon
DWORD dwWeaponId = 0x1670 + 0x1C; //m_fAccuracyPenalty + m_nIndex
DWORD dwInCross = 0x2410; //m_iCrossHairID
DWORD dwSpotted = 0x935; //m_bSpotted
DWORD dwId = 0x64; //m_dwIndex
DWORD dwHealth = 0xFC; //m_iHealth
DWORD dwTeam = 0xF0; //m_iTeamNum
DWORD dwAmmo = 0x15C0; //m_iClip1
DWORD dwVecPunch = 0x13E8; //m_vecPunch
DWORD dwIShotsFired = 0x1D6C; //m_iShotsFired
DWORD dwDormant = 0xE9; //bDormant
std::string toHex(DWORD offset);
void getOffsets(PMemory* m);
[/swap_lines]
[junk_disable /]
private:
[swap_lines]
PMemory* mem;
PModule modClient, modEngine;
void updateLocalPlayer();
void updateEntityList();
void updateAttack();
void updateEnginePointerAndSetViewAngle();
void updateGlow();
[/swap_lines]
};
#endif
This is what I have please help