ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.55k stars 594 forks source link

[HL] Silent Crash to Desktop on Server Join with cl_allow_download 0 #3743

Open 0Ky opened 4 months ago

0Ky commented 4 months ago

Environment

OS: Windows 11 Pro x64, version 23H2, build 22631.2861 Game: Half-Life Game Version: Client=12:23:38 Dec 22 2023 (9920), Server=48/1.1.2.2/Stdio 9920 secure (70)

Description

When the cl_allow_download setting is set to 0, to stop downloading resources from the server, the game client unexpectedly crashes to the desktop without any error message upon attempting to join a server hosted on the Steam network that only has custom player models.

Expected Behavior

The expected behavior is to receive an error message such as "Refusing to download model... disconnecting." and then for the game to disconnect from the server.

Actual Behavior

Instead of the expected error message and disconnection, the game client silently crashes to the desktop.

Additional Information

The issue persisted after attempting to connect to the same server multiple times. I was able to successfully connect by downloading the player models after enabling cl_allow_download. The custom resources were only player models.

Console Output

"sv_allow_shaders" changed to "0"
NET Ports:  server 27015, client 27005
Server IP address 192.168.5.1:27015
Connecting to 169.254.240.181:11280...
Connection accepted by 169.254.240.181:11280
* Privileges set

BUILD 9920 SERVER (0 CRC)
Server # 1
Serverinfo packet received.
Clearing memory
loading sprites/1280/hud_selection.spr
loading sprites/1280/hud_bucket1.spr
loading sprites/1280/hud_bucket2.spr
loading sprites/1280/hud_bucket3.spr
loading sprites/1280/hud_bucket4.spr
loading sprites/1280/hud_bucket5.spr
loading sprites/1280/hud_bucket0.spr
loading sprites/1280/hud_dmg_bio.spr
loading sprites/1280/hud_dmg_poison.spr
loading sprites/1280/hud_dmg_chem.spr
loading sprites/1280/hud_dmg_cold.spr
loading sprites/1280/hud_dmg_drown.spr
loading sprites/1280/hud_dmg_heat.spr
loading sprites/1280/hud_dmg_gas.spr
loading sprites/1280/hud_dmg_rad.spr
loading sprites/1280/hud_dmg_shock.spr
loading sprites/1280/hud_number_0.spr
loading sprites/1280/hud_number_1.spr
loading sprites/1280/hud_number_2.spr
loading sprites/1280/hud_number_3.spr
loading sprites/1280/hud_number_4.spr
loading sprites/1280/hud_number_5.spr
loading sprites/1280/hud_number_6.spr
loading sprites/1280/hud_number_7.spr
loading sprites/1280/hud_number_8.spr
loading sprites/1280/hud_number_9.spr
loading sprites/1280/hud_divider.spr
loading sprites/1280/hud_cross.spr
loading sprites/1280/hud_suit_full.spr
loading sprites/1280/hud_suit_empty.spr
loading sprites/1280/hud_flash_full.spr
loading sprites/1280/hud_flash_empty.spr
loading sprites/1280/hud_flash_beam.spr
loading sprites/1280/hud_train_back.spr
loading sprites/1280/hud_train_stop.spr
loading sprites/1280/hud_train_forward1.spr
loading sprites/1280/hud_train_forward2.spr
loading sprites/1280/hud_train_forward3.spr
loading sprites/1280/hud_autoaim_c.spr
loading sprites/1280/hud_title_half.spr
loading sprites/1280/hud_title_life.spr
loading sprites/1280/hud_d_crowbar.spr
loading sprites/1280/hud_d_9mmhandgun.spr
loading sprites/1280/hud_d_357.spr
loading sprites/1280/hud_d_9mmar.spr
loading sprites/1280/hud_d_shotgun.spr
loading sprites/1280/hud_d_bolt.spr
loading sprites/1280/hud_d_crossbow.spr
loading sprites/1280/hud_d_rpg_rocket.spr
loading sprites/1280/hud_d_gauss.spr
loading sprites/1280/hud_d_egon.spr
loading sprites/1280/hud_d_hornet.spr
loading sprites/1280/hud_d_grenade.spr
loading sprites/1280/hud_d_satchel.spr
loading sprites/1280/hud_d_tripmine.spr
loading sprites/1280/hud_d_snark.spr
loading sprites/1280/hud_d_skull.spr
loading sprites/1280/hud_d_tracktrain.spr
loading sprites/1280/hud_item_battery.spr
loading sprites/1280/hud_item_healthkit.spr
loading sprites/1280/hud_item_longjump.spr
loading sprites/1280/hud_grenade.spr
loading sprites/iplayer.spr
loading sprites/iplayerblue.spr
loading sprites/iplayerred.spr
loading sprites/iplayerdead.spr
loading sprites/tile.spr
loading sprites/laserbeam.spr
loading sprites/camera.spr
loading sprites/crosshairs.spr
loading sprites/voiceicon.spr
Unable to open commandmenu.txt
Remote host:  Someone's Server
Spooling demo header.
"sv_cheats" changed to "0"
"sv_allow_shaders" changed to "1"
Verifying and downloading resources...
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
Download refused, cl_allow_download is 0
loading maps/crossfire.bsp
No detail texture mapping file: maps/crossfire_detail.txt
Using WAD File: halflife.wad
Texture load:   17.4ms
Error: could not load file models/player/astolfo/astolfo.mdl
Model models/player/astolfo/astolfo.mdl not found and not available from server
Cannot continue without model models/player/astolfo/astolfo.mdl, disconnecting.