Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Another invertory crash (Upd. 125) #139

Open
KathoriS opened this issue Nov 30, 2016 · 6 comments
Open

Another invertory crash (Upd. 125) #139

KathoriS opened this issue Nov 30, 2016 · 6 comments

Comments

@KathoriS
Copy link

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?

@Sydch
Copy link

Sydch commented Dec 3, 2016

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

@bamq
Copy link

bamq commented Dec 4, 2016

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
Copy link

bamq commented Dec 6, 2016

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.

@Sydch
Copy link

Sydch commented Jan 3, 2017

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.

@InfamousMyzt
Copy link

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

@Sydch
Copy link

Sydch commented Jan 3, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants