Здесь приведен список найденных мною оффсетов для Half-Life (valve).
CBasePlayer (player) - linux dif 5
- Код: Выделить всё
int m_LastHitGroup 90
int m_bitsDamageType 91
int m_iFlashBattery 178 // Flashlight Battery Draw
float m_flSndRange 184 // dist from player to sound entity
float m_flFallVelocity 185 // Player's fall speed
int m_rgItems[MAX_ITEMS] 186-190
int m_fKnownItem 191 // True when a new item needs to be added
int m_fNewAmmo 192 // True when a new item has been added
unsigned int m_afPhysicsFlags 193 // physics flags
float m_fNextSuicideTime 194 // the time after which the player can next use the suicide command
int m_lastDamageAmount 270 // Last damage taken
int m_iFOV 298 // Field of view.
int m_iClientFOV 299 // Client's known FOV.
int m_pActiveItem 306 // (get_pdata_cbase)
int m_pClientActiveItem 307 // Client version of the active item. (get_pdata_cbase)
int m_pLastItem 308 // (get_pdata_cbase)
int m_rgAmmo 310-321 // Shared ammo slots.
int m_rgAmmoLast 342-353 // Shared ammo slots.
int m_iDeaths 377 // Player deaths
CBasePlayerItem - linux dif 4
- Код: Выделить всё
CBasePlayer* m_pPlayer 28 // ( get_pdata_cbase() )
CBasePlayerItem* m_pNext 29 // ( get_pdata_cbase() )
int m_iId 30 // HLW_*.
CBasePlayerWeapon - linux dif 4
- Код: Выделить всё
int m_iPlayEmptySound 31 // None.
int m_fFireOnEmpty 32 // None.
float m_flPumpTime 33 // None.
int m_fInSpecialReload 34 // Are we in the middle of a reload for the shotguns
float m_flNextPrimaryAttack 35 // soonest time ItemPostFrame will call PrimaryAttack
float m_flNextSecondaryAttack 36 // soonest time ItemPostFrame will call SecondaryAttack
float m_flTimeWeaponIdle 37 // soonest time ItemPostFrame will call WeaponIdle
int m_iPrimaryAmmoType 38 // "primary" ammo index into players m_rgAmmo
int m_iSecondaryAmmoType 39 // "secondary" ammo index into players m_rgAmmo
int m_iClip 40 // number of shots left in the primary weapon clip
int m_iClientClip 41 // the last version of m_iClip sent to hud dll
int m_iClientWeaponState 42 // the last version of the weapon state sent to hud dll
int m_fInReload 43 // Are we in the middle of a reload;
int m_iDefaultAmmo 44 // How much ammo you get when you pick up this weapon
Weaponbox
- Код: Выделить всё
int iBPAmmo 60 // ammo in weapombox
Python (weapon_python) - linux dif 4
- Код: Выделить всё
int m_fInZoom 45 // Are we in zoom
CCrossbow (weapon_crossbow) - linux dif 4
- Код: Выделить всё
int m_fInZoom 45 // Are we in zoom
CGauss (weapon_gauss) - linux dif 4
- Код: Выделить всё
int m_fInAttack 19 // gauss attack mode
int m_fPrimaryFire 49 // Is primary attack[/pawn]
[b]CRpg (weapon_rpg) - linux dif 4[/b]
[code=php]int m_fSpotActive 46 // is laserdot active[/code]
[b]CRpgRocket (rpg_rocket) - linux dif 4[/b]
[code=php]m_pLauncher 168[/code]
[b]CWallHealth (func_healthcharger); CRecharge (func_recharge) - linux dif 4[/b]
[code=php]int m_iJuice 62 // charger capacity
int m_iOn 63 // 0 = off, 1 = startup, 2 = going
float m_flSoundTime 64
При нахождения новых оффсетов информация будет обновляться.