i kept getting the same fucking crash and idk how to fix it
Avatar

Application has crashed: C++ exception
[string "lib/units/enemies/cop/actions/full_body/copac..."]:355: attempt to perform arithmetic on local 'duration' (a table value)

SCRIPT STACK

new() core/lib/utils/coreclass.lua:35
action_request() lib/units/enemies/cop/copmovement.lua:1353
clbk() lib/units/enemies/cop/copmovement.lua:2299
call() lib/utils/eventlistenerholder.lua:34
original() lib/units/enemies/cop/copdamage.lua:4500
_call_listeners() @mods/base/req/core/Hooks.lua:264
_on_damage_received() lib/units/enemies/cop/copdamage.lua:4445
damage_explosion() lib/units/enemies/cop/copdamage.lua:2419
_chk_apply_dmg_to_char() lib/units/equipment/ecm_jammer/ecmjammerbase.lua:617
_detect_and_give_dmg() lib/units/equipment/ecm_jammer/ecmjammerbase.lua:627
clbk() lib/units/beings/player/playerinventory.lua:1774
_update_queued_tasks() lib/managers/enemymanager.lua:656
update() lib/managers/enemymanager.lua:52
original() lib/setups/gamesetup.lua:807
update() @mods/base/req/core/Hooks.lua:264
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:559


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
                  KERNEL32  (???)     BaseThreadInitThunk                                 
                     ntdll  (???)     RtlInitializeExceptionChain                         
                     ntdll  (???)     RtlClearBits                                        

Current thread: Main


System information:
Application version : 1.143.243
CPU : AMD Ryzen 7 5800H with Radeon Graphics (8 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1
DirectX : 12.0
GPU : NVIDIA GeForce RTX 3070 Laptop GPU / nvldumd.dll[31.0.15.5212]
Language : english
Memory : 32175MB 56KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Speakers (Razer Kraken Kitty Edition))

Avatar

Would be lovely if you can give a brief list of your mods. I think diagnosing the issue would be a bit easier this way.

Avatar

i have a lot tbh

but dom's solution really helping me out

31 747