Willkommen ~Gast!
Registrieren || Einloggen || Hilfe/FAQ || Staff
Probleme mit der Registrierung im Forum? Melde dich unter registerEin Bild.
Autor Beitrag
000
02.06.2007, 23:12
the_Crow



ist es möglich ein waffe zu programmieren die statt kugeln irgendwelche entities verschießt? zb ein prop_physics oder einen npc.
im ordner scripts gibts ein paar datein, die zu den waffen gehörn, aber da kann man nur die standart munition benutzen.
im sourcecode hab ich aber auch nichts gefunden was mir weiterhilft

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
001
02.06.2007, 23:16
McScore



Rikku dürfte sich da auskennen.

--

... und der große böse Wolf bootete und bootete und bootete ...
Optimiere deine Map, sieh dir alle Compile-Errors an, frage den Hersteller und beschwer dich über nichts!
http://www.mcscore.de.vu
13+3+7=23, 133/7+23=42

zum Seitenanfang zum Seitenende Profil || Suche
002
03.06.2007, 10:06
the_Crow



hat sonst noch jemand eine lösung

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
003
03.06.2007, 12:25
the_Crow



ich hab etwas gefunden was mir ein bisschen weiter hilft. in der datei weapon_ar2.cpp gibts eine code stelle an der definiert wird was bei der zweiten schussfunktion aus der waffe kommt. hier ist es ein prop_combine_ball. ich würde aber gern ein prop_physic machen, das aussieht wie ein ziegelstein.

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
004
05.06.2007, 08:38
RikkuZooo



Hier villeicht klapts:
http://www.file-upload.net/download-294165/ar2-brick.rar.html

such einfach in der "prop_combine_brick.cpp" nach "// here the Brick model"

--

AirChina Mobile

zum Seitenanfang zum Seitenende Profil || Suche
005
05.06.2007, 14:17
the_Crow



die datei weapon_ar2.cpp is in ordnung aber bei den anderen bekomm ich ein "paar" Fehlermeldungen.

Quellcode:prop_combine_brick.obj : error LNK2005: "bool __cdecl UTIL_IsCombineBallDefinite(class CBaseEntity *)" (?UTIL_IsCombineBallDefinite@@YA_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CPropCombineBall::GetDataDescMap(void)" (?GetDataDescMap@CPropCombineBall@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual char const * __thiscall CPropCombineBall::GetClassName(void)" (?GetClassName@CPropCombineBall@@UAEPBDXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual class ServerClass * __thiscall CPropCombineBall::GetServerClass(void)" (?GetServerClass@CPropCombineBall@@UAEPAVServerClass@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual int __thiscall CPropCombineBall::YouForgotToImplementOrDeclareServerClass(void)" (?YouForgotToImplementOrDeclareServerClass@CPropCombineBall@@UAEHXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual bool __thiscall CPropCombineBall::OverridePropdata(void)" (?OverridePropdata@CPropCombineBall@@UAE_NXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::SetState(int)" (?SetState@CPropCombineBall@@QAEXH@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: bool __thiscall CPropCombineBall::IsInField(void)const " (?IsInField@CPropCombineBall@@QBE_NXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::StopAnimating(void)" (?StopAnimating@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: float __thiscall CPropCombineBall::LastCaptureTime(void)const " (?LastCaptureTime@CPropCombineBall@@QBEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::ClearLifetime(void)" (?ClearLifetime@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::StopLoopingSounds(void)" (?StopLoopingSounds@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::CollisionEventToTrace(int,struct gamevcollisionevent_t *,class CGameTrace &)" (?CollisionEventToTrace@CPropCombineBall@@AAEXHPAUgamevcollisionevent_t@@AAVCGameTrace@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::AnimThink(void)" (?AnimThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CFuncCombineBallSpawner::GetDataDescMap(void)" (?GetDataDescMap@CFuncCombineBallSpawner@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::RegisterReflection(class CPropCombineBall *,bool)" (?RegisterReflection@CFuncCombineBallSpawner@@QAEXPAVCPropCombineBall@@_N@Z) already defined in prop_combine_ball.obj

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
006
05.06.2007, 14:26
the_Crow



Quellcode:prop_combine_brick.obj : error LNK2005: "public: float __thiscall CFuncCombineBallSpawner::GetBallSpeed(void)const " (?GetBallSpeed@CFuncCombineBallSpawner@@QBEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CPointCombineBallLauncher::GetDataDescMap(void)" (?GetDataDescMap@CPointCombineBallLauncher@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPointCombineBallLauncher::InputLaunchBall(struct inputdata_t &)" (?InputLaunchBall@CPointCombineBallLauncher@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CFilterCombineBall::GetDataDescMap(void)" (?GetDataDescMap@CFilterCombineBall@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CPropCombineBall::GetBaseMap(void)" (?GetBaseMap@CPropCombineBall@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::Precache(void)" (?Precache@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::StartLifetime(float)" (?StartLifetime@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::SetMass(float)" (?SetMass@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: float __thiscall CPropCombineBall::GetBallHoldDissolveTime(void)" (?GetBallHoldDissolveTime@CPropCombineBall@@AAEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: float __thiscall CPropCombineBall::GetBallHoldSoundRampTime(void)" (?GetBallHoldSoundRampTime@CPropCombineBall@@AAEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: bool __thiscall CPropCombineBall::DissolveEntity(class CBaseEntity *)" (?DissolveEntity@CPropCombineBall@@AAE_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CFuncCombineBallSpawner::GetBaseMap(void)" (?GetBaseMap@CFuncCombineBallSpawner@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CFuncCombineBallSpawner::Precache(void)" (?Precache@CFuncCombineBallSpawner@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::GetTargetEndpoint(bool,class Vector *)" (?GetTargetEndpoint@CFuncCombineBallSpawner@@QAEX_NPAVVector@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CPointCombineBallLauncher::GetBaseMap(void)" (?GetBaseMap@CPointCombineBallLauncher@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CFilterCombineBall::GetBaseMap(void)" (?GetBaseMap@CFilterCombineBall@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual class CBasePlayer * __thiscall CPropCombineBall::HasPhysicsAttacker(float)" (?HasPhysicsAttacker@CPropCombineBall@@UAEPAVCBasePlayer@@M@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "bool __cdecl UTIL_IsCombineBall(class CBaseEntity *)" (?UTIL_IsCombineBall@@YA_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "bool __cdecl UTIL_IsAR2CombineBall(class CBaseEntity *)" (?UTIL_IsAR2CombineBall@@YA_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "int __cdecl ServerClassInit<struct DT_PropCombineBall::ignored>(struct DT_PropCombineBall::ignored *)" (??$ServerClassInit@Uignored@DT_PropCombineBall@@@@YAHPAUignored@DT_PropCombineBall@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual bool __thiscall CPropCombineBall::CreateVPhysics(void)" (?CreateVPhysics@CPropCombineBall@@UAE_NXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::ReplaceInSpawner(float)" (?ReplaceInSpawner@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: bool __thiscall CPropCombineBall::IsAttractiveTarget(class CBaseEntity *)" (?IsAttractiveTarget@CPropCombineBall@@AAE_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DeflectTowardEnemy(float,int,struct gamevcollisionevent_t *)" (?DeflectTowardEnemy@CPropCombineBall@@AAEXMHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::BounceInSpawner(float,int,struct gamevcollisionevent_t *)" (?BounceInSpawner@CPropCombineBall@@AAEXMHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: bool __thiscall CPropCombineBall::IsHittableEntity(class CBaseEntity *)" (?IsHittableEntity@CPropCombineBall@@AAE_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::ChoosePointInBox(class Vector *)" (?ChoosePointInBox@CFuncCombineBallSpawner@@AAEXPAVVector@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::ChoosePointInCylinder(class Vector *)" (?ChoosePointInCylinder@CFuncCombineBallSpawner@@AAEXPAVVector@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::CaptureBySpawner(void)" (?CaptureBySpawner@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::InputDisable(struct inputdata_t &)" (?InputDisable@CFuncCombineBallSpawner@@AAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::BallThink(void)" (?BallThink@CFuncCombineBallSpawner@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::SetRadius(float)" (?SetRadius@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::StartAnimating(void)" (?StartAnimating@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::SetPlayerLaunched(class CBasePlayer *)" (?SetPlayerLaunched@CPropCombineBall@@AAEXPAVCBasePlayer@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: __thiscall CFuncCombineBallSpawner::CFuncCombineBallSpawner(void)" (??0CFuncCombineBallSpawner@@QAE@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CFuncCombineBallSpawner::SpawnBall(void)" (?SpawnBall@CFuncCombineBallSpawner@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::InputEnable(struct inputdata_t &)" (?InputEnable@CFuncCombineBallSpawner@@AAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::RespawnBall(float)" (?RespawnBall@CFuncCombineBallSpawner@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::RespawnBallPostExplosion(void)" (?RespawnBallPostExplosion@CFuncCombineBallSpawner@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CPointCombineBallLauncher>(class CPointCombineBallLauncher *)" (??$DataMapInit@VCPointCombineBallLauncher@@@@YAPAUdatamap_t@@PAVCPointCombineBallLauncher@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: __thiscall CPointCombineBallLauncher::CPointCombineBallLauncher(void)" (??0CPointCombineBallLauncher@@QAE@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPointCombineBallLauncher::SpawnBall(void)" (?SpawnBall@CPointCombineBallLauncher@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CFilterCombineBall>(class CFilterCombineBall *)" (??$DataMapInit@VCFilterCombineBall@@@@YAPAUdatamap_t@@PAVCFilterCombineBall@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::NotifySpawnerOfRemoval(void)" (?NotifySpawnerOfRemoval@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
007
05.06.2007, 14:28
the_Crow



Quellcode:prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::WhizSoundThink(void)" (?WhizSoundThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::SetBallAsLaunched(void)" (?SetBallAsLaunched@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DoExplosion(void)" (?DoExplosion@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputExplode(struct inputdata_t &)" (?InputExplode@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::OnHitEntity(class CBaseEntity *,float,int,struct gamevcollisionevent_t *)" (?OnHitEntity@CPropCombineBall@@AAEXPAVCBaseEntity@@MHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DoImpactEffect(class Vector const &,int,struct gamevcollisionevent_t *)" (?DoImpactEffect@CPropCombineBall@@AAEXABVVector@@HPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::VPhysicsCollision(int,struct gamevcollisionevent_t *)" (?VPhysicsCollision@CPropCombineBall@@UAEXHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CFuncCombineBallSpawner::Spawn(void)" (?Spawn@CFuncCombineBallSpawner@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::GrabBallTouch(class CBaseEntity *)" (?GrabBallTouch@CFuncCombineBallSpawner@@AAEXPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPointCombineBallLauncher::Spawn(void)" (?Spawn@CPointCombineBallLauncher@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputKill(struct inputdata_t &)" (?InputKill@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputSocketed(struct inputdata_t &)" (?InputSocketed@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::ExplodeThink(void)" (?ExplodeThink@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::StartWhizSoundThink(void)" (?StartWhizSoundThink@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::OnPhysGunDrop(class CBasePlayer *,enum PhysGunDrop_t)" (?OnPhysGunDrop@CPropCombineBall@@UAEXPAVCBasePlayer@@W4PhysGunDrop_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DissolveThink(void)" (?DissolveThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CFuncCombineBallSpawner>(class CFuncCombineBallSpawner *)" (??$DataMapInit@VCFuncCombineBallSpawner@@@@YAPAUdatamap_t@@PAVCFuncCombineBallSpawner@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::BallGrabbed(class CBaseEntity *)" (?BallGrabbed@CFuncCombineBallSpawner@@QAEXPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class CBaseEntity * __cdecl CreateCombineBall(class Vector const &,class Vector const &,float,float,float,class CBaseEntity *)" (?CreateCombineBall@@YAPAVCBaseEntity@@ABVVector@@0MMMPAV1@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::Spawn(void)" (?Spawn@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::UpdateOnRemove(void)" (?UpdateOnRemove@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DieThink(void)" (?DieThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::FadeOut(float)" (?FadeOut@CPropCombineBall@@AAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DissolveRampSoundThink(void)" (?DissolveRampSoundThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputFadeAndRespawn(struct inputdata_t &)" (?InputFadeAndRespawn@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CPropCombineBall>(class CPropCombineBall *)" (??$DataMapInit@VCPropCombineBall@@@@YAPAUdatamap_t@@PAVCPropCombineBall@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::OnPhysGunPickup(class CBasePlayer *,enum PhysGunPickup_t)" (?OnPhysGunPickup@CPropCombineBall@@UAEXPAVCBasePlayer@@W4PhysGunPickup_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "int s_nExplosionTexture" (?s_nExplosionTexture@@3HA) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CPropCombineBall::m_DataMap" (?m_DataMap@CPropCombineBall@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: static class SendTable * CPropCombineBall::m_pClassSendTable" (?m_pClassSendTable@CPropCombineBall@@2PAVSendTable@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CFuncCombineBallSpawner::m_DataMap" (?m_DataMap@CFuncCombineBallSpawner@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CPointCombineBallLauncher::m_DataMap" (?m_DataMap@CPointCombineBallLauncher@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CFilterCombineBall::m_DataMap" (?m_DataMap@CFilterCombineBall@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CFilterCombineBall_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CFilterCombineBall_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CPointCombineBallLauncher_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CPointCombineBallLauncher_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CFuncCombineBallSpawner_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CFuncCombineBallSpawner_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "int DT_PropCombineBall::g_SendTableInit" (?g_SendTableInit@DT_PropCombineBall@@3HA) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class SendTable DT_PropCombineBall::g_SendTable" (?g_SendTable@DT_PropCombineBall@@3VSendTable@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CPropCombineBall_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CPropCombineBall_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combineball_seek_kill" (?sk_combineball_seek_kill@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combineball_seek_angle" (?sk_combineball_seek_angle@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combine_ball_search_radius" (?sk_combine_ball_search_radius@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combineball_guidefactor" (?sk_combineball_guidefactor@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_npc_dmg_combineball" (?sk_npc_dmg_combineball@@3VConVar@@A) already defined in prop_combine_ball.obj
choreoobjects.lib(choreoevent.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
   Creating library Release HL2MP/server.lib and object Release HL2MP/server.exp
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Release HL2MP/server.dll : fatal error LNK1169: one or more multiply defined symbols found

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
008
05.06.2007, 18:27
RikkuZooo



haste die combine_brick auch includiert?

--

AirChina Mobile

zum Seitenanfang zum Seitenende Profil || Suche
009
05.06.2007, 19:14
the_Crow



ja. ich hab sie da hinzugefügt wo auch die combine_ball is

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
010
05.06.2007, 19:18
RikkuZooo



//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//

#ifndef PROP_COMBINE_BALL_H
#define PROP_COMBINE_BALL_H
#ifdef _WIN32
#pragma once
#endif

//-----------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------
#include "player_pickup.h" // for combine ball inheritance

//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
class CFuncCombineBallSpawner;
class CSpriteTrail;

//-----------------------------------------------------------------------------
// Looks for enemies, bounces a max # of times before it breaks
//-----------------------------------------------------------------------------
class CPropCombineBall : public CBaseAnimating, public CDefaultPlayerPickupVPhysics
{
DECLARE_CLASS( CPropCombineBall, CBaseAnimating );
DECLARE_DATADESC();
DECLARE_SERVERCLASS();

public:
virtual void Precache();
virtual void Spawn();
virtual void UpdateOnRemove();
void StopLoopingSounds();

virtual void OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason );
virtual void OnPhysGunDrop( CBasePlayer *pPhysGunUser, PhysGunDrop_t Reason );
virtual void VPhysicsCollision( int index, gamevcollisionevent_t *pEvent );

virtual bool OverridePropdata();
virtual bool CreateVPhysics();

CFuncCombineBallSpawner *GetSpawner();

virtual void ExplodeThink( void );

// Override of IPlayerPickupVPhysics;
virtual bool ShouldPuntUseLaunchForces() { return true; }

void SetRadius( float flRadius );
void SetSpeed( float flSpeed ) { m_flSpeed = flSpeed; }
float GetSpeed( void ) const { return m_flSpeed; }

void CaptureBySpawner( );
bool IsBeingCaptured() const { return m_bCaptureInProgress; }

void ReplaceInSpawner( float flSpeed );

// Input
void InputExplode( inputdata_t &inputdata );
void InputFadeAndRespawn( inputdata_t &inputdata );
void InputKill( inputdata_t &inputdata );
void InputSocketed( inputdata_t &inputdata );

enum
{
STATE_NOT_THROWN = 0,
STATE_HOLDING,
STATE_THROWN,
STATE_LAUNCHED, //by a combine_ball launcher
};

void SetState( int state );
bool IsInField() const;

void StartWhizSoundThink( void );

void StartLifetime( float flDuration );
void ClearLifetime( );
void SetMass( float mass );

void SetWeaponLaunched( bool state = true ) { m_bWeaponLaunched = state; m_bLaunched = state; }
bool WasWeaponLaunched( void ) const { return m_bWeaponLaunched; }

bool WasFiredByNPC() const { return (GetOwnerEntity() && GetOwnerEntity()->IsNPC()); }

virtual CBasePlayer *HasPhysicsAttacker( float dt );

void SetSpawner( CFuncCombineBallSpawner *pSpawner ) { m_hSpawner = pSpawner; }
void NotifySpawnerOfRemoval( void );

float LastCaptureTime() const;

unsigned char GetState() const { return m_nState; }

int NumBounces( void ) const { return m_nBounceCount; }

void SetMaxBounces( int iBounces )
{
m_nMaxBounces = iBounces;
}

void SetEmitState( bool bEmit )
{
m_bEmit = bEmit;
}

private:

void SetPlayerLaunched( CBasePlayer *pOwner );

float GetBallHoldDissolveTime();
float GetBallHoldSoundRampTime();

// Pow!
void DoExplosion( );

void StartAnimating( void );
void StopAnimating( void );

void SetBallAsLaunched( void );

void CollisionEventToTrace( int index, gamevcollisionevent_t *pEvent, trace_t &tr );
bool DissolveEntity( CBaseEntity *pEntity );
void OnHitEntity( CBaseEntity *pHitEntity, float flSpeed, int index, gamevcollisionevent_t *pEvent );
void DoImpactEffect( const Vector &preVelocity, int index, gamevcollisionevent_t *pEvent );

// Bounce inside the spawner:
void BounceInSpawner( float flSpeed, int index, gamevcollisionevent_t *pEvent );

bool IsAttractiveTarget( CBaseEntity *pEntity );

// Deflects the ball toward enemies in case of a collision
void DeflectTowardEnemy( float flSpeed, int index, gamevcollisionevent_t *pEvent );

// Is this something we can potentially dissolve?
bool IsHittableEntity( CBaseEntity *pHitEntity );

// Sucky.
void WhizSoundThink();
void DieThink();
void DissolveThink();
void DissolveRampSoundThink();
void AnimThink( void );

void FadeOut( float flDuration );

bool OutOfBounces( void ) const
{
return ( m_nState == STATE_LAUNCHED && m_nMaxBounces != 0 && m_nBounceCount >= m_nMaxBounces );
}

private:

int m_nBounceCount;
int m_nMaxBounces;
bool m_bBounceDie;

float m_flLastBounceTime;

bool m_bFiredGrabbedOutput;
bool m_bStruckEntity; // Has hit an entity already (control accuracy)
bool m_bWeaponLaunched; // Means this was fired from the AR2
bool m_bForward; // Movement direction in ball spawner

unsigned char m_nState;
bool m_bCaptureInProgress;

float m_flSpeed;

CSpriteTrail *m_pGlowTrail;
CSoundPatch *m_pHoldingSound;

float m_flNextDamageTime;
float m_flLastCaptureTime;

CHandle < CFuncCombineBallSpawner > m_hSpawner;

CNetworkVar( bool, m_bEmit );
CNetworkVar( bool, m_bHeld );
CNetworkVar( bool, m_bLaunched );
CNetworkVar( float, m_flRadius );
};

class CFuncCombineBallSpawner : public CBaseEntity
{
DECLARE_CLASS( CFuncCombineBallSpawner, CBaseEntity );
DECLARE_DATADESC();

public:
CFuncCombineBallSpawner();

virtual void Spawn();
virtual void Precache();

// Balls call this to figure out where to bounce to
void GetTargetEndpoint( bool bForward, Vector *pVecEndpoint );

// Balls call this when they've been removed from the spawner
void RespawnBall( float flRespawnTime );
void RespawnBallPostExplosion( void );

// Fire ball grabbed output
void BallGrabbed( CBaseEntity *pEntity );

// Get speed of ball to place into the field
float GetBallSpeed( ) const;

// Register that a reflection occurred
void RegisterReflection( CPropCombineBall *pBall, bool bForward );

// Spawn a ball
virtual void SpawnBall();

private:

// Choose a random point inside the cylinder
void ChoosePointInCylinder( Vector *pVecPoint );

// Choose a random point inside the box
void ChoosePointInBox( Vector *pVecPoint );

// Used to determine when to respawn balls
void BallThink();

// Input
void InputEnable( inputdata_t &inputdata );
void InputDisable( inputdata_t &inputdata );

// Fire ball grabbed output
void GrabBallTouch( CBaseEntity *pOther );

public:
bool m_bShooter;
float m_flBallRadius;
float m_flBallRespawnTime;
float m_flMinSpeed;
float m_flMaxSpeed;

private:
CUtlVector< float > m_BallRespawnTime;
int m_nBallCount;
int m_nBallsRemainingInField;
float m_flRadius;
float m_flDisableTime;
bool m_bEnabled;

COutputEvent m_OnBallGrabbed;
COutputEvent m_OnBallReinserted;
COutputEvent m_OnBallHitTopSide;
COutputEvent m_OnBallHitBottomSide;
COutputEvent m_OnLastBallGrabbed;
COutputEvent m_OnFirstBallReinserted;
};

class CPointCombineBallLauncher : public CFuncCombineBallSpawner
{
DECLARE_CLASS( CPointCombineBallLauncher, CFuncCombineBallSpawner );

DECLARE_DATADESC();

public:

virtual void Spawn( void );
virtual void SpawnBall( void );
void InputLaunchBall ( inputdata_t &inputdata );

CPointCombineBallLauncher();

private:

int m_iBounces;
float m_flConeDegrees;
string_t m_iszBullseyeName;
};

// Creates a combine ball
CBaseEntity *CreateCombineBall( const Vector &origin, const Vector &velocity, float radius, float mass, float lifetime, CBaseEntity *pOwner );

// Query function to find out if a physics object is a combine ball (used for collision checks)
bool UTIL_IsCombineBall( CBaseEntity *pEntity );
bool UTIL_IsCombineBallDefinite( CBaseEntity *pEntity );
bool UTIL_IsAR2CombineBall( CBaseEntity *pEntity );

#endif // PROP_COMBINE_BALL_H

add das alles in die "prop_combine_brick.h" denke mal dann solte es gehen.

--

AirChina Mobile

zum Seitenanfang zum Seitenende Profil || Suche
011
06.06.2007, 14:14
the_Crow



nein funktioniert noch immer nicht. obwohl die liste der fehler schon kürzer ist

Quellcode:prop_combine_brick.obj : error LNK2005: "bool __cdecl UTIL_IsCombineBallDefinite(class CBaseEntity *)" (?UTIL_IsCombineBallDefinite@@YA_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CPropCombineBall::GetDataDescMap(void)" (?GetDataDescMap@CPropCombineBall@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual char const * __thiscall CPropCombineBall::GetClassName(void)" (?GetClassName@CPropCombineBall@@UAEPBDXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual class ServerClass * __thiscall CPropCombineBall::GetServerClass(void)" (?GetServerClass@CPropCombineBall@@UAEPAVServerClass@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual int __thiscall CPropCombineBall::YouForgotToImplementOrDeclareServerClass(void)" (?YouForgotToImplementOrDeclareServerClass@CPropCombineBall@@UAEHXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual bool __thiscall CPropCombineBall::OverridePropdata(void)" (?OverridePropdata@CPropCombineBall@@UAE_NXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::SetState(int)" (?SetState@CPropCombineBall@@QAEXH@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: bool __thiscall CPropCombineBall::IsInField(void)const " (?IsInField@CPropCombineBall@@QBE_NXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::StopAnimating(void)" (?StopAnimating@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: float __thiscall CPropCombineBall::LastCaptureTime(void)const " (?LastCaptureTime@CPropCombineBall@@QBEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::ClearLifetime(void)" (?ClearLifetime@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::StopLoopingSounds(void)" (?StopLoopingSounds@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::CollisionEventToTrace(int,struct gamevcollisionevent_t *,class CGameTrace &)" (?CollisionEventToTrace@CPropCombineBall@@AAEXHPAUgamevcollisionevent_t@@AAVCGameTrace@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::AnimThink(void)" (?AnimThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CFuncCombineBallSpawner::GetDataDescMap(void)" (?GetDataDescMap@CFuncCombineBallSpawner@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::RegisterReflection(class CPropCombineBall *,bool)" (?RegisterReflection@CFuncCombineBallSpawner@@QAEXPAVCPropCombineBall@@_N@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: float __thiscall CFuncCombineBallSpawner::GetBallSpeed(void)const " (?GetBallSpeed@CFuncCombineBallSpawner@@QBEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CPointCombineBallLauncher::GetDataDescMap(void)" (?GetDataDescMap@CPointCombineBallLauncher@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPointCombineBallLauncher::InputLaunchBall(struct inputdata_t &)" (?InputLaunchBall@CPointCombineBallLauncher@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: virtual struct datamap_t * __thiscall CFilterCombineBall::GetDataDescMap(void)" (?GetDataDescMap@CFilterCombineBall@@EAEPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CPropCombineBall::GetBaseMap(void)" (?GetBaseMap@CPropCombineBall@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::Precache(void)" (?Precache@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::StartLifetime(float)" (?StartLifetime@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::SetMass(float)" (?SetMass@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: float __thiscall CPropCombineBall::GetBallHoldDissolveTime(void)" (?GetBallHoldDissolveTime@CPropCombineBall@@AAEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: float __thiscall CPropCombineBall::GetBallHoldSoundRampTime(void)" (?GetBallHoldSoundRampTime@CPropCombineBall@@AAEMXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: bool __thiscall CPropCombineBall::DissolveEntity(class CBaseEntity *)" (?DissolveEntity@CPropCombineBall@@AAE_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CFuncCombineBallSpawner::GetBaseMap(void)" (?GetBaseMap@CFuncCombineBallSpawner@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CFuncCombineBallSpawner::Precache(void)" (?Precache@CFuncCombineBallSpawner@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::GetTargetEndpoint(bool,class Vector *)" (?GetTargetEndpoint@CFuncCombineBallSpawner@@QAEX_NPAVVector@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CPointCombineBallLauncher::GetBaseMap(void)" (?GetBaseMap@CPointCombineBallLauncher@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t * __cdecl CFilterCombineBall::GetBaseMap(void)" (?GetBaseMap@CFilterCombineBall@@CAPAUdatamap_t@@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual class CBasePlayer * __thiscall CPropCombineBall::HasPhysicsAttacker(float)" (?HasPhysicsAttacker@CPropCombineBall@@UAEPAVCBasePlayer@@M@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "bool __cdecl UTIL_IsCombineBall(class CBaseEntity *)" (?UTIL_IsCombineBall@@YA_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "bool __cdecl UTIL_IsAR2CombineBall(class CBaseEntity *)" (?UTIL_IsAR2CombineBall@@YA_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "int __cdecl ServerClassInit<struct DT_PropCombineBall::ignored>(struct DT_PropCombineBall::ignored *)" (??$ServerClassInit@Uignored@DT_PropCombineBall@@@@YAHPAUignored@DT_PropCombineBall@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual bool __thiscall CPropCombineBall::CreateVPhysics(void)" (?CreateVPhysics@CPropCombineBall@@UAE_NXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::ReplaceInSpawner(float)" (?ReplaceInSpawner@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: bool __thiscall CPropCombineBall::IsAttractiveTarget(class CBaseEntity *)" (?IsAttractiveTarget@CPropCombineBall@@AAE_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DeflectTowardEnemy(float,int,struct gamevcollisionevent_t *)" (?DeflectTowardEnemy@CPropCombineBall@@AAEXMHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::BounceInSpawner(float,int,struct gamevcollisionevent_t *)" (?BounceInSpawner@CPropCombineBall@@AAEXMHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: bool __thiscall CPropCombineBall::IsHittableEntity(class CBaseEntity *)" (?IsHittableEntity@CPropCombineBall@@AAE_NPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::ChoosePointInBox(class Vector *)" (?ChoosePointInBox@CFuncCombineBallSpawner@@AAEXPAVVector@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::ChoosePointInCylinder(class Vector *)" (?ChoosePointInCylinder@CFuncCombineBallSpawner@@AAEXPAVVector@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::CaptureBySpawner(void)" (?CaptureBySpawner@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::InputDisable(struct inputdata_t &)" (?InputDisable@CFuncCombineBallSpawner@@AAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::BallThink(void)" (?BallThink@CFuncCombineBallSpawner@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::SetRadius(float)" (?SetRadius@CPropCombineBall@@QAEXM@Z) already defined in prop_combine_ball.obj

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
012
06.06.2007, 14:18
the_Crow



Quellcode:prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::StartAnimating(void)" (?StartAnimating@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::SetPlayerLaunched(class CBasePlayer *)" (?SetPlayerLaunched@CPropCombineBall@@AAEXPAVCBasePlayer@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: __thiscall CFuncCombineBallSpawner::CFuncCombineBallSpawner(void)" (??0CFuncCombineBallSpawner@@QAE@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CFuncCombineBallSpawner::SpawnBall(void)" (?SpawnBall@CFuncCombineBallSpawner@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::InputEnable(struct inputdata_t &)" (?InputEnable@CFuncCombineBallSpawner@@AAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::RespawnBall(float)" (?RespawnBall@CFuncCombineBallSpawner@@QAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::RespawnBallPostExplosion(void)" (?RespawnBallPostExplosion@CFuncCombineBallSpawner@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CPointCombineBallLauncher>(class CPointCombineBallLauncher *)" (??$DataMapInit@VCPointCombineBallLauncher@@@@YAPAUdatamap_t@@PAVCPointCombineBallLauncher@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: __thiscall CPointCombineBallLauncher::CPointCombineBallLauncher(void)" (??0CPointCombineBallLauncher@@QAE@XZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPointCombineBallLauncher::SpawnBall(void)" (?SpawnBall@CPointCombineBallLauncher@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CFilterCombineBall>(class CFilterCombineBall *)" (??$DataMapInit@VCFilterCombineBall@@@@YAPAUdatamap_t@@PAVCFilterCombineBall@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::NotifySpawnerOfRemoval(void)" (?NotifySpawnerOfRemoval@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::WhizSoundThink(void)" (?WhizSoundThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::SetBallAsLaunched(void)" (?SetBallAsLaunched@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DoExplosion(void)" (?DoExplosion@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputExplode(struct inputdata_t &)" (?InputExplode@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::OnHitEntity(class CBaseEntity *,float,int,struct gamevcollisionevent_t *)" (?OnHitEntity@CPropCombineBall@@AAEXPAVCBaseEntity@@MHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DoImpactEffect(class Vector const &,int,struct gamevcollisionevent_t *)" (?DoImpactEffect@CPropCombineBall@@AAEXABVVector@@HPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::VPhysicsCollision(int,struct gamevcollisionevent_t *)" (?VPhysicsCollision@CPropCombineBall@@UAEXHPAUgamevcollisionevent_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CFuncCombineBallSpawner::Spawn(void)" (?Spawn@CFuncCombineBallSpawner@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CFuncCombineBallSpawner::GrabBallTouch(class CBaseEntity *)" (?GrabBallTouch@CFuncCombineBallSpawner@@AAEXPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPointCombineBallLauncher::Spawn(void)" (?Spawn@CPointCombineBallLauncher@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputKill(struct inputdata_t &)" (?InputKill@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputSocketed(struct inputdata_t &)" (?InputSocketed@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::ExplodeThink(void)" (?ExplodeThink@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::StartWhizSoundThink(void)" (?StartWhizSoundThink@CPropCombineBall@@QAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::OnPhysGunDrop(class CBasePlayer *,enum PhysGunDrop_t)" (?OnPhysGunDrop@CPropCombineBall@@UAEXPAVCBasePlayer@@W4PhysGunDrop_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DissolveThink(void)" (?DissolveThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CFuncCombineBallSpawner>(class CFuncCombineBallSpawner *)" (??$DataMapInit@VCFuncCombineBallSpawner@@@@YAPAUdatamap_t@@PAVCFuncCombineBallSpawner@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CFuncCombineBallSpawner::BallGrabbed(class CBaseEntity *)" (?BallGrabbed@CFuncCombineBallSpawner@@QAEXPAVCBaseEntity@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class CBaseEntity * __cdecl CreateCombineBall(class Vector const &,class Vector const &,float,float,float,class CBaseEntity *)" (?CreateCombineBall@@YAPAVCBaseEntity@@ABVVector@@0MMMPAV1@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::Spawn(void)" (?Spawn@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::UpdateOnRemove(void)" (?UpdateOnRemove@CPropCombineBall@@UAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DieThink(void)" (?DieThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::FadeOut(float)" (?FadeOut@CPropCombineBall@@AAEXM@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: void __thiscall CPropCombineBall::DissolveRampSoundThink(void)" (?DissolveRampSoundThink@CPropCombineBall@@AAEXXZ) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: void __thiscall CPropCombineBall::InputFadeAndRespawn(struct inputdata_t &)" (?InputFadeAndRespawn@CPropCombineBall@@QAEXAAUinputdata_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CPropCombineBall>(class CPropCombineBall *)" (??$DataMapInit@VCPropCombineBall@@@@YAPAUdatamap_t@@PAVCPropCombineBall@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: virtual void __thiscall CPropCombineBall::OnPhysGunPickup(class CBasePlayer *,enum PhysGunPickup_t)" (?OnPhysGunPickup@CPropCombineBall@@UAEXPAVCBasePlayer@@W4PhysGunPickup_t@@@Z) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "int s_nExplosionTexture" (?s_nExplosionTexture@@3HA) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CPropCombineBall::m_DataMap" (?m_DataMap@CPropCombineBall@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "public: static class SendTable * CPropCombineBall::m_pClassSendTable" (?m_pClassSendTable@CPropCombineBall@@2PAVSendTable@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CFuncCombineBallSpawner::m_DataMap" (?m_DataMap@CFuncCombineBallSpawner@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CPointCombineBallLauncher::m_DataMap" (?m_DataMap@CPointCombineBallLauncher@@0Udatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "private: static struct datamap_t CFilterCombineBall::m_DataMap" (?m_DataMap@CFilterCombineBall@@0Udatamap_t@@A) already defined in prop_combine_ball.obj

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
013
06.06.2007, 14:30
the_Crow



Quellcode:prop_combine_brick.obj : error LNK2005: "struct datamap_t * CFilterCombineBall_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CFilterCombineBall_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CPointCombineBallLauncher_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CPointCombineBallLauncher_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CFuncCombineBallSpawner_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CFuncCombineBallSpawner_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "int DT_PropCombineBall::g_SendTableInit" (?g_SendTableInit@DT_PropCombineBall@@3HA) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class SendTable DT_PropCombineBall::g_SendTable" (?g_SendTable@DT_PropCombineBall@@3VSendTable@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "struct datamap_t * CPropCombineBall_DataDescInit::g_DataMapHolder" (?g_DataMapHolder@CPropCombineBall_DataDescInit@@3PAUdatamap_t@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combineball_seek_kill" (?sk_combineball_seek_kill@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combineball_seek_angle" (?sk_combineball_seek_angle@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combine_ball_search_radius" (?sk_combine_ball_search_radius@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_combineball_guidefactor" (?sk_combineball_guidefactor@@3VConVar@@A) already defined in prop_combine_ball.obj
prop_combine_brick.obj : error LNK2005: "class ConVar sk_npc_dmg_combineball" (?sk_npc_dmg_combineball@@3VConVar@@A) already defined in prop_combine_ball.obj

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
014
06.06.2007, 18:15
RikkuZooo



dann liegts an meinen sdk das du en aktuellers hast als ich anscheint

--

AirChina Mobile

zum Seitenanfang zum Seitenende Profil || Suche
015
10.06.2007, 19:12
the_Crow



was kann man dagegen tun? außer ein update machen natürlich :)

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
016
12.06.2007, 08:07
the_Crow



kennt sonst noch jemand eine lösung

--

www.the-crow.at - meine persönliche Website | TibiaGerman | Twitter | Wiaschtlsiada

zum Seitenanfang zum Seitenende Profil || Suche
017
12.06.2007, 09:20
hausi



1. Lies dir mal eine der Fehlermeldungen durch (random pick):
Quellcode:prop_combine_brick.obj : error LNK2005: "struct datamap_t * __cdecl DataMapInit<class CPointCombineBallLauncher>(class CPointCombineBallLauncher *)" (??$DataMapInit@VCPointCombineBallLauncher@@@@YAPAUdatamap_t@@PAVCPointCombineBallLauncher@@@Z) already defined in prop_combine_ball.obj 2. Versuch die Fehlermeldung zu verstehen... Ich hab dir mal alles "unnötige" rausgenommen:
Quellcode:prop_combine_brick.obj : error LNK2005: irgendwas already defined in prop_combine_ball.obj 3. Verstehe, wie ein Linker funktioniert
4. Nimm das File prop_combine_ball.cpp aus dem Projekt heraus
5. Lern C++ *scnr*

--

zum Seitenanfang zum Seitenende Profil || Suche
018
12.06.2007, 12:59
Bluthund



Noch besser als die prop_combine_ball.cpp aus dem Projekt zu nehmen, wäre es wahrscheinlich der neuen Klasse und sämtlichen anderen neu definierten Sachen einfach nen anderen Namen zu geben als den schon bestehenden in der prop_combine_ball.cpp *hint*

Aber du solltest dich wirklich erstmal eingehend mit der Funktion des Linkers auseinandersetzen. Denn der Fehler ist ja nun wirklich aussagekräftig genug...
Da ich vermute, dass du den Code von Rikku einfach in dein Projekt gepasted hast, ohne nachzukucken, was da eigentlich drin steht, geb ich auch 5) von hausi nen fullack.

--

The C language combines all the power of assembly language with all the ease-of-use of assembly language.
"humorig is n blödwort :>" by -CarniGGeLjumpR-

zum Seitenanfang zum Seitenende Profil || Suche
019
20.06.2007, 21:46
RikkuZooo



ich hab denn von meinen sdk genommen was ich derzeite verwende also ist schon wieder 2-3 monate alte gabs ja auch updates von daher weis ich nicht
wie sich das mit denn vertregt zumal mein sdk doch nur 2003 support hat...

--

AirChina Mobile

zum Seitenanfang zum Seitenende Profil || Suche