tModLoader

tModLoader

Boss Checklist
Kanaris 16 Jul, 2022 @ 11:28pm
[BC v1.3.6] Lag apocalypse when mining
Hi there,

I've been trying to solve a problem when mining with a full inventory where the game starts to lag increasingly, until it gets stuck and receives no inputs. I believe Boss Checklist is responsible, surprisingly. Didn't think it had anything to do with item pickups but here we are.

Here's a video of how the lag happens. WARNING: Calamity Mod Early-HM environmental spoilers https://streamable.com/zod6r1

I'll paste this info from my post on the Quality of Life mod workshop comments section too:
Originally posted by Kanaris:
Very strange behaviour. More and more item pickups = greater rate of lag increase. But it's localised to one area. If I stand or hover just above the floor there, lag increases. If I hold jump to fly out of that area, game goes smooth all of a sudden. But there's nothing there! It's like mining a lot of tiles that are in your Huge Inventory makes some kind of invisible thing there that generates lag on collision with player...
This behaviour is the same every time the lag attack happens. Laggy area goes away after 30+ seconds
Originally posted by Kanaris:
Boss Checklist was causing the mining lag when things were going into Huge Inventory. I wonder why that is?? I found an area where I could reproduce the lag across multiple sessions and with different mod loadouts. Every time I tried with boss checklist mod disabled, there was no mining lag apocalypse whatsoever. Is boss checklist scanning every item player picks up, but maybe unable to access properly if it's inside Huge Inventory already?

I'm unsure if this happens without Quality of Life's Huge Inventory enabled, but i'm too scared of messing up my world/belongings to turn it off and test. It may just be when you try to mine something, spawning many items, and your character can't put them in its vanilla inventory because there's no space. In my case they then go into my Huge Inventory from that mod like a Void Bag, but maybe Boss Checklist can't handle that very well?

I tried disabling the item collection settings in Boss Checklist's configuration but nothing changed. The only thing that stops this lag attack from happening is disabling boss checklist entirely :(

See also a discussion post from Brayan1226 that mentions similar kind of lag, but with fargo's mod and boss checklist: https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/2669644269/3415433633276909632/

I too am using Fargo's Mutant and Fargo's Best of Both Worlds, but I don't know if they're truly related to the lag, or if Huge Inventory from QoL Mod is either. All I know for sure is that disabling Boss Checklist and only Boss Checklist has completely prevented the lag in all of my tests.

Finally here's a list of all enabled mods when the lag happens, though disabling any number of them doesn't help (note: I didn't disable the huge important ones such as calamity, QoL mod, Magic Storage—I don't want to brick my world, that has already happened enough as of late...)

LIST:
"CalamityMod",
"AutoTrash",
"BetterBlending",
"FancyLighting",
"FargoSeeds",
"Fargowiltas",
"GravityDontFlipScreen",
"HammerMode",
"HappinessRemoval",
"HiddenVanity",
"ImprovedTeleporters",
"ImprovedTorches",
"ImproveGame",
"LavalessLavaSlime",
"LightingEssentials",
"NoFishingQuests",
"NoMoreCrackedBrick",
"NoPylonRestrictions",
"PboneLib",
"PboneUtils",
"PylonShield",
"RecipeBrowser",
"ShopExpander",
"ShowBody",
"SuperDummy",
"TeaFramework",
"TerrariaAmbience",
"TownNPCHome",
"LansAutoSummon",
"LansNoMoreBanners",
"LansHouseBuilder",
"LansNoMoreVanity",
"LansSimpleHealthbar",
"HelpfulHotkeys",
"MagicStorage",
"CalamityModMusic",
"BossCursor",
"BossChecklist",
"NurseShop"
+ 2 Resource Packs: Polaris Texture Pack by Orion, and InvisibleFire by Zeklaine.

Terraria version: v1.4.3.6
TModLoader version: v2022.6.96.4
Boss Checklist version: v1.3.6
Quality of Life mod version: v1.5.9.1
Fargo's Mutant version: v2.8.2
Fargo's Best of Both Worlds version: v0.2.1
Calamity version: v2.0.0.3
Magic Storage version: v0.5.6.5

OS: Win 10 Education
GPU: GTX 1070
Processor Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz 4.20 GHz
Installed RAM 16.0 GB
System type 64-bit operating system, x64-based processor

I hope this helps you work this out, if boss checklist really is responsible (I don't truly know for sure which mod is the real driver of the lag. All testing just points to this one, that's all). Let me know if you want any more info.
Last edited by Kanaris; 16 Jul, 2022 @ 11:32pm