Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > RF Online
You last visited: Today at 07:39

  • Please register to post and access all features, it's quick, easy and FREE!

 

making my own bot but i need some help

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2006
Posts: 10
Received Thanks: 1
making my own bot but i need some help

i started the code. i just tryed it on the "wing" (biginner mob)

but im still have problems on the thing getting a fix on it , this is my code so far

WinActivate("RF Online")
Sleep(2000)
While 1
$coord = PixelSearch( 150, 150, 1200, 860, 0xE09CB1, 90, 1);purple Monster
If Not @error Then
MouseMove($coord[0],$coord[0],0)
MouseClick("left",$coord[1],$coord[1])
Sleep (100)
EndIf
Send("{F1}")
Sleep(110)
Send("{F2}")
Sleep(110)
Send("{F3}")
Sleep(110)
Send("{F1}")
Sleep(100)
Send("{F2}")
Sleep(110)
Send("{Space}")
Send("{F3}")
Sleep(110)
Send("{Space}")
Sleep(120)
Send("{Space}")
Sleep(400)
WEnd



n3mo is offline  
Old   #2
 
elite*gold: 0
Join Date: Nov 2007
Posts: 111
Received Thanks: 83
hmm its an autoit3 script so whats seems to be the problem?


spin_roan is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2006
Posts: 10
Received Thanks: 1
you got msn it would be a lot easer ?

and well it ramdomly click in diffrent directions lol. not sure how to get it more prised to kill a mob
n3mo is offline  
Old   #4
 
elite*gold: 0
Join Date: Nov 2007
Posts: 111
Received Thanks: 83
Thumbs up

Try Using Call Function :
=======

Func Attack()
Sleep(100)
Send("{F5}") ;using macro shortcut skills
Sleep(1000)
Call("Find")
EndFunc

Func Rotate()
MouseMove(400, 500, 3)
MouseDown("right")
MouseMove(700, 500)
MouseUp("right")
Sleep(100)
call("Find")
EndFunc

Func Find()

Send("{X 7}"); looting
$coord = PixelSearch (50, 100, 1000, 700, 5259304, 2) ;im using 1024x768 resolution and beating up flymm
If Not @error Then
MouseClick ("left", $coord[0], $coord[1], 3, 0) ; Select monster that match the color
Send("{SPACE}") ; normal attack
Call("Attack")
Else
Send("{X 7}")
call("Rotate")
EndIf
EndFunc

;start of script execution
call("find")

=======

Copied from some of my Source Codes Not yet a very clean script and need lots of modification but the idea of targeting monster using PixelSearch and MouseClick are applied. I hope this helps you alot.
spin_roan is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
need help making bot vac...
i try changing the ai to 311 on bot and change b,c,d,n.p.q to 9 or 99 but doesnt seem like its working..anyone can help? this is the bot with funny ...
4 Replies - Dekaron
making our own sv
Well i have given this alt of thought and have come up with the idea of making our own sv... my idea was to look at v1.10 and then the newest version...
11 Replies - CO2 Main - Discussions / Questions
Making your own bot!
Please any1 post the programs needed to make a simple bot like iSRObot. Or even simpler. And a little guide would be good too..... :D
5 Replies - SRO Main - Discussions / Questions
Hey Im making...
Hey people, Im really noob at this my mate the!one some of you may know him for the emotion spam thing on co, I am using vb 6 Does anyone have any...
2 Replies - CO2 Main - Discussions / Questions



All times are GMT +2. The time now is 07:39.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.