Update: This extension should no longer be required. Valve claims to have fixed the exploit.
This is an extension to block a recent exploit present in some TF2 hacks. In short, the hacks allow clients to activate the action slot item of other players.
This extension will silently disallow activating another player's action slot items, but allow usage of their own.
I only have a windows build available for now, someone will need to make a linux build.
A linux build has been thoughtfully provided by KyleS, you'll find it at the same location as the windows build.
Should I just assume CDetour is to be copied from SDKTools?
Either way, gcc really doesn't like something being called in the SDK after adjusting the include paths to include CDetour, hl2sdk-tf2/game/server/ and hl2sdk-tf2/game/shared/ from the SDK and bombs out with these errors.
Spoiler
Code:
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:19:0,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseentity_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:80,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecMinsPreScaled::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:242:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecMinsPreScaled’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:242:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecMaxsPreScaled::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:243:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecMaxsPreScaled’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:243:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecMins::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:244:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecMins’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:244:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecMaxs::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:245:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecMaxs’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:245:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_usSolidFlags::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:248:2: error: invalid access to non-static data member ‘CCollisionProperty::m_usSolidFlags’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:248:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_nSurroundType::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:252:2: error: invalid access to non-static data member ‘CCollisionProperty::m_nSurroundType’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:252:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_nSolidType::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:255:2: error: invalid access to non-static data member ‘CCollisionProperty::m_nSolidType’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:255:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_triggerBloat::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:256:2: error: invalid access to non-static data member ‘CCollisionProperty::m_triggerBloat’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:256:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecSpecifiedSurroundingMinsPreScaled::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:261:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecSpecifiedSurroundingMinsPreScaled’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:261:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecSpecifiedSurroundingMaxsPreScaled::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:262:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecSpecifiedSurroundingMaxsPreScaled’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:262:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecSpecifiedSurroundingMins::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:263:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecSpecifiedSurroundingMins’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:263:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h: In static member function ‘static void CCollisionProperty::NetworkVar_m_vecSpecifiedSurroundingMaxs::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:264:2: error: invalid access to non-static data member ‘CCollisionProperty::m_vecSpecifiedSurroundingMaxs’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/collisionproperty.h:264:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/shared/baseentity_shared.h:63:0,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:80,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1562:31: error: ‘m_hMoveParent’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1562:45: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1572:31: error: ‘m_hOwnerEntity’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1572:46: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1572:2: error: ‘int CBaseEntity::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1562:2: error: with ‘int CBaseEntity::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1573:31: error: ‘m_hEffectEntity’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1573:47: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1573:2: error: ‘int CBaseEntity::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1562:2: error: with ‘int CBaseEntity::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1592:2: error: ‘m_hGroundEntity’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1592:1: error: ‘NetworkStateChanged_m_hGroundEntity’ is not a type
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1592:2: error: ISO C++ forbids declaration of ‘CNetworkHandleInternal’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_nRenderFX::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:777:2: error: invalid access to non-static data member ‘CBaseEntity::m_nRenderFX’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:777:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_nRenderMode::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:779:2: error: invalid access to non-static data member ‘CBaseEntity::m_nRenderMode’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:779:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_nModelIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:780:2: error: invalid access to non-static data member ‘CBaseEntity::m_nModelIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:780:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_clrRender::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:782:2: error: invalid access to non-static data member ‘CBaseEntity::m_clrRender’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:782:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_flAnimTime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:793:2: error: invalid access to non-static data member ‘CBaseEntity::m_flAnimTime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:793:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_flSimulationTime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:794:2: error: invalid access to non-static data member ‘CBaseEntity::m_flSimulationTime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:794:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_PredictableID::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:800:2: error: invalid access to non-static data member ‘CBaseEntity::m_PredictableID’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:800:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_nNextThinkTick::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:845:2: error: invalid access to non-static data member ‘CBaseEntity::m_nNextThinkTick’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:845:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_fEffects::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:847:2: error: invalid access to non-static data member ‘CBaseEntity::m_fEffects’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:847:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_iMaxHealth::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1098:2: error: invalid access to non-static data member ‘CBaseEntity::m_iMaxHealth’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1098:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_iHealth::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1099:2: error: invalid access to non-static data member ‘CBaseEntity::m_iHealth’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1099:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_lifeState::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1101:2: error: invalid access to non-static data member ‘CBaseEntity::m_lifeState’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1101:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_takedamage::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1102:2: error: invalid access to non-static data member ‘CBaseEntity::m_takedamage’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1102:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_spawnflags::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1541:2: error: invalid access to non-static data member ‘CBaseEntity::m_spawnflags’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1541:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_fFlags::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1546:2: error: invalid access to non-static data member ‘CBaseEntity::m_fFlags’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1546:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_iParentAttachment::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1556:2: error: invalid access to non-static data member ‘CBaseEntity::m_iParentAttachment’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1556:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_MoveType::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1557:2: error: invalid access to non-static data member ‘CBaseEntity::m_MoveType’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1557:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_MoveCollide::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1558:2: error: invalid access to non-static data member ‘CBaseEntity::m_MoveCollide’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1558:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static int CBaseEntity::GetOffset_m_Collision()’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1570:2: error: invalid access to non-static data member ‘CBaseEntity::m_Collision’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1570:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_CollisionGroup::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1575:2: error: invalid access to non-static data member ‘CBaseEntity::m_CollisionGroup’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1575:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_flShadowCastDistance::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1578:2: error: invalid access to non-static data member ‘CBaseEntity::m_flShadowCastDistance’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1578:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_iTeamNum::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1583:2: error: invalid access to non-static data member ‘CBaseEntity::m_iTeamNum’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1583:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_nWaterLevel::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1589:2: error: invalid access to non-static data member ‘CBaseEntity::m_nWaterLevel’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1589:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_vecBaseVelocity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1598:2: error: invalid access to non-static data member ‘CBaseEntity::m_vecBaseVelocity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1598:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_flFriction::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1618:2: error: invalid access to non-static data member ‘CBaseEntity::m_flFriction’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1618:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_flElasticity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1619:2: error: invalid access to non-static data member ‘CBaseEntity::m_flElasticity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1619:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_vecVelocity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1632:2: error: invalid access to non-static data member ‘CBaseEntity::m_vecVelocity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1632:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_iTextureFrameIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1635:2: error: invalid access to non-static data member ‘CBaseEntity::m_iTextureFrameIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1635:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_bSimulatedEveryTick::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1637:2: error: invalid access to non-static data member ‘CBaseEntity::m_bSimulatedEveryTick’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1637:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_bAnimatedEveryTick::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1638:2: error: invalid access to non-static data member ‘CBaseEntity::m_bAnimatedEveryTick’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1638:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_bAlternateSorting::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1639:2: error: invalid access to non-static data member ‘CBaseEntity::m_bAlternateSorting’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1639:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_vecOrigin::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1649:2: error: invalid access to non-static data member ‘CBaseEntity::m_vecOrigin’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1649:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_angRotation::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1650:2: error: invalid access to non-static data member ‘CBaseEntity::m_angRotation’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1650:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_vecViewOffset::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1654:2: error: invalid access to non-static data member ‘CBaseEntity::m_vecViewOffset’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1654:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In static member function ‘static void CBaseEntity::NetworkVar_m_bIsPlayerSimulated::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1657:2: error: invalid access to non-static data member ‘CBaseEntity::m_bIsPlayerSimulated’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1657:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h: In member function ‘CBaseEntity* CBaseEntity::GetMoveParent()’:
../../hl2sdks/hl2sdk-tf2/game/server/baseentity.h:1828:9: error: ‘m_hMoveParent’ was not declared in this scope
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:80:0,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/shared/baseentity_shared.h: In member function ‘CBaseEntity* CBaseEntity::GetOwnerEntity() const’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseentity_shared.h:114:9: error: ‘m_hOwnerEntity’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/shared/baseentity_shared.h: In member function ‘CBaseEntity* CBaseEntity::GetEffectEntity() const’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseentity_shared.h:119:9: error: ‘m_hEffectEntity’ was not declared in this scope
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:142:0,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:398:31: error: ‘m_hLightingOrigin’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:398:49: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:399:31: error: ‘m_hLightingOriginRelative’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:399:57: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:399:2: error: ‘int CBaseAnimating::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:398:2: error: with ‘int CBaseAnimating::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nForceBone::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:343:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nForceBone’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:343:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_vecForce::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:344:2: error: invalid access to non-static data member ‘CBaseAnimating::m_vecForce’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:344:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nSkin::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:346:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nSkin’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:346:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nBody::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:347:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nBody’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:347:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nHitboxSet::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:348:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nHitboxSet’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:348:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_flModelWidthScale::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:351:2: error: invalid access to non-static data member ‘CBaseAnimating::m_flModelWidthScale’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:351:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_flPlaybackRate::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:354:2: error: invalid access to non-static data member ‘CBaseAnimating::m_flPlaybackRate’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:354:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_flCycle::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:382:2: error: invalid access to non-static data member ‘CBaseAnimating::m_flCycle’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:382:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nSequence::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:383:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nSequence’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:383:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In member function ‘void CBaseAnimating::NetworkVar_m_flPoseParameter::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:384:2: error: invalid access to non-static data member ‘CBaseAnimating::m_flPoseParameter’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:384:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In member function ‘void CBaseAnimating::NetworkVar_m_flEncodedController::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:385:2: error: invalid access to non-static data member ‘CBaseAnimating::m_flEncodedController’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:385:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_bClientSideAnimation::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:388:2: error: invalid access to non-static data member ‘CBaseAnimating::m_bClientSideAnimation’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:388:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_bClientSideFrameReset::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:389:2: error: invalid access to non-static data member ‘CBaseAnimating::m_bClientSideFrameReset’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:389:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nNewSequenceParity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:391:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nNewSequenceParity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:391:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nResetEventsParity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:392:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nResetEventsParity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:392:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_nMuzzleFlashParity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:396:2: error: invalid access to non-static data member ‘CBaseAnimating::m_nMuzzleFlashParity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:396:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_fadeMinDist::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:408:2: error: invalid access to non-static data member ‘CBaseAnimating::m_fadeMinDist’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:408:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_fadeMaxDist::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:409:2: error: invalid access to non-static data member ‘CBaseAnimating::m_fadeMaxDist’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:409:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In static member function ‘static void CBaseAnimating::NetworkVar_m_flFadeScale::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:410:2: error: invalid access to non-static data member ‘CBaseAnimating::m_flFadeScale’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:410:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In member function ‘virtual void CBaseAnimating::SetLightingOrigin(CBaseEntity*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:477:2: error: ‘m_hLightingOrigin’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In member function ‘CBaseEntity* CBaseAnimating::GetLightingOrigin()’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:482:9: error: ‘m_hLightingOrigin’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In member function ‘virtual void CBaseAnimating::SetLightingOriginRelative(CBaseEntity*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:487:2: error: ‘m_hLightingOriginRelative’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h: In member function ‘CBaseEntity* CBaseAnimating::GetLightingOriginRelative()’:
../../hl2sdks/hl2sdk-tf2/game/server/baseanimating.h:492:9: error: ‘m_hLightingOriginRelative’ was not declared in this scope
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:26:0,
from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:13,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h: In member function ‘void CBaseFlex::NetworkVar_m_flexWeight::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h:167:2: error: invalid access to non-static data member ‘CBaseFlex::m_flexWeight’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h:167:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h: In static member function ‘static void CBaseFlex::NetworkVar_m_viewtarget::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h:170:2: error: invalid access to non-static data member ‘CBaseFlex::m_viewtarget’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h:170:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h: In static member function ‘static void CBaseFlex::NetworkVar_m_blinktoggle::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h:173:2: error: invalid access to non-static data member ‘CBaseFlex::m_blinktoggle’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/baseflex.h:173:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:13:0,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:449:37: error: ‘m_hActiveWeapon’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:449:53: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h: In static member function ‘static void CBaseCombatCharacter::NetworkVar_m_flNextAttack::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:399:2: error: invalid access to non-static data member ‘CBaseCombatCharacter::m_flNextAttack’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:399:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h: In member function ‘void CBaseCombatCharacter::NetworkVar_m_iAmmo::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:444:2: error: invalid access to non-static data member ‘CBaseCombatCharacter::m_iAmmo’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:444:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h: In member function ‘void CBaseCombatCharacter::NetworkVar_m_hMyWeapons::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:447:2: error: invalid access to non-static data member ‘CBaseCombatCharacter::m_hMyWeapons’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/basecombatcharacter.h:447:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:15:0,
from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:15,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_dirPrimary::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:31:2: error: invalid access to non-static data member ‘fogparams_t::dirPrimary’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:31:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_colorPrimary::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:32:2: error: invalid access to non-static data member ‘fogparams_t::colorPrimary’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:32:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_colorSecondary::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:33:2: error: invalid access to non-static data member ‘fogparams_t::colorSecondary’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:33:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_colorPrimaryLerpTo::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:34:2: error: invalid access to non-static data member ‘fogparams_t::colorPrimaryLerpTo’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:34:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_colorSecondaryLerpTo::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:35:2: error: invalid access to non-static data member ‘fogparams_t::colorSecondaryLerpTo’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:35:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_start::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:36:2: error: invalid access to non-static data member ‘fogparams_t::start’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:36:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_end::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:37:2: error: invalid access to non-static data member ‘fogparams_t::end’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:37:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_farz::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:38:2: error: invalid access to non-static data member ‘fogparams_t::farz’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:38:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_maxdensity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:39:2: error: invalid access to non-static data member ‘fogparams_t::maxdensity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:39:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_startLerpTo::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:41:2: error: invalid access to non-static data member ‘fogparams_t::startLerpTo’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:41:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_endLerpTo::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:42:2: error: invalid access to non-static data member ‘fogparams_t::endLerpTo’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:42:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_lerptime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:43:2: error: invalid access to non-static data member ‘fogparams_t::lerptime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:43:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_duration::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:44:2: error: invalid access to non-static data member ‘fogparams_t::duration’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:44:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_enable::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:45:2: error: invalid access to non-static data member ‘fogparams_t::enable’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:45:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void fogparams_t::NetworkVar_blend::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:46:2: error: invalid access to non-static data member ‘fogparams_t::blend’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:46:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:65:34: error: ‘m_hCtrl’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:65:42: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In constructor ‘fogplayerparams_t::fogplayerparams_t()’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:78:3: error: ‘m_hCtrl’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void sky3dparams_t::NetworkVar_scale::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:99:2: error: invalid access to non-static data member ‘sky3dparams_t::scale’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:99:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void sky3dparams_t::NetworkVar_origin::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:100:2: error: invalid access to non-static data member ‘sky3dparams_t::origin’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:100:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void sky3dparams_t::NetworkVar_area::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:101:2: error: invalid access to non-static data member ‘sky3dparams_t::area’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:101:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static int sky3dparams_t::GetOffset_fog()’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:104:2: error: invalid access to non-static data member ‘sky3dparams_t::fog’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:104:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:119:31: error: ‘ent’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:119:35: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In member function ‘void audioparams_t::NetworkVar_localSound::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:116:2: error: invalid access to non-static data member ‘audioparams_t::localSound’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:116:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void audioparams_t::NetworkVar_soundscapeIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:117:2: error: invalid access to non-static data member ‘audioparams_t::soundscapeIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:117:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h: In static member function ‘static void audioparams_t::NetworkVar_localBits::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:118:2: error: invalid access to non-static data member ‘audioparams_t::localBits’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/playernet_vars.h:118:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:17:0,
from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:15,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/fogcontroller.h: In static member function ‘static int CFogController::GetOffset_m_fog()’:
../../hl2sdks/hl2sdk-tf2/game/server/fogcontroller.h:66:2: error: invalid access to non-static data member ‘CFogController::m_fog’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/fogcontroller.h:66:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:15:0,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In member function ‘void CPlayerLocalData::NetworkVar_m_chAreaBits::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:38:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_chAreaBits’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:38:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:15:0,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In member function ‘void CPlayerLocalData::NetworkVar_m_chAreaPortalBits::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:39:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_chAreaPortalBits’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:39:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_iHideHUD::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:41:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_iHideHUD’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:41:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_flFOVRate::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:42:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_flFOVRate’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:42:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bDucked::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:47:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bDucked’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:47:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bDucking::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:49:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bDucking’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:49:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bInDuckJump::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:51:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bInDuckJump’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:51:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_flDucktime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:53:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_flDucktime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:53:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_flDuckJumpTime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:54:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_flDuckJumpTime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:54:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_flJumpTime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:56:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_flJumpTime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:56:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_flFallVelocity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:60:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_flFallVelocity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:60:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_vecPunchAngle::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:67:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_vecPunchAngle’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:67:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_vecPunchAngleVel::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:68:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_vecPunchAngleVel’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:68:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bDrawViewmodel::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:70:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bDrawViewmodel’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:70:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bWearingSuit::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:73:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bWearingSuit’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:73:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bPoisoned::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:74:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bPoisoned’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:74:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_flStepSize::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:75:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_flStepSize’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:75:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bAllowAutoMovement::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:76:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bAllowAutoMovement’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:76:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static int CPlayerLocalData::GetOffset_m_skybox3d()’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:79:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_skybox3d’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:79:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static int CPlayerLocalData::GetOffset_m_PlayerFog()’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:81:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_PlayerFog’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:81:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static int CPlayerLocalData::GetOffset_m_audio()’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:84:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_audio’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:84:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h: In static member function ‘static void CPlayerLocalData::NetworkVar_m_bSlowMovement::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:86:2: error: invalid access to non-static data member ‘CPlayerLocalData::m_bSlowMovement’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/playerlocaldata.h:86:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/player.h:16:0,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/public/PlayerState.h: In static member function ‘static void CPlayerState::NetworkVar_deadflag::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/public/PlayerState.h:32:2: error: invalid access to non-static data member ‘CPlayerState::deadflag’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/public/PlayerState.h:32:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/shared/baseplayer_shared.h:63:0,
from ../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/server/player.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:840:31: error: ‘m_hUseEntity’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/player.h:840:44: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:848:31: error: ‘m_hVehicle’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/player.h:848:42: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:848:2: error: ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/player.h:840:2: error: with ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/player.h:876:31: error: ‘m_hObserverTarget’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/player.h:876:49: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:876:2: error: ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/player.h:840:2: error: with ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/player.h:879:31: error: ‘m_hZoomOwner’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/player.h:879:44: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:879:2: error: ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/player.h:840:2: error: with ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1040:31: error: ‘m_hConstraintEntity’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1040:51: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1040:2: error: ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’ cannot be overloaded
../../hl2sdks/hl2sdk-tf2/game/server/player.h:840:2: error: with ‘int CBasePlayer::CNetworkHandle(CBaseEntity, int)’
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘CBaseEntity* CBasePlayer::GetObserverTarget() const’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:648:50: error: ‘m_hObserverTarget’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘CBaseEntity* CBasePlayer::GetFOVOwner()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:710:44: error: ‘m_hZoomOwner’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static int CBasePlayer::GetOffset_m_Local()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:767:2: error: invalid access to non-static data member ‘CBasePlayer::m_Local’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:767:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static int CBasePlayer::GetOffset_pl()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:777:2: error: invalid access to non-static data member ‘CBasePlayer::pl’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:777:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_fOnTarget::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:801:2: error: invalid access to non-static data member ‘CBasePlayer::m_fOnTarget’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:801:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_iBonusProgress::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:855:2: error: invalid access to non-static data member ‘CBasePlayer::m_iBonusProgress’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:855:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_iBonusChallenge::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:856:2: error: invalid access to non-static data member ‘CBasePlayer::m_iBonusChallenge’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:856:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flDeathTime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:866:2: error: invalid access to non-static data member ‘CBasePlayer::m_flDeathTime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:866:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_iObserverMode::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:869:2: error: invalid access to non-static data member ‘CBasePlayer::m_iObserverMode’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:869:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_iFOV::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:870:2: error: invalid access to non-static data member ‘CBasePlayer::m_iFOV’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:870:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_iDefaultFOV::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:871:2: error: invalid access to non-static data member ‘CBasePlayer::m_iDefaultFOV’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:871:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_iFOVStart::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:872:2: error: invalid access to non-static data member ‘CBasePlayer::m_iFOVStart’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:872:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flFOVTime::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:873:2: error: invalid access to non-static data member ‘CBasePlayer::m_flFOVTime’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:873:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_ArmorValue::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:966:2: error: invalid access to non-static data member ‘CBasePlayer::m_ArmorValue’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:966:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘void CBasePlayer::NetworkVar_m_hViewModel::NetworkStateChanged(int)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:977:2: error: invalid access to non-static data member ‘CBasePlayer::m_hViewModel’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:977:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flMaxspeed::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:990:2: error: invalid access to non-static data member ‘CBasePlayer::m_flMaxspeed’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:990:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_nTickBase::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1021:2: error: invalid access to non-static data member ‘CBasePlayer::m_nTickBase’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1021:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_hLastWeapon::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1026:2: error: invalid access to non-static data member ‘CBasePlayer::m_hLastWeapon’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1026:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_vecConstraintCenter::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1041:2: error: invalid access to non-static data member ‘CBasePlayer::m_vecConstraintCenter’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1041:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flConstraintRadius::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1042:2: error: invalid access to non-static data member ‘CBasePlayer::m_flConstraintRadius’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1042:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flConstraintWidth::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1043:2: error: invalid access to non-static data member ‘CBasePlayer::m_flConstraintWidth’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1043:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flConstraintSpeedFactor::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1044:2: error: invalid access to non-static data member ‘CBasePlayer::m_flConstraintSpeedFactor’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1044:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_flLaggedMovementValue::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1068:2: error: invalid access to non-static data member ‘CBasePlayer::m_flLaggedMovementValue’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1068:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘void CBasePlayer::NetworkVar_m_szLastPlaceName::NetworkStateChanged()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1084:2: error: invalid access to non-static data member ‘CBasePlayer::m_szLastPlaceName’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1084:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In static member function ‘static void CBasePlayer::NetworkVar_m_ubEFNoInterpParity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1098:2: error: invalid access to non-static data member ‘CBasePlayer::m_ubEFNoInterpParity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1098:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘void CBasePlayer::SetUseEntity(CBaseEntity*)’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1161:2: error: ‘m_hUseEntity’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘CBaseEntity* CBasePlayer::GetUseEntity()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1166:9: error: ‘m_hUseEntity’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘virtual IServerVehicle* CBasePlayer::GetVehicle()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1204:29: error: ‘m_hVehicle’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘virtual CBaseEntity* CBasePlayer::GetVehicleEntity()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1210:9: error: ‘m_hVehicle’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘virtual bool CBasePlayer::IsInAVehicle() const’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1215:19: error: ‘m_hVehicle’ was not declared in this scope
In file included from ../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:17:0,
from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h: At global scope:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:178:31: error: ‘m_hOwner’ has not been declared
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:178:40: error: ISO C++ forbids declaration of ‘CNetworkHandle’ with no type [-fpermissive]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h: In member function ‘virtual CBaseEntity* CBaseViewModel::GetOwner()’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:69:49: error: ‘m_hOwner’ was not declared in this scope
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h: In static member function ‘static void CBaseViewModel::NetworkVar_m_nViewModelIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:177:2: error: invalid access to non-static data member ‘CBaseViewModel::m_nViewModelIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:177:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h: In static member function ‘static void CBaseViewModel::NetworkVar_m_nAnimationParity::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:186:2: error: invalid access to non-static data member ‘CBaseViewModel::m_nAnimationParity’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:186:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h: In static member function ‘static void CBaseViewModel::NetworkVar_m_hWeapon::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:198:2: error: invalid access to non-static data member ‘CBaseViewModel::m_hWeapon’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:198:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
In file included from ../../hl2sdks/hl2sdk-tf2/game/server/basecombatweapon.h:16:0,
from ../../hl2sdks/hl2sdk-tf2/game/server/cbase.h:143,
from extension.cpp:36:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_hOwner::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:464:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_hOwner’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:464:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_nViewModelIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:471:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_nViewModelIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:471:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_flNextPrimaryAttack::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:474:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_flNextPrimaryAttack’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:474:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_flNextSecondaryAttack::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:475:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_flNextSecondaryAttack’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:475:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_flTimeWeaponIdle::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:476:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_flTimeWeaponIdle’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:476:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iViewModelIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:481:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iViewModelIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:481:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iWorldModelIndex::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:482:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iWorldModelIndex’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:482:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iState::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:509:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iState’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:509:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iPrimaryAmmoType::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:511:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iPrimaryAmmoType’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:511:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iSecondaryAmmoType::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:512:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iSecondaryAmmoType’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:512:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iClip1::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:513:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iClip1’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:513:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h: In static member function ‘static void CBaseCombatWeapon::NetworkVar_m_iClip2::NetworkStateChanged(void*)’:
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:514:2: error: invalid access to non-static data member ‘CBaseCombatWeapon::m_iClip2’ of NULL object [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/basecombatweapon_shared.h:514:2: error: (perhaps the ‘offsetof’ macro was used incorrectly) [-Werror=invalid-offsetof]
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h: In member function ‘virtual CBaseEntity* CBaseViewModel::GetOwner()’:
../../hl2sdks/hl2sdk-tf2/game/shared/baseviewmodel_shared.h:69:59: error: control reaches end of non-void function [-Werror=return-type]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘virtual bool CBasePlayer::IsInAVehicle() const’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1216:1: error: control reaches end of non-void function [-Werror=return-type]
../../hl2sdks/hl2sdk-tf2/game/server/player.h: In member function ‘virtual CBaseEntity* CBasePlayer::GetVehicleEntity()’:
../../hl2sdks/hl2sdk-tf2/game/server/player.h:1211:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: all warnings being treated as errors
make[1]: *** [Release.tf2/extension.o] Error 1
make: *** [all] Error 2
__________________
Not currently working on SourceMod plugin development.
Should I just assume CDetour is to be copied from SDKTools?
There's nothing from SM that's used by the extension (at the moment). There's no requirement for CDetour, SourceHook comes from MM:S.
Quote:
Originally Posted by Powerlord
Either way, gcc really doesn't like something being called in the SDK after adjusting the include paths to include CDetour, hl2sdk-tf2/game/server/ and hl2sdk-tf2/game/shared/ from the SDK and bombs out with these errors.