Compare commits
2 Commits
bee8f740c6
...
c19888f597
Author | SHA1 | Date | |
---|---|---|---|
c19888f597 | |||
1b38039f62 |
@ -6,6 +6,14 @@ This is an implementation of a centralized storage network architecture that use
|
||||
|
||||
A GPS will need to be established and be accurate within range of the entire network to the block.
|
||||
|
||||
Slave nodes must have a modem attached and be within range of the GPS and master.
|
||||
|
||||
The master node must have a modem attached and be within range of all slave nodes.
|
||||
|
||||
1. Deploy at least one slave node
|
||||
* The inventory it is to monitor must be above or in front of the unit
|
||||
* The unit should be able to drop below itself to push items to the master node
|
||||
|
||||
## Communication Protocol
|
||||
|
||||
Port 42914 is used for Master => Slave broadcasting
|
||||
|
24
storage-net/deploy.sh
Executable file
24
storage-net/deploy.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# deploy.sh
|
||||
# Copyright (C) 2024 Jacob Babor <jacob@babor.tech>
|
||||
#
|
||||
# Distributed under terms of the MIT license.
|
||||
#
|
||||
|
||||
mcroot="$HOME/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/instances/ComputerCraft Sandbox/"
|
||||
world="New World"
|
||||
|
||||
masterid="0"
|
||||
slaveid="1"
|
||||
|
||||
_ccroot="$mcroot/.minecraft/saves/$world/computercraft/computer"
|
||||
ls -al "$_ccroot"
|
||||
|
||||
if [ -f master.lua ]; then
|
||||
cp master.lua "$_ccroot/$masterid/autostart.lua"
|
||||
fi
|
||||
if [ -f slave.lua ]; then
|
||||
cp slave.lua "$_ccroot/$slaveid/autostart.lua"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user