cmooref17 / ReservedItemSlotMods

https://thunderstore.io/c/lethal-company/p/FlipMods/ReservedItemSlotCore/
MIT License
1 stars 0 forks source link

Mod does not work at all. #32

Open RubyTheQuester opened 3 months ago

RubyTheQuester commented 3 months ago

No reserve slots at all, even if you buy them or force them on. I hasn't added any more mods since last time, and hasn't seen any other mod that would had messed with the code for this, literally nothing.

cmooref17 commented 3 months ago

So you're saying you haven't been able to make the reserved slots show up at all? Did you happen to see any errors in the console that might be related? And if possible, if you use r2modman, would you be able to share your profile with a code so I could take a look? Thanks!

RubyTheQuester commented 3 months ago

Sorry for such a late respond! I wasn't able to view any console errors, mostly because another mod was broken and that was more annoying. Let me drop the r2modman profile link

NOTE: I was a dumbass and updated my mods so if it suddenly works, I'll blame myself. 018e9b54-02cb-aed5-30c2-9361488eb3bb

RubyTheQuester commented 3 months ago

018eafa4-7d9c-ac40-ddd6-c2ea5b6be84a, it seems whenever I have interacted with lethalconfig's menu. As after doing so, it suddenly breaks on all saves

RubyTheQuester commented 3 months ago

i think i figured it out, something with the LCGeneralSaveData saving. sometimes it seems to just disable itself depending on what is saved, which corrupts the rest of the save data?

Det-Casto commented 2 months ago

Flashlight, walkie, weapon, and utility slot completely stops working when I have lethallib. Hotbarplus still works.

cmooref17 commented 2 months ago

How do they stop working? Do they not show up? Can you not swap over to them? And are there any console/log errors that might be shown that I can make take a look at? Hopefully I can help figure it out!

Det-Casto commented 2 months ago

I'll try to find console errors (there is a repeating console error for a different mod and its annoying). The slots aren't showing up at all. The reserved store on the terminal also says I have all the slots. Purchasing them anyway doesn't give me the slots either. As soon at lethallib is disabled, it works perfectly fine. But I'm going to need lethallib for several other mods. I also disabled all mods except lethallib itself to make sure it wasn't anything else.

cmooref17 commented 2 months ago

Does it work if purchasing slots is disabled in the config?

Det-Casto commented 2 months ago

Found out that its not just LethalLib that causes it, its LethalLevelLoader. So I only have LethalLevelLoader v1.2.2 installed and its dependencies (LethalLib v0.15.1, HookGenPatcher v0.0.5, FixPluginTypesSerialization v1.1.1, LethalModDataLib v1.2.2) and BepInExPack v5.4.2100. All reserved slots are installed except spray paint but none of the slots show up at all. The error pos up AFTER beginning a game (when hosting, unknown for clients joining.)

Screenshot (2)

Screenshot (3)

Det-Casto commented 2 months ago

Does it work if purchasing slots is disabled in the config?

I've tried it when it was enabled and disabled.

cmooref17 commented 2 months ago

Ah, okay, thanks for letting me know! That error will be helpful for fixing this, so hopefully I can look into this tomorrow!

cmooref17 commented 2 months ago

I loaded in a game with the same mods you mentioned, and reserved item slot core 2.0.14, but it's not giving me any errors for whatever reason. Would you be able to give me a test profile code to test this with maybe?

Det-Casto commented 2 months ago

I think I found the problem. I think it was bad file saves because it only happened when I opened my 2 old file saves. When I use a new file it works perfectly fine. I'll just start new files and enable all my mods and hopefully it stays working. I didn't get far on any of those saves anyway. I'll let you know if I get that error again and send a test profile code.

cmooref17 commented 2 months ago

Okay, thanks for letting me know! I looked at the logs and went ahead and added extra checks to prevent the errors from my end at least. It likely won't fix the root issue, but it might help people in the future narrow down where the issue is.