ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.76k stars 2k forks source link

"Could not load library client. Try restarting..." - Completely broken SDK? #291

Closed colistro123 closed 9 years ago

colistro123 commented 9 years ago

I tried running this stand alone after compiling it in two different versions of Visual Studio (2010 and 2012) and it doesn't even work "as is". I even re-installed the whole Source SDK Base 2013 Multiplayer and it's still the same thing. We also tried to compile it on another computer and got the exact same issue. I've been using the Source SDK since the 2007 version and this pretty much hasn't happened before. It was working on the Interglyph 2013 Source SDK Version by Tony Sergi, then we switched to this, and that's it, it doesn't work anymore. All we did was compile under 2010 (v100) and after that we moved the dll files to the bin folder. I did this about 12 times, even restarted my computer, no effect whatsoever. I checked the gameinfo.txt file, and I can assure you that's fine since this didn't happen before so it must be the solution itself generating a corrupt dll that cannot be recognized by the SDK.

Pre-Processor definitions:

"VPC RAD_TELEMETRY_DISABLED _HAS_ITERATOR_DEBUGGING=0 WIN32 _WIN32 _DEBUG DEBUG _WINDOWS _USRDLL _CRT_SECURE_NO_DEPRECATE _CRT_NONSTDC_NO_DEPRECATE _ALLOW_RUNTIME_LIBRARY_MISMATCH _ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH _ALLOW_MSC_VER_MISMATCH %(PreprocessorDefinitions) COMPILER_MSVC32 COMPILER_MSVC _DLL_EXT=.dll DLLNAME=client BINK_VIDEO AVI_VIDEO WMV_VIDEO DEV_BUILD FRAME_POINTER_OMISSION_DISABLED NO_STRING_T CLIENT_DLL VECTOR VERSION_SAFE_STEAM_API_INTERFACES PROTECTED_THINGS_ENABLE strncpy=use_Q_strncpy_instead _snprintf=use_Q_snprintf_instead fopen=dont_use_fopen HL2MP HL2_CLIENT_DLL _EXTERNAL_DLL_EXT=.dll VPCGAMECAPS=HL2MP PROJECTDIR=C:\Users\Ignacio\Desktop\source-sdk-2013-master\mp\src\game\client SOURCE1=1 VPCGAME=hl2mp"

Thanks in advance.

neico commented 9 years ago
  1. are you using HEAD? (the most recent commit from some days ago)
  2. If so, are you running your Source SDK Base 2013 SinglePlayer / Multiplayer on the "upcoming" beta branch?
  3. If not, you might want to go into detail because your post can be stripped down to: "it's not working, why?"
colistro123 commented 9 years ago
  1. I'm using the version you can find here, and yes, it's the most recent commit. (https://github.com/ValveSoftware/source-sdk-2013)
  2. I don't think I'm running a beta, I'm running a version I found on the Steam -> Tools section. "Source SDK Base 2013 Multiplayer". (It's on Opt out of all beta programs)
  3. As I said, all I did was download the SDK, compiled it using VS 2010, grabbed the dll files from the debug folder, dropped them on the sourcemods/modname/bin folder and this was the result. I didn't do any changes on the SDK, absolutely nothing at all. It's weird it asked me to install Steam VR when launching the mod, also displays an error about failing to start the game with shared content. Please update these games first: Source SDK Base 2013 Multiplayer.

Gameinfo.txt file: http://www.whileago.com/nfmaps/gameinfo.txt

Update: An older 2013 commit works just fine so I guess I can discard the Source SDK Base 2013 being the issue. I'm using the latest one and I'm not having these issues when using an older version of the commit.

Dasister commented 9 years ago

You should use «Source SDK Base 2013 Multiplayer» on the «upcoming» beta branch.

colistro123 commented 9 years ago

Thanks Dasister, that fixed it.