CleverRaven / Cataclysm-DDA

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

Error while trying to mend a faulty engine, action is not completed #50942

Closed NancokPS2 closed 3 years ago

NancokPS2 commented 3 years ago

Describe the bug

When trying to mend an automotive filter using a normal (non makeshift) automotive filter part, the game gives an on-screen error and causes nothing to happen, the filter is not consumed The error appears AFTER the specified time for mending (5 minutes of work)

Steps To Reproduce

  1. Attempt to mend an engine with the required part nearby
  2. Select the only option in the list that pops up "Replace expired fuel filter"
  3. Wait for the process to complete
  4. Get a screen wide error (log in additional info below)

Expected behavior

The filter is consumed and the engine looses the faulty suffix

Screenshots

No response

Versions and configuration

Additional context

DEBUG : invalid arguments to ACT_MEND_ITEM

FUNCTION : void activity_handlers::mend_item_finish(player_activity, player) FILE : src/activity_handlers.cpp LINE : 2647 VERSION : 2ead586

freijie commented 3 years ago

Exactly the same happend when I tried to mend faulty CBMs.

Version 8b5679

Mods loaded: dda, np_npc_food, package_bionic_professions, aftershock, aftershock_exoplanet, blazeindustries, MMA, No_Rail_Stations, Graphical_Overmap, No_Fungi, speedydex, stats_through_kills, StatsThroughSkills

RoyBerube commented 3 years ago

I did not test this exact problem, but is probably fixed by merged PR #50957.

NancokPS2 commented 3 years ago

Gonna be honest, i'm going to forget about this issue again and let it go stale, so i'll just close it and open another if the issue persists since the PR seems to adress these issues