diff --git a/RUNTIME/G1Voeu.sh b/RUNTIME/G1Voeu.sh index a62d0c68..f8592acf 100755 --- a/RUNTIME/G1Voeu.sh +++ b/RUNTIME/G1Voeu.sh @@ -151,7 +151,7 @@ convert -gravity northwest -pointsize 50 -fill black -draw "text 30,300 \"${Voeu TW G1Voeu "${PLAYER}"

<\$button class='tc-tiddlylink'> <\$list filter='[tag[G1"${VoeuName}"]]'> - <\$action-navigate \$to=<> \$scroll=no/> + <\$action-navigate \$to=<> \$scroll=no/> Afficher tous vos G1"${VoeuName}" " diff --git a/RUNTIME/UPlanetKEYS_refresh.sh b/RUNTIME/UPlanetKEYS_refresh.sh index b9674d43..d9dcdc6b 100755 --- a/RUNTIME/UPlanetKEYS_refresh.sh +++ b/RUNTIME/UPlanetKEYS_refresh.sh @@ -31,9 +31,9 @@ echo ${#SKEYS[@]} " swarm SECTORS" RKEYS=($(cat ~/.zen/tmp/swarm/12D*/UPLANET/REGIONS/_*_*/_index.html 2>/dev/null | grep -o "url='/[^']*'"| sed "s/url='\(.*\)'/\1/" | awk -F"/" '{print $3}' | shuf )) echo ${#RKEYS[@]} " swarm REGIONS" -## CHECK FOR ANY ALREADY MErunning -MErunning=$(ps axf --sort=+utime | grep -w ${ME} | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) -[[ $MErunning ]] && echo "${ME} MErunning for too long..." && kill -9 $MErunning +#~ ## CHECK IF ALREADY MErunning +countMErunning=$(ps auxf --sort=+utime | grep -w $ME | grep -v -E 'color=auto|grep' | wc -l) +[[ $countMErunning -gt 2 ]] && echo "$ME already running $countMErunning time" && exit 0 echo "(◕‿◕ ) ${ME} starting UPlanet Terraformation _______________________________" diff --git a/templates/register.html b/templates/register.html index 070316fb..60aad46b 100644 --- a/templates/register.html +++ b/templates/register.html @@ -155,8 +155,8 @@ input[name="uplanet"] {