I've noticed that the demand for bots are great and there are some bots on this forum that works great... Although I wanted to help my fellow ePvPers to learn to code in AutoIt which is a language that I know very well... I've made numerous programs in AutoIt for all games that I've play(ed). All the macros have helped me ALOT with my playing experience. I do have my own bot that does all that I want and some more :D I've also released a bot but I wont be doing that anymore since it's way too much time consuming atm.
Anyway if you have a question about AutoIt. Just ask it here... perhaps you even want a complete funcion? I will do my best to answer your questions and help you with functions.
Here are some functions that I've made and feel like releasing.
Random Move Function:
You call functions with just the name of them
RandomMove() - Moves your character to a random location in your screen. (Jumps there)
WaitFunc() - This will get your coords and check if you're standing still... If you are standing still then it will end the function else it will continue to run... (You need this first for it to work.)
Sleepers(10, 20) - Will sleep a random time this is good for anti-detecting of the bot.
Anyway if you have a question about AutoIt. Just ask it here... perhaps you even want a complete funcion? I will do my best to answer your questions and help you with functions.
Here are some functions that I've made and feel like releasing.
Random Move Function:
You call functions with just the name of them
RandomMove() - Moves your character to a random location in your screen. (Jumps there)
Code:
Func RandomMove()
$Rand1 = Random($size[0] / 2 - 230, $size[0] / 2 + 230)
$Rand2 = Random($size[1] / 2 - 230, $size[1] / 2 + 230)
Send("{CTRLDOWN}")
MouseClick("left",$Rand1, $Rand2,1,0)
Send("{CTRLUP}")
WaitFunc()
EndFunc
Code:
Global $xad = "0x0057B64C", $yad = "0x0057B648"
Global $Conquer_Handle = WinGetHandle("[Co")
Global $Process = WinGetProcess($Conquer_Handle)
Global $DllInfo1 = _MemoryOpen($Process)
Code:
Func WaitFunc() Do $xcoord = _MemoryRead($xad, $DllInfo1, "int") $ycoord = _MemoryRead($yad, $DllInfo1, "int") Sleepers(300, 600) $xcoord1 = _MemoryRead($xad, $DllInfo1, "int") $ycoord1 = _MemoryRead($yad, $DllInfo1, "int") Until $xcoord = $xcoord1 and $ycoord = $ycoord1 EndFunc
Code:
Func Sleepers($sleepx = 10, $sleepy = 20) $sleep = Random($sleepx, $sleepy) Sleep($sleep) EndFunc