morerokk / IreNFist

A continuation/fix of the IreNFist mod for PAYDAY 2
MIT License
4 stars 2 forks source link

So i keep getting the "IRENFIST - ERROR INIALIZING PARTS" #120

Open Aaaanto opened 2 years ago

Aaaanto commented 2 years ago

Whenever i start the game the notifications shows twice and checking by the logs I think this are the problems 11:55:03 AM Lua: [BeardLib] [Fixes][Warning] Weapon with the factory ID wpn_fps_smg_schakalprimary has the part wpn_fps_upg_ump45_tritium defined but the part does not exist 11:55:03 AM Lua: [BeardLib] [Fixes][Warning] Weapon with the factory ID wpn_fps_smg_hajkprimary has the part wpn_fps_upg_cz805_tritium defined but the part does not exist Here´s the full log 2021_11_27_log.txt

morerokk commented 2 years ago

Well for starters, you seem to have a cursed error related to Newraycastweaponbase not existing. That might be a mod conflict that I'm not sure how to fix.

The second error seems to be caused by vanilla mod pack (the Dragon 5.45 pistol), I'm not sure why because I've used that mod for ages with no issues. Is it up-to-date? You may have to manually reinstall it.

millicentilottapede commented 2 years ago

Regarding VMP, there was a big update recently which borked a good chunk of the content support; the two packs were combined and many weapons & attachments were either changed or outright removed (the above mentioned pistol receiving the latter treatment).

The link for the old pack still exists somewhere in the description page.

Aaaanto commented 2 years ago

Yeah, i got everything up to date and try to check if i could fix it but nothing. In the meantime, Is there a way to disable the warning? Kind of gets annoying everytime when i go back to the lobby and use the menu.

morerokk commented 2 years ago

@millicentilottapede wait, really? Damn, I was totally unaware of this. I didn't get any messages or proper updates ingame. That makes sense. Thanks for the report, I'll get on it right away.

@Aaaanto sorry, there's no way to disable it right now, expect a fix very soon. I'm bumping up the priority on pushing out this update.

If you want to disable it manually, you can delete lines 4319-4337 in wpn_parts.lua, and lines 4351-4368 in wpn_stats.lua.

The reason why it's not easier to disable is because this basically is a "crash". It just happens to get caught by InF. I will add an override option in the options menu, but just be aware that this is a potential foot-gun for BeardLib custom weapon attachments not have their correct stats anymore.

morerokk commented 2 years ago

This is temp-fixed. Some vanilla mod pack stats will be inaccurate if you're on the newest version but everything else should work fine, and no errors either. I am currently in the process of fixing these inaccuracies.

Note: compatibility with older versions of vanilla mod pack is still guaranteed for now. The newer version removed some weapons and I want to support both. At least, for now.