Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

To make a Bot for a Game- Ragnarok online 2

$
0
0
Sorry if I posted on the wrong topic.. I am new here.

But have tried to run a script using the AU3Record 3.3 in by activating window pressing the top part and pressing keyboard buttons.

here the script it generate


_WinWaitActivate("Ragnarok Online2 - Legend of The Second","")
MouseClick("left",490,19,1)
Send("{TAB}1222222222rrs")
MouseClick("right",645,400,1)
Send("{TAB}2222222rrr")
MouseClick("right",644,400,1)
Send("{TAB}222222rrss")
MouseClick("right",644,401,1)
Send("31")

Question:
1.I try to compile and run script but i think I am missing something and it could not run - could u guys gimme a heads up?

2. So, If i want to do this and loop it for infinite time how could I do that?

basically what I need the bot to do open the Game window - activate it by clicking on it > press tab [to select monster]> press '2' for like 5times to attack skill > press 'R' to loot > press 'W' to move backward abit > right click at the location to gather materials > press '1' and '3' for healing skill. and then rinse n repeat for infinite time.

* I think iam missing the start function and end function. [because the script wont run lol]

I am a Noob in AutoIt but I am willing to learn :)

Thanks in Advance and I will acknowledge your help ^_^

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>