Forum Thread
Search
by member
  Posts  
Compiling Errors - HL2 Episodic (Forums : Coding & Scripting : Compiling Errors - HL2 Episodic) Post Reply
Thread Options
Weeblinator
Weeblinator aka Mapster
Jul 12 2008, 12:46am Anchor

Hello Modb forum,
It is my first time actually looking on this forum but i have been registered for some time now and have come to start coding for half-life 2 trying to learn the basics. I have been looking at heaps of tutorials on the Valve Hammer Software wiki as well as a few on other forums which have finally got me up and going and trying to create different things.

I am not a noob to coding as i have made a couple of text games using c++ using loops\if,then,else\ I.O commands but when it comes to errors I'm not exactly the best at fixing them although this is my 4'th

So far i have made a zombine drop a grenade apon death unless a grenade has already been pulled which is nothing big; so i tried adding in a new gun but for some reason i am now getting a log of errors at the end of the server.dll when i try compiling it.

I get 10 errors for the client.dll but those errors are just : "skipped when looking for precompiled header use " which i read on the link above that they are nothing to worry about.

Errors:

Someone2 wrote:1>------ Build started: Project: Server (Episodic), Configuration: Debug Win32 ------
1>Compiling...
1>extinguisherjet.cpp
1>.\hl2\extinguisherjet.cpp(104) : error C3867: 'CExtinguisherJet::ExtinguishThink': function call missing argument list; use '&CExtinguisherJet::ExtinguishThink' to create a pointer to member
1>grenade_brickbat.cpp
1>.\hl2\grenade_brickbat.cpp(29) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CGrenade_Brickbat::* )(CBaseEntity *)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_brickbat.cpp(30) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CGrenade_Brickbat::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_brickbat.cpp(40) : error C3867: 'CGrenade_Brickbat::BrickbatTouch': function call missing argument list; use '&CGrenade_Brickbat::BrickbatTouch' to create a pointer to member
1>.\hl2\grenade_brickbat.cpp(41) : error C3867: 'CGrenade_Brickbat::BrickbatThink': function call missing argument list; use '&CGrenade_Brickbat::BrickbatThink' to create a pointer to member
1>grenade_energy.cpp
1>.\hl2\grenade_energy.cpp(29) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CGrenadeEnergy::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_energy.cpp(30) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CGrenadeEnergy::* )(CBaseEntity *)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_energy.cpp(44) : error C3867: 'CBaseGrenade::DetonateUse': function call missing argument list; use '&CBaseGrenade::DetonateUse' to create a pointer to member
1>.\hl2\grenade_energy.cpp(45) : error C3867: 'CGrenadeEnergy::GrenadeEnergyTouch': function call missing argument list; use '&CGrenadeEnergy::GrenadeEnergyTouch' to create a pointer to member
1>.\hl2\grenade_energy.cpp(53) : error C2248: 'CBaseAnimating::m_flCycle' : cannot access private member declared in class 'CBaseAnimating'
1>        c:\thedeceased\src\game\server\baseanimating.h(382) : see declaration of 'CBaseAnimating::m_flCycle'
1>        c:\thedeceased\src\game\server\baseanimating.h(29) : see declaration of 'CBaseAnimating'
1>.\hl2\grenade_energy.cpp(78) : error C3867: 'CGrenadeEnergy::Animate': function call missing argument list; use '&CGrenadeEnergy::Animate' to create a pointer to member
1>grenade_molotov.cpp
1>.\hl2\grenade_molotov.cpp(40) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CGrenade_Molotov::* )(CBaseEntity *)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_molotov.cpp(41) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CGrenade_Molotov::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_molotov.cpp(58) : error C3867: 'CGrenade_Molotov::MolotovTouch': function call missing argument list; use '&CGrenade_Molotov::MolotovTouch' to create a pointer to member
1>.\hl2\grenade_molotov.cpp(59) : error C3867: 'CGrenade_Molotov::MolotovThink': function call missing argument list; use '&CGrenade_Molotov::MolotovThink' to create a pointer to member
1>grenade_satchel.cpp
1>c:\thedeceased\src\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.h(10) : fatal error C1083: Cannot open include file: 'hl2mp_player.h': No such file or directory
1>grenade_tripmine.cpp
1>.\hl2\grenade_tripmine.cpp(38) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripmineGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripmine.cpp(39) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripmineGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripmine.cpp(40) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripmineGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripmine.cpp(41) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripmineGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripmine.cpp(63) : error C2248: 'CBaseAnimating::m_flCycle' : cannot access private member declared in class 'CBaseAnimating'
1>        c:\thedeceased\src\game\server\baseanimating.h(382) : see declaration of 'CBaseAnimating::m_flCycle'
1>        c:\thedeceased\src\game\server\baseanimating.h(29) : see declaration of 'CBaseAnimating'
1>.\hl2\grenade_tripmine.cpp(75) : error C3867: 'CTripmineGrenade::PowerupThink': function call missing argument list; use '&CTripmineGrenade::PowerupThink' to create a pointer to member
1>.\hl2\grenade_tripmine.cpp(109) : error C3867: 'CTripmineGrenade::PowerupThink': function call missing argument list; use '&CTripmineGrenade::PowerupThink' to create a pointer to member
1>.\hl2\grenade_tripmine.cpp(166) : error C3867: 'CTripmineGrenade::BeamBreakThink': function call missing argument list; use '&CTripmineGrenade::BeamBreakThink' to create a pointer to member
1>.\hl2\grenade_tripmine.cpp(233) : error C3867: 'CBaseEntity::SUB_Remove': function call missing argument list; use '&CBaseEntity::SUB_Remove' to create a pointer to member
1>.\hl2\grenade_tripmine.cpp(250) : error C3867: 'CTripmineGrenade::DelayDeathThink': function call missing argument list; use '&CTripmineGrenade::DelayDeathThink' to create a pointer to member
1>grenade_tripwire.cpp
1>.\hl2\grenade_tripwire.cpp(44) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripwireGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripwire.cpp(45) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripwireGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripwire.cpp(46) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripwireGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripwire.cpp(47) : error C2440: 'type cast' : cannot convert from 'void (__thiscall CTripwireGrenade::* )(void)' to 'inputfunc_t'
1>        Pointers to members have different representations; cannot cast between them
1>.\hl2\grenade_tripwire.cpp(72) : error C3867: 'CTripwireGrenade::WarningThink': function call missing argument list; use '&CTripwireGrenade::WarningThink' to create a pointer to member
1>.\hl2\grenade_tripwire.cpp(104) : error C3867: 'CTripwireGrenade::PowerupThink': function call missing argument list; use '&CTripwireGrenade::PowerupThink' to create a pointer to member
1>.\hl2\grenade_tripwire.cpp(140) : error C3867: 'CTripwireGrenade::RopeBreakThink': function call missing argument list; use '&CTripwireGrenade::RopeBreakThink' to create a pointer to member
1>.\hl2\grenade_tripwire.cpp(199) : error C3867: 'CTripwireGrenade::FireThink': function call missing argument list; use '&CTripwireGrenade::FireThink' to create a pointer to member
1>.\hl2\grenade_tripwire.cpp(218) : error C3867: 'CTripwireGrenade::FireThink': function call missing argument list; use '&CTripwireGrenade::FireThink' to create a pointer to member
1>item_antidote.cpp
1>.\hl2\item_antidote.cpp(40) : error C2248: 'CBasePlayer::m_rgItems' : cannot access private member declared in class 'CBasePlayer'
1>        c:\thedeceased\src\game\server\player.h(924) : see declaration of 'CBasePlayer::m_rgItems'
1>        c:\thedeceased\src\game\server\player.h(227) : see declaration of 'CBasePlayer'
1>.\hl2\item_antidote.cpp(40) : error C2065: 'ITEM_ANTIDOTE' : undeclared identifier
1>item_longjump.cpp
1>.\hl2\item_longjump.cpp(38) : error C2039: 'm_fLongJump' : is not a member of 'CBasePlayer'
1>        c:\thedeceased\src\game\server\player.h(227) : see declaration of 'CBasePlayer'
1>.\hl2\item_longjump.cpp(45) : error C2039: 'm_fLongJump' : is not a member of 'CBasePlayer'
1>        c:\thedeceased\src\game\server\player.h(227) : see declaration of 'CBasePlayer'
1>.\hl2\item_longjump.cpp(51) : error C2065: 'pev' : undeclared identifier
1>.\hl2\item_longjump.cpp(51) : error C2227: left of '->classname' must point to class/struct/union/generic type
1>        type is ''unknown-type''
1>.\hl2\item_longjump.cpp(51) : error C2228: left of '.ToCStr' must have class/struct/union
1>item_security.cpp
1>.\hl2\item_security.cpp(38) : error C2248: 'CBasePlayer::m_rgItems' : cannot access private member declared in class 'CBasePlayer'
1>        c:\thedeceased\src\game\server\player.h(924) : see declaration of 'CBasePlayer::m_rgItems'
1>        c:\thedeceased\src\game\server\player.h(227) : see declaration of 'CBasePlayer'
1>.\hl2\item_security.cpp(38) : error C2065: 'ITEM_SECURITY' : undeclared identifier
1>npc_assassin.cpp
1>.\hl2\npc_assassin.cpp(711) : error C2665: 'CAI_HintManager::FindHint' : none of the 4 overloads could convert all the argument types
1>        c:\TheDeceased\src\game\server\AI_Hint.h(221): could be 'CAI_Hint *CAI_HintManager::FindHint(CAI_BaseNPC *,const Vector &,const CHintCriteria &)'
1>        while trying to match the argument list '(CNPC_Assassin *const , const Vector, CHintCriteria *)'
1>npc_bullsquid.cpp
1>.\hl2\npc_bullsquid.cpp(174) : error C2065: 'CLASS_BULLSQUID' : undeclared identifier
1>npc_houndeye.cpp
1>.\hl2\npc_houndeye.cpp(180) : error C2065: 'CLASS_HOUNDEYE' : undeclared identifier
1>.\hl2\npc_houndeye.cpp(199) : error C2065: 'CLASS_HOUNDEYE' : undeclared identifier
1>.\hl2\npc_houndeye.cpp(525) : error C2511: 'void CNPC_Houndeye::DeathSound(void)' : overloaded member function not found in 'CNPC_Houndeye'
1>        c:\thedeceased\src\game\server\hl2\npc_houndeye.h(23) : see declaration of 'CNPC_Houndeye'
1>.\hl2\npc_houndeye.cpp(533) : error C2511: 'void CNPC_Houndeye::PainSound(void)' : overloaded member function not found in 'CNPC_Houndeye'
1>        c:\thedeceased\src\game\server\hl2\npc_houndeye.h(23) : see declaration of 'CNPC_Houndeye'
1>.\hl2\npc_houndeye.cpp(696) : error C2065: 'CLASS_HOUNDEYE' : undeclared identifier
1>.\hl2\npc_houndeye.cpp(805) : error C2660: 'CAI_Navigator::SetRadialGoal' : function does not take 5 arguments
1>npc_hydra.cpp
1>.\hl2\npc_hydra.cpp(1703) : error C3867: 'CHydraImpale::ImpaleThink': function call missing argument list; use '&CHydraImpale::ImpaleThink' to create a pointer to member
1>npc_spotlight.cpp
1>.\hl2\npc_spotlight.cpp(1471) : error C3867: 'CAI_BaseNPC::CallNPCThink': function call missing argument list; use '&CAI_BaseNPC::CallNPCThink' to create a pointer to member
1>npc_turret.cpp
1>.\hl2\npc_turret.cpp(249) : error C2248: 'CBaseAnimating::m_nSequence' : cannot access private member declared in class 'CBaseAnimating'
1>        c:\thedeceased\src\game\server\baseanimating.h(383) : see declaration of 'CBaseAnimating::m_nSequence'
1>        c:\thedeceased\src\game\server\baseanimating.h(29) : see declaration of 'CBaseAnimating'
1>.\hl2\npc_turret.cpp(250) : error C2248: 'CBaseAnimating::m_flCycle' : cannot access private member declared in class 'CBaseAnimating'
1>        c:\thedeceased\src\game\server\baseanimating.h(382) : see declaration of 'CBaseAnimating::m_flCycle'
1>        c:\thedeceased\src\game\server\baseanimating.h(29) : see declaration of 'CBaseAnimating'
1>.\hl2\npc_turret.cpp(251) : error C2065: 'SOLID_SLIDEBOX' : undeclared identifier
1>.\hl2\npc_turret.cpp(255) : error C2039: 'GetAmmoDef' : is not a member of 'CGameRules'
1>        c:\TheDeceased\src\game\shared\gamerules.h(113) : see declaration of 'CGameRules'
1>.\hl2\npc_turret.cpp(255) : error C2227: left of '->Index' must point to class/struct/union/generic type
1>.\hl2\npc_turret.cpp(301) : error C3861: 'GetAngles': identifier not found
1>.\hl2\npc_turret.cpp(306) : error C3867: 'CBaseTurret::AutoSearchThink': function call missing argument list; use '&CBaseTurret::AutoSearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(310) : error C3867: 'CBaseEntity::SUB_DoNothing': function call missing argument list; use '&CBaseEntity::SUB_DoNothing' to create a pointer to member
1>.\hl2\npc_turret.cpp(328) : error C3867: 'CBaseTurret::Retire': function call missing argument list; use '&CBaseTurret::Retire' to create a pointer to member
1>.\hl2\npc_turret.cpp(340) : error C3867: 'CBaseTurret::Deploy': function call missing argument list; use '&CBaseTurret::Deploy' to create a pointer to member
1>.\hl2\npc_turret.cpp(401) : error C3867: 'CBaseTurret::SearchThink': function call missing argument list; use '&CBaseTurret::SearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(418) : error C3867: 'CBaseTurret::SearchThink': function call missing argument list; use '&CBaseTurret::SearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(460) : error C3867: 'CBaseTurret::SearchThink': function call missing argument list; use '&CBaseTurret::SearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(493) : error C2248: 'CAI_BaseNPC::m_Activity' : cannot access private member declared in class 'CAI_BaseNPC'
1>        c:\TheDeceased\src\game\server\AI_BaseNPC.h(954) : see declaration of 'CAI_BaseNPC::m_Activity'
1>        c:\TheDeceased\src\game\server\AI_BaseNPC.h(484) : see declaration of 'CAI_BaseNPC'
1>.\hl2\npc_turret.cpp(532) : error C2248: 'CAI_BaseNPC::m_Activity' : cannot access private member declared in class 'CAI_BaseNPC'
1>        c:\TheDeceased\src\game\server\AI_BaseNPC.h(954) : see declaration of 'CAI_BaseNPC::m_Activity'
1>        c:\TheDeceased\src\game\server\AI_BaseNPC.h(484) : see declaration of 'CAI_BaseNPC'
1>.\hl2\npc_turret.cpp(541) : error C2065: 'm_fSequenceFinished' : undeclared identifier
1>.\hl2\npc_turret.cpp(552) : error C3861: 'Relink': identifier not found
1>.\hl2\npc_turret.cpp(557) : error C3867: 'CBaseTurret::SearchThink': function call missing argument list; use '&CBaseTurret::SearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(566) : error C3861: 'GetAngles': identifier not found
1>.\hl2\npc_turret.cpp(574) : error C2248: 'CAI_BaseNPC::m_Activity' : cannot access private member declared in class 'CAI_BaseNPC'
1>        c:\TheDeceased\src\game\server\AI_BaseNPC.h(954) : see declaration of 'CAI_BaseNPC::m_Activity'
1>        c:\TheDeceased\src\game\server\AI_BaseNPC.h(484) : see declaration of 'CAI_BaseNPC'
1>.\hl2\npc_turret.cpp(586) : error C2065: 'm_fSequenceFinished' : undeclared identifier
1>.\hl2\npc_turret.cpp(601) : error C3861: 'Relink': identifier not found
1>.\hl2\npc_turret.cpp(605) : error C3867: 'CBaseTurret::AutoSearchThink': function call missing argument list; use '&CBaseTurret::AutoSearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(610) : error C3867: 'CBaseEntity::SUB_DoNothing': function call missing argument list; use '&CBaseEntity::SUB_DoNothing' to create a pointer to member
1>.\hl2\npc_turret.cpp(649) : error C3867: 'CBaseTurret::ActiveThink': function call missing argument list; use '&CBaseTurret::ActiveThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(658) : error C3867: 'CBaseTurret::Retire': function call missing argument list; use '&CBaseTurret::Retire' to create a pointer to member
1>.\hl2\npc_turret.cpp(699) : error C3867: 'CBaseTurret::Deploy': function call missing argument list; use '&CBaseTurret::Deploy' to create a pointer to member
1>.\hl2\npc_turret.cpp(744) : error C2065: 'm_fSequenceFinished' : undeclared identifier
1>.\hl2\npc_turret.cpp(795) : error C3867: 'CBaseTurret::TurretDeath': function call missing argument list; use '&CBaseTurret::TurretDeath' to create a pointer to member
1>.\hl2\npc_turret.cpp(809) : error C3867: 'CBaseTurret::SearchThink': function call missing argument list; use '&CBaseTurret::SearchThink' to create a pointer to member
1>.\hl2\npc_turret.cpp(921) : error C2248: 'CBaseEntity::m_vecViewOffset' : cannot access private member declared in class 'CBaseEntity'
1>        c:\thedeceased\src\game\server\baseentity.h(1654) : see declaration of 'CBaseEntity::m_vecViewOffset'
1>        c:\thedeceased\src\game\server\baseentity.h(339) : see declaration of 'CBaseEntity'
1>.\hl2\npc_turret.cpp(921) : error C3861: 'GetAngles': identifier not found
1>.\hl2\npc_turret.cpp(922) : error C2248: 'CBaseEntity::m_vecViewOffset' : cannot access private member declared in class 'CBaseEntity'
1>        c:\thedeceased\src\game\server\baseentity.h(1654) : see declaration of 'CBaseEntity::m_vecViewOffset'
1>        c:\thedeceased\src\game\server\baseentity.h(339) : see declaration of 'CBaseEntity'
1>.\hl2\npc_turret.cpp(922) : error C2248: 'CBaseEntity::m_vecViewOffset' : cannot access private member declared in class 'CBaseEntity'
1>        c:\thedeceased\src\game\server\baseentity.h(1654) : see declaration of 'CBaseEntity::m_vecViewOffset'
1>        c:\thedeceased\src\game\server\baseentity.h(339) : see declaration of 'CBaseEntity'
1>.\hl2\npc_turret.cpp(931) : error C3867: 'CBaseTurret::Initialize': function call missing argument list; use '&CBaseTurret::Initialize' to create a pointer to member
1>.\hl2\npc_turret.cpp(933) : error C3861: 'GetOrigin': identifier not found
1>.\hl2\npc_turret.cpp(938) : error C2143: syntax error : missing ')' before ';'
1>.\hl2\npc_turret.cpp(938) : error C2059: syntax error : ')'
1>.\hl2\npc_turret.cpp(1071) : error C2248: 'CBaseEntity::m_vecViewOffset' : cannot access private member declared in class 'CBaseEntity'
1>        c:\thedeceased\src\game\server\baseentity.h(1654) : see declaration of 'CBaseEntity::m_vecViewOffset'
1>        c:\thedeceased\src\game\server\baseentity.h(339) : see declaration of 'CBaseEntity'
1>.\hl2\npc_turret.cpp(1071) : error C2039: 'z' : is not a member of 'CNetworkVectorBase'
1>        with
1>        [
1>            Type=Vector,
1>            Changer=CBaseEntity::NetworkVar_m_vecViewOffset
1>        ]
1>.\hl2\npc_turret.cpp(1080) : error C3867: 'CSentry::SentryTouch': function call missing argument list; use '&CSentry::SentryTouch' to create a pointer to member
1>.\hl2\npc_turret.cpp(1081) : error C3867: 'CBaseTurret::Initialize': function call missing argument list; use '&CBaseTurret::Initialize' to create a pointer to member
1>.\hl2\npc_turret.cpp(1082) : error C2143: syntax error : missing ')' before ';'
1>.\hl2\npc_turret.cpp(1082) : error C2059: syntax error : ')'
1>.\hl2\npc_turret.cpp(1102) : error C3867: 'CBaseTurret::Deploy': function call missing argument list; use '&CBaseTurret::Deploy' to create a pointer to member
1>.\hl2\npc_turret.cpp(1115) : error C3867: 'CSentry::SentryDeath': function call missing argument list; use '&CSentry::SentryDeath' to create a pointer to member
1>.\hl2\npc_turret.cpp(1151) : error C2065: 'SOLID_NOT' : undeclared identifier
1>.\hl2\npc_turret.cpp(1152) : error C3861: 'GetAngles': identifier not found
1>.\hl2\npc_turret.cpp(1153) : error C2228: left of '.y' must have class/struct/union
1>        type is ''unknown-type''
1>.\hl2\npc_turret.cpp(1153) : error C3861: 'GetAngles': identifier not found
1>.\hl2\npc_turret.cpp(1154) : error C3861: 'SetAngles': identifier not found
1>.\hl2\npc_turret.cpp(1184) : error C2065: 'm_fSequenceFinished' : undeclared identifier
1>trigger_super_armor.cpp
1>.\hl2\trigger_super_armor.cpp(60) : error C2653: 'CTriggerSuperAmmor' : is not a class or namespace name
1>.\hl2\trigger_super_armor.cpp(62) : error C2653: 'BaseClass' : is not a class or namespace name
1>.\hl2\trigger_super_armor.cpp(64) : error C3861: 'PrecacheScriptSound': identifier not found
1>.\hl2\trigger_super_armor.cpp(65) : error C3861: 'PrecacheScriptSound': identifier not found
1>.\hl2\trigger_super_armor.cpp(67) : error C3861: 'PrecacheScriptSound': identifier not found
1>.\hl2\trigger_super_armor.cpp(123) : error C3867: 'CTriggerSuperArmor::RechargeThink': function call missing argument list; use '&CTriggerSuperArmor::RechargeThink' to create a pointer to member
1>.\hl2\trigger_super_armor.cpp(178) : error C3867: 'CTriggerSuperArmor::RechargeThink': function call missing argument list; use '&CTriggerSuperArmor::RechargeThink' to create a pointer to member
1>vehicle_jetski.cpp
1>.\hl2\vehicle_jetski.cpp(110) : error C2065: 'm_pVehicle' : undeclared identifier
1>.\hl2\vehicle_jetski.cpp(110) : error C3861: 'DEFINE_PHYSPTR': identifier not found
1>.\hl2\vehicle_jetski.cpp(235) : error C2248: 'CBaseAnimating::m_flCycle' : cannot access private member declared in class 'CBaseAnimating'
1>        c:\thedeceased\src\game\server\baseanimating.h(382) : see declaration of 'CBaseAnimating::m_flCycle'
1>        c:\thedeceased\src\game\server\baseanimating.h(29) : see declaration of 'CBaseAnimating'
1>.\hl2\vehicle_jetski.cpp(325) : error C2039: 'SetLeanBack' : is not a member of 'IPhysicsVehicleController'
1>        c:\TheDeceased\src\public\vphysics/vehicles.h(77) : see declaration of 'IPhysicsVehicleController'
1>.\hl2\vehicle_jetski.cpp(329) : error C2039: 'SetLeanBack' : is not a member of 'IPhysicsVehicleController'
1>        c:\TheDeceased\src\public\vphysics/vehicles.h(77) : see declaration of 'IPhysicsVehicleController'
1>.\hl2\vehicle_jetski.cpp(476) : error C2039: 'frametime' : is not a member of 'CUserCmd'
1>        c:\thedeceased\src\game\shared\usercmd.h(32) : see declaration of 'CUserCmd'
1>weapon_brickbat.cpp
1>.\hl2\weapon_brickbat.cpp(149) : error C3867: 'CWeaponBrickbat::BrickbatTouch': function call missing argument list; use '&CWeaponBrickbat::BrickbatTouch' to create a pointer to member
1>weapon_extinguisher.cpp
1>.\hl2\weapon_extinguisher.cpp(144) : error C3867: 'CBaseEntity::SUB_Remove': function call missing argument list; use '&CBaseEntity::SUB_Remove' to create a pointer to member
1>.\hl2\weapon_extinguisher.cpp(358) : error C3867: 'CExtinguisherCharger::TurnOff': function call missing argument list; use '&CExtinguisherCharger::TurnOff' to create a pointer to member
1>Generating Code...
1>Compiling...
1>weapon_immolator.cpp
1>.\hl2\weapon_immolator.cpp(107) : error C3867: 'CWeaponImmolator::UpdateThink': function call missing argument list; use '&CWeaponImmolator::UpdateThink' to create a pointer to member
1>weapon_molotov.cpp
1>.\hl2\weapon_molotov.cpp(79) : error C3867: 'CWeaponMolotov::MolotovTouch': function call missing argument list; use '&CWeaponMolotov::MolotovTouch' to create a pointer to member
1>weapon_slam.cpp
1>c:\thedeceased\src\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.h(10) : fatal error C1083: Cannot open include file: 'hl2mp_player.h': No such file or directory
1>weapon_thumper.cpp
1>.\hl2\weapon_thumper.cpp(73) : error C3867: 'CPortableThumper::ThumpThink': function call missing argument list; use '&CPortableThumper::ThumpThink' to create a pointer to member
1>.\hl2\weapon_thumper.cpp(74) : error C3867: 'CPortableThumper::ThumperUse': function call missing argument list; use '&CPortableThumper::ThumperUse' to create a pointer to member
1>.\hl2\weapon_thumper.cpp(97) : error C3861: 'UTIL_RotorWash': identifier not found
1>weapon_tripwire.cpp
1>c:\thedeceased\src\game\shared\hl2mp\weapon_hl2mpbasehlmpcombatweapon.h(10) : fatal error C1083: Cannot open include file: 'hl2mp_player.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\TheDeceased\src\game\server\Debug_episodic\BuildLog.htm"
1>Server (Episodic) - 129 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Edited by: Weeblinator

Wraiyth
Wraiyth That Guy Who Does Those Things With The Stuff
Jul 12 2008, 3:10am Anchor

First things first. Build in release, not debug. Then come back with any compiler errors.

Varsity
O
N
L
I
N
E
Varsity Fine Nonsense
Jul 12 2008, 3:26am Anchor

What version of Visual Studio are you using?

Weeblinator
Weeblinator aka Mapster
Jul 12 2008, 8:31pm Anchor

Oh sorry about that, compiling log updated on first post.
I'm using Visual C++ 2008 Express Edition

--

Peter piper picked a pickled pepper, Pepper Peter Piper Picked.

Dark_Raver9
Dark_Raver9 Gwaa?..
Jul 13 2008, 4:13am Anchor

looks like adding weapons is still as complicated as in HL1 :p

--

Currently doing: Nothing...someone??? :p

Weeblinator
Weeblinator aka Mapster
Jul 13 2008, 4:32am Anchor

I removed all of the files related to my weapon and it's still giving errors. I think i removed something or stuffed something else up some how.

--

Peter piper picked a pickled pepper, Pepper Peter Piper Picked.

Varsity
O
N
L
I
N
E
Varsity Fine Nonsense
Jul 13 2008, 5:49am Anchor

I'm not sure that 2008 can compile the Episodic code. Can you try with 2005?

Weeblinator
Weeblinator aka Mapster
Jul 13 2008, 10:45am Anchor

I've gotten It working before. Once i tried adding in the weapon everything stopped working.

--

Peter piper picked a pickled pepper, Pepper Peter Piper Picked.

Varsity
O
N
L
I
N
E
Varsity Fine Nonsense
Jul 13 2008, 11:10am Anchor

Best post the code you added, then. It'll be a header issue.

Edited by: Varsity

Weeblinator
Weeblinator aka Mapster
Jul 13 2008, 4:26pm Anchor

I've removed all of code from the gun. Theres something else that i've done, i guess it's really up to me to find it.

--

Peter piper picked a pickled pepper, Pepper Peter Piper Picked.

Reply to Thread

Only registered members can share their thoughts. So come on! Join the Mod DB community today (totally free) and join in the conversation.