Kamikaze94/WolfHUD

VanillaHUD.lua:49: attempt to index field '_condition_icon' (a nil value)

azalty opened this issue · 0 comments

Expected Behavior

No crash

Current Behavior

Seems to crash randomly. I crashed 3 times today with this error. I didn't remember what I did but the last crash was during holdout, when I pressed F to heal a teammate with inspire. The last times I was not in holdout so it seems to happen in every gamemode.

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

No idea, just play in any gamemode or heist and it will randomly crash.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Operating System: Windows 10 Pro
  • BLT version: SuperBLT 1.1.6.0
  • Other mods installed:
    Mods
    image
    Mod overrides
    image

BLT log

Please include the contents of your BLT log around the time the bug appeared.
You can find the BLT log inside your games "/mods/logs/" folder.

BLT Log

[08:03:27 PM Lua: [Downloads] Added pending download for Federal Inventory (WolfHUD)
08:03:40 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:04:21 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:04:21 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:04:56 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:04:56 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:05:00 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:05:00 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:05:31 PM Lua: [Lobby Mod Filter] Lobby 76561198117170276 rejected because of mods: Silent Assassin
08:05:32 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:05:32 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:05:37 PM Lua: [Lobby Mod Filter] Lobby 76561198117170276 rejected because of mods: Silent Assassin
08:05:38 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:05:38 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:05:40 PM Lua: [Lobby Mod Filter] Lobby 76561198117170276 rejected because of mods: Silent Assassin
08:05:40 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:05:40 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:06:29 PM Lua: [Lobby Mod Filter] Lobby 76561198010419767 rejected because of mods: Silent Assassin
08:06:29 PM Lua: [Lobby Mod Filter] Lobby 76561198437734969 rejected because of mods: Silent Assassin
08:06:34 PM Log: (C:\Users\ZNix\source\repos\SuperBLT\src\InitiateState.cpp:943) Initiating Hook
08:06:34 PM Lua: [BLT] Setup...
08:06:34 PM Lua: [BLT] Loading module: BLTLogs
08:06:34 PM Lua: [BLT] Loading module: BLTModManager
08:06:34 PM Lua: [BLT] Loading module: BLTKeybindsManager
08:06:34 PM Lua: [BLT] Loading module: BLTPersistScripts
08:06:34 PM Lua: [BLT] Loading module: BLTLocalization
08:06:34 PM Lua: [BLT] Cleaning logs folder, lifetime 1 day(s)
08:06:34 PM Lua: [BLT] Loading mods for state: table: 0x48863ae0
08:06:34 PM Lua: [BLT] Loading mod: base
08:06:34 PM Lua: [BLT] Loading mod: BeardLib
08:06:34 PM Lua: [BLT] Loading mod: Change Lobby Name Anytime
08:06:34 PM Lua: [BLT] Loading mod: Cheater Kicker
08:06:34 PM Lua: [BLT] Loading mod: Cleaner
08:06:34 PM Lua: [BLT] Loading mod: Difficulty Screen Animation
08:06:34 PM Lua: [BLT] Loading mod: Lobby Mod Filter
08:06:34 PM Lua: [BLT] Loading mod: PD2Tools
08:06:34 PM Lua: [BLT] Loading mod: StopCrimespreeLossOnCrash
08:06:34 PM Lua: [BLT] Loading mod: WolfHUD-master
08:06:34 PM Lua: [BLT] Setting up mod: base
08:06:34 PM Lua: [BLT] Setting up mod: BeardLib
08:06:34 PM Lua: [BLT] Setting up mod: StopCrimespreeLossOnCrash
08:06:34 PM Lua: [BLT] Setting up mod: Cheater Kicker
08:06:34 PM Lua: [BLT] Setting up mod: WolfHUD-master
08:06:34 PM Lua: [BLT] Setting up mod: Difficulty Screen Animation
08:06:34 PM Lua: [BLT] Setting up mod: Change Lobby Name Anytime
08:06:34 PM Lua: [BLT] Setting up mod: PD2Tools
08:06:34 PM Lua: [BLT] Setting up mod: Lobby Mod Filter
08:06:34 PM Lua: [BLT] Setting up mod: Cleaner
08:06:34 PM Log: (C:\Users\ZNix\source\repos\SuperBLT\src\InitiateState.cpp:943) Initiating Hook
08:06:34 PM Lua: [BLT] Setup...
08:06:34 PM Lua: [BLT] Loading module: BLTLogs
08:06:34 PM Lua: [BLT] Loading module: BLTModManager
08:06:34 PM Lua: [BLT] Loading module: BLTKeybindsManager
08:06:34 PM Lua: [BLT] Loading module: BLTPersistScripts
08:06:34 PM Lua: [BLT] Loading module: BLTLocalization
08:06:34 PM Lua: [BLT] Cleaning logs folder, lifetime 1 day(s)
08:06:34 PM Lua: [BLT] Loading mods for state: table: 0x4a9b1780
08:06:34 PM Lua: [BLT] Loading mod: base
08:06:34 PM Lua: [BLT] Loading mod: BeardLib
08:06:34 PM Lua: [BLT] Loading mod: Change Lobby Name Anytime
08:06:34 PM Lua: [BLT] Loading mod: Cheater Kicker
08:06:34 PM Lua: [BLT] Loading mod: Cleaner
08:06:34 PM Lua: [BLT] Loading mod: Difficulty Screen Animation
08:06:34 PM Lua: [BLT] Loading mod: Lobby Mod Filter
08:06:34 PM Lua: [BLT] Loading mod: PD2Tools
08:06:34 PM Lua: [BLT] Loading mod: StopCrimespreeLossOnCrash
08:06:34 PM Lua: [BLT] Loading mod: WolfHUD-master
08:06:34 PM Lua: [BLT] Setting up mod: base
08:06:34 PM Lua: [BLT] Setting up mod: BeardLib
08:06:34 PM Lua: [BLT] Setting up mod: StopCrimespreeLossOnCrash
08:06:34 PM Lua: [BLT] Setting up mod: Cheater Kicker
08:06:34 PM Lua: [BLT] Setting up mod: WolfHUD-master
08:06:34 PM Lua: [BLT] Setting up mod: Difficulty Screen Animation
08:06:34 PM Lua: [BLT] Setting up mod: Change Lobby Name Anytime
08:06:34 PM Lua: [BLT] Setting up mod: PD2Tools
08:06:34 PM Lua: [BLT] Setting up mod: Lobby Mod Filter
08:06:34 PM Lua: [BLT] Setting up mod: Cleaner
08:06:34 PM Log: (C:\Users\ZNix\source\repos\SuperBLT\src\InitiateState.cpp:943) Initiating Hook
08:06:34 PM Lua: [BLT] Setup...
08:06:34 PM Lua: [BLT] Loading module: BLTLogs
08:06:34 PM Lua: [BLT] Loading module: BLTModManager
08:06:34 PM Lua: [BLT] Loading module: BLTKeybindsManager
08:06:34 PM Lua: [BLT] Loading module: BLTPersistScripts
08:06:34 PM Lua: [BLT] Loading module: BLTLocalization
08:06:34 PM Lua: [BLT] Cleaning logs folder, lifetime 1 day(s)
08:06:34 PM Lua: [BLT] Loading mods for state: table: 0x46870260
08:06:34 PM Lua: [BLT] Loading mod: base
08:06:34 PM Lua: [BLT] Loading mod: BeardLib
08:06:34 PM Lua: [BLT] Loading mod: Change Lobby Name Anytime
08:06:34 PM Lua: [BLT] Loading mod: Cheater Kicker
08:06:34 PM Lua: [BLT] Loading mod: Cleaner
08:06:34 PM Lua: [BLT] Loading mod: Difficulty Screen Animation
08:06:34 PM Lua: [BLT] Loading mod: Lobby Mod Filter
08:06:34 PM Lua: [BLT] Loading mod: PD2Tools
08:06:34 PM Lua: [BLT] Loading mod: StopCrimespreeLossOnCrash
08:06:34 PM Lua: [BLT] Loading mod: WolfHUD-master
08:06:34 PM Lua: [BLT] Setting up mod: base
08:06:34 PM Lua: [BLT] Setting up mod: BeardLib
08:06:34 PM Lua: [BLT] Setting up mod: StopCrimespreeLossOnCrash
08:06:34 PM Lua: [BLT] Setting up mod: Cheater Kicker
08:06:34 PM Lua: [BLT] Setting up mod: WolfHUD-master
08:06:34 PM Lua: [BLT] Setting up mod: Difficulty Screen Animation
08:06:34 PM Lua: [BLT] Setting up mod: Change Lobby Name Anytime
08:06:34 PM Lua: [BLT] Setting up mod: PD2Tools
08:06:34 PM Lua: [BLT] Setting up mod: Lobby Mod Filter
08:06:34 PM Lua: [BLT] Setting up mod: Cleaner
08:06:34 PM Lua: Loading mod settings : nil
08:28:23 PM Lua: [1] SYSTEM: Stasis is joining.
08:28:23 PM Lua: [4] Stasis: GNAP/BCO/ mason_knight_veteran black-black shutupandbleed rubber none wpn_fps_ass_amcar 1_2_41_5_16_24_46_55_28_25_35_68_ wpn_fps_pis_lemming 3_6_7_2_12_28_18_5_ iceaxe amcar_skf-5-1 lemming_skf-5-0 none default default|1.0
08:28:25 PM Lua: [1] SYSTEM: Stasis HAS MODS! Checking...
08:28:25 PM Lua: found something!
08:28:25 PM Lua: [1] SYSTEM: Stasis is using a mod that can be a potential cheating mod: Meth Helper (Updated)
08:28:25 PM Lua: [1] SYSTEM: Stasis seems to be clean.
08:28:33 PM Lua: [4] Stasis: GNAP/BCO/ mason_knight_veteran black-black shutupandbleed rubber none wpn_fps_ass_amcar 1_2_41_5_16_24_46_55_28_25_35_68_ wpn_fps_pis_lemming 3_6_7_2_12_28_18_5_ iceaxe amcar_skf-5-1 lemming_skf-5-0 none default default|1.0
08:28:33 PM Lua: [4] Stasis: GNAP/BCO/ mason_knight_veteran black-black shutupandbleed rubber none wpn_fps_ass_amcar 1_2_41_5_16_24_46_55_28_25_35_68_ wpn_fps_pis_lemming 3_6_7_2_12]

Crash log(s)

If the bug is causing a crash, please provide the contents of your crashlog.
You can find your crashlog in "%localappdata%/Payday 2/crash.txt"

Crash.txt

[Sun May 24 13:21:54 2020

Application has crashed: C++ exception
mods/WolfHUD-master/lua/VanillaHUD.lua:49: attempt to index field '_condition_icon' (a nil value)

SCRIPT STACK

original() @mods/WolfHUD-master/lua/KillCounter.lua:225
init() @mods/base/req/core/Hooks.lua:260
new() core/lib/utils/coreclass.lua:35
_create_teammates_panel() lib/managers/hudmanagerpd2.lua:984
_setup_player_info_hud_pd2_original() lib/managers/hudmanagerpd2.lua:650
_setup_player_info_hud_pd2_original() @mods/WolfHUD-master/lua/HUDList.lua:113
_setup_player_info_hud_pd2() @mods/WolfHUD-master/lua/DrivingHUD.lua:938
setup() 4
setup() lib/managers/hudmanager.lua:330
load_hud() lib/managers/hudmanager.lua:317
init_finalize() lib/managers/hudmanager.lua:219
init_finalize() lib/setups/gamesetup.lua:683
init_finalize() lib/setups/networkgamesetup.lua:15
core/lib/setups/coresetup.lua:442


Callstack:

  payday2_win32_release_vr  (???)     ???                                                 
  payday2_win32_release_vr  (???)     ???                                                 
  payday2_win32_release_vr  (???)     ???                                                 
  payday2_win32_release_vr  (???)     zip_get_name                                        
                     ntdll  (???)     RtlDosSearchPath_Ustr                               
                     ntdll  (???)     RtlSetLastWin32Error                                
                     ntdll  (???)     RtlAllocateHeap                                     
                     ntdll  (???)     LdrCallEnclave                                      
  payday2_win32_release_vr  (???)     ???                                                 
  payday2_win32_release_vr  (???)     ???                                                 
  payday2_win32_release_vr  (???)     ???                                                 
                     ntdll  (???)     RtlReAllocateHeap                                   
  payday2_win32_release_vr  (???)     zip_get_name                                        
                KERNELBASE  (???)     FlsGetValue                                         
  payday2_win32_release_vr  (???)     zip_get_name                                        
  payday2_win32_release_vr  (???)     zip_get_name                                        
  payday2_win32_release_vr  (???)     zip_get_name                                        
  payday2_win32_release_vr  (???)     ???                                                 
  payday2_win32_release_vr  (???)     ???                                                 
                  KERNEL32  (???)     BaseThreadInitThunk                                 
                     ntdll  (???)     RtlGetAppContainerNamedObjectPath                   
                     ntdll  (???)     RtlGetAppContainerNamedObjectPath                   
  payday2_win32_release_vr  (???)     zip_get_name                                        

Current thread: Main


System information:
Application version : 1.1.1
CPU : Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (3 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce RTX 2070 SUPER [Video:3072,Sys:0,Shared:1023,Vendor:0x10de]
Language : english
Memory : 16316MB 652KB
OS : 6.2.9200 () 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX11 threaded
Sound : NVIDIA Corporation (Index HMD (2- NVIDIA High Definition Audio))]