CleverRaven / Cataclysm-DDA

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

v0.4 Butchering while driving punished by CTD #685

Closed dluechoy closed 11 years ago

dluechoy commented 11 years ago

Attempting to butcher a corpse while occupying a vehicle that is moving will cause a CTD upon completion.

Nothing specific to the crash was appened to the logs with debug messages enabled.

Testing found that the butchering process can still be interrupted normaly, and that a stationary vehicle will not crash the game.

The first screenshot was taken at the end of today's playthrough with a cheated character- where out off curiousity I tried to butcher the giant ant after having filled my box with corpses and cooked lunch without having had to dismount or slow down... The second screenshot was taken after reloading the save of a few hours ago- on a quiet surface street a row of corpses were laid out and backed over to reproduce the conditions of the previous crash. The last screenshot was taken on the Tutourial level where the debug menu was used to spawn the vehicle and butcher's knife- a line of corpses were created by driving back and forth infront of that building then one was butchered while stopped, and then another while plowing through that building.

(Windows7 locks the windows and mutes the colours on appcrash.)

2013 04 27 distracted driving 2013 04 27 distracted driving2 2013 04 27 distracted driving3

HeatherSoron commented 11 years ago

Huh. You can butcher a corpse from a moving vehicle? That... should probably not be allowed in the first place. Although it'd be good to track down the segfault, too.

dluechoy commented 11 years ago

I'd say that is should be allowed, but with increased speed (vs skills) leading to an increased risk of severe injury or death, and area that the carcass then spreads/sprays over.

HeatherSoron commented 11 years ago

I'll agree that once we've got cars that will drive without player assistance (NPC-driven, maybe?), then you should be able to butcher items which are also inside the car.

HeatherSoron commented 11 years ago

The crash has been fixed for now. If you feel like corpses SHOULD be butcherable while driving, feel free to open a new pull request that we can mark as an enhancement suggestion, as opposed to a bug report.