AFK Bot

Posts 115 of 79 · Page 1 of 6
AFK Bot
Its a simple AHK script, will not be bannable till PB desides macros to be bannable.

Code:
#NoEnv 
SendMode Input
SetWorkingDir %A_ScriptDir%

Loop
{
Sleep 10000
Send k
Send b
Send {Enter}
Sleep 1000
Send /abandonmission{Enter}
Sleep 9000
Send w
}
what does it do ?
They made macro's bannable because of this (i found about 8 guys using this macro or something similar)
i mean why would you want to do this, just play the game when you have time.


But thanks for sharing it i guess...
Maybe add /unstick to keep you respawning in new places. Looks a bit more legit and kinda seems like you actually are dying.
This is still a working code for anyone that wants to make a small hack.

This is bannable though, so be cautious if anyone releases.

/bumped
yeap it's bannable...so carefull and use it with your own risk!
This is an AFK Bot

AFK bots let you walk away from the computer, and not let your in game character become "AFK".

While the bot is running, it will automatically start missions and look for backup, or auto join missions if you are called in as backup. This lets you farm Standing and money.
yes like mentioned above is very easy to get banned for using this. There are actually advance afk scripts none which I know however.

I suggest if you use this (if you even know how) to use it on a test account.
I might try this,But is too detectable
Explain your definition of detectable.

PB won't detect you unless your extremely unlucky, or your using an x86 operating system.

People however will report you and you WILL get banned for using an afk bot.
Use this source and advance it. Make it type messages something in district, random little things. Maybe like "noobs!" or some shit so you can prove you were not away but just choosing not to play in missions.

It's a simple addon to prevent such occasions. Even go more advanced and have a list of sayings that it randomizes and picks every X amount of seconds.
Quote Originally Posted by Khyy View Post
Use this source and advance it. Make it type messages something in district, random little things. Maybe like "noobs!" or some shit so you can prove you were not away but just choosing not to play in missions.

It's a simple addon to prevent such occasions. Even go more advanced and have a list of sayings that it randomizes and picks every X amount of seconds.
Done :P

http://www.autoitscript.com/site/autoit/downloads/
Use autoit to compile this source code.

Code:
#RequireAdmin
#include <file.au3>

#Region ;Script Settings
Global $PhrasesFile = "Phrases.txt"
;File that holds your phrases.

Global $Sleep1 = 5
Global $Sleep2 = 15
;Controls first sleep timer, with the timer being a random number from Sleep1 to Sleep2, in seconds

Global $Sleep3 = 0
Global $Sleep4 = 10
;Controls second sleep timer, with the timer being a random number from Sleep3 to Sleep4, in seconds

Global $Sleep5 = 5
Global $Sleep6 = 15
;Controls third sleep timer, with the timer being a random number from Sleep5 to Sleep6, in seconds

Global $RandomAddition1 = 1
Global $RandomAddition2 = 3
;Controls the adder that adds to the "ForceRandomPhrase" variable

Global $TriggerNumber = 6
;When the adder makes the "ForceRandomPhrase" variable greater than this number, a random phrase is typed in game.
#EndRegion ;Script Settings

#Region ;Main
Global $ForceRandomPhrase

Global $Paused
Global $Phrases[1]

_FileReadToArray($PhrasesFile, $Phrases)

HotkeySet("`", "_TogglePause")

_TogglePause()

While 1
	Sleep(Number(Random($Sleep1, $Sleep2, 1) * 1000))

	Send("k")
	Send("b")
	Sleep(Number(Random($Sleep3, $Sleep4, 1) * 1000))
	Send("{Enter}/abandonmission{Enter}")
	Sleep(Number(Random($Sleep5, $Sleep6, 1) * 1000))

	Switch Number(Random(1, 4, 1))
	Case 1
		Send("w")
	Case 2
		Send("a")
	Case 3
		Send("s")
	Case 4
		Send("d")
	EndSwitch
	_RandomPhrase()
WEnd
#EndRegion ;Main

#Region ;Functions
Func _RandomPhrase()
	$ForceRandomPhrase += Number(Random($RandomAddition1, $RandomAddition2))
	If $ForceRandomPhrase > Number($TriggerNumber) Then
		Send("{Enter}/d " & $Phrases[Random(1, $Phrases[0], 1)] & "{Enter}")
		$ForceRandomPhrase = 0
	EndIf
EndFunc   ;==>_RandomPhrase

Func _TogglePause()
	$Paused = Not $Paused
	While $Paused
		Sleep(100)
		ToolTip('AFK Bot is paused', 0, 0)
	WEnd
	ToolTip("")
EndFunc   ;==>_TogglePause
#EndRegion ;Functions

Input "Random Phrases" in a text file named "Phrases.txt" and place it in the same folder as the script.

`(tilde key) to pause

Bot performs the following in order:

Waits 5 to 15 seconds at random
presses k (ready button)
presses b (Backup button)
waits 0 to 10 seconds at random
hits enter (open chat), types /abandonmission, hits enter (send command)
waits 5 to 15 seconds
moves in a random direction (W,A,S,D keys)

Spits out a random phrase, dictated as follows:
"Force Random Phrase" Variable + Random Number from 1-3
If "Force Random Phrase" variable is greater than 6 (20 to 240 seconds) then type random phrase from file and "Force Random Phrase" variable reset to 0


The script timers and trigger value can be changed by editing the variables in the "Script Settings" region.

Note: This will not bypass the "GET PREMIUM NOW" popup. Ill work on that later.
^

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.
Too much skills bro. I need to catch up. Also you should probably make an individual thread for this pwncode.
Posts 115 of 79 · Page 1 of 6
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?