Closed CUCU201 closed 1 year ago
Thank you for the report!
Looking at the crash report, it seems the crash happens when a bot tries to repair things with a repair tool that doesn't require any fuel. I suspect it's some other mod than DynamicEuropa that's causing this, but on a quick look through the mod list, I can't say for sure which one it could be.
In any case, I added a fix that should prevent this from crashing the game in the future (commit in our private repo: https://github.com/Regalis11/Barotrauma-development/commit/8c1f203de0289f94cc8b342b7bcdd5a004d7d574). Sorry for the inconvenience!
Difficult to test.
Made working welding tool that didn't need fuel, at one point even didn't have inventory, but bots could not use it without fuel tank.
Removed <RequiredItems items="oxygensource,weldingtoolfuel" type="Contained"
Still got message Cannot find an item with the following identifier or tag: weldingfuel
Could not reproduce. I removed the <Requireitems>
element too, and the bots seem to have no issues using a welding tool without a fuel tank. Are you sure you were running the game with the correct xml files? I.e. that you had those changes in the xml files in the build folder when you started the game?
Tested,
I get now "Barotrauma.Items.Components.RepairTool" has no proper inventory
when weldingtool has no RequiredItems and no ItemContainer, could be user issue on my part.
All error are caught and no crashes experienced.
is says 404
@markboss33 It's a link to our private repository, the fix is unfortunately not publicly available yet. Sorry for the inconvenience!
Tested and no issues found. Closing ticket.
Disclaimers
What happened?
Entering a touring map game when the destination is a city will crash, and if the destination is a crossroads, it seems like no problem
Reproduction steps
Entering a touring map game when the destination is a city will crash, and if the destination is a crossroads, it seems like no problem crashreport (19).log crashreport (19).log
Bug prevalence
Happens every now and then
Version
v1.0.13.2
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports