CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.68k stars 4.19k forks source link

[0.H RC] Lt. Shadow's EoCs are buggy #78047

Open Nerezza opened 5 days ago

Nerezza commented 5 days ago

Describe the bug

I can't really put together much detail after this encounter, I kept getting EoC errors and when the sun came up EOC_LIEUTENANT_SHADOW_WITHDRAWS_FOR_NOW got stuck in a loop that massively slowed down my game by firing every single turn.

I had taken refuge at the top of a radio tower for the night since the amalgamation spawns were crazy high and the shadow was designed to be crazy hard to attack. No way in apocalypse was I going to reach him without dying of exhaustion first.

Anyway, the EoC loop ended when I climbed down to the ground.

Normally I wouldn't bother posting a bug report with such sparse details, but this encounter is apparently meant to be a pretty nasty one even without bugs. It definitely needs to be sorted out for 0.H stable.

Attach save file

N/A, didn't have a good save for this.

Steps to reproduce

I suppose the best reproduction is to spawn in Lt Shadow and try different things, noting the EoC errors in the process.

Expected behavior

Lt. Shadow should appear and harrass the player without EoC errors and an EoC looping.

Also as far as I can tell he can spawn as soon as 7 days since the start of the cataclysm. I think it's against the game's design to have a monster that can spawn an army of amalgamations, including caustic and brutish ones, against a new character.

Screenshots

image

Versions and configuration

Additional context

debug.log

RenechCDDA commented 4 days ago

We had another report like this, but I'm unable to find it. The reporter had jumped down into a crater and waited until morning. The issue is that you're on a different z-level than the creature.

I guess the radio tower's lower levels doesn't count as "INDOORS"? Otherwise it would have vanished before you got to the stairs.

Nerezza commented 4 days ago

There are more errors in the debug log, too

Cddasurvivor commented 4 days ago

I noticed the game is bogged down quite a bit by it in general.

If you remove it's entry from the game there is a noticeable increase in performance especially on slower systems.

Maleclypse commented 4 days ago

I noticed the game is bogged down quite a bit by it in general.

If you remove it's entry from the game there is a noticeable increase in performance especially on slower systems.

Are you saying that happens when you remove it even before day 7 or after day 7? I'm going to go ahead and say if it's before day 7 this seems unlikely to be related but it's definitely a thing that can be checked by someone with profiling.