CleverRaven / Cataclysm-DDA

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

Vehicle Disappeared (!!!) #52403

Closed LeahLuong closed 2 years ago

LeahLuong commented 2 years ago

Describe the bug

I ran over a giant pregnant cockroach in my Sports Car & 1 of the nymphs spawned inside the car w/ me. I drove a couple of map tiles further & my game crashed. I get these sorts of crashes semi-regularly & I believe its due to a lack of RAM or something. I have it set to auto-save frequently to help mitigate lost time & it's usually able to recover things fully; there have been a couple of times where my char was located @ the latest auto-save location but the car was @ the previous auto-save location. This usually resulted in an error message followed by me backtracking to where the car was in order to watch it crash itself to a stop. This time was different.

The game loaded w/ my char next to a nymph but no car in sight. I had set the car to remember its location & the map revealed the car was in the same map tile as me. I had outfitted the vehicle w/ a drive-by-wire system and my char w/ a remote controller bionic to circumvent having to repair it after watching it crash itself to a halt. Activating the bionic resulted in no vehicle found.

This was a heavily-modded Sports Car containing pretty much all the stuff I'd collected over the course of a game spanning nearly a full 91-day season; I'm on like day 59 of summer. There was an armored, electric motorcycle hitched on the back w/ a bike rack. It seems the game has the info on my vehicle but I can no longer interact w/ it.

I've included below the latest couple of entries in my debug.log which are timestamped either during or right after the incident. There is no related crash.log. Please help me recover my vehicle. All my food is in there!

Steps To Reproduce

I don't know how to replicate this but I get the feeling the cockroach nymph is somehow to blame.

Expected behavior

I expected to the game to reload my vehicle as it's usually done. The vehicle was not found @ the previous auto-save loacation & the map indicates it should be in the same tile where the crash happened.

Screenshots

No response

Versions and configuration

Android 0.F-2 Tiles English vanilla

Additional context


14:41:20.123 : Starting log. 14:41:20.248 INFO : Cataclysm DDA version 0.F-2 14:41:20.249 INFO : [main] C locale set to C 14:41:20.249 INFO : [main] C++ locale set to 14:41:20.249 INFO : SDL version used during compile is 2.0.12 14:41:20.249 INFO : SDL version used during linking and in runtime is 2.0.12 14:41:20.707 INFO : [options] C locale set to C 14:41:20.707 INFO : [options] C++ locale set to 14:41:20.708 INFO : Read Android system language: 'en_US' 14:41:20.708 INFO : Setting language to: 'en' 14:41:20.708 INFO : Language is set to: 'en' 14:41:20.717 INFO : Read Android system language: 'en_US' 14:41:22.122 INFO : USE_COLOR_MODULATED_TEXTURES is set to 0 14:41:22.373 INFO : Read Android system language: 'en_US' 14:41:22.373 INFO : Setting language to: 'en' 14:41:22.373 INFO : Language is set to: 'en' 14:41:22.376 INFO : Read Android system language: 'en_US' 14:41:24.318 WARNING : opendir [/storage/emulated/0/Android/data/com.cleverraven.cataclysmdda/files/mods/] failed with "No such file or directory". 14:41:24.628 INFO : Read Android system language: 'en_US' 14:41:24.698 INFO : Read Android system language: 'en_US' 14:41:24.700 INFO : Read Android system language: 'en_US' 14:41:24.705 INFO : Read Android system language: 'en_US' 14:42:02.408 WARNING : opendir [/storage/emulated/0/Android/data/com.cleverraven.cataclysmdda/files/save/Irving/mods] failed with "No such file or directory". 14:42:36.757 INFO : Loaded tileset: neodays 14:45:54.862 ERROR : (error message will follow backtrace)#01: 0xa17c5aa4 DebugLog(DebugLevel, DebugClass)

02: 0xa17c5650 realDebugmsg(char const, char const, char const*, std::ndk1::basic_string<char, std::__ndk1::char_traits, std::ndk1::allocator > const&)

03: 0xa1596ab6 void realDebugmsg<>(char const, char const, char const, char const)

04: 0xa1b03530 map::unboard_vehicle(tripoint const&, bool)

05: 0xa18b5282 game::place_player(tripoint const&)

06: 0xa189b8a8 game::walk_move(tripoint const&, bool, bool)

07: 0xa16611b6 avatar_action::move(avatar&, map&, tripoint const&)

08: 0xa1902d70 game::handle_action()

09: 0xa18867d8 game::do_turn()

10: 0xa1af53b4 SDL_main

11: 0xb3988e2a Java_org_libsdl_app_SDLActivity_nativeRunMain

Backtrace emission took 0 seconds. (continued from above) ERROR : /var/lib/jenkins/workspace/Cataclysm-Android/android/app/jni/src/../../../../src/map.cpp:1045 [void map::unboard_vehicle(const tripoint &, bool)] map::unboard_vehicle: vehicle not found


14:52:37.781 : Starting log. 14:52:37.791 INFO : Cataclysm DDA version 0.F-2 14:52:37.796 INFO : [main] C locale set to C 14:52:37.796 INFO : [main] C++ locale set to 14:52:37.796 INFO : SDL version used during compile is 2.0.12 14:52:37.796 INFO : SDL version used during linking and in runtime is 2.0.12 14:52:38.201 INFO : [options] C locale set to C 14:52:38.201 INFO : [options] C++ locale set to 14:52:38.201 INFO : Read Android system language: 'en_US' 14:52:38.201 INFO : Setting language to: 'en' 14:52:38.201 INFO : Language is set to: 'en' 14:52:38.201 INFO : Read Android system language: 'en_US' 14:52:39.542 INFO : USE_COLOR_MODULATED_TEXTURES is set to 0 14:52:39.716 INFO : Read Android system language: 'en_US' 14:52:39.716 INFO : Setting language to: 'en' 14:52:39.716 INFO : Language is set to: 'en' 14:52:39.718 INFO : Read Android system language: 'en_US' 14:52:41.619 WARNING : opendir [/storage/emulated/0/Android/data/com.cleverraven.cataclysmdda/files/mods/] failed with "No such file or directory". 14:52:41.909 INFO : Read Android system language: 'en_US' 14:52:41.966 INFO : Read Android system language: 'en_US' 14:52:41.969 INFO : Read Android system language: 'en_US' 14:52:41.971 INFO : Read Android system language: 'en_US' 14:52:56.052 INFO : Read Android system language: 'en_US' 14:52:56.054 INFO : Read Android system language: 'en_US' 14:52:56.055 INFO : Read Android system language: 'en_US' 14:53:34.943 WARNING : opendir [/storage/emulated/0/Android/data/com.cleverraven.cataclysmdda/files/save/Irving/mods] failed with "No such file or directory".

LeahLuong commented 2 years ago

After several hours of debugging & hammerspacing, I was able to recover many of the things I'd lost when my vehicle disappeared. Then I drove past the location of the auto-save just prior to THE INCIDENT to see my old Sports Car sitting there. I could swear I checked that previously but perhaps I somehow didn't notice. There are a couple things of note: I did re-install the game between then & now after preserving my world & settings; the map still indicated the remembered vehicle location @ the site of the game crashing; & the hitchhiking nymph's corpse had disappeared @ some point while debugging (NPI). I think re-installing may have prompted the game to load my vehicle back into the world @ its previous location. Forgetting my old car's location & remembering it did cause the map indicator to relocate to its correct position although I wish I had driven around a little before doing this to see if the indicator's displacement remained. Finally, I may have destroyed the nymph corpse by driving over it but I cannot be certain; I debugged a new Sports Car on top of its corpse but I'm pretty sure it was centered & not under the wheels or their path.

I'll quietly close this issue once it falls off the front page unless someone beats me to it.