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 Smithy 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 smith resets, while trashing those garbage rewards, 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 blacksmith named "Jamal" @ the Luna smith shop. Every time the NPC changes, there is part of this you must edit. I will go over it further 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 the macro code:

!Loop
Assistant.Macros.IfAction|4|0|the world will save
Assistant.Macros.PauseAction|00:00:30
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickAction|1119584859|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|0x42DD4|(-1, -1, 0)|0
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.ContextMenuAction|0x42DD4|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|400
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:12.5000000
Assistant.Macros.EndIfAction
Assistant.Macros.LiftTypeAction|8792|1
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.DropAction|0x42439EC1|(-1, -1, 0)|0
Assistant.Macros.PauseAction|00:00:04

Here's what it looks like in razor, and an explanation for certain parts that need to be changed on your end:

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 book...")
Exec: > Stop Current Macro
End If
Pause .75sec
GumpResponse (Button 5)
Pause .75sec
Lift bulk order deed (2258) - 1 -
Pause .50sec -
Drop to xxxxxxxxxx (@(-1,-1,0)) - These lines are for the current blacksmith.
Pause 1.00sec
ContextMenu: 1 (0x42DD4) - you will have to re-record this section if he changes.
Pause .75sec
GumpResponse (Button 1)
Pause 1.50sec
If (Weight >= 400) - 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 - Make sure you set the organizer agent 9 hotbag to the trash can in the Luna smith shop, and in the Organizer, target "shovel (0F39), pickaxe (0E86), Leather Gloves (13C5), sledge hammer (0FB4), studded gloves (13D5), and pickaxe (0E85). One pickaxe is regular, the other is for gargoyle.
Pause 12.50sec
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.





If you have any questions, don't hesitate to ask!
 

Souced

Sorceror
you can speed this up some since you got to wait for the timer anyway before you can turn in next bod do your gold move and item toss in that dead time that way you never get heavey and don't have to wait later to do it, also i put a pause in so i can see the bod i am about to get if i don't want it i just right click it so the menu dissapears and saves me some sort time later
 

MB

Knight
//Auto Give Blacksmith Bods to NPC!
//Ask to Target the Blacksmith NPC
if not @findobject 'BODS_Blacksmith_NPC'
sysmsg 'Please Target the Blacksmith NPC for Turning your Bods!' 30
promptalias 'BODS_Blacksmith_NPC'
endif
//Ask to Target the Completed Bods Book
if not @findobject 'BODS_Completed_BS_Bods_Book'
sysmsg 'Please Target the Completed Bods Book in your backpack!' 30
promptalias 'BODS_Completed_BS_Bods_Book'
endif
//Ask to Target the New Bods Book
if not @findobject 'BODS_New_BS_Bods_Book'
sysmsg 'Please Target the New Bods Book in your backpack!' 30
promptalias 'BODS_New_BS_Bods_Book'
endif
//Ask to Target the Trash (Bag)
if not @findobject 'BODS_Trash_New_Items'
sysmsg 'Please Target the Trash Container of New Items! (Bag)' 30
promptalias 'BODS_Trash_New_Items'
endif
//Give 40 Bods to NPC!
for 40
//2 left click "Complete Blacksmith Bods Book"
useobject 'BODS_Completed_BS_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_Blacksmith_NPC' 0 0 0 '1102' 1
pause 1000
//Ask NPC for a new Bod
waitforcontext 'BODS_Blacksmith_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_BS_Bods_Book' 0 0 0 '1102' 1
pause 1000
//Move NEW Items into Trash (Bag)
//sledge hammer
if @findtype '0xfb4' 'any' 'backpack' 1
movetype '0xfb4' 'backpack' 'BODS_Trash_New_Items' 0 0 0 'any' 1
//pickaxe
elseif @findtype '0xe86' 'any' 'backpack' 1
movetype '0xe86' 'backpack' 'BODS_Trash_New_Items' 0 0 0 'any' 1
//pickaxe
elseif @findtype '0xe85' 'any' 'backpack' 1
movetype '0xe85' 'backpack' 'BODS_Trash_New_Items' 0 0 0 'any' 1
//studded gloves
elseif @findtype '0x13d5' 'any' 'backpack' 1
movetype '0x13d5' 'backpack' 'BODS_Trash_New_Items' 0 0 0 'any' 1
endif
pause 7000
endfor
 
Top