_*_ TW _*_*_

This commit is contained in:
fred 2024-03-16 15:36:19 +01:00
parent 9bd0f2a816
commit b2a03f0f4e
3 changed files with 9 additions and 5 deletions

View File

@ -78,7 +78,7 @@ for SECTOR in ${SECTORS[@]}; do
############ 101 ZEN REFILL ?!
CURRENT=$(readlink ~/.zen/game/players/.current | rev | cut -d '/' -f 1 | rev)
[[ ${COINS} == "" || ${COINS} == "null" ]] \
&& [[ ${ZEN} -lt 101 && ${CURRENT} != "" ]] \
&& [[ ${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:${SECTOR}:${MIUSER}" \
&& echo "UPLANET:101:${SECTOR}:${MIUSER}" && echo " ~~~ (♥‿‿♥) ~~ ${SECTOR} ~~ (♥‿‿♥) ~~~ "

View File

@ -12,7 +12,12 @@ TS=$(date -u +%s%N | cut -b1-13)
MOATS=$(date -u +"%Y%m%d%H%M%S%4N")
#~ mkdir -p ~/.zen/tmp/${MOATS}
CURRENT=$(cat ~/.zen/game/players/.current/.player)
### CHECK and CORRECT .current
CURRENT=$(cat ~/.zen/game/players/.current/.player 2>/dev/null)
[[ ! ${CURRENT} ]] \
&& lastplayer=$(ls -t ~/.zen/game/players 2>/dev/null | grep "@" | head -n 1) \
&& [[ ${lastplayer} ]] && rm ~/.zen/game/players/.current \
&& ln -s ~/.zen/game/players/${lastplayer} ~/.zen/game/players/.current && CURRENT=${lastplayer}
echo '
_ ____ _____ ____ ___ ____ ___ ____ _____ ___ _ _ _____
@ -24,8 +29,7 @@ echo '
Astroport is a Web3 engine running UPlanet hosting TW5s on IPFS, and more...
@@@@@@@@@@@@@@@@@@
ASTROPORT
DRAGON = ${CURRENT}
ADMIN = '${CURRENT}'
@@@@@@@@@@@@@@@@@@'
echo

View File

@ -85,7 +85,7 @@ if [[ ! -d $img_dir ]]; then
echo "<button onclick=\"homeAstroportStation('$myASTROPORT/?qrcode=G1G1$WISHNAME&tw=$ASTRONAUTENS', 'tab', 9000)\">G1$WISHNAME</button>" >> ~/.zen/tmp/carousel/${pub}.button
done < ~/.zen/tmp/${PLAYER}.g1wishes.txt
fi
echo "<button onclick=\"window.open('"$myIPFS"/ipns/"$ASTRONAUTENS"');\">_____TW</button>" >> ~/.zen/tmp/carousel/${pub}.button
echo "<button onclick=\"window.open('"$myIPFS"/ipns/"$ASTRONAUTENS"');\">_*_ TW _*_*_</button>" >> ~/.zen/tmp/carousel/${pub}.button
##################