zenyr / PocoHud3

(Sunsetted) Payday2 Interface enhancer MOD
52 stars 29 forks source link

Game crashing with the new update. #61

Open hugojmaia opened 6 years ago

hugojmaia commented 6 years ago

I get this crash when playing without the new perk deck: `Application has crashed: C++ exception mods/PocoHud3/poco/../poco/Hud3.lua:1982: attempt to call method '_total_armor' (a nil value)

SCRIPT STACK

damage_bullet() lib/units/beings/player/playerdamage.lua:1114 on_hit_player() lib/units/weapons/raycastweaponbase.lua:2164 _fire_raycast() lib/units/weapons/npcraycastweaponbase.lua:292 fire() lib/units/weapons/raycastweaponbase.lua:459 trigger_held() lib/units/weapons/npcraycastweaponbase.lua:142 update() lib/units/enemies/cop/actions/upper_body/copactionshoot.lua:349 _upd_actions() lib/units/enemies/cop/copmovement.lua:586 _upd_actions() lib/units/enemies/cop/huskcopmovement.lua:13 lib/units/enemies/cop/copmovement.lua:549


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
     payday2_win32_release  (???)     zip_get_name                                        
     payday2_win32_release  (???)     ???                                                 

Current thread: Main


System information: Application version : 1.80.411. CPU : AMD Athlon(tm) X4 750 Quad Core Processor (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE5 DirectX : 10.0 GPU : Radeon(TM) RX 460 Graphics / aticfx32.dll[22.19.162.4] Language : english Memory : 8147MB 408KB OS : 6.1.7601 (Service Pack 1) 0x100-0x1 (64 bits) Physics : threaded Renderer : DX9 threaded Sound : Realtek Semiconductor Corp. (Speakers (Realtek High Definition Audio))`

I'm not sure what's wrong here, I know the code updated for the new perk deck.

reiss-josh commented 6 years ago

EDIT: Looks like somebody found a solution on the Steam forums.

https://steamcommunity.com/app/218620/discussions/8/1480982338943163714/

I have the exact same crash error. Here's my crash.txt:

Application has crashed: C++ exception mods/PocoHud3/poco/../poco/Hud3.lua:1982: attempt to call method '_total_armor' (a nil value)

SCRIPT STACK

damage_bullet() lib/units/beings/player/playerdamage.lua:1114 on_hit_player() lib/units/weapons/raycastweaponbase.lua:2164 _fire_raycast() lib/units/weapons/npcraycastweaponbase.lua:292 fire() lib/units/weapons/raycastweaponbase.lua:459 trigger_held() lib/units/weapons/npcraycastweaponbase.lua:142 update() lib/units/enemies/cop/actions/upper_body/copactionshoot.lua:349 _upd_actions() lib/units/enemies/cop/copmovement.lua:586 original() lib/units/enemies/cop/copmovement.lua:549 @mods/base/req/core/Hooks.lua:185


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
     payday2_win32_release  (???)     zip_get_name                                        

Current thread: Main


System information: Application version : 1.80.411. CPU : Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2 DirectX : 12.0 GPU : NVIDIA GeForce GTX 970M / nvldumd.dll[23.21.13.8792] Language : english Memory : 8115MB 40KB OS : 6.2.9200 () 0x300-0x1 (64 bits) Physics : threaded Renderer : DX9 threaded Sound : Microsoft (Speakers (USB Audio Device))

karasuhebi commented 6 years ago

Thanks @dash219, that totally fixed it!