GoonMod icon indicating copy to clipboard operation
GoonMod copied to clipboard

Another invertory crash (Upd. 125)

Open KathoriS opened this issue 8 years ago • 6 comments

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?

KathoriS avatar Nov 30 '16 16:11 KathoriS

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%.

Sydch avatar Dec 03 '16 01:12 Sydch

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.

bamq avatar Dec 04 '16 18:12 bamq

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.

bamq avatar Dec 06 '16 04:12 bamq

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.

Sydch avatar Jan 03 '17 17:01 Sydch

Considering he now works at Overkill, I wouldn't call it lost interest...

InfamousMyzt avatar Jan 03 '17 17:01 InfamousMyzt

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.

Sydch avatar Jan 03 '17 21:01 Sydch