morerokk / IreNFist

A continuation/fix of the IreNFist mod for PAYDAY 2
MIT License
4 stars 2 forks source link

Random crashing on Birth of Sky #70

Closed AbsolofDarkness closed 3 years ago

AbsolofDarkness commented 3 years ago

I have no idea what's going on at the time of crashing unfortunately, but it happened twice in the same mission, host did not crash however.

Application has crashed: C++ exception mods/IRE AND FIST REBORN/utils/coputils.lua:209: attempt to call method 'id' (a nil value)

SCRIPT STACK

func() @mods/IRE AND FIST REBORN/utils/coputils.lua:239 Call() @mods/base/req/core/Hooks.lua:109 ProcessSinglePeer() @mods/base/req/core/Networking.lua:198 ProcessChatString() @mods/base/req/core/Networking.lua:179 func() @mods/base/req/core/Networking.lua:165 Call() @mods/base/req/core/Hooks.lua:109 _receive_message() @mods/base/lua/ChatManager.lua:12 receive_message_by_peer() lib/managers/chatmanager.lua:68 lib/network/base/handlers/connectionnetworkhandler.lua:662

morerokk commented 3 years ago

Related to the new cop behaviors. For some reason I keep running into more and more things that are nil when they shouldn't be. I'll get a fix ready now. Thanks for your report!

morerokk commented 3 years ago

For now this issue should be fixed (or at least the crashing should stop). Thank you for your patience!

AbsolofDarkness commented 3 years ago

No problem! I've coded before, even modded some mods, so I know how it feels :P