Barotrauma 潜渊症

Barotrauma 潜渊症

评价数不足
DFC (Independence)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.297 MB
2023 年 9 月 22 日 上午 10:31
6 月 30 日 下午 11:35
42 项改动说明 ( 查看 )

订阅以下载
DFC (Independence)

在 whosyourdaddy 的 1 个合集中
木卫二武装集团PVP/PVE模组集合
14 件物品
描述
The mod is independent, merged from the following:
Moses
Lua Utility Belt
Dynamic Submarine Script Injector (DSSI)
DSSI Faction Craft

Severe Warning for v1.8.6.2+ Users
If your map is using this mod's LuaComponent sync method to send synchronization data to the client, players without Lua installed will be forcibly disconnected from the server. Their consoles will pop up the following error:
Error in xxx. The number of properties on the item "xxx" does not match between the server and the client. Server: xxx, client: xxx.
The error is caused by an official code change:
https://github.com/FakeFishGames/Barotrauma/blob/6203171b6d0cdac86ac3f804b3d325aa49dcf07b/Barotrauma/BarotraumaShared/SharedSource/Items/Item.cs#L3768
This means multiplayer now require stricter consistency between the client and server.
A temporary workaround is to disable sync. If you still wish to use that, you can use the better Lua component: RuyiLuaComponent, which offers more comprehensive Lua support and more detailed documations.
11 条留言
whosyourdaddy  [作者] 4 月 23 日 上午 12:44 
Severe Warning for v1.8.6.2+ Users
If your map is using this mod's LuaComponent sync method to send synchronization data to the client, players without Lua installed will be forcibly disconnected from the server. Their consoles will pop up the following error:
[code]Error in xxx. The number of properties on the item "xxx" does not match between the server and the client. Server: xxx, client: xxx.[/code]
The error is caused by an official code change:
https://github.com/FakeFishGames/Barotrauma/blob/6203171b6d0cdac86ac3f804b3d325aa49dcf07b/Barotrauma/BarotraumaShared/SharedSource/Items/Item.cs#L3768
This means multiplayer now require stricter consistency between the client and server.
A temporary workaround is to disable sync . If you still wish to use that, you can use the better Lua component: RuyiLuaComponent , which offers more comprehensive Lua support and more detailed documations.
Galaxies 2024 年 12 月 6 日 下午 1:37 
Nevermind, I had to read the Lua documentation (found here: https://evilfactory.github.io/LuaCsForBarotrauma/lua-docs/) and I found the "Game.ExecuteCommand(command)" function! Thanks anyways though :)
Galaxies 2024 年 12 月 6 日 上午 10:43 
@whosyourdaddy I've been reading the documentation, and it's really useful, but it doesn't exactly lay out how to run F3 commands via the Lua component. I assume that I'm required to know Lua in order to accomplish this?
Galaxies 2024 年 11 月 28 日 下午 8:06 
Alright, thanks for the help! :)
whosyourdaddy  [作者] 2024 年 11 月 26 日 下午 9:13 
You can check the ReadMe in the mod directory and search for DfcLua2Component. However, my English is not good, so I only wrote the documentation in Chinese. Additionally, I have uploaded all the mods to the source code repository, and their hyperlinks are provided on each mod's page. (come from AI translator)
If you have any questions, welcome to ask.
Galaxies 2024 年 11 月 26 日 下午 12:00 
Hey, question, is there any way I can run F3 commands through DFC? I assume I can via a Lua component, but there's no information nor instruction on how. Appreciate the mod man, it's super useful!
Captain Bart 2023 年 12 月 29 日 上午 7:04 
Is there any tutorial for this thing or something like that?
Ricky 2023 年 10 月 2 日 上午 10:31 
ah found the problem modding toolkit seems to cause the mod to not load properly works after removing it
Ricky 2023 年 10 月 2 日 上午 7:52 
I unsubscribed from them and deleted my installed workshop mods folder and still couldn't get this mod to run
whosyourdaddy  [作者] 2023 年 10 月 1 日 下午 11:52 
Have you disabled mods(Moses, Lua Utility Belt, Dynamic Submarine Script Injector (DSSI), DSSI Faction Craft)? If not it may cause cs mods to be duplicated and broken, that's one of the reasons why the console throws the error shown in the screenshot.