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

Game crashing due to pumps #91

Closed
Bunnymap opened this issue Nov 21, 2023 · 6 comments
Closed

Game crashing due to pumps #91

Bunnymap opened this issue Nov 21, 2023 · 6 comments
Assignees
Labels
Branch: Unstable Affects Steam Workshop Unstable. bug Something isn't working Modding Toolkit Needs Reproduction Testing Dev team needs to reporduce.

Comments

@Bunnymap
Copy link

Bunnymap commented Nov 21, 2023

Getting some weird problems that I think are related to modding toolkit and the config. Everything works fine in the sub editor, but when I host an actual game multiple things fail to work. I am using the dev version posted in the discord.

  1. All Mechtrauma pumps crash the server when they are powered and try to pump water (servercrashreport.log) Base game pumps work fine.
  2. The powertrain doesn't consume any durability on their parts (The machines themselves are still damaged overtime) but seemingly work fine otherwise.

Some other things are probably busted but it's kinda hard to test on account of the game constantly crashing due to pumps. All tested on base game subs with no other modded parts. Client-side Lua is installed and I'm using the lua server executable. I've reinstalled the game and my mods multiple times and have unsubscribed from everything except Lua, cs, and modding toolkit. Config is all default settings. The console is putting out several "attempt to index a nil value" errors every few seconds. I have to assume this is some kind of user error on my end, but I can't for the life of me figure it out.

@MapleWheels
Copy link

MapleWheels commented Nov 21, 2023

Thank you for your report and the crash log. Can you provide the full game log? I have also opened a co-issue here and will be investigating: MapleWheels/ModdingToolkit#4

As for what I'd like from you, please kindly perform the following extra troubleshooting steps:
Delete the following folders:

<GameInstall_Dir>/Config/
<GameInstall_Dir>/Publicized/
%localappdata%/Daedalic Entertainment GmbH/Barotrauma/WorkshopMods/Installed

And then reinstall LuaCsForBarotrauma from scratch.

This error has been seen before from other mods since the new LuaCs update due to the publicized assemblies being stale, but it may be due to ModdingToolkit, so let's see.

@TBN-MapleWheels TBN-MapleWheels added bug Something isn't working Modding Toolkit Needs Reproduction Testing Dev team needs to reporduce. Branch: Unstable Affects Steam Workshop Unstable. labels Nov 21, 2023
@Bunnymap
Copy link
Author

DebugConsoleLog_Client_11222023_0230.txt
DebugConsoleLog_Server_11222023_0229.txt
Both server and client logs

No changes from deleting those files

@Bunnymap
Copy link
Author

Bug is still occurring with the new workshop unstable version. Unsubscribed from all of my workshop mods and deleted them from %appdata%, and then did a fresh install. Only things I reinstalled are lua, cs, modding toolkit, Mechtrauma Unstable, and the custom sub I'm using. Still seems to work fine in the sub editor.
DebugConsoleLog_Client_12192023_2257.txt
DebugConsoleLog_Server_12192023_2257.txt
servercrashreport.log

@PeasantFoundry
Copy link
Owner

We're currently chasing down a bug that could be related to this. Once we resolve it I'll be pushing a new version shortly after (that includes a bunch of other small fixes as well.)

@Bunnymap
Copy link
Author

Recent updates seem to have fixed the issue, server works properly now.

@PeasantFoundry
Copy link
Owner

Excellent! Let us know if you run into anymore problems!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Branch: Unstable Affects Steam Workshop Unstable. bug Something isn't working Modding Toolkit Needs Reproduction Testing Dev team needs to reporduce.
Projects
None yet
Development

No branches or pull requests

4 participants