Jump to content

To make a Bot for a Game- Ragnarok online 2


chefeez
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...