Register for your free account! | Forgot your password?

You last visited: Today at 18:20

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

Advertisement



Autoit Macro Script

Discussion on Autoit Macro Script within the General Gaming Discussion forum part of the General Gaming category.

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Apr 2005
Posts: 700
Received Thanks: 26
With the new changes to ID, Modify a script that I found here when I mastered Architect. I'm including the script, which I compile into an executable. This let me finish my ID grind in about 3 hours.

This method works with two accounts, although it may work ID'ing yourself. Not sure. I had one account up and running an accept macro that looped, and then this running on this account.

On the account that will be the victim of your ID, make the following macro and have it running. I called the macro acpt

/iu action defaultButton;
/pause 0.3;
/macro acpt;

This will loop over and over, accepting any ID changes as fast as possible.

For your image designer, you may want to modify your stats to max out your mind, or get a mind buff as this can eat up your mind quickly.

On your ID, you also need to set up two macros and put them on your toolbar. I have them in F1 and F2. One initiates the Image Design session on your targeted player, the other commits the changes.

macro name: img
/imagedesign;

macro name: acpt
/ui action defaultButton;

The following is my id.ini file. This needs to be in the same folder as the .exe or the location of the script if you are running it that way

;;;;;;;;;;;;;;;;;;; id.ini ;;;;;;;;;;;;;;;;;;;;;;;;

[fkeys]
start_id_session_key=F1
finish_id_session_key=F2

[coords]
tab_x = 680
tab_y = 236
color1x = 645
color1y = 408
color2x = 670
color2y = 449

[timers]
timer1 = 2200
timer2 = 3000

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

the coordinates I found using the Autoit Windows Info utility that comes with Autoit. Tab coords are for the Eyes tab, Color coords are just for two different colors. Change these to what works for you.

The following is the script. It's pretty easy to follow. Compile this and run your SWG client in windows / borderless mode. After you run the script, target the other character that is running the accept macro and away you go. Have fun!

Sleep(10000)
WinActivate("SwgClient")
Global $Paused
Global $timer1
Global $timer2
Global $ID_key
Global $Finish_ID_key
Global $tab_x
Global $tab_y
Global $color1_x
Global $color1_y
Global $color2_x
Global $color2_y

HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
If FileExists(@ScriptDir & "\id.ini") then
ReadFromIni()
else
$result = MsgBox(262436,"Missing id.ini?","Missing id.ini file")
Exit
endif
Sleep(1000)
$fkey = 0
While 1 ;infinite loop
If $Paused then
Sleep(1000)
Else
ID()
EndIf
Wend

;;; Main image designer routine ;;;
Func ID()
Send("{"&$ID_key&"}")
Sleep($timer1)
MouseClick("left",$tab_x,$tab_y,2)
Sleep(500)
MouseClick("left",$color1_x,$color1_y,2)
Sleep(500)
Send("{"&$Finish_ID_key&"}")
Sleep($timer2)
Send("{"&$ID_key&"}")
Sleep($timer1)
MouseClick("left",$tab_x,$tab_y,2)
Sleep(500)
MouseClick("left",$color2_x,$color2_y,2)
Sleep(500)
Send("{"&$Finish_ID_key&"}")
Sleep($timer2)
EndFunc

;;; Toggles pause ;;;
Func TogglePause()
$Paused = NOT $Paused
EndFunc

;;; Terminates script ;;;
Func Terminate()
MsgBox(4096,"", "The End")
Exit
EndFunc

;;; Reads from the INI file ;;;
Func ReadFromIni()
$ID_key = IniRead(@ScriptDir & "\id.ini", "fkeys", "start_id_session_key", "NotFound")
$Finish_ID_key = IniRead(@ScriptDir & "\id.ini", "fkeys", "finish_id_session_key", "NotFound")
$tab_x = IniRead(@ScriptDir & "\id.ini", "coords", "tab_x", "NotFound")
$tab_y = IniRead(@ScriptDir & "\id.ini", "coords", "tab_y", "NotFound")
$color1_x = IniRead(@ScriptDir & "\id.ini", "coords", "color1x", "NotFound")
$color1_y = IniRead(@ScriptDir & "\id.ini", "coords", "color1y", "NotFound")
$color2_x = IniRead(@ScriptDir & "\id.ini", "coords", "color2x", "NotFound")
$color2_y = IniRead(@ScriptDir & "\id.ini", "coords", "color2y", "NotFound")
$timer1 = IniRead(@ScriptDir & "\id.ini", "timers", "timer1", "NotFound")
$timer2 = IniRead(@ScriptDir & "\id.ini", "timers", "timer2", "NotFound")
EndFunc
undispudet is offline  
Old 07/09/2005, 09:28   #2
 
elite*gold: 0
Join Date: Mar 2005
Posts: 238
Received Thanks: 0
there are no stats anymore to Stats Migrate ... but still nice...

and the double xp ended and there is no respec time so its just for the ppl who want to get master ID.
Stardust77 is offline  
Reply


Similar Threads Similar Threads
Autoit Script als nicht Autoit erkennbar machen
02/22/2013 - AutoIt - 22 Replies
Hallo es haben wiele bestimmt schon gesehn das w0uter mal eine Anleitung gepostet hat wie man ein Autoit script so umbaut das es keins mehr ist. Die anleitung ist aber leider weg :( Dann habe ich mich selber rangesetz und was ausprobiert aber hat nichts gebracht. Dann habe ich geguckt bis wohin sein script geht als ... (kA wie man das nent halt das im hex editor ganz links diese 0x zahlen) und davor habe ich ein ha genauso eins gemacht und verglichen. Am anfang habe ich bemerkt es fengt...
Autoit BG macro
09/05/2010 - World of Warcraft - 0 Replies
Looking for a new autoit bg join/leave macro the old 1 that i have doesnt work anymore instead of pressing the join bg button now it opens the bags :).
Macro/AutoIT für 40/40 set
07/05/2008 - Guild Wars - 13 Replies
Hey, kann man n script schreiben das der jeweile char vor jedem casten (1-8) Z.B. auf F2 in sein 40/40 set wechselt?wenn das gehen würde könntet ihr bitte sowas erstellen...ich denke für euch is das nich wirklich ein problem...aber ich kenn mich damit halt gar nich aus... danke im vorraus :) mfg
macro autoit
06/19/2008 - Cabal Online - 10 Replies
Hi. I'm french.Sorry for my bad english. My version of cabal is europea. I tried to make myself a macro but it is only 2 days that I practice autoit. I therefore know quite limited. I like to share with you my program. I've tested but has no effect on the game like most other programs of the forum that I tested. I'd like to know why.it's really a simple program you will not hurt to understand?:confused: $x = 1 $y = 1 WinWaitActive("CABAL") ;activation of the window cabal...
Autoit heal macro
04/06/2007 - WoW Bots - 2 Replies
hi, da ich 2 wow accounts habe (einmal nen pala und nen warri) würd ich gern mit dem pala beim lvln support geben... könnte vieleicht jemand nen autoit script schreiben, dass z.b. alle 15 oder 20 sec. einmal lichtblitz castet... weil ich kann ja wow 2ma öffnen und dann mit dem pala auf /follow gehen un mein warri ins target nehmen... also ich denk mal das is möglich, dass man da nen timer einbaut, der alle 15 oder 20 sec einmal in dem anderen wow fenster die 9 drückt... wär auf jeden fall...



All times are GMT +2. The time now is 18:20.


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.