VISIO.json

This commit is contained in:
fred 2024-03-17 14:37:51 +01:00
parent aac9cd6340
commit cf8f3f06ab
3 changed files with 13 additions and 12 deletions

View File

@ -254,11 +254,12 @@ for PLAYER in ${PLAYERONE[@]}; do
PHONEBOOTH=${PHONEBOOTH/-/_}
# MAKE "ALLO" TIDDLER
cat ${MY_PATH}/../templates/data/ALLO.json \
cat ${MY_PATH}/../templates/data/VISIO.json \
| sed -e "s~_IPFSNINJA_~${VDONINJA}~g" \
-e "s~_MOATS_~${MOATS}~g" \
-e "s~_PLAYER_~${PLAYER}~g" \
-e "s~_PHONEBOOTH_~${PHONEBOOTH}~g" \
> ~/.zen/tmp/${MOATS}/ALLO.json
> ~/.zen/tmp/${MOATS}/VISIO.json
ipfs key rm "temp" >/dev/null 2>&1
@ -429,7 +430,7 @@ for PLAYER in ${PLAYERONE[@]}; do
## WRITE TIDDLERS IN TW SECTORTW_NEWS.json
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
--import ~/.zen/tmp/${MOATS}/GPS.json "application/json" \
--import ~/.zen/tmp/${MOATS}/ALLO.json "application/json" \
--import ~/.zen/tmp/${MOATS}/VISIO.json "application/json" \
--import ~/.zen/tmp/${MOATS}/CESIUM.json "application/json" \
--import ~/.zen/tmp/${MOATS}/SECTORTW_NEWS.json "application/json" \
--output ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER} --render "$:/core/save/all" "newindex.html" "text/plain"

View File

@ -76,14 +76,6 @@ for UMAP in ${unique_combined[@]}; do
echo "UMAP (${COINS} G1) ${ZEN} ZEN : ${G1PUB}"
############ 101 ZEN REFILL ?!
CURRENT=$(readlink ~/.zen/game/players/.current | rev | cut -d '/' -f 1 | rev)
[[ ${COINS} == "" || ${COINS} == "null" ]] \
&& [[ ${ZEN} -lt 100 && ${CURRENT} != "" ]] \
&& MIUSER=$(${MY_PATH}/../tools/clyuseryomail.sh "${CURRENT}") \
&& ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/.current/secret.dunikey" "11.1" "${G1PUB}" "UPLANET:101ZEN:${UMAP}:${MIUSER}" \
&& echo "UPLANET:101:${UMAP}:${MIUSER}" && echo " ~~~ (♥‿‿♥) ~~ _${LAT}_${LON} ~~ (♥‿‿♥) ~~~ "
## ORIGIN ##########################################################
## CALCULATE INITIAL UMAP GEOSPACIAL IPNS KEY
${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${UMAP}.priv "${UPLANETNAME}${LAT}" "${UPLANETNAME}${LON}"
@ -199,6 +191,14 @@ for UMAP in ${unique_combined[@]}; do
echo ">> NEXT REFRESHER WILL BE $(cat ${UREFRESH} | head -n 1)"
######################################################## # NODE SELECTION in UMAP.refresher
############ 101 ZEN REFILL ?!
CURRENT=$(readlink ~/.zen/game/players/.current | rev | cut -d '/' -f 1 | rev)
[[ ${COINS} == "" || ${COINS} == "null" ]] \
&& [[ ${ZEN} -lt 100 && ${CURRENT} != "" ]] \
&& MIUSER=$(${MY_PATH}/../tools/clyuseryomail.sh "${CURRENT}") \
&& ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/.current/secret.dunikey" "11.1" "${G1PUB}" "UPLANET:101ZEN:${UMAP}:${MIUSER}" \
&& echo "UPLANET:101:${UMAP}:${MIUSER}" && echo " ~~~ (♥‿‿♥) ~~ _${LAT}_${LON} ~~ (♥‿‿♥) ~~~ "
# %%%%%%%%%% ##################################################
## SECTOR LINKING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>${SLAT}_${SLON}
# %%%%%%%%%% ##################################################

View File

@ -3,7 +3,7 @@
"created": "_MOATS_",
"modified": "_MOATS_",
"title": "VISIO",
"text": "<iframe src='_IPFSNINJA_/?room=_PHONEBOOTH_&record' height='480' width='100%'></iframe>",
"text": "<iframe src='_IPFSNINJA_/?room=_PHONEBOOTH_&record' height='480' width='100%'></iframe><br>[[VISIO|VISIO]]",
"tags": "load-external _PLAYER_ $:/tags/SideBar",
"type": "text/vnd.tiddlywiki",
"caption": "✆📞✆"