AutoInput I just want a simple tap help me jesus!

Discussion in 'AutoApps' started by Grizzly, Dec 9, 2018.

  1. Grizzly

    Grizzly New Member

    Joined:
    Dec 9, 2018
    Messages:
    6
    Likes Received:
    0
    Any ideas why this error would occur?

    23.41.14/ActionArgBundle key: NearbyText: replace <null> String value with null
    23.41.14/ActionArgBundle key: TextToWrite: replace <null> String value with null
    23.41.14/ActionArgBundle key: Password: replace <null> String value with null
    23.41.14/E FIRE PLUGIN: AutoInput Action / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 13 bundle keys
    23.41.14/E AutoInput Action: plugin comp: com.joaomgcd.autoinput/com.joaomgcd.autoinput.broadcastreceiver.BroadcastReceiverFire
    23.41.14/E add wait type Plugin2 time 10
    23.41.14/E add wait type Plugin2 done
    23.41.14/E add wait task
    23.41.24/E Error: null
     
  2. Grizzly

    Grizzly New Member

    Joined:
    Dec 9, 2018
    Messages:
    6
    Likes Received:
    0
    input tap 1320 1120 works fine, but very slow, using AutoInput is giving me a hard time though here...
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
    Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance
     
  4. Grizzly

    Grizzly New Member

    Joined:
    Dec 9, 2018
    Messages:
    6
    Likes Received:
    0
    NewCheck (10)
    A1: AutoInput Action [ Configuration:Type: Point
    Value: 1320 1139
    Action : Click Timeout (Seconds):20 ]
     
  5. Grizzly

    Grizzly New Member

    Joined:
    Dec 9, 2018
    Messages:
    6
    Likes Received:
    0
    #!/bin/sh
    echo Checking IV 2...
    sendevent /dev/input/event2 3 57 0
    sendevent /dev/input/event2 3 53 1320
    sendevent /dev/input/event2 3 54 1139
    sendevent /dev/input/event2 3 48 5
    sendevent /dev/input/event2 3 58 50
    sendevent /dev/input/event2 0 2 0
    sendevent /dev/input/event2 0 0 0
    sendevent /dev/input/event2 3 57 -1
    sendevent /dev/input/event2 0 2 0
    sendevent /dev/input/event2 0 0 0

    I tried setting something like this up, but struggling with that too. I'm running getevent and just spewing it back out in decimal.
    But when I run this, its more like a long click and can't see what I'm doing wrong.
     
  6. Grizzly

    Grizzly New Member

    Joined:
    Dec 9, 2018
    Messages:
    6
    Likes Received:
    0
    [​IMG]

    Would you be able to help with the above? 1344, 1125 are obviously my x and y. But I see that repeated in some areas. Be good to know which lines I can keep in this example and how to force the release.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
    Is the thing you want to click actually showing on the screen when you do that?
     
  8. Grizzly

    Grizzly New Member

    Joined:
    Dec 9, 2018
    Messages:
    6
    Likes Received:
    0
    Yea this is the thing, AutoInput wouldn't help me in this situation for this reason.

    getevent and sendevent on root seems to be the only way I could emulate the routine I wanted to replicate.
    I manage to get that working nicely now too!
    Ridiculously fast compared to the 1s delay of input tap.

    I've basically made something which overlays an application.
    OCR scans and scrapes ingame data (since I'm unable to hook the API), so this is the only option I can think of which will allow me to safely do that externally on an android device.

    Thanks for getting back to me anyway.
     

Share This Page