First.... Good Day to all members and moderators of iOSGods. Second.... I am not looking for app specified bot. Third.... I have a working autotouch bot for the application i am trying to create a bot for.
first off... let me show you my autoTouch code. *some part of the code will be replaced with "****" *
function Boost()
local colorForAtk = getColor(**,***)
if colorForAtk == ***** then
usleep(200000);
tap(**,***);
end
local colorForDef = getColor(**,***)
if colorForDef == ****** then
usleep(200000);
tap(**,***);
end
local colorForCrit = getColor(**,***)
if colorForCrit == ****** then
usleep(200000);
tap(**,***);
end
local colorForBoost = getColor(**,***)
if colorForBoost == ***** then
usleep(200000);
tap(**,***);
usleep(500000);
tap(**,***);
end
end
function playOtherDungeons()
Boost();
usleep(500000)
local colorForStart = getColor(**,***);
if colorForStart == ****** then
tap(**,***);
else
repeat
colorForStart = getColor(**,***);
usleep(1000000);
until colorForStart == ******
tap(**,***);
end
usleep(40000000);
local colorForRetry = getColor(**,***);
if colorForRetry == ***** then
tap(**,***);
else
repeat
colorForRetry=getColor(**,***);
usleep(1000000);
until colorForRetry == *******
usleep(16000);
tap(**,***);
usleep(1000000);
end
end
function playDungeons()
Boost();
usleep(500000)
local colorForStart = getColor(**,***);
if colorForStart == ***** then
tap(**,***);
else
repeat
colorForStart = getColor(**,***);
usleep(1000000);
until colorForStart == *******
tap(**,***);
end
local colorForSummonFriend = getColor(**,***);
if colorForSummonFriend == *******then
tap(**,***);
else
repeat
colorForSummonFriend = getColor(**,***);
usleep(1000000);
until colorForSummonFriend == *******
usleep(500000);
tap(**,***);
end
usleep(40000000);
local colorForRetry = getColor(**,***);
if colorForRetry == ******* then
tap(50,660);
else
repeat
colorForRetry=getColor(**,***);
usleep(1000000);
until colorForRetry == *******
usleep(16000);
tap(**,***);
usleep(1000000);
end
end
function tap(x,y)
touchDown(0,x,y);
usleep(16000);
touchUp(0,x,y);
end
playDungeons();
Yesterday I was trying to learn MSHooking, so i had all its header, which is mostly FB, TJP... these headers that i have dumped does not have a straightforward name like getCoins... I would like to know various way of creating a bot that can create buttons. E.g xmodgame have mods for hero charge which bring us to pages quickly and help us auto fight.