Open ProfoundDarkness opened 2 years ago
Confirmed by using your save file. Thank you.
When moving after the bug is triggered I also get:
16:21:10.526 ERROR : src/map.cpp:1038 [void map::board_vehicle(const tripoint&, Character*)] map::board_vehicle: passenger (Clifford Busch) is already there
16:22:15.812 ERROR : src/map.cpp:1038 [void map::board_vehicle(const tripoint&, Character*)] map::board_vehicle: passenger (Concha Ragland) is already there
16:22:19.997 ERROR : src/map.cpp:1038 [void map::board_vehicle(const tripoint&, Character*)] map::board_vehicle: passenger (Avery Lawson) is already there
@wapcaplet Confirmed
Describe the bug
Sometimes (rarely for me) while driving I'll have the passengers of the vehicle remain in place while the vehicle rotates. This puts the controls outside of my reach.
Steps To Reproduce
Expected behavior
For the passengers to rotate with the vehicle and not loose control of the vehicle (among all the other issues that pop up from this).
Screenshots
No response
Versions and configuration
Additional context
I've included a save which should just require picking up from step 9. Test_Strange_Veh_Swap_Seat.zip
This one took me some time to figure out... Partially because at first it was kind of random but then when my driving skill got higher (yeah I let it keep training some) I could start to make it happen more. Skill 10 seems to be good enough, go 20 for more reliability I suppose. One key was the full rotation of the cabin going from square in one direction to square in another.
I'm not sure if 3 NPCs are required. I tried a non-exhaustive list of other options and didn't get it to happen...
Counterclockwise doesn't seem to cause it. Tried similar maneuvers moving forward (+4mph) both clockwise and counterclockwise with no errors... for whatever reason this is specific to reverse with clockwise direction change. I also tried other compass directions in reverse and it only happened with the clockwise rotation described.
So far the best way to recover from this involves waiting until the vehicle stops wherever you've ended up. Attempting to exit the vehicle tends to result in being hurt, trying to swap places with an NPC tends to result in their death since none of them are where they think they are.
If you don't alt-F4 out, be prepared for a ton of errors (mentioned below) until you've managed to get all the NPCs fully out of the vehicle. May also require getting them back in again... Errors after this happens being: map::board_vehicle: passenger (NPC) is already there map::unboard_vehicle: passenger not found map::unboard_vehicle: vehicle not found These aren't actually bugs but that the game got into a bad state from THIS bug.