Space Engineers

Space Engineers

评价数不足
Offline protection - rewritten (BB)
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Block
标签: ServerScripts
文件大小
发表于
更新日期
5.215 MB
2022 年 1 月 7 日 上午 7:47
8 月 3 日 上午 2:39
21 项改动说明 ( 查看 )

订阅以下载
Offline protection - rewritten (BB)

在 BookBurner 的 1 个合集中
Maintained/Created by BookBurner
27 件物品
描述
This version of offline protection is a mod that uses the block from:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1665511990


The original offline protection works fine, but it is scanning for blocks ownership too thoroughly. Meaning it can tank server simulation while scanning large number of large grids (people usually build offline protection on everything static when able, meaning a lot of large bases). There are also ways of getting around it's logic, creating indestructible bases and ships even without offline protection blocks.

This version is using completely new code, that should a) be more performant and b) since it runs on the session level, using the blocks only as "registrators" it should prevent players from getting indestructible grids when disconnecting, merging, detaching and/or quantum hangar is at play.

block will also auto starts during the registration phase if needed, so unstable power should no longer be the issue.

If you have further questions, you can visit my discord: https://discord.gg/6Gd6W8TcJb
15 条留言
The_Swack 8 月 22 日 上午 8:11 
Great to see you on this!
BookBurner  [作者] 2024 年 10 月 29 日 上午 3:30 
Obi Wanna, yes, I still maintain it and actively use it on our server
ODA-PlayBoy 2024 年 10 月 28 日 下午 2:24 
Does this mod still currently work?
Capt_Ocean1 2024 年 1 月 26 日 下午 6:50 
Thank you again
BookBurner  [作者] 2023 年 4 月 4 日 上午 8:03 
nah, just a component I hook the script to, basically session runs as a singleton for the whole game
won2three 2023 年 4 月 4 日 上午 6:51 
Session level, does that mean every time the server restarts?
won2three 2023 年 4 月 4 日 上午 6:50 
Thanks!
BookBurner  [作者] 2023 年 4 月 3 日 下午 11:26 
script is run server side, I just need to expand it, so the block is only the registrator, but the actual protecting and unprotecting is done on session level :). I already added it to my dev board.
won2three 2023 年 4 月 3 日 上午 9:23 
Hmm. It would be very complex but if the script could be run server side, scan for grids with the block, and the block would only act as a check for the script.
BookBurner  [作者] 2023 年 4 月 3 日 上午 9:07 
I will test that out, this behaviour was an issue even before, it is because the grid is being handled by the block, when you detach the block, the detached grid is no longer handled and stays in previous state.