CleverRaven / CleverRaven/Cataclysm-DDA

Pupating Bug

Open
#54,544 3 comments 0 reactions 0 assignees View on GitHub
(S2 - Confirmed) <Bug> Monsters Spawn
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
1d 23h
Merged PRs (30d)
186

Description

### Describe the bug

The bug pasted below sometimes procs when pupating zombies unpupate. My theory is the bug is caused by multiple flesh-raptors randomly spawning on the same square _**or**_ by a flesh-raptor attempting to spawn where there is already an entity (Your Mom, for example). Only 1 may fit & any extra are given an abortion w/ an epitaph written in red text. Every1 knows the soul inhabits the fetus on the 6th week following conception. We have the power to stop this massacre of the unborn. Please, make it stop.

### Steps to reproduce

1. Find the fat man.
2. Watch the fat man explode.
3. ???
4. PROFIT!

### Expected behavior

I expected that pupating zombie level would increase, because all other skills can increase in level.

### Screenshots

_No response_

### Versions and configuration

Android 0.F-3 Tiles English vanilla

### Additional context

DEBUG : failed to place monster

FUNCTION : void spell_effect::spawn_summoned_monster(const spell &, Creature &, const tripoint &)
FILE : /var/lib/jenkins/workspace/Cataclysm-Android/android/app/jni/src/../../../../src/magic_spell_effect.cpp
LINE : 1036
VERSION : 0.F-3

Contributor guide

Open the contributing guide

Research direction

Start with magic_spell_effect.cpp at line 1036, in spell_effect::spawn_summoned_monster, and inspect the reported "failed to place monster" path. Reproduce the issue using the listed Android 0.F-3 steps if possible, then determine whether pupating zombies fail because of occupied squares or another spawn condition. Done means the failure is reproducible and the relevant spawn behavior is corrected or clearly handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.