CleverRaven / CleverRaven/Cataclysm-DDA

Player falls out of vehicle while going up bridges while knocked down.

Open
#48,874 3 comments 0 reactions 0 assignees View on GitHub
(S2 - Confirmed) <Bug> Fields / Furniture / Terrain / Traps Vehicles
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
1d 21h
Merged PRs (30d)
185

Description

# Describe the bug

Driving up a bridge while being knocked to the floor causes player to fall out of vehicle.

# Steps To Reproduce

1. Find a bridge, spawn any drivable vehicle.
2. Spawn a collosal crayfish, or any other heavy monster like a moose, and kill it.
3. While wielding its corpse, the player should be unable to move due to being knocked to the floor repeatedly.
4. While wielding the corpse, drive the vehicle up the bridge at the lowest speed possible.
5. Player falls out of the vehicle while driving up the bridge and receiving the knocked to the floor message.

If you can't get it first time, give it a few tries at the lowest speed.

# Expected behavior

Player drives up bridge without falling out of vehicle.

# Screenshots

Notice how I was put in a place where I should be in the bridge ramp, with parts of the vehicle sticking out.
![084808](https://user-images.githubusercontent.com/47158232/118266444-fd20af00-b490-11eb-8c44-30caf54e0781.png)

# Versions and configuration

- OS: Linux
- OS Version: LSB Version: 1.4; Distributor ID: Arch; Description: Arch Linux; Release: rolling; Codename: n/a;
- Game Version: 0.E-10474-g1ae66c97a0 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions],
Magiclysm [magiclysm]
]

# Additional context
Trying to go back inside the car causes a player is already inside the vehicle error.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the listed bridge, vehicle, corpse, and knockdown sequence at the lowest speed. Trace the vehicle movement and player knockdown interaction involved in the reproduction, then verify that the player remains in the vehicle while driving up the bridge and can continue normally afterward.

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
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.