Forum › Forums › Grids and Presets › Crafting problem in scenario with macro
This topic contains 4 replies, has 3 voices, and was last updated by Oppie 2 years, 9 months ago.
-
AuthorPosts
-
February 9, 2022 at 12:22 pm #35859
Hello to all,
I’d like to share a concern with a scenario I’m trying to set up to automate the harvesting and crafting of items for the white and purple crafter scrips.
The harvesting part, everything is OK, I took bits of scenarios already present on this forum and everything works.
The crafting part works… when it wants to, and that’s what I have a problem with. In order to help you find the problem, you have to know that at the beginning I had generated the scenario with Miqocrafter but considering the state of the crafting at the moment, there were errors so I did it all again by hand, but maybe there is still a piece of code somewhere that causes problems…
In the “Crafting” part of the bot, in macro mode, I have the recipes I need to craft my item which are there, filled in and functional, in macro mode.
Example for the integral lumber : ctrl+7,ctrl+2,1,ctrl+=,=,ctrl+=,ctrl+=,ctrl+=,ctrl+3,1
If I let the scenario run by itself, when it comes to crafting the integral lumber, it will pass it to me as a macro:
(13:13:09) I want to craft! Where is your Crafting Log?
(13:13:12) Hitting Confirm button. :3
(13:13:14) Crafting step 1 -> key ‘ctrl+5
(13:13:17) Crafting step 2 -> key ‘ctrl+2’
(13:13:18) Crafting step 3 -> key ‘ctrl+=’
(13:13:22) Crafting step 4 -> key ‘1’
(13:13:24) Yes, crafting SUCCESS! (1/20)If I cut the script, go to the crafting section, select my integral lumber macro, don’t change anything in my macro but just click on “overwrite”, if I restart the script, it will craft the integral lumber with the right macro; as if on the first run, in the flow, it will look for a macro somewhere else that is not the right one.
The code used in the scenario to craft :
teleportIf(Unterkunft, 2)
grid(Shirogane)
waypoint(1)
teleportNPC()// Crafted Items
//————————————————————–
//// Integral Lumber [Crafted] – CRP – Level 88
setCraftCollect(off)
job(CRP)
recipe(Integral Lumber)
afkfor(00:00:03)
craft(20)
materiaExtract()// Chondrite Ingot [Crafted] – BSM – Level 88
setCraftCollect(off)
job(BSM)
recipe(Chondrite Ingot)
afkfor(00:00:03)
craft(40)
materiaExtract()Etc…
Did I make a mistake somewhere or is there a problem?
Thanks in advance for your help!
- This topic was modified 2 years, 9 months ago by Oppie.
February 9, 2022 at 6:54 pm #35861February 9, 2022 at 7:53 pm #35862February 12, 2022 at 1:16 pm #35896February 12, 2022 at 1:28 pm #35897 -
AuthorPosts
You must be logged in to reply to this topic.