Jump to content

3 posts in this topic

Recommended Posts

Posted (edited)

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.

 

Updated by swt92
Posted

@

 

You mean like a bot with an on/off switch?

Posted

Hi i am swt92 using another account.

I mean that i can do all the coding, on/off switch and stuff.

I need to know the method to hook the app to this bot, so the bot can read and scan for image(or maybe alt_text)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines