Banner
Insta-pickup Gage Packages
Thumbnail
Downloads5,100
Views12,559
Publish Date5 years ago
Last Updated5 years ago
Version0.2
Members
Tags
Avatar

Currently causing a crash if you get a pickup prompt for the anniversary items like the "Dead Game" shirt trophy on Bank Heist.

Application has crashed: C++ exception
[string "lib/units/interactions/interactionext.lua"]:265: attempt to index a nil value

SCRIPT STACK

selected() lib/units/interactions/interactionext.lua:230
_update_targeted() lib/managers/objectinteractionmanager.lua:464
update() lib/managers/objectinteractionmanager.lua:71
original() lib/setups/gamesetup.lua:807
update() @mods/base/req/core/Hooks.lua:262
update() lib/setups/networkgamesetup.lua:21
core/lib/setups/coresetup.lua:559

Nuking this mod fixed the issue.

Avatar
(Owner)2 years ago(Edited)

This is like my 2nd mod i've ever made lol, but strange how that causes it to crash

Avatar

Dunno but I just yanked U214's InteractionTweakData.lua file off of https://github.com/AzureeDev/payday-2-luajit, made the changes you did which was under self.gage_assignment and no crashes anymore when getting anniversary trophy prompts for pickup. Dr.Newbie could probably make this same mod under 10 script lines and have it update proof. (Not trying to sound mean about it, was your 2nd mod from years ago so you were getting into the hang of things)

Avatar
(Owner)2 years ago(Edited)

Dr newbie can do annnything bro hahaha, will update the mod.

Avatar
(Owner)2 years ago(Edited)

I downloaded the mod and just tested myself and i'm not getting any crashes which is weird...

46 835