From 2bb3a23617459a0f647162f6ed3797f342ffad05 Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 16 Sep 2017 00:34:15 +0200 Subject: [PATCH] intress autorecharger fixed convert usage of srgba --- ingress_auto_recharge.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ingress_auto_recharge.sh b/ingress_auto_recharge.sh index f4ecc52..df6034a 100755 --- a/ingress_auto_recharge.sh +++ b/ingress_auto_recharge.sh @@ -39,7 +39,7 @@ for key in `seq 1 1 $RECHARGER_KEYCOUNT` ; do #echo -n "rr:$rr sc:$xm0.$xm1.$xm2.$xm3 fac:$faction -- " - if [[ $xm0 != "90" ]] && [[ $faction == "214" ]]; then + if [[ $xm0 != "23130" ]] && [[ $faction == "54998" ]]; then echo "evil." # move key to first capsule. ~/Android/Sdk/platform-tools/adb shell input keyevent KEYCODE_BACK # unclick key @@ -59,7 +59,7 @@ for key in `seq 1 1 $RECHARGER_KEYCOUNT` ; do export INGRESS_NO_NEXT_ITEM_SWIPE="true" break fi - if [[ $xm0 != "90" ]] && [[ $faction != "214" ]] && [[ $faction != "33" ]]; then + if [[ $xm0 != "23130" ]] && [[ $faction != "54998" ]] && [[ $faction != "8481" ]]; then echo "neut." # move key to first capsule. ~/Android/Sdk/platform-tools/adb shell input keyevent KEYCODE_BACK # unclick key @@ -88,7 +88,7 @@ for key in `seq 1 1 $RECHARGER_KEYCOUNT` ; do fi # check if need to eat cube - if [[ $xm0 == "90" ]] && [[ $xm1 != "90" ]] && [[ $xm2 != "90" ]] && [[ $xm3 != "90" ]]; then + if [[ $xm0 == "23130" ]] && [[ $xm1 != "23130" ]] && [[ $xm2 != "23130" ]] && [[ $xm3 != "23130" ]]; then #echo -n "eating powercube + " echo -n "epc " ~/Android/Sdk/platform-tools/adb shell input touchscreen tap 950 150 # click "ops" -- 2.43.0