A cooking macro

Discussion in 'Guides' started by Errant, Feb 13, 2014.

  1. Errant

    Errant New Member

    Joined:
    Feb 11, 2014
    Messages:
    5
    Likes Received:
    3
    Someone asked me for a cooking macro...

    Code:
    !Loop
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.HotKeyAction|0|Restock Agent-5
    Assistant.Macros.PauseAction|00:00:00.7000000
    Assistant.Macros.AbsoluteTargetAction|0|0|14669|1652|1602|20|400
    Assistant.Macros.PauseAction|00:00:00.7000000
    Assistant.Macros.DoubleClickTypeAction|2431|True
    Assistant.Macros.PauseAction|00:00:00.7000000
    Assistant.Macros.GumpResponseAction|21|0|0
    Btw can anyone tell me why I have never successfully be able to give someone a macro over IRC?
    ErikdeRed likes this.
  2. corruption

    corruption Well-Known Member
    UO:R Subscriber

    Joined:
    Jul 1, 2013
    Messages:
    602
    Likes Received:
    258
    Likely a problem of either formatting, or clients. If you're trying to just send the formatted text as a msg to someone, theres a good chance they're copying out the entire line -- which would include your nickname... essentially turning this:

    Assistant.Macros.HotKeyAction|0|Restock Agent-5

    into this:

    <KewlUODude> Assistant.Macros.HotKeyAction|0|Restock Agent-5

    ...which is obviously going to cause a parsing error.

    If you're trying to send the file via DCC (direct client-to-client connection) on IRC, there is a very good possibility that the other person's client simply does not support DCC transfers. I'm not sure if you can do DCC file transfer using the flash-based client that we have a link to on the website, but I know anyone using Pidgin or Adium for IRC will not be able to even acknowledge a DCC file transfer.

    Subsequently, I usually will post the macro on my personal web server when I'm looking to share one, for this reason.
  3. Errant

    Errant New Member

    Joined:
    Feb 11, 2014
    Messages:
    5
    Likes Received:
    3
    Yea ... must be a formatting thing cuz I'm at a 100% fail rate for sending code over IRC :(
  4. Errant

    Errant New Member

    Joined:
    Feb 11, 2014
    Messages:
    5
    Likes Received:
    3
    Standard Tailoring Make Last

    Code:
    !Loop
    Assistant.Macros.DoubleClickTypeAction|3997|True
    Assistant.Macros.WaitForGumpAction|949095101|False|300
    Assistant.Macros.GumpResponseAction|21|0|0
    Assistant.Macros.PauseAction|00:00:05
    Assistant.Macros.DoubleClickTypeAction|3999|True
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.TargetTypeAction|False|7939
    Assistant.Macros.PauseAction|00:00:01
    Standard Covert Cotton and Flax too Thread

    Code:
    !Loop
    Assistant.Macros.IfAction|50|1|1|Cotton
    Assistant.Macros.DoubleClickTypeAction|3577|True
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|0|1073816544|1980|2840|15|4117
    Assistant.Macros.PauseAction|00:00:04
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|1|1|Flax2
    Assistant.Macros.DoubleClickTypeAction|6813|True
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.AbsoluteTargetAction|0|0|1073816544|1980|2840|15|4117
    Assistant.Macros.PauseAction|00:00:04
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|1|1|Flax
    Assistant.Macros.DoubleClickTypeAction|6812|True
    Assistant.Macros.WaitForTargetAction|30
    Assistant.Macros.LastTargetAction
    Assistant.Macros.PauseAction|00:00:04
    Assistant.Macros.ElseAction
    Assistant.Macros.EndIfAction
    Standard Thread to Cloth
    Code:
    !Loop
    Assistant.Macros.IfAction|50|0|0|Thread
    Assistant.Macros.HotKeyAction|0|Play: Tailoring\Wool-Thread
    Assistant.Macros.EndIfAction
    Assistant.Macros.IfAction|50|1|5|Thread
    Assistant.Macros.ForAction|5
    Assistant.Macros.PauseAction|00:00:00.6500000
    Assistant.Macros.DoubleClickTypeAction|4000|True
    Assistant.Macros.PauseAction|00:00:00.3000000
    Assistant.Macros.TargetTypeAction|False|4191
    Assistant.Macros.EndForAction
    Assistant.Macros.EndIfAction
    

  5. Pirul

    Pirul Well-Known Member
    UO:R Subscriber

    Joined:
    May 16, 2013
    Messages:
    3,219
    Likes Received:
    2,469
    pastebin.com is your friend. Use it!

Share This Page