Starbound

Starbound

80 个评价
[oSB] Automatically Scan Objects!
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
3.237 KB
8 月 9 日 下午 9:24
8 月 11 日 下午 8:59
4 项改动说明 ( 查看 )

订阅以下载
[oSB] Automatically Scan Objects!

在 Silver Sokolova 的 1 个合集中
Silver's Clientside Mods
36 件物品
描述
This mod requires OpenStarbound![github.com]
Any printable objects in your inventory are automatically added to the Pixel Printer.
Now you won't have to worry about checking if you scanned something before you discard it!
The mod scans your inventory every 3 frames, one slot of each tab at a time. You can change how often it scans in `/xrc_autoscan.config:scriptDelta`- higher numbers are slower and thus better for weaker machines. 60 frames is 1 second.

Q & A
Q: Mod doesn't work! I do not have OpenStarbound[github.com] installed.
A: You must have OpenStarbound[github.com] installed for this mod to work.

Q: Does this work with modded objects? I don't want to install separate patches for every mod that adds objects.
A: It works with modded objects, as long as they are printable! There is no need to make a patch.
Technical Explanation: Instead of patching each individual object to scan themselves when they enter the inventory, a script is added to the player which checks what's in their inventory and simulates scanning each object within.

Q: Does this work with the Lagless Pixel Printer mod?
A: Yes! It also works with the vanilla Pixel Printer.

[discord.gg]
27 条留言
Mharr 12 月 8 日 上午 7:08 
Steam's automod appears to have died on us
Silver Sokolova  [作者] 12 月 3 日 下午 3:21 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
Mharr 12 月 3 日 上午 4:58 
"You can change how often it scans in `/xrc_autoscan.config:scriptDelta`"

Can someone throw me a Hello World example of how to modify this? I don't know if it's something you do in the oSB interface somewhere, via admin commands, or by editing a text file. All I see in the mod's installation path is a single .pak file.
Silver Sokolova  [作者] 10 月 2 日 上午 12:11 
@Azure Fang Thanks! I couldn't recreate the issue unfortunately, and to be honest, I've always known how to fix it on Craftable Seeds's end, but I just didn't know the author was still active (I never checked before 2024!!) and assumed we'd all just have to work around it! So I've messaged them, thank you!
Azure Fang 9 月 30 日 下午 8:50 
TIL Notepad++ has a file monitoring option so I can watch starbound.log files build in real time! God I wish I had known about that during the height of my mod debugging :squirtooh:

Anyway, I can now verify that this exception requires multiple mods to trigger. As mentioned, Learn Blueprints on Scan and [oSB] Automatically Scan Objects must be installed together, alongside a third mod that actually triggers the interaction.
The two triggers I was able to find are:
Craftable Seeds NEW
Craftable Green Apple and Orange saplings in Seed Maker
(You would think the addon wouldn't trigger without the base, but no, it does.)

Here's a clean, excepting log with only the LBoS, ASO, and CSN installed: https://pastebin.com/AWsZrYsn
Azure Fang 9 月 30 日 下午 7:38 
I should have thought about mod interactions. It's been a few years since I retired from Starbound modding, so forgive me for jumping. You're right, it's not this mod alone causing it. It's a combination of this, Learn Blueprints on Scan, and at least one more mod. I'll burn through my list and get the name(s) of any mods that trigger the issue and report back, so they can at least be documented.

Again, my apologies for jumping.
Silver Sokolova  [作者] 9 月 30 日 下午 7:09 
as in, a full log from a gameplay session in which the error occurred
Silver Sokolova  [作者] 9 月 30 日 下午 7:05 
@Azure Fang doesn't happen for me, you must have some mod that changes the sapling buildscript in some broken way. full log would be good
Azure Fang 9 月 30 日 下午 4:49 
I need to do some further testing, but as it stands this mod is causing constant non-critical exceptions when the player has a sapling in inventory.
[16:44:53.468] [Error] Could not instantiate item '[sapling, 1, {}]'. (LuaException) Error code 2, [string "/items/buildscripts/buildsapling.lua"]:7: (LuaConversionException) Error converting LuaValue to type 'class Star::String'
stack traceback:
[C]: in ?
[C]: in field 'treeStemDirectory'
[string "/items/buildscripts/buildsapling.lua"]:7: in function <[string "/items/buildscripts/buildsapling.lua"]:3>

I can provide a full log on request.
Partonetrain 9 月 21 日 上午 10:08 
I have a suggestion in the same vein as this mod: auto codex reading. How difficult would that be?
Thank you for your great mods!