Open KathoriS opened 7 years ago
I don't know how to properly fix it with messing with .lua, it's far above my league. I'm just a script-kiddo, don't want to screw over it. First of all, it causes when you've try to customize weapon. Game automatically opens skins tab, which is causes crash somehow. You need to equip your gun, then go back to inventory screen and select whatever you want to customize from little white boxes. Do not navigate in to skins, it'll ends with crash 100%.
That Payday 2 updated allowed the previewing of skins that you don't own on the gun. I'm assuming it crashes because GoonMod doesn't have the code to show the weapon skins you don't have, but the game expects it to be there.
GoonMod supplies its own BlackMarketGUI.lua because it needs to modify the Blackmarket functions in order for the mod shop and extended inventory to work (buying mods with coins, displaying achievements needed to unlock certain weapons, etc.). In order to do that, large portions of the source Lua code need to be copied over just to modify a few specific things, and due to the Blackmarket in particular being modified frequently in the base game, issues quickly arise and incompatibilities are created between the old code and the updated code. To be honest, most of GoonMod could be rewritten because it is really out of date with the newest Payday 2 Lua, and this newest crash seems to be a result of that.
GoonMod could be rewritten
Completely agreed, but we don't actually know author lost his interest to PAYDAY 2, which is probably because mod haven't updated 2 months.
Considering he now works at Overkill, I wouldn't call it lost interest...
he now works at Overkill, I wouldn't call it lost interest...
You can't say he has still interested with PAYDAY 2 or not just looking at where he works.
The same crash as with the update 121.
Application has crashed: C++ exception [string "lib/managers/menu/blackmarketgui.lua"]:814: attempt to index field '?' (a nil value)
Any ideas how to fix it?