Barotrauma
Không đủ lượt đánh giá
DFC (Independence)
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Kích cỡ file
Đã đăng
Đã cập nhật
1.297 MB
22 Thg09, 2023 @ 10:31am
30 Thg06 @ 11:35pm
42 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
DFC (Independence)

Trong 1 bộ sưu tập tạo bởi whosyourdaddy
木卫二武装集团PVP/PVE模组集合
14 vật phẩm
Mô tả
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 bình luận
whosyourdaddy  [tác giả] 23 Thg04 @ 12:44am 
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 6 Thg12, 2024 @ 1:37pm 
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 6 Thg12, 2024 @ 10:43am 
@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 28 Thg11, 2024 @ 8:06pm 
Alright, thanks for the help! :)
whosyourdaddy  [tác giả] 26 Thg11, 2024 @ 9:13pm 
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 26 Thg11, 2024 @ 12:00pm 
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 29 Thg12, 2023 @ 7:04am 
Is there any tutorial for this thing or something like that?
Ricky 2 Thg10, 2023 @ 10:31am 
ah found the problem modding toolkit seems to cause the mod to not load properly works after removing it
Ricky 2 Thg10, 2023 @ 7:52am 
I unsubscribed from them and deleted my installed workshop mods folder and still couldn't get this mod to run
whosyourdaddy  [tác giả] 1 Thg10, 2023 @ 11:52pm 
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.