Jump to content
Sign in to follow this  
chefeez

To make a Bot for a Game- Ragnarok online 2

Recommended Posts

chefeez

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 ^_^

Share this post


Link to post
Share on other sites
PhoenixXL

Welcome to the Forum chefeez,

Kindly read the Forum rules

According to which game automation isn't allowed for open discussion


My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Share this post


Link to post
Share on other sites
chefeez

So is there a Special Thread for this 'Game Automation' ?

How to not make it an Open Discussion?

Share this post


Link to post
Share on other sites
water

No, there is no special thread. Game automation isn't allowed here. Period.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Melba23

chefeez,

water is quite right - please read the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again. Thread locked. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×