Versatile API. G1BILLET to GCHANGE to CESIUM to PLAYER
This commit is contained in:
parent
9d55782823
commit
28d98e01ee
|
@ -170,8 +170,8 @@ else
|
||||||
|
|
||||||
## PALPE COMBIEN ?
|
## PALPE COMBIEN ?
|
||||||
if [[ $VISITORCOINS == "" || $VISITORCOINS == "null" ]]; then
|
if [[ $VISITORCOINS == "" || $VISITORCOINS == "null" ]]; then
|
||||||
# NOUVEAU 1 G1
|
# REGLER "DUREE DE VIE" : PALPE / WISH_NB / DAY
|
||||||
PALPE=1
|
PALPE=10
|
||||||
else
|
else
|
||||||
PALPE=0
|
PALPE=0
|
||||||
fi
|
fi
|
||||||
|
@ -239,7 +239,7 @@ else
|
||||||
## LE COMPTE VISITOR EST VIDE
|
## LE COMPTE VISITOR EST VIDE
|
||||||
echo "## PARRAIN $CURPLAYER SEND $PALPE TO ${QRCODE}"
|
echo "## PARRAIN $CURPLAYER SEND $PALPE TO ${QRCODE}"
|
||||||
## G1 PAYEMENT
|
## G1 PAYEMENT
|
||||||
$MY_PATH/../tools/jaklis/jaklis.py -k ~/.zen/game/players/.current/secret.dunikey pay -a ${PALPE} -p ${QRCODE} -c "ASTRO:ZEN_00${PALPE}00" -m
|
$MY_PATH/../tools/jaklis/jaklis.py -k ~/.zen/game/players/.current/secret.dunikey pay -a ${PALPE} -p ${QRCODE} -c "ASTRO:${RANDOM}:ZEN_00${PALPE}00" -m
|
||||||
|
|
||||||
## MESSAGE CESIUM +
|
## MESSAGE CESIUM +
|
||||||
$MY_PATH/../tools/jaklis/jaklis.py -n $myCESIUM -k $MYPLAYERKEY send -d "${QRCODE}" -t "CADEAU" \
|
$MY_PATH/../tools/jaklis/jaklis.py -n $myCESIUM -k $MYPLAYERKEY send -d "${QRCODE}" -t "CADEAU" \
|
||||||
|
@ -247,6 +247,11 @@ else
|
||||||
GAGNEZ PLUS DE JUNE... INSCRIVEZ VOUS SUR GCHANGE https://gchange.fr \
|
GAGNEZ PLUS DE JUNE... INSCRIVEZ VOUS SUR GCHANGE https://gchange.fr \
|
||||||
PUIS SCANNEZ VOTRE QRCODE SUR UNE STATION ASTROPORT"
|
PUIS SCANNEZ VOTRE QRCODE SUR UNE STATION ASTROPORT"
|
||||||
|
|
||||||
|
## SEND ONE ★ (NEXT STEP GCHANGE)
|
||||||
|
my_star_level=1
|
||||||
|
echo "★ SENDING $my_star_level STAR(s) ★"
|
||||||
|
$MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey stars -p ${QRCODE} -n $my_star_level
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls ~/.zen/tmp/${MOATS}/
|
ls ~/.zen/tmp/${MOATS}/
|
||||||
|
|
|
@ -154,11 +154,11 @@ Take possession of your TW. Make freedom of expression uncensurable, unstoppable
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const el = document.getElementById('yellow');
|
const el = document.getElementById('yellow');
|
||||||
// const log = document.getElementById('login');
|
const log = document.getElementById('login');
|
||||||
|
log.style.visibility = 'visible';
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
el.style.visibility = 'visible';
|
el.style.visibility = 'visible';
|
||||||
// log.style.visibility = 'visible';
|
|
||||||
}, 23456); // 👈️ delay in milliseconds
|
}, 23456); // 👈️ delay in milliseconds
|
||||||
|
|
||||||
var arrTimes = [];
|
var arrTimes = [];
|
||||||
|
|
|
@ -270,7 +270,7 @@ do
|
||||||
--output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${FPLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]]'
|
--output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${FPLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]]'
|
||||||
[[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json ]] && echo "NO ${FPLAYER} RSS - BAD ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json -" && continue
|
[[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json ]] && echo "NO ${FPLAYER} RSS - BAD ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json -" && continue
|
||||||
|
|
||||||
echo "DEBUG RSS : cat ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json | jq -r"
|
echo "> DEBUG RSS : cat ~/.zen/game/players/${PLAYER}/ipfs/${FPLAYER}.rss.json | jq -r"
|
||||||
echo
|
echo
|
||||||
tiddlywiki --load ${FTW} \
|
tiddlywiki --load ${FTW} \
|
||||||
--output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${FPLAYER}.lightbeam-key.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '$:/plugins/astroport/lightbeams/saver/ipns/lightbeam-key'
|
--output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${FPLAYER}.lightbeam-key.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '$:/plugins/astroport/lightbeams/saver/ipns/lightbeam-key'
|
||||||
|
@ -282,16 +282,16 @@ do
|
||||||
## RESET try
|
## RESET try
|
||||||
echo 0 > ~/.zen/game/players/${PLAYER}/FRIENDS/${liking_me}.try
|
echo 0 > ~/.zen/game/players/${PLAYER}/FRIENDS/${liking_me}.try
|
||||||
## ★★★★★ ############################################################################
|
## ★★★★★ ############################################################################
|
||||||
## liking_me IS A GOOD FRIEND. PLAYER Send $my_star_level COIN
|
#~ ## liking_me IS A GOOD FRIEND. PLAYER Send $my_star_level COIN
|
||||||
$MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey pay -a $my_star_level -p ${liking_me} -c "BRO:star:$my_star_level" -m
|
#~ $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey pay -a $my_star_level -p ${liking_me} -c "BRO:star:$my_star_level" -m
|
||||||
[[ ! $? == 0 ]] \
|
#~ [[ ! $? == 0 ]] \
|
||||||
&& echo "PLAYER BROKE. G00D FRIEND. ${liking_me}" \
|
#~ && echo "PLAYER BROKE. G00D FRIEND. ${liking_me}" \
|
||||||
&& $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey send -d "${G1PUB}" -t "BRO YOU BROKE" -m "PLEASE REFILL WALLET: ${G1PUB} ~:star:~ $my_star_level stars : Friend Ŋ1 SCORE $gscore ${liking_me} "
|
#~ && $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey send -d "${G1PUB}" -t "BRO YOU BROKE" -m "PLEASE REFILL WALLET: ${G1PUB} ~:star:~ $my_star_level stars : Friend Ŋ1 SCORE $gscore ${liking_me} "
|
||||||
|
|
||||||
############################################################################### ★★★★★
|
#~ ############################################################################### ★★★★★
|
||||||
## DEFAULT SAME CONFIDENCE LEVEL
|
#~ ## DEFAULT SAME CONFIDENCE LEVEL
|
||||||
echo "★ SENDING $my_star_level STAR(s) ★"
|
#~ echo "★ SENDING $my_star_level STAR(s) ★"
|
||||||
$MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey stars -p $liking_me -n $my_star_level
|
#~ $MY_PATH/jaklis/jaklis.py -k ~/.zen/game/players/${PLAYER}/secret.dunikey stars -p $liking_me -n $my_star_level
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
## ADD THIS FPLAYER RSS FEED INTO PLAYER TW
|
## ADD THIS FPLAYER RSS FEED INTO PLAYER TW
|
||||||
|
|
Loading…
Reference in New Issue