Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 01:31

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

Advertisement



Can autoit be used to make an oldschool macro recorder/player?

Discussion on Can autoit be used to make an oldschool macro recorder/player? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 6
Received Thanks: 0
Can autoit be used to make an oldschool macro recorder/player?

So i spent the past 4 days making a bot for a game, but as soon as i ran it the first time i realized

1) the bot is WAY too bot-like. I'm going to be caught in no time
2) i'm waaay over thinking it. This could be done so much simpler.

I should be able to do this bot with an "action queue". All actions will have a current mouse position (mousegetpos) associated with it

Hotkeys

1) Add a Send("f") to the queue at current mouse pos
2) Add a Send("g") to the queue at current mouse pos
3) Add a double click to the queue, again at current mouse pos


Then I press my start key and it runs through the mouse movements, pressing f, g, and doubleclicks where I had set them to do it.

The only thing is, i'm not sure how to store the information. There should be some way to create an array of sorts, no?

I do SQL a bit, so i think of it being stored like this.

Queue01, LocationX, LocationY, action
Queue02, LocationX, LocationY, action
Queue03, LocationX, LocationY, action
Queue04, LocationX, LocationY, action
Queue05, LocationX, LocationY, action

I know how to record this info when it's predictable, I can even write the routines to play it back. I just dont know how to create the sequential data.

EDIT: Had some more time to think, to start


Now, I just need to write 3 Func, each which checks the values in $entry[i] array slots [0] [1] [2] to find the first available open slot, then once it knows, it saves the right values to the next available $entry, $locationx, $locationy, and $action

Do i seem to be going in the right direction?

EDIT2: Yup, it's done, and it was rather easy.
seanbrockest is offline  
Reply


Similar Threads Similar Threads
Macro Recorder
06/15/2013 - Ace Online / AirRivals - 2 Replies
Suche guten Macro recorder der in ace Online ingame greift wer hat bitte melden
Anyone have macro recorder
07/23/2010 - Battle of the Immortals - 3 Replies
I need macro recorder so i can record my mouse click.. i need it to use in Chrono mirage EVENT. to harvest chrono relic.. any idea would be appreciate thanks
Macro Recorder
04/28/2010 - Kal Online - 5 Replies
Okay... i made the thread becouse i wanna know somthing long time ago i try to pimp with it and didnt work same did yesterday... its undetected and alll moving and pressing work well but when i try use talis or polishings its just go to weapon and do nothing.... any one can answer me? im using JitBit Macro recorder 4.5 tnx for your help
macro recorder
07/04/2007 - Guild Wars - 1 Replies
huhu ich habe mir gedacht dass ein programm dass die keys, die man drückt aufzeichnet und als macro abspeichert das scripten erheblich erleichtern würde. man müsste dieses macro dann nur überarbeiten und fertig wären zumindest teile des scripts (zB zum farming laufen, zum kaufmann / truhe laufen etc) ich hab heute etwas gegooglet bin aber auf nichts brauchbares gestoßen vlt kennt jemand von euch ein nützliches programm dass mir ständiges testen / umschreiben und erneutes testen erheblich...



All times are GMT +2. The time now is 01:31.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.