|
Post by bakemono on Mar 24, 2019 1:59:50 GMT
What's the largest action list that you can feed to the manualTouch command?
I want to create a dynamic touch condition of 450-550 clicks in a region in 30 seconds. ContinueClick seems too static and robotic like, so I tried to create a dynamic action table
table.insert(actionList, {action = "touchDown", target = Location(randx, randy)}) table.insert(actionList, {action = "wait", target = (randMSWait / 1000.0)})
I have this in a loop that cycles 450-550 times thus creating 900-1100 table values
When I run this actionList in manualTouch I get:
Runtime error: java.io.IOException: Socket read timeout.Socket read timout.Socket read timeout. stack trackeback: [C]: in function 'manualTouch' ?: in function 'manualTouch'
Any ideas?
|
|
|
Post by bakemono on Mar 24, 2019 2:12:39 GMT
Just to note that it works for a bit, then throws the runtime error, so I know it's working.
|
|
|
Post by Mercobots on Mar 24, 2019 13:00:07 GMT
Just to note that it works for a bit, then throws the runtime error, so I know it's working. did you tested run it by half times, like 200 times?
|
|
|
Post by bakemono on Mar 26, 2019 20:18:17 GMT
Just to note that it works for a bit, then throws the runtime error, so I know it's working. did you tested run it by half times, like 200 times? I did not... but it works with the Beta Fast Click and Touch settings and doesn't bomb out. The only problem is that now on certain situations the game doesn't register the input of the manual touch and I have to use click or continuousClick to have it move past full screen modes. Otherwise the game will just sit there even though the script runs and runs and runs clicking away without it registering anything.
|
|
|
Post by Mercobots on Mar 26, 2019 22:28:10 GMT
i really don't know what can be the issue without the source code is even harder, but anyway i was wondering if it is possible at your code yo create the table with 100 records->run->wipe->add more 100 and so on
something like this
local actionList = {} setManualTouchParameter(5, 10)
while (true) do
for i = 1 , 100 do table.insert(actionList, {action = "touchDown", target = Location(randx, randy)}) table.insert(actionList, { action = "wait", target = (randMSWait / 1000.0) }) end manualTouch(actionList) actionList = {} end
|
|