Running a Potion Keg-Making Macro, Need help debugging.
Posted: Sat Jan 04, 2014 2:34 am
Not really sure how to approach this in terms of reporting to you all; but for what its worth, here goes!
I recently made a macro that
1. Restocks boards and ingots from a stocking chest
2. Makes 3 Barrel Staves
3. Makes 2 Lids
4. Makes 1 Spigot
5. Makes 1 Barrel Hoops
6. Uses Carpentry to make a keg
7. Restocks 10 Bottles from Stocking Chest
8. Uses tinkering on the keg to create potion keg
My issue comes at step 4. It seems the macro wants to use the ingots from the stocking chest instead of my inventory (i have the macro set to use tinker tools, then target ingots by type). Obviously those ingots are not available to use and the macro gets stuck. It does not get stuck on the 5th step however (which uses the exact same command [use tinker tools by type, use target ingots by type]) Any ideas why? or how to fix it?
// 1. Restock Ingots and Boards
Assistant.Macros.HotKeyAction|0|Restock Agent-2
Assistant.Macros.AbsoluteTargetAction|0|0|1080038581|1683|675|25|3651
Assistant.Macros.PauseAction|00:00:02
// 2. Barrel Staves
Assistant.Macros.ForAction|3
Assistant.Macros.DoubleClickTypeAction|4146|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|7127|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|7857|0
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndForAction
// 3. 2 Lids
Assistant.Macros.ForAction|2
Assistant.Macros.DoubleClickTypeAction|4146|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|7127|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|3|7608|0
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndForAction
// 4. Spigot
Assistant.Macros.DoubleClickTypeAction|7868|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7154
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|4179|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|3|4100|0
Assistant.Macros.PauseAction|00:00:10
// 5. Hoops
Assistant.Macros.DoubleClickTypeAction|7868|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7154
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|4179|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|6|4321|0
Assistant.Macros.PauseAction|00:00:10
// 6. Make Keg
Assistant.Macros.DoubleClickTypeAction|4146|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|3|3651|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|9|3711|0
Assistant.Macros.PauseAction|00:00:10
// 7. Restock Empty Bottles
Assistant.Macros.HotKeyAction|0|Restock Agent-5
Assistant.Macros.AbsoluteTargetAction|0|0|1080038581|1683|675|25|3651
Assistant.Macros.PauseAction|00:00:02
// 8. Make Potion Keg
Assistant.Macros.DoubleClickTypeAction|7868|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|3711
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|6464|0
Assistant.Macros.PauseAction|00:00:01
Thanks
-Llama Herder
I recently made a macro that
1. Restocks boards and ingots from a stocking chest
2. Makes 3 Barrel Staves
3. Makes 2 Lids
4. Makes 1 Spigot
5. Makes 1 Barrel Hoops
6. Uses Carpentry to make a keg
7. Restocks 10 Bottles from Stocking Chest
8. Uses tinkering on the keg to create potion keg
My issue comes at step 4. It seems the macro wants to use the ingots from the stocking chest instead of my inventory (i have the macro set to use tinker tools, then target ingots by type). Obviously those ingots are not available to use and the macro gets stuck. It does not get stuck on the 5th step however (which uses the exact same command [use tinker tools by type, use target ingots by type]) Any ideas why? or how to fix it?
// 1. Restock Ingots and Boards
Assistant.Macros.HotKeyAction|0|Restock Agent-2
Assistant.Macros.AbsoluteTargetAction|0|0|1080038581|1683|675|25|3651
Assistant.Macros.PauseAction|00:00:02
// 2. Barrel Staves
Assistant.Macros.ForAction|3
Assistant.Macros.DoubleClickTypeAction|4146|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|7127|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|7857|0
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndForAction
// 3. 2 Lids
Assistant.Macros.ForAction|2
Assistant.Macros.DoubleClickTypeAction|4146|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|7127|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|3|7608|0
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndForAction
// 4. Spigot
Assistant.Macros.DoubleClickTypeAction|7868|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7154
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|4179|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|3|4100|0
Assistant.Macros.PauseAction|00:00:10
// 5. Hoops
Assistant.Macros.DoubleClickTypeAction|7868|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7154
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|2|4179|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|6|4321|0
Assistant.Macros.PauseAction|00:00:10
// 6. Make Keg
Assistant.Macros.DoubleClickTypeAction|4146|True
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|3|3651|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|9|3711|0
Assistant.Macros.PauseAction|00:00:10
// 7. Restock Empty Bottles
Assistant.Macros.HotKeyAction|0|Restock Agent-5
Assistant.Macros.AbsoluteTargetAction|0|0|1080038581|1683|675|25|3651
Assistant.Macros.PauseAction|00:00:02
// 8. Make Potion Keg
Assistant.Macros.DoubleClickTypeAction|7868|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|3711
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|6464|0
Assistant.Macros.PauseAction|00:00:01
Thanks
-Llama Herder