AFK Bot

Posts 16–30 of 79 · Page 2 of 6
Quote Originally Posted by ilikey00 View Post
^

listen to him hes smart, i actually did this on my macro and managed not to get banned. the results were amazing when left over night haha. i dethreated a bit but at the same time i ranked up pretty quick.
Hehehe

Oh i will make it in it's own thread...

But... I have a few things to finish on it first.

Finished in full:
Anti Premium popup
Automatic character selection
Random Phrase selection
Random timers so it's not as "Obvious" for botting

In progress:
Auto spawn select (done with criminals, now i need enforcers)

Next:
Auto login
Auto game start


My goal is to have this to where you can literally set it as a "Task" in task scheduler, and then have different config files you point to for different tasks like rank this character for 4 hours, then switch to this character etc etc etc.


Here's just a few of the coordinates I've gathered so far.

Code:
Global $LoginEmail[2]		= [0.432291666666667,0.482407407407407]
Global $LoginPass[2]		= [0.432291666666667,0.528703703703704]
Global $LoginButton[2]		= [0.566666666666667,0.570370370370370]
Global $CharacterSlot1[2]	= [0.089062500000000,0.210185185185185]
Global $CharacterSpacing 	= 0.0388888888888888
Global $SelectCharacter[2]	= [0.942187500000000,0.979629629629630]
Global $FinanDistrict[2]	= [0.496354166666667,0.483333333333333]
Global $JoinDistrict[2]		= [0.947916666666667,0.980555555555556]
Global $Suji[2] 			= [0.258333333333333,0.438888888888889]
First number corresponds to the X value of the button location, and the second number corresponds to the Y value of the button location. These coordinates work with ANY resolution. Boy you gotta love math and proportions. :P

Here's the click functions using the above values

Code:
;_Click($LoginButton)
Func _Click(ByRef $ClickLocation, $Clicks = 1)
	MouseMove($ClickLocation[0] * $Width, $ClickLocation[1] * $Height, 50)
	MouseClick("Left", $ClickLocation[0] * $Width, $ClickLocation[1] * $Height, $Clicks)
EndFunc

;_CharacterSelect($CharacterSlot1, $CharacterSpacing, 1)
Func _CharacterSelect(ByRef $ClickLocation, $aS, $Character)
	MouseMove($ClickLocation[0] * $Width, ($ClickLocation[1] + ($aS * ($Character - 1))) * $Height, 50)
	MouseClick("Left", $ClickLocation[0] * $Width, ($ClickLocation[1] + ($aS * ($Character-1))) * $Height, 1)
EndFunc
The first one is a simple "Clicker" for the buttons above.

The second is a special "Clicker" that allows selection of your character slot. I think the box allows for somewhere around 6 or 7 characters. After that, i have no idea what happens so you SOL trying to bot with characters 7+.


Here's a quick "Teaser" :P

Code:
$Email 		= "***********"
$Password	= "***********

WinSetState("APB Reloaded", "", @SW_MAXIMIZE)
Sleep(5000)
_Click($LoginEmail)
Send("^a" & $Email)
_Click($LoginPass)
Send("^a" & $Password)
_Click($LoginButton)
Sleep(20000)
_CharacterSelect($CharacterSlot1, $CharacterSpacing, 1)
Sleep(20000)
_Click($SelectCharacter)
Sleep(20000)
_Click($FinanDistrict)
_Click($JoinDistrict)
Sleep(40000)
_Click($Suji, 2)
Exit
That will get you to the contact "Suji" if your a criminal and have him unlocked in exactly 105 seconds from the login screen, completely hands free, and yes, i've tested it
Hello!
I cant understand how to run this thing i made new text file renamed it to file.au3 pasted ur script text in it and save then i run through Autoit3_64.exe and it says AFK Bot is paused how can i run it or i do something wrong?
Quote Originally Posted by AlmostVirgin View Post
Hello!
I cant understand how to run this thing i made new text file renamed it to file.au3 pasted ur script text in it and save then i run through Autoit3_64.exe and it says AFK Bot is paused how can i run it or i do something wrong?
`(tilde key) to pause

It's the key right above "Tab"

Also, make a "Phrases" txt file.
Each "Phrase" should be on it's own line. Everytime you hit enter, your making a new phrase :P
Yeah kinda understood that 2 hours ago by myself reading the script thingy and i found that out.My question is how are admins gonna understand that im makin missions and not just stayin afk?
My BIGGEST problem is that after every mission if ur not premium it asks if u wanna go premium and u gotta press later so u can move on.How can i deal with that?Any ideas?
Quote Originally Posted by AlmostVirgin View Post
My BIGGEST problem is that after every mission if ur not premium it asks if u wanna go premium and u gotta press later so u can move on.How can i deal with that?Any ideas?
I've already dealt with that in my afk bot. Wait for a proper release. I still need to add the Enforcer Spawn Contacts and I need @Kryon to do it for me.

EDIT:

New release of it. It's still nowhere near done, but this is for @AlmostVirgin

Code:
Removed (;
Instructions
1. Create a file in the same directory as the bot called "Phrases.txt" and put a bunch of typical sayings that you would say in game, one phrase per line.
2. Start the game (MAKE SURE ITS ON THE LOGIN SCREEN)
3. Minimize the game
4. run this bot
5. input the required information
6. walkaway, go drink coffee, go to work, come home, watch tv, go to sleep, whatever...
7. Check the status of the game and you have a shit ton of money
8. Rinse and repeat as often as needed
Ty mate
I wanna ask u bout those phrases i made Phrases.txt what shall i type in it give some example,cause i cant get it i type in it

send hello
send hackers

and it doesnt say that ingame.So i'd be happy if u could give me an example what to type in that txt file.

Thank You!
something akin to the following.

Code:
Removed (;
Also, it doesn't say it in game because it's based on a random timer. It will say something anywhere from 20 seconds to 240 seconds. Don't worry about it.
There is some kind of problem.When i start it ingame the camera starts rotating like crazy and doing nothing but fireing and rotating doesnt even press rdy o.O
Instructions
1. Create a file in the same directory as the bot called "Phrases.txt" and put a bunch of typical sayings that you would say in game, one phrase per line.
2. Start the game (MAKE SURE ITS ON THE LOGIN SCREEN)
3. Minimize the game
4. run this bot
5. input the required information
6. walkaway, go drink coffee, go to work, come home, watch tv, go to sleep, whatever...
7. Check the status of the game and you have a shit ton of money
8. Rinse and repeat as often as needed

OR...

If you really don't want the automatic login

put a ; (Comment out) line 69 - _LoginSystem()
With the first one works fine,but with the last one u just send:

ERROR
Error:Missing seperator character after keyword.
Quote Originally Posted by AlmostVirgin View Post
With the first one works fine,but with the last one u just send:

ERROR
Error:Missing seperator character after keyword.

It's working fine for me. You might have copied it wrong...
Nah its ok ill just stick to the automatic one i got it,didnt understood shall be on login screen.Thought i shall be ingame and then start the afk bot but now works great.
One more and last question can i chose which contacts i want it to make since now im on chiro like 70% and wanna go to Javez after that or there is no such opportunity?
Lol, there @AlmostVirgin

Problem solved. It will ask if you want to use the automatic login system, or if you just want to start the bot immediately.

Code:
Removed (;
Posts 16–30 of 79 · Page 2 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us