Kamikaze94 / WolfHUD

Payday 2 HUD
481 stars 237 forks source link

[string "lib/units/weapons/npcraycastweaponbase.lua"]:144: attempt to perform arithmetic on field 'fire_rate' (a nil value) #344

Closed Wibble199 closed 6 years ago

Wibble199 commented 7 years ago

My friend and I are encountering this issue with the latest update. It usually occurs around 10 minutes or so into a heist. We've not been able to find a reliable way of forcefully reproducing the issue.

Application has crashed: C++ exception
[string "lib/units/weapons/npcraycastweaponbase.lua"]:144: attempt to perform arithmetic on field 'fire_rate' (a nil value)

SCRIPT STACK

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

Callstack:

         payday2_win32_release  (???)     ???
         payday2_win32_release  (???)     ???
         payday2_win32_release  (???)     ???
         payday2_win32_release  (???)     zip_get_name
                       avcuf32  (???)     AvcGetJumpCode
                         ntdll  (???)     RtlRunOnceBeginInitialize
                         ntdll  (???)     RtlGetCurrentServiceSessionId

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

We're happy to help diagnose the issue if needed.

ItsMitchh commented 7 years ago

Do you have any other modifications apart from WolfHud?

Wibble199 commented 7 years ago

My friend's using:

I'm using:

MEXAHOTABOP commented 7 years ago

can you try to reproduce this with wolfhud only?

ItsMitchh commented 7 years ago

Non-Silenced Sounds & More Weapon Stats might be effecting this as it's trying to do some math on fire_rate so it might be affecting it, can you remove the mods and give this a try?

Wibble199 commented 7 years ago

So we've tried a regular heist both with and without the other mods and couldn't get the error to happen again. I forgot to mention that the error occurred during a crime spree heist rather than a normal one. It's maybe also worth noting that we had the modifier for the zeal snipers active during the spree.

Unfortunately (probably due to removing the crime spree crash mod) our crime spree has now failed and so we won't be able to try a crime spree with the zeal snipers, although we may try a crime spree anyway.

Kuziz commented 7 years ago

Did some testing, crash seems to have stopped occuring once I removed More Weapon Stats.

edit: Nope, game crashed again anyway. Might be a vanilla issue then?

ItsMitchh commented 7 years ago

I've tried this on a unmodded and modded PD2 game and it's still the same crash reason. OV might of messed something up on their end.

Kamikaze94 commented 7 years ago

Yep, seems to be a vanilla issue: https://www.reddit.com/r/paydaytheheist/comments/6ltvpf/can_someone_please_figure_out_what_this_crash_is/

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.