ValveSoftware / source-sdk-2013

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

Launching mod keep crash after compilation #478

Closed dragonofmercy closed 4 years ago

dragonofmercy commented 4 years ago

After the compilation of client.dll and server.dll (Episodic) the game crash on startup without error message.

Any ideas ?

tschumann commented 4 years ago

Do you get a minidump in Steam/dumps/?

dragonofmercy commented 4 years ago
Dump Summary
------------
Dump File:  crash_hl2.exe_20190806121527_1.dmp : D:\Games\Steam\dumps\crash_hl2.exe_20190806121527_1.dmp
Last Write Time:    06.08.2019 12:15:27
Process Name:   hl2.exe : D:\Games\Steam\steamapps\common\Half-Life 2\hl2.exe
Process Architecture:   x86
Exception Code: 0xC0000005
Exception Information:  The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information:   Not Present

System Information
------------------
OS Version: 10.0.18362
tschumann commented 4 years ago

Debug it in Visual Studio and it should take you to the line where it crashed (go to the Debug menu and click... something - I don't remember exactly).

dragonofmercy commented 4 years ago

Ok I found something
in the steam_api.h just comment lines below

m_pSteamMusicRemote = SteamClient()->GetISteamMusicRemote( hSteamUser, hSteamPipe, STEAMMUSICREMOTE_INTERFACE_VERSION );
if ( !m_pSteamMusicRemote )
{
    return false;
}

m_pSteamHTMLSurface = SteamClient()->GetISteamHTMLSurface( hSteamUser, hSteamPipe, STEAMHTMLSURFACE_INTERFACE_VERSION );
if ( !m_pSteamHTMLSurface )
{
    return false;
}

Source : https://steamcommunity.com/app/211/discussions/0/613940477702509853/?l=hungarian#c617320168066742464

Thanks for your help @tschumann I didn't know for dumps ^^

tschumann commented 4 years ago

Happy to help.