Closed Ituladan closed 2 years ago
Some people (especially on weaker machines) are known to crash when rendering the flashlight. There's not much we can do about it. You may disable it on the server by mp_flashlight 0.
By latest resources and mods you mean the beta version 1.1.x?
There will be a patch that fixes a crash when killed by other player. I don't know if it's related to your issue though. If you friend doesn't crash at all, it's likely an issue with your pc, as with the flashlight.
You can also test out running Black Mesa on Vulkan by this: https://github.com/doitsujin/dxvk/releases
You download the archive and extract the x64/*.dll in to steamapps\common\Black Mesa\bin
Depending on what graphics card you have, it can either increase performance, or decrease it. AMD cards generally operate better on Vulkan than NVidia does. Having these files there will not get you vac banned or anything like that. This repo for dxvk is used in Proton by Valve to play Windows games on Linux by interpreting DirectX calls in to Vulkan ones instead. It just so happens to also work for Windows if you want to run Vulkan instead of native DirectX.
This has also been known to sometimes fix rendering bugs or crashes in other Source Engine mods/games.
Thanks a lot guys. First of all, the coop mod is amazing and I really appreciate your work here. The mod and resources running are 1.1.x. I'll try to run in Vulkan, if I have other news about the issue or some sort of bug log, i'll continue to report here. Thanks again. :D
If you're feeling adventurous, editing some of these convars could prevent the flashlight crash. Some of them require sv_cheats 1 on server.
"r_flashlightdrawfrustum" = "0"
client
"r_flashlightmodels" = "1"
client
"r_flashlightdepthres" = "1024"
client
"r_swingflashlight" = "1"
client cheat
"r_flashlightlockposition" = "0"
client cheat
"r_flashlightfov" = "53.0"
client cheat
"r_flashlightoffsetright" = "0.0"
client cheat
"r_flashlightoffsetup" = "-20.0"
client cheat
"r_flashlightoffsetforward" = "0.0"
client cheat
"r_flashlightnear" = "4.0"
client cheat
"r_flashlightfar" = "750.0"
client cheat
"r_flashlightconstant" = "0.0"
client cheat
"r_flashlightlinear" = "150.0"
client cheat
"r_flashlightquadratic" = "0.0"
client cheat
"r_flashlightvisualizetrace" = "0"
client cheat
"r_flashlightambient" = "0.0"
client cheat
"r_flashlightshadowatten" = "0.35"
client cheat
"r_flashlightladderdist" = "40.0"
client cheat
"r_flashlight_topdown" = "0"
client
"r_flashlightnearoffsetscale" = "1.0"
client cheat
"r_flashlighttracedistcutoff" = "128"
client cheat
"r_flashlightbacktraceoffset" = "0.4"
client cheat
"r_flashlightmuzzleflashfov" = "120"
client cheat
"gb_flashlight_shadow_enabled" = "1"
client
"gb_flashlight_PosX" = "5"
client
"gb_flashlight_PosY" = "-10.0"
client
"gb_flashlight_PosZ" = "0"
client
"gb_flashlight_Range" = "2500"
client
"gb_flashlight_ColAmbient" = "0 0 0"
client
"gb_flashlight_Col" = "240 255 255"
client
"gb_flashlight_Intensity" = "2.5"
client
"gb_flashlight_SpecMul" = "1"
client
"gb_flashlight_phi" = "80"
client
"gb_flashlight_theta" = "0"
client
"gb_flashlight_angular" = "2"
client
"gb_flashlight_oldfalloff_quad" = "0"
client
"gb_flashlight_oldfalloff_linear" = "20000"
client
"gb_flashlight_oldfalloff_const" = "40000"
client
"gb_flashlight_shadow_biasdepth" = "0.0025"
client
"gb_flashlight_shadow_bias_slope" = "16"
client
"gb_flashlight_shadow_bias_normal" = "2"
client
"gb_flashlight_shadow_nearZ" = "2"
client
"gb_flashlight_shadow_fov" = "0"
client
"gb_flashlight_shadow_radius" = "50"
client
"gb_flashlight_angles_override" = "0"
client
"gb_flashlight_angles" = "0 -1 0.2"
client
"gb_flashlight_dir" = "1 0 0"
client
"gb_flashlight_enabled" = "0"
client
"gb_flashlight_debug_mode" = "1"
client
- 0 - 2
"gb_flashlight_pos" = "155 -420 8"
client
- Exact world position of flashlight. Will only be used when debug mode is set to 2
"gb_r_flashlight_ladderdist" = "40.0"
client cheat
"gb_r_flashlight_tracedistcutoff" = "128"
client cheat
"gb_r_flashlight_backtraceoffset" = "0.4"
client cheat
"mat_exposure_center_region_x_flashlight" = "0.9"
client cheat
"mat_exposure_center_region_y_flashlight" = "0.85"
client cheat
"sk_zombie_hev_flashlight_shadow" = "1"
client cheat
"sk_zombie_hev_flashlight_2nd_intensity_multiplier" = "0.75"
client cheat
"sk_zombie_hev_flashlight_2nd_pos_offset" = "2.0f"
client cheat
"r_flashlight_3rd_draw" = "1"
client cheat
- Draw flashlight beams for other players
"r_flashlight_3rd_person_range" = "200"
client cheat
- Distance to draw flashlight beams for other players
"r_flashlightdrawsweptbbox" = "0"
"r_flashlightdrawfrustumbbox" = "0"
"r_flashlightnodraw" = "0"
"r_flashlightupdatedepth" = "0"
"r_flashlightdrawdepth" = "0"
"r_flashlightrenderworld" = "0"
"r_flashlightrendermodels" = "0"
"r_flashlightrender" = "0"
"r_flashlightculldepth" = "0"
"r_flashlightclip" = "0"
cheat
"r_flashlightdrawclip" = "0"
cheat
"r_flashlightscissor" = "1"
"r_flashlightdepthtexture" = "1"
Update of the situation. I've reintalled my game, not the server, and the problem of game closing was solved. I tested in different situations and its completly stable. The problem with flashlight continue, but isn't spoiling our fun. In my flashlight tests, after my game closing, him take a picture of how was sawing the flashligh on his screen. The flash isn't from hims gun, his light was on the place that i've died. Seems like the game doen't know from who was the light. I didn't test the editing showed above, yet. I just wanted to report more info about the problem. Thank you all!
Hello! I've instaled the latest resources and mods yesterday. The server work fine, but, my game close after some triggers:
That's it, all other features are fine, server seems OK, my friend's game doesn't close, just my game. I'm who runs de server. Example os console message after death and game closing:
Client "Leo N." connected (26.175.73.181:27005). Server waking up from hibernation CreateInstance called on a point_template that has no templates: new_game_spawn CSceneEntity gman_generic_scene unable to find actor named "!player" Player "Leo N." joined team spectator [SRCCOOP] (chat) Difficulty has changed to 2 [SRCCOOP] Co-op map bm_c1a1c has begun SV_StartSound: not precached (0) Entity 977 (class 'npc_zombie_scientist') reported ENTITY_CHANGE_NONE but 'm_hEffectEntity' changed. [SRCCOOP] (chat) Difficulty has changed to 0 Dropped Leo N. from server (Leo N. timed out) Server is hibernating