Barotrauma

Barotrauma

Bots operate fabricators
65 Comments
[ VII ] *** MCH *** Oct 31 @ 6:21pm 
its time to update bro (or someone can maybe recod the bot in the new version with IA ?)
Red52792 Jun 6 @ 12:18pm 
do you think there is a version of this mod that adds the abitily for chefs to cook things for you in Hungry europeans?
Red52792 Jun 6 @ 12:09pm 
what if you just didnt do all the file stuff
Cyber Witch ~ Jan 16 @ 12:16am 
No
Blank Jan 15 @ 10:47pm 
does this work in 2025?
Biggis Dickus Sep 22, 2024 @ 6:17am 
Please update!
Фанзиль May 27, 2024 @ 11:44pm 
Update please:etgmarine:
TheOneToRuleTheMall May 10, 2024 @ 9:25am 
Hello, currently the mod does not work with the current update. After moving the DLL files into the barotrauma steam folder it gives this crash when starting the game.

Exception: Field not found: 'Steamworks.SteamUGC.GlobalOnItemInstalled'. (System.MissingFieldException)
Target site: Void InitializeProjectSpecific()
Stack trace:
at Barotrauma.Steam.SteamManager.InitializeProjectSpecific()
at Barotrauma.Steam.SteamManager.Initialize()
at Barotrauma.Program.Main(String[] args)
Cyber Witch ~ Jan 6, 2024 @ 1:30am 
nvm doesnt work. Gives me an error on start
Cyber Witch ~ Jan 5, 2024 @ 12:50am 
can I use this midgame?
NOOB3008 Aug 18, 2023 @ 6:22am 
pls update
Felix The Wizard May 29, 2023 @ 7:21am 
Game crashed after switching to the files found in LuaForBarotrauma .dll file


System info:
Operating system: Microsoft Windows NT 10.0.19045.0 64 bit
Game not initialized

Exception: Could not load file or assembly 'MoonSharp.Interpreter, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'. Det går inte att hitta filen. (System.IO.FileNotFoundException)
Target site: Void .ctor()
Stack trace:
at Barotrauma.LuaCsSetup.LuaCsModStore..ctor()
at Barotrauma.LuaCsSetup..ctor()
at Barotrauma.GameMain..ctor(String[] args)
at Barotrauma.Program.Main(String[] args)

"I am going to assume this is because the addon isn't optimized for 1.0.13.1"
HAXJLEbHuK Apr 12, 2023 @ 12:50am 
Will there be an DLC for the research terminal?
Robo Mar 20, 2023 @ 6:31pm 
@Max They do the same thing in Singleplayer. I even assigned a crafting recipe and they sit there.
Mox Mar 20, 2023 @ 9:52am 
is there anyway to make that mod work in multiplayer the bots just go to the fabricator and do nothing.
abusive stepfather Mar 19, 2023 @ 2:42am 
so i installed the mod but the bot's "cant hear" the order to craft
how do i fix this? if possible
ν Mar 15, 2023 @ 3:52pm 
It has been a while since I've last played, what do you guys use this for? Just training crafting on a bot or something else?
shoolgate Mar 10, 2023 @ 12:25pm 
could make bot Automatic collection of minerals mod?
Appy Feb 15, 2023 @ 6:14am 
Trying to host a dedicated server with the Windows Lua pack nets an error; unless I'm missing something. I'm not sure if the Lua pack is for hosting a LuaDedicatedServer only or for if you just have Lua installed in general.
Robo Jan 16, 2023 @ 9:59pm 
Truly underrated mod. Thank you for making this. :steamhappy:
CICADA Dec 1, 2022 @ 11:39pm 
hey this is a far fetched question but would it be possible to make a toggle ai control for when your afk or tired of fixing things
kitpaddel  [author] Nov 8, 2022 @ 10:55am 
Update to v0.19.14.0. Should work now.
entersomethinghere Oct 23, 2022 @ 3:37am 
I tried the latest set of .dlls for Lua. They aren't working. Can you look into this?
kitpaddel  [author] Oct 14, 2022 @ 11:35am 
Update to v0.19.11.0
stifler2020 Oct 2, 2022 @ 5:55am 
I cant get the mod to work with current lua files included. The fabricate option is available but the bot just stands there looking at the recipe with material in said fabricator. when installing the Lua files the game will not boot. instant crash in the steam menu. Please help?
entersomethinghere Sep 20, 2022 @ 6:03am 
I updated Lua for Barotrauma and this mod recently.

Mod does not seem to be working.


Can you go look into this?
pixan Sep 14, 2022 @ 2:39pm 
@Dhipz100
I have the same experience, the trace starts with

%APPDATA%\..\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2559634234\Binary\Lua/DefaultHook.lua:(2,10-17,1): Could not load file or assembly 'Sigil, Version=5.0.0.0, Culture=neutral, PublicKeyToken=2d06c3494341c8ab'. File not found, MoonSharp.Interpreter.NetRuntimeException: Could not load file or assembly 'Sigil, Version=5.0.0.0, Culture=neutral, PublicKeyToken=2d06c3494341c8ab'.
.................
And repeats itself, any help is appreciated.
entersomethinghere Aug 24, 2022 @ 7:02pm 
Odd.

It works fine on my end.
Dhipz100 Aug 24, 2022 @ 6:27pm 
Well its not crashing anymore but the bot only opens the fabricate menu without fabricating the selected recipe. I have tried reinstalling lua with "install_cl_lua" after replacing the dll but its still the same. Before reinstalling lua there is an error that say a file (or something) is not found or cant be assembled tho. The non lua dll still works fine and im using windows.
kitpaddel  [author] Aug 24, 2022 @ 2:49pm 
Update to v0.18.15.1.
I also added the dll files for linux and mac. Those are not tested and any feedback is welcome!
Dhipz100 Aug 21, 2022 @ 10:01pm 
The lua version crashed the game now. Probably because lua get updated
Bloody Buddy Aug 8, 2022 @ 1:37pm 
Bit of an update/"bug" report: can confirm that the LUA works both for the file and other LUA mods (e.g. Neurotrauma): both work together, as bots operate the fabricator as designed, and no problems with Neurotrauma rise.

However, this works flawlessly only in singleplayer. In Multiplayer, there's a bit of a glitch with fabricators: using the LUA that comes with this mod (the merged version), if you try to switch off of a crafting recipe, the game will automatically start fabricating the previous recipe you were at. You have to cancel it, press the new recipe again, and only then will it work.

Example:
I open the fabricator, select to fabricate steel bars. Change my mind, decide to make titanium alloys. I search and select that recipe. As soon as i click on the recipe, the game starts making the STEEL BAR, pulling the ingredients into the fab (as vanilla works). I need to cancel the production, then reselect the titanium alloy for it to let me start crafting that.
entersomethinghere Jul 25, 2022 @ 7:04pm 
Huh. It appeared all I had to do was install the Lua for Baro dlls and reinstall Lua.

How handy.

I hope this gets updated constantly, as I like to hoard and also need to mass produce ammo as I play with Barotraumatic on.
entersomethinghere Jul 25, 2022 @ 4:01pm 
So do I replace both base and Lua Baro dlls or just the standard Barotrauma dlls if I want to run this mod with Lua for Barotrauma?
kitpaddel  [author] Jul 25, 2022 @ 1:17pm 
The orders wheel and the code to go to the fabricator is part of the vanilla barotrauma, the bots just don't knwo what to do once there are at the fabricator, so this is normal.

I tested the Lua for barotrauma dlls, by installing Lua for barotrauma using the "manual install" method and subsequently changing the dlls with mine.

You must replace the dlls that get loaded if you start barotrauma. For the "maual install"and the "client side Lua" method, that should be the dlls in the base barotrauma folder. For the "Lua for barotrauma from scratch" method, you have to replace the dlls in your seperate barotrauma folder. Only replacing the dlls in the mod folder should be sufficiant if you use the host server option, but I haven't tested this.
entersomethinghere Jul 24, 2022 @ 4:12am 
I already replaced the Lua for Baro dlls with the relevant dlls.



Despite this, the bots aren't actually able to fabricate anything.



Do I also need to replace the base Baro dlls or do I have to place it higher in the load order?
entersomethinghere Jul 24, 2022 @ 12:53am 
I subbed.

I was still able to enable the mod and access the "use fabber" command on the wheel despite not undertaking your installation process.



Is this normal?
kitpaddel  [author] Jul 19, 2022 @ 3:48pm 
Updated to v0.18.15.0.
I also added dlls compiled for the LuaForBarotrauma Mod that you can use instead of the regular dlls if you use this mod. I haven't thoroughly tested this, so any feedback is welcome.
Bloody Buddy Jul 9, 2022 @ 8:45am 
Definitely a must have mod for solo experience, but sadly, it currently only half works. Bots can go to the fabricator and open the interface, but do not repeatedly craft. However, if you use the mod's DLL files, they will, but that means you can't use the LUA for barotrauma, which is needed for most other mods. Does anyone have a solution for this? Maybe a merged DLL?
Korcalius Jun 9, 2022 @ 2:46pm 
Doesn't seem to work in the current Version.
Ravendark May 1, 2022 @ 9:09am 
blessing of a mod btw. but lately updates are giving it hell.. for some reason, steam doesnt save the mods in its normal path (Steam\steamapps\common\Barotrauma\Mods) but in (steam\steamapps\workshop\content\ "some number")
D00D! Fishy Cowboy! Apr 19, 2022 @ 12:33am 
Headsup but I think the current Unstable breaks this mod as Bots do not know how to operate the Fabricator anymore but they still go to the location.
阴阳双生 Apr 12, 2022 @ 7:31am 
Hello, do you have a solution to the incompatibility between mod and "Lua For Barotrauma"?
kitpaddel  [author] Apr 11, 2022 @ 4:09pm 
It seems lua for bartorauma comes with its own barotrauma dlls and changes to the source code. The only way that comes to my mind to use it together with this mod is to merge both sources. This mod comes with a patch file containing the changes made to the source, so you could try to merge them into the lua for barotrauma code.
Hobo in Kmart Apr 5, 2022 @ 1:25am 
Should be base game. 10/10 works as advertised.
MIKSTER Jan 14, 2022 @ 9:14am 
Nevermind i forgot to copy the fires again
MIKSTER Jan 13, 2022 @ 9:39pm 
After the update today the bots wont start the crafting. They will just stand in front of the fabricator
WindSheep Jan 1, 2022 @ 4:08am 
mac cant use it :(
Fibonacci123 Dec 27, 2021 @ 5:22am 
so ♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥ awwwweeesome. You're a great human. Thank you. Also, double thank you since I see you updated it on the 23rd, I'm assuming to be current with the new patch. You sir are a digital saint.
kitpaddel  [author] Dec 23, 2021 @ 12:04am 
Updated to v0.15.22.1.