Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose New Leader option on basecamp crashes the game #78024

Closed
gettingusedto opened this issue Nov 20, 2024 · 3 comments
Closed

Choose New Leader option on basecamp crashes the game #78024

gettingusedto opened this issue Nov 20, 2024 · 3 comments
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@gettingusedto
Copy link
Contributor

Describe the bug

Basically what the title said. It crashed when i want to choose Liam as a new leader.

Attach save file

Wood-trimmed.tar.gz

Steps to reproduce

  1. Open attached save.
  2. interact the camp bulletin board nearby
  3. select Choose New Leader
  4. crash

Expected behavior

It not crashing and letting me play as Liam for awhile

Screenshots

No response

Versions and configuration

  • OS: Android
    • OS Version: Manufacturer: ZTE; Model: ZTE 8050; Release: 13; Incremental: 20240523.205226;
  • Game Version: cdda-experimental-2024-11-18-1457 c544d81 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth],
    GUT's Contents Compendium [gut_contents_compendium],
    GUT's Unhinged Stuff [gut_unhinged_stuff],
    Xedra Evolved [xedra_evolved],
    GUT's Tweak Compendium [gut_tweaks_compendium],
    GUT's Xedra Evolved Compendium [gut_xedra_compendium],
    Bombastic Perks [bombastic_perks],
    Martial Mastery [perk_melee_system],
    horde tweaks [horde_tweaks],
    Funni Loading Screens [loading_screen_funni]
    ]

Additional context

crash.log
debug.log

@gettingusedto gettingusedto added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Nov 20, 2024
@Milopetilo
Copy link
Contributor

/confirm
Didn't try this out in game but all tests except basic build seem to be failing because of this

@github-actions github-actions bot added (S2 - Confirmed) Bug that's been confirmed to exist and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Nov 20, 2024
@andrei8l
Copy link
Contributor

/confirm Didn't try this out in game but all tests except basic build seem to be failing because of this

The LTO job is failing for an unrelated reason - see #77950. You should definitely verify before confirming.

I couldn't reproduce it from master. Based on the crash log and the timestamps, I'm quite certain this was an artifact of bad variable migration (#77980) combined with unsafe variable access here:

time_point last_succession_time = time_point::from_turn( std::stof(
get_player_character().get_value( var_timer_time_of_last_succession ) ) );
time_duration succession_cooldown = time_duration::from_turns( std::stof(
get_globals().get_global_value(
var_time_between_succession ) ) );

@NetSysFire NetSysFire added (S1 - Need confirmation) Report waiting on confirmation of reproducibility and removed (S2 - Confirmed) Bug that's been confirmed to exist labels Nov 21, 2024
@gettingusedto
Copy link
Contributor Author

Yeah after i updated my game, it stops crashing when i tried it. Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

4 participants