morerokk / IreNFist

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

Weapon Inventory related crash #126

Open ZAJL opened 2 years ago

ZAJL commented 2 years ago

Application has crashed: C++ exception mods/[Rokk] IREnFIST - Reloaded/lua/blackmarketgui.lua:2777: attempt to index a nil value

SCRIPT STACK

orig_blackmarket_gui_set_selected_tab() lib/managers/menu/blackmarketgui.lua:7208 set_selected_tab() @mods/WolfHUD-master/lua/MenuTweaks.lua:242 next_page() lib/managers/menu/blackmarketgui.lua:7418 ddi_original_blackmarketgui_mousepressed() lib/managers/menu/blackmarketgui.lua:6807 original() @mods/[TDLQ] Drag and Drop Inventory/lua/blackmarketgui.lua:21 mouse_pressed() @mods/base/req/core/Hooks.lua:288 mouse_pressed() lib/managers/menu/menucomponentmanager.lua:1475 mouse_pressed() @mods/base/lua/MenuComponentManager.lua:23 mouse_pressed() lib/managers/menu/menurenderer.lua:375 mouse_press() lib/managers/menu/menuinput.lua:662 lib/managers/mousepointermanager.lua:345


Callstack:

     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     ???                                                 
     payday2_win32_release  (???)     zip_get_name                                        
                     ntdll  (???)     RtlAllocateHeap                                     

How to replicate: while in the weapon inventory, go to the black market screen (buying a new weapon), scroll to the very end and attempt to continue scrolling (scroll past "special" or in this case "marksmen rifle" in the secondary category)

ZAJL commented 2 years ago

EDIT: This issue seems to be an incompatibility with "Custom Categories for Custom Weapons", along with "Custom Attachment Points" which need to be added to the list of incompatible mods if you have time (I reported an issue with CAP earlier this week on the mod page)