View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-12-2012 , 02:35   Re: [INC] Sven Co-op 4.5 (v2) [10-01-11]
Reply With Quote #7

Try with those value :

Code:
// old file values are commented

const OFFSET_PLAYER_FLASHBAT = 8525 // m_iFlashBattery
const OFFSET_PLAYER_LONGJUMP = 8642 // 8641 // m_fLongJump
const OFFSET_PLAYER_BATTERY = 8646 // 8645 // m_iClientBattery
const OFFSET_PLAYER_FRAGS = 8651 // 8650 // that one has not been checked, and seems svencoop specific
const OFFSET_PLAYER_ACTIVE_ITEM = 8659 // 8658 // m_pActiveItem
const OFFSET_PLAYER_DEATHS = 8730 // 8729 // m_iDeaths
Actually while i was searching for those offsets, i've found those ones :
Code:
stock const m_iPlayerSound = 8437;

stock const m_flFlashLightTime = 8524;
stock const m_iFlashBattery = 8525;

stock const m_afButtonLast = 8526;
stock const m_afButtonPressed = 8527;
stock const m_afButtonReleased = 8528;

stock const m_afPhysicsFlags = 8541;

stock const m_tSneaking = 8643;
stock const m_iUpdateTime = 8644;
stock const m_iClientHealth = 8645;
stock const m_iClientBattery = 8646;
stock const m_iHideHUD = 8647;
stock const m_iHideHUD = 8647;
stock const m_iClientHideHUD = 8648;
stock const m_iFOV = 8649;
stock const m_iClientFOV = 8650;
stock const m_iClientFrags = 8651; // ???? svencoop specific offset ???
stock const m_rgpPlayerItems[6] = {8652,8653,...}; // MAX_ITEM_TYPES 6
// what is there 8660
stock const m_pActiveItem = 8659;
stock const m_pClientActiveItem = 8660;
stock const m_pLastItem = 8661;
stock const m_rgAmmo[32] = {8662,8663,...}; // -> 8669 // MAX_AMMO_SLOTS 32
stock const m_rgAmmoLast[32] = {8694,8695,...};

stock const m_vecAutoAim[3] = {8726,8727,8728};
stock const m_fOnTarget = 8729;
stock const m_iDeaths = 8730;
stock const m_iRespawnFrames = 8731;

stock const m_lastx = 8732;
stock const m_lasty = 8733;

stock const m_nCustomSprayFrames = 8734;
stock const m_flNextDecalTime = 8735;
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-12-2012 at 12:24.
ConnorMcLeod is offline