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
Updating to experimental 2021-08-21-2314 causes many errors every move in recent experimental world/saves, but not world/save from 0.F stable #50977
Comments
It looks like this is caused by the removal of several The author states in #50920 that he is worried about saves breaking and needing help with the migration. I'm also not sure what the proper course of action should be in this case. Maybe one of the veterans could help out here? |
Ping: @Ramza13, @curstwist? It looks like - possibly among other things - queued_effect_on_conditions needs to be checked on load for EOCs that need to be removed (or migrated to a different one)? |
While we can add some obsoletion code for eoc, I do not think we need to fix this very issue as eoc that was removed does not appear in 0.F stable. Try load the game, ignore any eoc errors, save game and if eoc error does not appear on subsequent game load - that's it. |
Okay. ---keep these--- |
Yes. I didn't have to ignore eoc errors once those entries were deleted. |
After doing some more investigation, there's a problem with the existing (or rather, repurposed) eocs as well. Take for example Cataclysm-DDA/data/json/monsters/lab_security_drones.json Lines 383 to 390 in 8051d7d
Now that the trait check is removed, these eocs that were queued before but never triggered suddenly activate. This one causes the toxic clouds reported by OP (among other effects). |
i've tried ignore -> save -> reload but the error just keeps coming up and the game is not playable |
quick update. After deleting all of these entries my game runs again! |
This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: |
This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: |
This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there: |
This issue is long since resolved |
(Not sure why some of this is all formatting in weird large fonts. Tried to fix it. Apologies.)
Once I updated to experimental 2021-08-21-2314 bf3398f, loading any recent save/world experimental saves and moving one or two squares causes many error message pop-ups.
Only the save/world made in 0.F stable seems to be free of issues.
Reverting to the one just prior, 2021-08-21-2146 73374dd causes these error messages not to appear.
Once updated to 2021-08-21-2314 bf3398f or later, errors occur virtually every step.
Messages are often different in different saves.
DEBUG : invalid effect_on_condition id "bot_yellow_maintenance_badge_check_2"
FUNCTION : const T& generic_factory::obj(const string_id&) const [with T = effect_on_condition]
FILE : src/generic_factory.h
LINE : 442
VERSION : bf3398f
DEBUG : invalid effect_on_condition id "bot_blue_maintenance_alarm_remove"
FUNCTION : const T& generic_factory::obj(const string_id&) const [with T = effect_on_condition]
FILE : src/generic_factory.h
LINE : 442
VERSION : bf3398f
DEBUG : invalid effect_on_condition id "bot_blue_maintenance_badge_check2a"
FUNCTION : const T& generic_factory::obj(const string_id&) const [with T = effect_on_condition]
FILE : src/generic_factory.h
LINE : 442
VERSION : bf3398f
DEBUG : Tried to use an invalid beta talker.
FUNCTION : talker* dialogue::actor(bool) const
FILE : src/npctalk.cpp
LINE : 1362
VERSION : bf3398f
DEBUG : Unable to find and assign mission target lab_res_8_NW.
FUNCTION : cata::optional<coords::coord_point<tripoint, (coords::origin)1, (coords::scale)2> > find_or_create_om_terrain(const tripoint_abs_omt&, const mission_target_params&)
FILE : src/mission_util.cpp
LINE : 251
VERSION : bf3398f
ALSO:
random scattered thick toxic gas clouds appeared. No reason for them. All in area are deceased and there is no environmental cause. Areas were clear on time of save.
DEBUG : invalid effect_on_condition id "bot_yellow_maintenance_alarm_remove"
FUNCTION : const T& generic_factory::obj(const string_id&) const [with T = effect_on_condition]
FILE : src/generic_factory.h
LINE : 442
VERSION : bf3398f
No errors seen in save "Derby" created and last played on 0.F stable.
Save backup (created with CDDA Game Launcher) of all 5 saves attached:
Pre-bugs backup.zip
Steps To Reproduce
Expected behavior
Not this.
Versions and configuration
Additional context
I have attached save backups above.
Debug log from various assessments of saves to get the errors, above:
debug.log
The text was updated successfully, but these errors were encountered: