diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index e6a60f09..ac228c7a 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -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" diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index c7fd3f04..7b7d662f 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -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} # %%%%%%%%%% ################################################## diff --git a/templates/data/ALLO.json b/templates/data/VISIO.json similarity index 82% rename from templates/data/ALLO.json rename to templates/data/VISIO.json index ec1d8a2d..00131305 100644 --- a/templates/data/ALLO.json +++ b/templates/data/VISIO.json @@ -3,7 +3,7 @@ "created": "_MOATS_", "modified": "_MOATS_", "title": "VISIO", - "text": "", + "text": "
[[VISIO|VISIO]]", "tags": "load-external _PLAYER_ $:/tags/SideBar", "type": "text/vnd.tiddlywiki", "caption": "✆📞✆"