How to script a simple auto-bot [AutoIT]

07/29/2007 19:36 yokki#16
Quote:
Originally posted by Dizzydbd@Jul 26 2007, 20:59
U should also avoid PixelGet as much as u can. Use PixelSearch since u can give him a shade-variation and the pixel might not be the exact one all the time and also in some games PixelGet and PixelSearch in 1 singur pixel will always return BLACK. With PixelSearch u can do a wider area search and everything will work.
1st gratz for ur effort.. helpful for ppl to write their own bots

my question is: u cant read colors from the game cuz gg blocks reading / getting pixel colors. there are many colors u use ingame: hp bar, mob locate, mob hp etc.. if u cant get pixel colors, how can u run it, or can u get colors using ur autoit? confused..

and also u cannot "Send" keys..:
Send("{ENTER}")
Send("1") ;1st skill
Send("2") ;2nd ..
Send("3") ;3rd
07/29/2007 21:53 Dizzydbd#17
@ yokki
there is a GG bypass available here [Only registered and activated users can see links. Click Here To Register...] but it random disconnects u, that's why i made a guide for auto relog-in too .

@jumpy11

u don't know this from me :)))
$mobColorRed = "0xFF1F1E"
$mobColorYellow = "0xFEFE00"
$mobColorOrange = "0xFE8000"
$MobColorGreen = "0xC0BE40"
$MobColorGrey = "0x787878"
07/29/2007 23:56 wwwthexfilescom#18
autohunt very good working but I need stop and start macro code in autohunt macro and I am not doing this code my poor engelish sory :D
07/30/2007 09:02 yokki#19
if so check this: me and my friend wrote an au program for sro and.. u can control some specific points; here what we do: if the mouse changes when u point to a mob then press left button (normally mouse is arrow shaped, when u point to a mob sword shaped).

cabal: mouse is white colored arrow, when u point to a mob it become red colored arrow, and u can click on mob with great chance. otherwise; u may find and click the mob, but if u miss char will start moving, and will lose training position, camera angle etc..

btw;;; can u send keys or get pixel colors ingame when u bypass gg?
i havent tried -.-
07/30/2007 09:19 Dizzydbd#20
u can't recognize mouse change in autoit except the windows default ones. Also the script i gave here won't miss ;)
07/30/2007 16:28 yokki#21
can u send keys
Send("1") or enter or etc
with autoit when u bypass gg?
07/30/2007 20:08 Dizzydbd#22
yes u can do ANYTHING since GG doesn't exist.
07/30/2007 22:46 jumpy11#23
Thx dizzy :)
08/19/2007 11:00 igel3#24
[deleted]
Quote:
yes u can do ANYTHING since GG doesn't exist.
How can I do it?
08/20/2007 13:47 Darkuzi#25
does this need GG ? no ones explanied becoues other autoit bot guide said u do need 1
08/20/2007 17:11 Dizzydbd#26
you NEED too bypass GG for this to work. And since there is no working bypass (at least not public) this is useless for cabal. Mb other games.
08/25/2007 23:36 emre15#27
hmm and the code for combo can i have it please xD i tried to record but didnt work
08/29/2007 12:14 L.G.#28
Patch Notes: Update 316

Targeting and attacking by clicking right mouse button has been disabled.

:D
02/25/2008 22:17 borfriedrice#29
Has anyone got this Autoit Code/bot to work?

It starts up but then doesnt target the mobs ingame - using the Auto-Hunt bot. (xtrap is bypassed)

This is an older post but one of the most informative concerning autoit and cabal in one.

Any reply is much appreciated ^^
02/26/2008 00:25 djvj#30
You need to get your own colors and change them in the code.