UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

Auto Turn in Tailor Razor Macro

What this macro does:

Since EasyUO is banned for any and all resource collecting, I thought I would share my razor macro with everyone. Its updated with some new timing changes that have been implemented since I've been gone.

Turns in a full book of tailor resets, while putting all reward cloth into a bag in your bank box, while trashing all the sandals, banking the gold, and placing that new bod into a new book! It will also pause for a short period of time if it detects the world is about to save.

This macro is set to work on the current WEAVER @ the Luna tailor shop. Every time the NPC changes, there is part of this you must edit. I will go over it further detail down below. Make sure you have your bank box open, and on your screen!
**NOTE** <<--- Make sure your backpack is relatively EMPTY. Full bod books take up a lot of item space in your pack! --->> **NOTE**

Here's what it looks like as a macro:

!Loop
Assistant.Macros.IfAction|4|0|the world will save
Assistant.Macros.PauseAction|00:00:30
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickAction|1106886094|8793
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.IfAction|4|0|the book is empty
Assistant.Macros.HotKeyAction|1083|
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:00.7500000
Assistant.Macros.GumpResponseAction|5|0|0
Assistant.Macros.PauseAction|00:00:00.7500000
Assistant.Macros.LiftTypeAction|8792|1
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.DropAction|0x44C80|(-1, -1, 0)|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.ContextMenuAction|0x44C80|1|6152
Assistant.Macros.PauseAction|00:00:00.7500000
Assistant.Macros.GumpResponseAction|1|0|0
Assistant.Macros.PauseAction|00:00:01.5000000
Assistant.Macros.IfAction|5|1|350
Assistant.Macros.LiftTypeAction|3821|15000
Assistant.Macros.PauseAction|00:00:00.7500000
Assistant.Macros.DropAction|0x4033384F|(42, 105, 0)|0
Assistant.Macros.PauseAction|00:00:02
Assistant.Macros.HotKeyAction|0|Organizer Agent-9
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.HotKeyAction|0|Organizer Agent-10
Assistant.Macros.PauseAction|00:00:07
Assistant.Macros.EndIfAction
Assistant.Macros.LiftTypeAction|8792|1
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.DropAction|0x4257B72E|(-1, -1, 0)|0
Assistant.Macros.PauseAction|00:00:04
Here's what it looks like in razor:
If (SysMessage "the wor...")
Pause 30.00sec - Adjust this if you wish. Sometimes world saves go long... better safe than sorry.
End If
Double Click (xxxxxxxxx) - Retarget this to your FULL BOD Book.
Pause .25sec
If (SysMessage "the boo...")
Exec: > Stop Current Macro
End If
Pause .75sec
GumpResponse (Button 5)
Pause .75sec
Lift bulk order deed (2258) - 1
Pause .50sec
Drop to 0x44C80 (@(-1, -1, 0)) - These lines are for the CURRENT Weaver. If he changes
Pause 1.00sec - they need to be recorded over again.
ContextMenu: 1 (0x44CB0)
Pause .75sec
GumpResponse (Button 1)
Pause 1.50sec
If (Weight >= 350) - You may adjust this weight value depending on your character
Lift gold coin (0EED) - 15000 - This value is the MAXIMUM amount of gold you'll pick up.
Pause .75sec
Drop to xxxxxxxxx (@(42, 105, 0)) - This needs to be recorded dropping gold into your OWN bank box. Don't forget to delete any "Wait for" gumps that will appear in the macro. Drag the gold first, then press "ALT + TAB" to bring up razor, find this section of the macro and right click to find "Begin recording here" then drop the gold into your bank box, and stop recording.
Pause 2.00sec
Exec: Organizer Agent -9 - The hotbag for this organizer needs to be set to a bag inside your bank box. If you're using my smithy macro as well on the same razor profile, you'll have to set it each time you turn in the different kinds of bods. Make sure in the organizer you have "cloth (1767)" as one of the targets.
Pause 1.00sec
Exec: Organizer Agent-10 - Set the hotbag to the trash bin in the Luna tailor shop, and target "sandals (170D)" in the organizer.
Pause 7.00sec
End If
Lift bulk order deed (2258) - 1
Pause .25sec
Drop to xxxxxxxxxx (@(-1. -1. 0)) - Retarget your EMPTY bod book for NEW bods.
Pause 4.00sec - Since I've been gone apparently you have to wait a tad before you get a new bod, I found 4 seconds was the quickest you could do it.
And that's it! If you have any questions don't hesitate to ask!
 

Souced

Sorceror
yes it sure does get boring i usually have a few books sitting around all ready for the turn in, but i just can't bring myself to sitting there for that long without almost falling asleep
 
Great macro Eby! I found that by taking advantage of organizers it runs a lot smoother.
The one i made looks something like
Get bod from book
Organizer to weaver
get bod
organizer to bank and bod book (to different ones)
pause
Repeat

I haven't optimized the timing or I would post mine. I still don't know how long the delay is :/
 

j_monroy

Squire
Hi :). I was wondering how to insert this into my macro on razor. Is there somewhere specific I could go to do this, or shoud I record it just as you've explained?
 

das3

Sorceror
Uus corp - There's not enough life force there to animate.

Hi :). I was wondering how to insert this into my macro on razor. Is there somewhere specific I could go to do this, or shoud I record it just as you've explained?

1) Create an empty macro file: New... in macro tab OR create a .macro file in your Razor/Macros-folder
2) Open the file: Go to your Razor-folder, then Macros, open the empty macro file with a text editor.
3) Create the script: cut !Loop + every line beginning with Assistant, paste, save
4) Modify the script: (might need to restart Razor first) Macro Action window, right click re-target or Record from here as per above instructions.
 

j_monroy

Squire
My razor folder? In the folder are: Razor, RPV Editor (Alpha), Uninstall, and a link to the razor website...

Do I have to access the folder in a different way?
 

das3

Sorceror
My razor folder? In the folder are: Razor, RPV Editor (Alpha), Uninstall, and a link to the razor website...

Macro-folder may be somewhere else depending if you re running Razor as Admin or not.
Try C:\Users\<your user>\AppData\*\Razor\Macro (hidden), do a file search for Macro, ...
 

MB

Knight
//Auto Give Tailor Bods to NPC!
//Ask to Target the Tailor NPC
if not @findobject 'BODS_Tailor_NPC'
sysmsg 'Please Target the Tailor NPC for Turning your Bods!' 30
promptalias 'BODS_Tailor_NPC'
endif
//Ask to Target the Completed Bods Book
if not @findobject 'BODS_Completed_Bods_Book'
sysmsg 'Please Target the Completed Bods Book in your backpack!' 30
promptalias 'BODS_Completed_Bods_Book'
endif
//Ask to Target the New Bods Book
if not @findobject 'BODS_New_Bods_Book'
sysmsg 'Please Target the New Bods Book in your backpack!' 30
promptalias 'BODS_New_Bods_Book'
endif
//Ask to Target the Storage (Beetle)
if not @findobject 'BODS_Storage_New_Cloth'
sysmsg 'Please Target the Storage of New Cloth! (Beetle)' 30
promptalias 'BODS_Storage_New_Cloth'
endif
//Give 120 Bods to NPC!
for 120
//2 left click "Complete Tailor Bods Book"
useobject 'BODS_Completed_Bods_Book'
pause 1000
//Take Bod Out of the Book
replygump 0x54f555df 5
pause 1000
//Move Bod on the NPC (Umbra Shop)
movetype '0x2258' 'backpack' 'BODS_Tailor_NPC' 0 0 0 '1155' 1
pause 1000
//Ask NPC for a new Bod
waitforcontext 'BODS_Tailor_NPC' 1 15000
pause 2000
//Confirm NEW Bod - Small Bod Gump
replygump 0x9bade6ea 1
//Confirm NEW Bod - Large Bod Gump
replygump 0xbe0dad1e 1
pause 1000
//Move NEW Bod to "New BS Bods Book"
movetype '0x2258' 'backpack' 'BODS_New_Bods_Book' 0 0 0 '1155' 1
pause 1000
//Move NEW Cloth into Beetle
movetype '0x1767' 'backpack' 'BODS_Storage_New_Cloth' 0 0 0 'any' 100
pause 7000
endfor
 

renBOX

Wanderer
Hi, i need a little help. I know this is not the place but im new at this. Is there any BOD GATHERING script working in demise? To stop doing manually. Thanks!
 
Top