Kamikaze94/WolfHUD

crashing whnever loading breakfast heist

Sansyyxd opened this issue · 3 comments

Prerequisites

Please answer the following questions for yourself before submitting an issue.
YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I made sure this issue doesn't persist without this mod
  • I checked to make sure that this issue has not already been filed

Expected Behavior

for it to work?

Current Behavior

Its not working and crashes when loading heists

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

Please provide detailed steps for reproducing the issue.

  1. step 1 open the game
  2. step 2 load a heist
  3. you get it... a 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
  • BLT version: latest
  • Other mods installed: silent assassin
  • ...

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 [2020_11_15_log.txt] [crash.txt](https://github.com/Kamikaze94/WolfHUD/files/5541633/crash.txt) (https://github.com/Kamikaze94/WolfHUD/files/5541632/2020_11_15_log.txt)

[Please paste your BLT log here.]

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

[Please paste your crash log here.]

Getting crashes whenever i load any heist not just breakfast

Crash.txt:

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

SCRIPT STACK

_update_item_positions() @mods/WolfHUD-master/lua/HUDList.lua:2434
setup_static_item() @mods/WolfHUD-master/lua/HUDList.lua:2330
set_static_item() @mods/WolfHUD-master/lua/HUDList.lua:2163
_setup_left_list() @mods/WolfHUD-master/lua/HUDList.lua:676
init() @mods/WolfHUD-master/lua/HUDList.lua:581
new() core/lib/utils/coreclass.lua:35
_setup_player_info_hud_pd2_original() @mods/WolfHUD-master/lua/HUDList.lua:115
_setup_player_info_hud_pd2() @mods/WolfHUD-master/lua/DrivingHUD.lua:944
setup() 4
setup() lib/managers/hudmanager.lua:330
load_hud() lib/managers/hudmanager.lua:317
init_finalize_original() lib/managers/hudmanager.lua:219
init_finalize() @mods/pd2-kill-feed-master/killfeed.lua:310
init_fin_orig() lib/setups/gamesetup.lua:683
init_fin_orig() @mods/DEADLOCKE/Lua/DEADLOCKE_gamesetup.lua:30
init_finalize() @mods/The Fixes/gamesetup.lua:13
init_finalize() lib/setups/networkgamesetup.lua:15
core/lib/setups/coresetup.lua:442


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlDosSearchPath_Ustr                               
                     ntdll  (???)     RtlAllocateHeap                                     
                     ntdll  (???)     LdrCallEnclave                                      
                KERNELBASE  (???)     SetUnhandledExceptionFilter                         
     payday2_win32_release  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 
                       ???  (???)     ???                                                 

Current thread: Main


System information:
Application version : 1.97.918
CPU : Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (4 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce RTX 2080 / nvldumd.dll[27.21.14.5709]
Language : english
Memory : 16241MB 376KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Headphones (Astro A50 Game))

I'm getting the same thing as Matt


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

SCRIPT STACK

_update_item_positions() @mods/WolfHUD-master/lua/HUDList.lua:2434
setup_static_item() @mods/WolfHUD-master/lua/HUDList.lua:2330
set_static_item() @mods/WolfHUD-master/lua/HUDList.lua:2163
_setup_left_list() @mods/WolfHUD-master/lua/HUDList.lua:676
init() @mods/WolfHUD-master/lua/HUDList.lua:581
new() core/lib/utils/coreclass.lua:35
_setup_player_info_hud_pd2_original() @mods/WolfHUD-master/lua/HUDList.lua:115
_setup_player_info_hud_pd2() @mods/WolfHUD-master/lua/DrivingHUD.lua:944
setup() 4
setup() lib/managers/hudmanager.lua:330
load_hud() lib/managers/hudmanager.lua:317
original() lib/managers/hudmanager.lua:219
init_finalize() @mods/base/req/core/Hooks.lua:265
init_fin_orig() lib/setups/gamesetup.lua:683
init_finalize() @mods/The Fixes/gamesetup.lua:13
init_finalize() lib/setups/networkgamesetup.lua:15
core/lib/setups/coresetup.lua:442


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlAllocateHeap                                     

Current thread: Main


System information:
Application version : 1.97.918
CPU : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0
GPU : NVIDIA GeForce GTX 1050 Ti / nvldumd.dll[27.21.14.5730]
Language : english
Memory : 16252MB 448KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Headphones (Realtek High Definition Audio))

Open PAYDAY 2\mods\WolfHUD-master\lua\HUDList.lua
Then find the line number 1952 and replace this:
local new_x, new_y = self._active_move.target_x, self._active_move.target_y
self._active_move = nil

self._panel:set_x(new_x)
self._panel:set_y(new_y)
to this:
--self._panel:stop()
And don't update wolfhud, while developers fixing that bug