Difference between revisions of "Talk:Co-Operative Base (Mod)"

From Valve Developer Community
Jump to: navigation, search
(Linking Errors (also, avi/ibik.h doesn't exist))
(SecobMod for Source Engine 2007 (Seco7) Discussions:)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= ShadowSource - Information =
 
  
http://developer.valvesoftware.com/w/index.php?title=Shadowsource&oldid=133749
+
== SecobMod for Source Engine 2013 Discussions: ==
  
http://developer.valvesoftware.com/wiki/Talk:Shadowsource
+
== SecobMod for Source Engine 2007/2009 (Seco7) Discussions: ==
  
These are of course already implemented in the OrangeBox Co-Operative release.
 
--[[User:Chiefwhosm|Chiefwhosm]] 17:44, 29 May 2010 (UTC)
 
  
 +
c_baseentitiy.cpp unknown version:
  
Can anyone paste the code for the Save/Restore system? I can't get the patch to work plus my actual mod's running shadowsource's final release so I can't get my hands on it.
+
I just went through this process for setup with the newest sdk. The c_baseentity.cpp class seems to be unrecognized. I simply removed it from the project, ran the patcher, then re-added it, and looked in the patch file for the modifications to the file and made them manually. I suggest other people do the same until the patcher is updated.
--[[User:TheRealJman|TheRealJman]] 21:25, 1 June 2010 (UTC)
 
  
I think you'll find the Final release fixes your woes. Also a new patch file was released which should help you (see below). --[[User:Chiefwhosm|Chiefwhosm]] 10:43, 12 July 2010 (UTC)
 
  
----
+
source sdk 2013 version of the patch?:
  
= OBCO Talk Area =
+
does anyone have an updated copy of the patch that works with source sdk 2013?
 +
If not does anyone have a better way of applying individual parts of the patch to the code besides manually applying the patch by hand?
  
The official Steam forum thread for OBCO can be found here:
+
--[[User:Jfmherokiller|Jfmherokiller]] 20:26, 5 August 2013 (PDT)
  
http://forums.steampowered.com/forums/showthread.php?t=1327665
+
Yes - it's now out on the main article page!
 
 
 
 
I made a patch for this using Mercurial, so all changes made to the code can be seen more easily. [http://www.fileden.com/files/2007/10/28/1547530/sdk_to_obcoop_hg_patch.zip Link] (includes the VS2008 project files as well)
 
--[[User:Vektorx4|Vektorx4]] 12:14, 10 July 2010 (UTC)
 
 
 
Great stuff, this will make it much easier to merge OBCO into new SDK releases as/if required. --[[User:Chiefwhosm|Chiefwhosm]] 17:14, 10 July 2010 (UTC)
 
 
 
Whoops, I forgot to mention that this patch also includes the changes made to weapon_crossbow.cpp, which according to the readme, need to be rolled back. Should be trivial to do so anyway. :P Also, I noticed that post-OBCO patch, my mod crashes on vstdlib.dll on every exit (dedicated servers crash the same way as well), any ideas why this could be happening?
 
--[[User:Vektorx4|Vektorx4]] 18:44, 10 July 2010 (UTC)
 
 
 
I'd check your dynamic mounting paths in the cpp files (gameinterface.cpp and cdll_client.cpp) to make sure you've changed all of them to reflect whatever your modification is called, the dynamic mounting code is the usual suspect for crashes like that. --[[User:Chiefwhosm|Chiefwhosm]] 10:41, 12 July 2010 (UTC)
 
 
 
I'd agree - my problems with dynamic mounting had to do with me forgetting to finish the search-and-replace, so my dynamic mounting code had a schizophrenic mixture of 'obcoop' and 'refusaltosubmit' for the model folder. No wonder the filesystem code kept freaking out! --[[User:Silverpower|Silverpower]] 22:07, 12 July 2010 (UTC)
 
 
 
Well, I tried disabling the static and dynamic mounting code (together, of course), but it still crashes on exit, so it's probably not that. I'll play around with disabling features and see if I can identify the cause of the problem. The call stack for the crash is rather interesting, with the mod's binaries nowhere to be seen in it. Thankfully, this crash isn't a showstopping one - everything else works fine. --[[User:Vektorx4|Vektorx4]] 06:24, 15 July 2010 (UTC)
 
 
 
I moved your fixes over to the code fixes section of the main Coop page. --[[User:Chiefwhosm|Chiefwhosm]] 16:36, 15 July 2010 (UTC)
 
 
 
= cdll_client_init.cpp: unknown version? =
 
 
 
Hey there, trying to get the latest version of the source code (7/18/2010) and getting the following error when I try running the patcher update:
 
 
 
''This Program cannot update the installed version of SDK to OBCO Final Release because of the following reason:''
 
 
 
''C:\modname\src\game\client\cdll_client_int.cpp: unknown version.''
 
 
 
I've followed the instructions in the readme to the T, and to be honest am a bit baffled as to why it would be an "unknown version". Thoughts? --[[User:Sigmaseven|Sigmaseven]] 10:29, 18 July 2010 (UTC)
 
 
 
Chances are that the file has changed so the patcher no longer recognizes it. You didn't edit the file in any way before running the patch, I hope? Well, you could download the .patch
 
I made above (it's generated by Mercurial, not sure if other source control apps will handle it correctly) and either try to merge the changes in by hand (it's really a text file), or use Mercurial to do it. --[[User:Vektorx4|Vektorx4]] 03:21, 19 July 2010 (UTC)
 
 
 
I was actually made aware of this a few hours ago by somebody else. The cheating method will be to move that file out of the client folder, and see if it patches, then using the Mercurial patch, manually go through changing the file (not many changes) and then you have obco all setup. The reason I havn't fixed it is, one I don't have the sdk installed and two, there's going to be the Alien Swarm update in a few hours and who knows what chaos that will do to the SDK (no point fixing it and then having it broken again ;)). --[[User:Chiefwhosm|Chiefwhosm]] 13:50, 19 July 2010 (UTC)
 
 
 
== Linking Errors (also, avi/ibik.h doesn't exist) ==
 
 
 
I'm getting a lot of linking errors. I've already changed the linker input of all configurations of all projects from "winmm.lib" to "winmm.lib user32.lib kernel32.lib". When hitting the "..." button, however, I noticed kernel32.lib was there by default. Is it including kernel32.lib twice and exploding or something? Also, ibik.h isn't included (I've gotten around this by commenting out everything mentioning it). Can someone help? Thank you.
 
 
 
Error list:
 
Warning 1 Command line warning D9030 : operation is incompatible with multiprocessing; ignoring /MP switch cl
 
Error 2 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) weapon_flaregun.obj
 
Error 3 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) hl2mp_player.obj
 
Error 4 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) weapon_hl2mpbase.obj
 
Error 5 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) npc_bullseye.obj
 
Error 6 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) npc_headcrab.obj
 
Error 7 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) npc_metropolice.obj
 
Error 8 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) grenade_pathfollower.obj
 
Error 9 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) hl2_triggers.obj
 
Error 10 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) npc_antlion.obj
 
Error 11 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) npc_antlionguard.obj
 
Error 12 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) npc_barnacle.obj
 
Error 13 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) test_stressentities.obj
 
Error 14 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) trains.obj
 
Error 15 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) triggers.obj
 
Error 16 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) hl2_player.obj
 
Error 17 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) props.obj
 
Error 18 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) scripted.obj
 
Error 19 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) slideshow_display.obj
 
Error 20 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) Sprite.obj
 
Error 21 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) item_world.obj
 
Error 22 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) modelentities.obj
 
Error 23 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) physics_prop_ragdoll.obj
 
Error 24 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) player.obj
 
Error 25 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" (?R[email protected]@[email protected]@@Z) bmodels.obj
 
Error 26 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) CommentarySystem.obj
 
Error 27 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) EnvBeam.obj
 
Error 28 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) EnvLaser.obj
 
Error 29 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) baseentity.obj
 
Error 30 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) baseentity_shared.obj
 
Error 31 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) baseviewmodel_shared.obj
 
Error 32 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) beam_shared.obj
 
Error 33 error LNK2019: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) referenced in function "public: void __thiscall CBaseEntity::RemoveEffects(int)" ([email protected]@@[email protected]) ai_basenpc.obj
 
Error 34 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) basecombatcharacter.obj
 
Error 35 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) basecombatweapon.obj
 
Error 36 error LNK2001: unresolved external symbol "void __cdecl RemoveEntityFromDarknessCheck(class CBaseEntity *)" ([email protected]@[email protected]@@Z) basecombatweapon_shared.obj
 
Error 37 error LNK2019: unresolved external symbol "bool __cdecl LookerCouldSeeTargetInDarkness(class CBaseEntity *,class CBaseEntity *)" ([email protected]@[email protected]@[email protected]) referenced in function "public: virtual void __thiscall CAI_FollowBehavior::GatherConditions(void)" ([email protected][email protected]@UAEXXZ) ai_behavior_follow.obj
 
Error 38 error LNK2019: unresolved external symbol "void __cdecl AddEntityToDarknessCheck(class CBaseEntity *,float)" ([email protected]@[email protected]@[email protected]) referenced in function "public: void __thiscall CBaseEntity::SetEffects(int)" ([email protected]@@[email protected]) baseentity_shared.obj
 
Error 39 error LNK2001: unresolved external symbol "void __cdecl AddEntityToDarknessCheck(class CBaseEntity *,float)" ([email protected]@[email protected]@[email protected]) props.obj
 
Error 40 error LNK2019: unresolved external symbol [email protected] referenced in function "enum EditorSendResult_t __cdecl Editor_SendCommand(char const *,bool)" ([email protected]@[email protected]@[email protected]) editor_sendcommand.obj
 
Error 41 error LNK2019: unresolved external symbol [email protected] referenced in function "enum EditorSendResult_t __cdecl Editor_SendCommand(char const *,bool)" ([email protected]@[email protected]@[email protected]) editor_sendcommand.obj
 
Error 42 error LNK2019: unresolved external symbol [email protected] referenced in function "enum EditorSendResult_t __cdecl Editor_SendCommand(char const *,bool)" ([email protected]@[email protected]@[email protected]) editor_sendcommand.obj
 
Error 43 error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function "public: virtual bool __thiscall CRegistry::DirectInit(char const *)" ([email protected]@@[email protected]) registry.obj
 
Error 44 error LNK2019: unresolved external symbol "public: enum PassengerState_e __thiscall CNPC_Alyx::GetPassengerState(void)" ([email protected][email protected]@[email protected]@XZ) referenced in function "private: bool __thiscall CSceneEntity::CheckActors(void)" ([email protected]@@AAE_NXZ) sceneentity.obj
 
Error 45 error LNK2019: unresolved external symbol "bool __cdecl ShouldVehicleIgnoreEntity(class CBaseEntity *,class CBaseEntity *)" ([email protected]@[email protected]@[email protected]) referenced in function "public: virtual int __thiscall CBaseServerVehicle::GetExitAnimToUse(class Vector &,bool &)" ([email protected]@@[email protected]@[email protected]) vehicle_baseserver.obj
 
Error 46 error LNK2019: unresolved external symbol "public: static class CNPC_Alyx * __cdecl CNPC_Alyx::GetAlyx(void)" ([email protected][email protected]@[email protected]) referenced in function "protected: virtual bool __thiscall CHL2_Player::HandleInteraction(int,void *,class CBaseCombatCharacter *)" ([email protected][email protected]@[email protected]@@Z) hl2_player.obj
 
Error 47 error LNK2019: unresolved external symbol "public: void __thiscall CNPC_Alyx::CombineBallSocketed(int)" ([email protected][email protected]@[email protected]) referenced in function "public: void __thiscall CHL2_Player::CombineBallSocketed(class CPropCombineBall *)" ([email protected][email protected]@[email protected]@@Z) hl2_player.obj
 
Error 48 error LNK2001: unresolved external symbol "public: __thiscall CAI_PassengerBehaviorCompanion::CAI_PassengerBehaviorCompanion(void)" ([email protected]@[email protected]) npc_vortigaunt_episodic.obj
 
Error 49 error LNK2019: unresolved external symbol "public: __thiscall CAI_PassengerBehaviorCompanion::CAI_PassengerBehaviorCompanion(void)" ([email protected]@[email protected]) referenced in function "public: __thiscall CNPC_PlayerCompanion::CNPC_PlayerCompanion(void)" ([email protected]@[email protected]) npc_alyx.obj
 
Error 50 error LNK2001: unresolved external symbol "public: __thiscall CAI_PassengerBehaviorCompanion::CAI_PassengerBehaviorCompanion(void)" ([email protected]@[email protected]) npc_barney.obj
 
Error 51 error LNK2001: unresolved external symbol "public: __thiscall CAI_PassengerBehaviorCompanion::CAI_PassengerBehaviorCompanion(void)" ([email protected]@[email protected]) npc_citizen17.obj
 
Error 52 error LNK2001: unresolved external symbol "public: __thiscall CAI_PassengerBehaviorCompanion::CAI_PassengerBehaviorCompanion(void)" ([email protected]@[email protected]) npc_fisherman.obj
 
Error 53 error LNK2001: unresolved external symbol "public: __thiscall CAI_OperatorBehavior::CAI_OperatorBehavior(void)" ([email protected]@[email protected]) npc_vortigaunt_episodic.obj
 
Error 54 error LNK2019: unresolved external symbol "public: __thiscall CAI_OperatorBehavior::CAI_OperatorBehavior(void)" ([email protected]@[email protected]) referenced in function "public: __thiscall CNPC_PlayerCompanion::CNPC_PlayerCompanion(void)" ([email protected]@[email protected]) npc_alyx.obj
 
Error 55 error LNK2001: unresolved external symbol "public: __thiscall CAI_OperatorBehavior::CAI_OperatorBehavior(void)" ([email protected]@[email protected]) npc_barney.obj
 
Error 56 error LNK2001: unresolved external symbol "public: __thiscall CAI_OperatorBehavior::CAI_OperatorBehavior(void)" ([email protected]@[email protected]) npc_citizen17.obj
 
Error 57 error LNK2001: unresolved external symbol "public: __thiscall CAI_OperatorBehavior::CAI_OperatorBehavior(void)" ([email protected]@[email protected]) npc_fisherman.obj
 
Error 58 error LNK2019: unresolved external symbol "public: void __thiscall CGrenadeSpit::SetSpitSize(int)" ([email protected]@@[email protected]) referenced in function "public: virtual void __thiscall CNPC_Antlion::HandleAnimEvent(struct animevent_t *)" ([email protected][email protected]@[email protected]@@Z) npc_antlion.obj
 
Error 59 error LNK2019: unresolved external symbol "public: void __thiscall CNPCEventResponseSystem::TriggerEvent(char const *,bool,bool)" ([email protected]@@[email protected]) referenced in function "public: virtual void __thiscall CNPC_CombineGunship::TraceAttack(class CTakeDamageInfo const &,class Vector const &,class CGameTrace *)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@@Z) npc_combinegunship.obj
 
Error 60 error LNK2019: unresolved external symbol "class CNPCEventResponseSystem * __cdecl NPCEventResponse(void)" ([email protected]@[email protected]@XZ) referenced in function "public: virtual void __thiscall CNPC_CombineGunship::TraceAttack(class CTakeDamageInfo const &,class Vector const &,class CGameTrace *)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@@Z) npc_combinegunship.obj
 
Error 61 error LNK2019: unresolved external symbol "bool __cdecl DarknessLightSourceWithinRadius(class CBaseEntity *,float)" ([email protected]@[email protected]@[email protected]) referenced in function "public: virtual void __thiscall CBaseHeadcrab::RunTask(struct Task_t const *)" ([email protected]@@[email protected]@@Z) npc_headcrab.obj
 
Error 62 fatal error LNK1120: 17 unresolved externals .\Release_hl2mp/Server.dll
 
 
 
I'll get back to you guys on if this works or not.
 
 
 
--[[User:D1Hazel1337|D1Hazel1337]] 15:38, 6 September 2010 (UTC)
 
 
 
It didn't do anything, though I've realized it's only the Server that's giving me any errors.
 
 
 
--[[User:D1Hazel1337|D1Hazel1337]] 15:41, 6 September 2010 (UTC)
 

Latest revision as of 13:31, 23 September 2013

SecobMod for Source Engine 2013 Discussions:

SecobMod for Source Engine 2007/2009 (Seco7) Discussions:

c_baseentitiy.cpp unknown version:

I just went through this process for setup with the newest sdk. The c_baseentity.cpp class seems to be unrecognized. I simply removed it from the project, ran the patcher, then re-added it, and looked in the patch file for the modifications to the file and made them manually. I suggest other people do the same until the patcher is updated.


source sdk 2013 version of the patch?:

does anyone have an updated copy of the patch that works with source sdk 2013? If not does anyone have a better way of applying individual parts of the patch to the code besides manually applying the patch by hand?

--Jfmherokiller 20:26, 5 August 2013 (PDT)

Yes - it's now out on the main article page!