better information

This commit is contained in:
fred 2024-01-07 23:16:00 +01:00
parent beb3a70fce
commit ffa0a7ecbf
2 changed files with 15 additions and 12 deletions

View File

@ -285,8 +285,8 @@ for PLAYER in ${PLAYERONE[@]}; do
&& sed -i "s~${CURCHAIN}~${ZCHAIN}~g" ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html
else
## COUNT NO CHANGE
try=$(cat ~/.zen/game/players/${PLAYER}/ipfs/moa/_nochange 2>/dev/null) || try=0
((try++)) && echo $try > ~/.zen/game/players/${PLAYER}/ipfs/moa/_nochange
try=$(cat ~/.zen/game/players/${PLAYER}/ipfs/_nochange 2>/dev/null) || try=0
((try++)) && echo $try > ~/.zen/game/players/${PLAYER}/ipfs/_nochange
echo "NO CHANGE $try TIMES"
fi
##############################################################
@ -323,12 +323,15 @@ for PLAYER in ${PLAYERONE[@]}; do
&& [[ $(echo "$COINS < 2.1" | bc -l) -eq 1 ]] \
&& SBIRTH=$(${MY_PATH}/../tools/MOATS2seconds.sh ${BIRTHDATE}) \
&& SNOW=$(${MY_PATH}/../tools/MOATS2seconds.sh ${MOATS}) \
&& [[ $(( SNOW - SBIRTH )) -gt $(( 27 * 24 * 60 * 60 )) ]] \
&& echo "<html><body><h1>WARNING.</h1> Publish or your TW will be UNPLUGGED from Astroport and stop being published..." > ~/.zen/tmp/alert \
&& echo "<a href=$(myIpfsGw)/ipfs/${CURCHAIN}> ${PLAYER} TW </a></body></html>" >> ~/.zen/tmp/alert \
&& DIFF_SECONDS=$(( SNOW - SBIRTH )) \
&& [[ ${DIFF_SECONDS} -gt $(( 27 * 24 * 60 * 60 )) ]] \
&& days=$((DIFF_SECONDS / 60 / 60 / 24)) \
&& echo "<html><body><h1>WARNING.</h1> Your TW will be UNPLUGGED and stop being published..." > ~/.zen/tmp/alert \
&& echo "<br><h3>TW : <a href=$(myIpfsGw)/ipfs/${CURCHAIN}> ${PLAYER}</a></h3></body></html>" >> ~/.zen/tmp/alert \
&& ${MY_PATH}/../tools/mailjet.sh "${PLAYER}" ~/.zen/tmp/alert \
&& [[ $(( SNOW - SBIRTH )) > $(( 30 * 24 * 60 * 60 )) ]] \
&& echo ">>>> PLAYER UNPLUG >>>>> BYE BYE ${PLAYER}" \
&& echo "<<<< PLAYER TW WARNING <<<< ${DIFF_SECONDS} > ${days} days" \
&& [[ ${DIFF_SECONDS} -gt $(( 30 * 24 * 60 * 60 )) ]] \
&& echo ">>>> PLAYER TW UNPLUG >>>>> ${days} days => BYE BYE ${PLAYER}" \
&& ${MY_PATH}/../tools/PLAYER.unplug.sh ~/.zen/game/players/${PLAYER}/ipfs/moa/index.html ${PLAYER} \
&& continue
#################################### UNPLUG ACCOUNT

View File

@ -172,19 +172,19 @@ input[name="uplanet"] {
<input type=hidden name=g1pub value=''></br>
<input id='submit' type='submit' value='(◕‿‿◕)'>
<span id='countdown'>UPlanet</span>
<br>
<a href="https://opencollective.com/monnaie-libre/" target="funding" title="ASTROPORT FUNDING">- (^‿‿^) -</a>
<br>
<span id='countdown'>UPlanet</span>
</form>
<div id="console"> ___ <a href="https://zen.g1sms.fr" target="aframe">Made In Ẑen</a> ___
<div id="console"> ___ <a href="https://zen.g1sms.fr" target="aframe" title="MADE IN ZEN (1=1) UPlanet" >Made In Ẑen</a> ___
<button id="fullscreenButton" onclick="toggleConsoleFullScreen()">^^</button><button onclick="hideConsole()"> X </button>
<iframe name="aframe" id="aframe" src="https://pad.p2p.legal/p/Astroport_AIDE" width="100%" height="100%"></iframe>
</div>
<br>
<a href="https://opencollective.com/monnaie-libre/" target="funding">(...+-+ [[ € ( Ẑ ) Ğ ]] +-+...)</a>
<br>
<span>
<a href="https://github.com/papiche/Astroport.ONE">Astroport.ONE</a>
</span>