VERY nice job!
Keep up the good work, +1k.
; <COMPILER: v1.0.46.8>
Gui, Add, Text,, CObot - Evan
Gui, Add, Text,x10 y32 w80 h20, Press F3 after:
Gui, Add, Edit, x100 y30 w58 h20 vTime,30000
Gui, Add, Text,x10 y52 w100 h20, Put Pot on F1
Gui, Add, Text,x10 y72 w190 h20, Put XPskill on F10
Gui, Add, Text,x10 y110 w80 h20, Search range:
Gui, Add, Text,x10 y130 w80 h20, X:
Gui, Add, Text,x10 y150 w80 h20, Y:
Gui, Add, Edit, x25 y130 w40 h20 vXone,200
Gui, Add, Edit, x80 y130 w40 h20 vXtwo,800
Gui, Add, Edit, x25 y150 w40 h20 vYone,100
Gui, Add, Edit, x80 y150 w40 h20 vYtwo,600
Gui, Add, Text,x10 y190 w180 h20, *Default setting for 1024x768 mode
Gui, Add, Text,x10 y210 w190 h20, *Options > ShowNames
Gui, Add, Text,x10 y240 w190 h40, *Auto Atk,Mets,DB,heal,XPskill
Gui, Add, Button, x10 y282 w80 h20 vButton gStart, >Ok<
Gui, Show
return
Start:
Gui, Submit, Hide
WinGet,id, ID,[Conquer2.0]
gata := false
MsgBox, Press F11 to Pause
Sleep, 1000
Loop %Time%
{
ControlClick, x480 y747,ahk_id %id%,,RIGHT
Sleep, 100
;---------------------search for pink objects---------------------
PixelSearch, outx, outy, %Xone%, %Yone%, %Xtwo%, %Ytwo%, 0xFF7AFF,5,Fast
if ErrorLevel
{
;---------------------search for HP bar to see if its red or not---------------------
PixelSearch, aoutx, aouty, 30, 734, 37, 740, 0x8C7C67,2,Fast
if ErrorLevel
{
;---------------------search for mob's red health bar (small area near char)---------------------
PixelSearch, outx, outy, 460, 170, 560, 380,0x0303B8,,Fast
if ErrorLevel
{
;---------------------search for mob's red health bar (bigger area search)---------------------
PixelSearch, outx, outy, %Xone%, %Yone%, %Xtwo%, %Ytwo%,0x0303B8,,Fast
if ErrorLevel
{
ControlClick, x480 y747,ahk_id %id%,,RIGHT
Sleep, 500
}
else
{
Send {Shift Down}
EnvAdd, outy, 25
EnvAdd, outx, 15
MouseClick, Left, %outx%, %outy%, 1
Send {Shift Up}
sleep, 1000
}
}
else
{
Send {Shift Down}
EnvAdd, outy, 25
EnvAdd, outx, 15
MouseClick, Left, %outx%, %outy%, 1
Send {Shift up}
sleep, 1000
}
}
else
{
ControlClick, x110 y747,ahk_id %id%,,RIGHT
Sleep, 100
}
}
else
{
MouseClick, Left, %outx%, %outy%, 1
sleep, 1000
}
}
ControlClick, x200 y747,ahk_id %id%,,RIGHT
Sleep, 1000
MsgBox, Done
return
*F11::Pause
return
Would you do that for me? :) alright sounds good do it! thx again bud :D +K again if it lets me :OQuote:
@Tinytox want me to do something for it? like pick the gate position and then spam click and clyclone fkey?
; <COMPILER: v1.0.46.8>
Gui, Add, Text,, ND gw trainner - 1280x768
Gui, Add, Text,x10 y22 w150 h20, Put F1 for ND:
Gui, Add, Text,x10 y50 w190 h20, Press F11 to Stop
Gui, Add, Button, x150 y72 w60 h20 vButton gStart, Ok
Gui, Show
return
Start:
Gui, Submit, Hide
WinGet,id, ID,[Conquer2.0]
gata := false
MsgBox, Press F11 to Pause
loop
{
sleep,1000
ControlClick, x110 y760,ahk_id %id%,,RIGHT
sleep,500
Send {Control down}
Click 448, 294
Send {Control up}
}
*F11::Pause
return
lol, is rly cool the process of creating a bot because when u make the first code, u try it and then think just like you said "omg, so stupid" lol, but then you add some more code and start working betterQuote:
Originally posted by evanxxxm@Apr 29 2007, 09:08
lol, the first time i created this bot has the same problem too
it keeps hunting for far mobs ........
so i was like, "omg, so stupid, cant it clicks for closer mobs first?" that gives me the idea that search for closer range mobs first.
it works fine with small spawns after that edit
then i figure out if i bot in large spawns, it sometimes will move ur character far far far away to another spawn.
so then i edited the option that u can input ur own searching area.
which if the spawn is on the right, i will input x=500-1024
(right side of the screen) so even if the character goes to the left a little, it will eventually go back to the right side.
i change the DB, met and tokens dds image to pink so the program doesnt need to have so many color searches.
like u can see on first post, KIRA2 is only beta, if you are having any problem with it please attach settings.ini file so I can test with your same configuration and see whats wrong.Quote:
Originally posted by stijnstijn@Apr 29 2007, 10:21
well i have probem with it
if i set everything
he attacks 1 time
then he just stands still
and then the program is saying please logg in before using....