source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Unhandled exception at 0x0000000000000000 in hl2_win64.exe: 0xC0000005: Access violation executing location 0x0000000000000000.

Open KeylimeDreams opened this issue 10 months ago • 9 comments

What is this? how do I fix this?

KeylimeDreams avatar Feb 20 '25 02:02 KeylimeDreams

Sounds like your server.dll wasn't built. You can double check it by going into the server folder and checking the Release folder, and look for server.dll.

In the event that server.dll didn't build, highly likely because you did not have python installed to generate the necessary vscript files

AnOldLady avatar Feb 20 '25 02:02 AnOldLady

Thx

KeylimeDreams avatar Feb 20 '25 02:02 KeylimeDreams

Sounds like your server.dll wasn't built. You can double check it by going into the server folder and checking the Release folder, and look for server.dll.

In the event that server.dll didn't build, highly likely because you did not have python installed to generate the necessary vscript files so how do I build my server.dll bc my python is installed and it's not building. what should I do?

KeylimeDreams avatar Feb 20 '25 02:02 KeylimeDreams

I keep getting errors like'g_Script_spawn_helper': undeclared identifier & 'g_Script_vscript_server': undeclared identifier

KeylimeDreams avatar Feb 20 '25 02:02 KeylimeDreams

Install python 3, verify that the folder it's installed to is in your PATH environment variables, then clean the solution and rebuild

NepJr avatar Feb 20 '25 04:02 NepJr

#635 goes over this

NepJr avatar Feb 20 '25 04:02 NepJr

@AnOldLady where can i find server.dll ? i've been searching this on the whole vs solutions but there is nothing to find, and i have a bug for the server spawn, the #635 didn't helped me so much to fix that

Abdoujumper avatar Feb 21 '25 16:02 Abdoujumper

Did you actually verify python works in cmd by opening a cmd terminal and typing python?

Also did you make sure to clean the solution and rebuild?

NepJr avatar Feb 21 '25 16:02 NepJr

no but i will, thank you, if there is an error ima inform y'all here !

Abdoujumper avatar Feb 21 '25 20:02 Abdoujumper

I'm having a similar issue with the error:

Exception thrown at 0x0000000000000000 in hl2_win64.exe: 0xC0000005: Access violation executing location 0x0000000000000000.

With the call stack:

 	engine.dll!00007ffcb7c0b398()	Unknown
 	engine.dll!00007ffcb7c34090()	Unknown
 	engine.dll!00007ffcb7c34285()	Unknown
 	engine.dll!00007ffcb7c0c0a3()	Unknown
 	launcher.dll!00007ffdb0878099()	Unknown
 	launcher.dll!00007ffdb0878099()	Unknown
 	launcher.dll!00007ffdb0874a61()	Unknown
 	hl2_win64.exe!00007ff7cbea12d8()	Unknown
 	hl2_win64.exe!00007ff7cbea15e6()	Unknown
 	kernel32.dll!00007ffddc64e8d7()	Unknown
 	ntdll.dll!00007ffddcd5c34c()	Unknown

I can see both client.dll and server.dll in game\mod_hl2mp\bin\x64 with correct modified dates.

Without the PDB for the engine.dll I don't know how to investigate this further. Could you please help? Thank you in advance.

Edit: Update to this: A lib linked in the project was failing to initialise due to missing dependencies - fixing it solved the issue :)

TheZoc avatar Aug 09 '25 01:08 TheZoc