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

hmm, i didn't use this mod but i'll try and apply it

Avatar
(Poster)1 month ago(Edited)

nope, still the same

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))

this is today btw

Avatar

and another one

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
action_request() lib/units/enemies/cop/huskcopmovement.lua:47
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
sync_damage_explosion() lib/units/enemies/cop/copdamage.lua:3892
lib/network/handlers/unitnetworkhandler.lua:400


-------------------------------

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

@itsjasoninnit It is one of your incompatible mods. Check for mods that changes or adds new enemy unit types.
Also rebalancing mods, such as Restoration Mod, can cause this.

29 995