JamesWilko / GoonMod

A gameplay mod suite for Payday 2.
http://jameswilko.com/GoonMod/
MIT License
60 stars 52 forks source link

SkillTreeGUINew.lua causing crash in latest update #141

Open karasuhebi opened 7 years ago

karasuhebi commented 7 years ago

As of the latest update, PD2 will crash if GoonMod is enabled and you try going into your skills.

Sydch commented 7 years ago

We still have inventory problem, well it has been 3 months since it's last update. Probably GoonMOD will be not gonna updated on future. Rest in pepperoni.

ghost commented 7 years ago

Heya, I messed around with the files and it seems not to crash if you remove the files SkillTreeGUI.lua and SkillTreeGUINew.lua from your mod.

Please be aware that I don't know which other potential repercussions it can have on the game while doing this. I suppose the files were modified by JamesWilko for the only purpose of the post-Infamy skill tree outliner, so it should be OK as long as you try not to activate this feature.

About the inventory problem, I think we won't be able to dodge it the same way, unfortunately.

bamq commented 7 years ago

GoonMod overrides Payday 2 functions in order to implement its own features, so when the core Payday 2 code is updated and depends on these functions to be updated as well, the game will crash. However, sometimes GoonMod's override doesn't cause the game to crash and the new features will simply be missing. You could consider this lucky, but this also means many parts of GoonMod haven't been updated in a LONG time because, since they didn't cause a crash, there wasn't much reason to update them. This might not become apparent until one of these features is actually needed in order for the game to work properly and thus causes a crash.

For now I would just recommend removing the mod completely, or commenting out the lines in goonbase.lua that tell the game to use GoonMod's files instead of Payday's own files.

karasuhebi commented 7 years ago

@DarKobalt Thanks for the comment but there's no need to remove/rename SkillTreeGUI.lua. The one causing the crash is SkillTreeGUINew.lua thus that's the only one that needs to be removed/renamed. Doesn't seem to have any potential repercussions, at least not that I've noticed since I removed it when I posted this Issue.