Forum › Forums › Grids and Presets › Reliably Selecting Specific Window
This topic contains 5 replies, has 3 voices, and was last updated by r51093 3 years, 9 months ago.
-
AuthorPosts
-
September 19, 2020 at 9:03 am #24243
I am a complete beginner in scripts so apologies if this has been explained somewhere else. I have incorporated materia extraction script as a chapter to one of the diadem scripts. Materia extraction script is a simple key press script that goes through items in extraction window which has to be placed on the toolbar. Everything would be ok but for some reason, the extraction window doesn’t always open at the selected state, which completely messes up materia extraction. So my question would be – is there a way to ensure that a window always open at specific state?
September 19, 2020 at 11:04 am #24244Ive had the same issue with both Materia Extraction and Turnins of Collectables.
What i came up with is this://extract
key(< ,1.5)
Key(num4 ,0.2)
key(num0 ,0.2)
Key(num4 ,0.2)
key(num0 ,4)Key(num4 ,0.2)
key(num0 ,0.2)
Key(num4 ,0.2)
key(num0 ,4)Key(num4 ,0.2)
key(num0 ,0.2)
Key(num4 ,0.2)
key(num0 ,4)Key(num4 ,0.2)
key(num0 ,0.2)
Key(num4 ,0.2)
key(num0 ,4)Key(num4 ,0.2)
key(num0 ,0.2)
Key(num4 ,0.2)
key(num0 ,4)Key(num4 ,0.2)
key(num0 ,0.2)
Key(num4 ,0.2)
key(num0 ,4)
key(< ,1)< is my key to open the Extract window, 4 is left, 0 confirm.
As you can see ive included a 4 before every extraction. That usually activates the window so the next inputs go through. And if the window is already open a 4 wont mess anything up.
This is 6 extracts which usually takes 10-15 ingame minutes (et). You can add more blocks but i usually like to run more smaller extractions instead of less bigger ones.September 19, 2020 at 11:24 am #24245September 19, 2020 at 4:51 pm #24247Works perfectly!
Here’s my scripts if anyone’s interested:
//open extraction window key(G, 1.0) //Extract Materia //Item #1 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #2 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #3 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #4 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #5 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #6 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #7 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #8 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #9 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #10 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #11 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Item #12 Key(num4 ,0.5) key(num0 ,0.5) Key(num4 ,0.5) key(num0 ,2.5) //Exit menu key({esc}, 0.5)
January 27, 2021 at 6:53 pm #27309I am a complete beginner in scripts so apologies if this has been explained somewhere else. I have incorporated materia extraction script as a chapter to one of the diadem scripts. Materia extraction script is a simple key press script that goes through items in extraction window which has to be placed on the toolbar. Everything would be ok but for some reason, the extraction window doesnβt always open at the selected state, which completely messes up materia extraction. So my question would be β is there a way to ensure that a window always open at specific state?
just run or add this script to your scenario miqobot will extract the materia of the gear you have equiped
startMateriaExtraction()
if you want to extract from a specific gearsets then do this script
job(Miner) startMateriaExtraction()
you can run it in succession with different job’s / class if you want or need like below
job(botanist) startMateriaExtraction() job(Miner) startMateriaExtraction() job(goldsmith) startMateriaExtraction()
you can change “miner”, “botanist”, “goldsmith” in the
job()
for any class / job you want to extract materia from and is way more reliable then thesendkey()
command’s above you only need to have the materia extraction / creation icon on your hotbar.I have incorporated materia extraction script as a chapter to one of the diadem scripts
If you want here is my own diadem scenario it has evreything you need in it (repair, Materia Extraction/Creation, use of the Augur
X4
(the boom gun π«), Item turn in at the diadem inspector, and will auto rejoin useing thekey()
commands not the most reliable i know but is the only way to join and re-join the diadem) please check it out πJanuary 28, 2021 at 1:51 am #27317//Exit menu
key({esc}, 0.5)insted of the
key(esc)
you should use thekey(num.)
it will close windows without opening the system menu like thekey(esc)
will -
AuthorPosts
You must be logged in to reply to this topic.