From 28d98e01ee19619bc94b89e5801d476a1b2809fc Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 23 Mar 2023 17:52:52 +0100 Subject: [PATCH] Versatile API. G1BILLET to GCHANGE to CESIUM to PLAYER --- API/QRCODE.sh | 11 ++++++++--- templates/register.html | 4 ++-- tools/Connect_PLAYER_To_Gchange.sh | 20 ++++++++++---------- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 205974d8..e0e399a2 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -170,8 +170,8 @@ else ## PALPE COMBIEN ? if [[ $VISITORCOINS == "" || $VISITORCOINS == "null" ]]; then - # NOUVEAU 1 G1 - PALPE=1 + # REGLER "DUREE DE VIE" : PALPE / WISH_NB / DAY + PALPE=10 else PALPE=0 fi @@ -239,7 +239,7 @@ else ## LE COMPTE VISITOR EST VIDE echo "## PARRAIN $CURPLAYER SEND $PALPE TO ${QRCODE}" ## 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 + $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 \ 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 ls ~/.zen/tmp/${MOATS}/ diff --git a/templates/register.html b/templates/register.html index 8990730c..b14f9083 100644 --- a/templates/register.html +++ b/templates/register.html @@ -154,11 +154,11 @@ Take possession of your TW. Make freedom of expression uncensurable, unstoppable