Imagine Nation Forums
[Razor] [Tailoring] Restock/Sell - Printable Version

+- Imagine Nation Forums (https://in-uo.net/forums)
+-- Forum: Imagine Nation archive (https://in-uo.net/forums/forumdisplay.php?fid=6)
+--- Forum: Player Guides (https://in-uo.net/forums/forumdisplay.php?fid=29)
+--- Thread: [Razor] [Tailoring] Restock/Sell (/showthread.php?tid=5182)



[Razor] [Tailoring] Restock/Sell - Raiden - 03-19-2012

Razor Tailoring Script :


Code:
!Loop
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.SpeechAction|0|91|3|DEU|4|33|77|23|112|vendor sell
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.LiftTypeAction|3821|30
Assistant.Macros.DropAction|0x40BB0F0D|(-1, -1, 0)|0
Assistant.Macros.PauseAction|00:00:00.5000000


What happens here?

Code:
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01

This part is restocking from your Bank (the green bag) into your Bag (the blue bag)


[Image: nljkrj96.jpg]

-----------------------------------------------------------------------------------

Code:
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000

Here is the bandana made ​​for the first.

-----------------------------------------------------------------------------------

Code:
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|False|300
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.AbsoluteTargetAction|0|0|1086000909|114|151|0|3705
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.GumpResponseAction|21|0|0
Assistant.Macros.WaitForGumpAction|949095101|F

This part is repeated a total of ten times the manufacture of bandanas.

-----------------------------------------------------------------------------------

Code:
Assistant.Macros.SpeechAction|0|91|3|DEU|4|33|77|23|112|vendor sell
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.LiftTypeAction|3821|30
Assistant.Macros.DropAction|0x40BB0F0D|(-1, -1, 0)|0
Assistant.Macros.PauseAction|00:00:00.5000000

All bandanas are sold here. The gold is put out of your bag in the bank (the green bag)

-----------------------------------------------------------------------------------

Razor settings

Add to bandana to sell Agent. (Optional Skullcap)

[Image: 5zqst9xf.jpg]

-----------------------------------------------------------------------------------

Setting up a Hotkey to F7.

[Image: 29zos7jp.jpg]

-----------------------------------------------------------------------------------

Additional Information

A good place to train tailoring is cove because of the short distance from the bank.

[Image: nljkrj96.jpg]

-----------------------------------------------------------------------------------

Every 3 seconds produced a bandana. This means that to be done in a minute 20 bandanas.

-----------------------------------------------------------------------------------

We expect the high to an hour so there are 1200 bandanas. (2400 Cloth)

-----------------------------------------------------------------------------------

A bandana is sold for 3 gold. (Optional Skullcap also 3 gold)

-----------------------------------------------------------------------------------

Since I have almost 100% tailoring so share it with you if someone can use the script.


Bye Raiden

(Sry for my bad english)


[Razor] [Tailoring] Restock/Sell - Kavu - 03-19-2012

To make your script easier to read you could put your bandana-making-process in a for-loop and just let that one execute 10 times. That way your script has like 52 lines less code. Oh and don't forget the "end for" statement at the end of the for-loop.


[Razor] [Tailoring] Restock/Sell - Raziel_ - 03-23-2012

Or you could a if statement to sell then restock when you're low on cloth.


[Razor] [Tailoring] Restock/Sell - Jeremiah - 07-02-2012

Hi all. I was wondering if anyone could help me out here. I set up in cove and input this macro into Razor however I am new to Razor so I am running into some issues as this post didn't explain a portion of the macro. When I begin the macro my ingame screen states to choose a container to restock from. I believe I have restock agent 1 to be set for my bank bag that hold cloth but for some reason I keep getting a message after this stating the container is invalid. Any help or maybe a little more detailed guidance on how to set this up for a Razor newb? Thanks!