cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
691 stars 272 forks source link

Game slows down due to equipped armor #4256

Open Unrepentant-Atheist opened 8 months ago

Unrepentant-Atheist commented 8 months ago

Describe the bug

The game always slows down the longer I play, due to my massive hoard of items. Or so I thought. Turns out that's not the case.

I have modded armor equipped, and when I drop them, even near my massive hoard, the game goes back to be as fast as if I just started fresh.

Tested it with different modded armors (armored dress, padded dress, some other from Chorus and Lones), some armors slow it down a bit, some don't at all. Vanilla armor (heavy military armor, medium, light) slow it down a little bit.

More here: https://discord.com/channels/830879262763909202/830916451517857894/1211402335050407956 Mods + savegame: https://nowtransfer.de/b6305db452f2 Video: https://nowtransfer.de/c37554691103

Steps To Reproduce

  1. Play msvc 64-bit windows build
  2. Have armor equipped
  3. Wonder why the game grinds to a halt
  4. Drop armor
  5. Wonder why the f*ck the game is so fast again

Screenshots

https://github.com/cataclysmbnteam/Cataclysm-BN/issues/4256#issuecomment-1987031053

Versions and configuration

Additional context

https://github.com/cataclysmbnteam/Cataclysm-BN/issues/3531

Unrepentant-Atheist commented 8 months ago

Further testing revealed that a single piece of armor that covers every limb + feet + head (for example Skinsuit from the mod chorus or Carbon Suits from Project Packrat) vs. single pieces of armor that just cover a single limb slows the game down while the other single limb covering armor do not or at least very little.

RobbieNeko commented 8 months ago

My testing with the vanilla Faraday chainmail suit in 2024-03-08 did not see any real slowdown, at least on my machine. Something weird going on with modded armors, mayhaps?

Unrepentant-Atheist commented 8 months ago

Sleeping in my DeathMobile with gazillions of items in cargo spaces around, completely naked: image

Some of my armor equipped: image image

With Rubber Skinsuit: image image image

Ignaramico commented 7 months ago

wow, that a hell of lag, btw how does one activate the option to show the in game hour to ms ratio?

Unrepentant-Atheist commented 7 months ago

@Ignaramico like this: image