[Razor] Lumberjacking Macro

If you make a Client-side script you can publish it here for other players to use
Locked
User avatar
Gaara
Legendary Scribe
Posts: 890
Joined: Sun Sep 23, 2012 10:43 pm
Location: Sedona, AZ, USA

[Razor] Lumberjacking Macro

Post by Gaara »

If you feel doig any changes on improving this macro please post it here, i am fairly new in creating macros :)

What does it do?
- Chops wood one tile away from you.
(NOTE: One must stand on the North-East side of the tree to chop it, trying to fix this)
- When the current tree has no more wood to harvest it moves the logs to wood worker's keys.
(NOTE: the keys must be already opened, i might also update it to do the action when one can't carry any more weight)
EDIT: when having runebook open and mouse cursor at the blue "gem" to recall/sacred journey to a certain location (next spot for wood :D ) at the end of macro it will recall/sacred journey there(= it will click the blue gem). Not intentional but can be usefull 8)

Code: Select all

!Loop
Assistant.Macros.DoubleClickAction|1311564956|3907
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetRelLocAction|-1|1
Assistant.Macros.IfAction|4|0|there's not enough wood here to harvest.
Assistant.Macros.DoubleClickAction|1169969138|5995
Assistant.Macros.WaitForGumpAction|173511501|False|300
Assistant.Macros.GumpResponseAction|17|0|0
Assistant.Macros.WaitForGumpAction|173511501|False|300
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7133
Assistant.Macros.WaitForGumpAction|173511501|False|300
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.GumpResponseAction|0|0|0
Assistant.Macros.ElseAction
Assistant.Macros.PauseAction|00:00:03
As i said any ideas for improving this macro are welcome :)

Peace, Gaara
Image
User avatar
fixxer1963
Legendary Scribe
Posts: 271
Joined: Tue Apr 01, 2014 5:43 pm

Re: [Razor] Lumberjacking Macro

Post by fixxer1963 »

I touched it up a bit. Equips your hatchet by type. It is still not perfect. And I stand on the SW side of the tree.

!Loop
Assistant.Macros.IfAction|8|-1|0
Assistant.Macros.LiftTypeAction|3907|1
Assistant.Macros.DropAction|0x10AF25|(0, 0, 0)|2
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickTypeAction|3907|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetRelLocAction|1|-1
Assistant.Macros.PauseAction|00:00:01.5000000
Assistant.Macros.IfAction|4|0|there's not enough wood here to harvest.
Assistant.Macros.DoubleClickAction|1121765572|5995
Assistant.Macros.ForAction|2
Assistant.Macros.WaitForGumpAction|173511501|False|300
Assistant.Macros.GumpResponseAction|17|0|0
Assistant.Macros.WaitForGumpAction|173511501|False|300
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.TargetTypeAction|False|7133
Assistant.Macros.EndForAction
Assistant.Macros.GumpResponseAction|0|0|0
Assistant.Macros.ElseAction
Hawke Armstrong/FiXXer
User avatar
Linyera Rabioso
Journeyman Scribe
Posts: 21
Joined: Tue Jul 09, 2013 8:21 pm

Re: [Razor] Lumberjacking Macro

Post by Linyera Rabioso »

How can I manually add this to Razor?? I've been looking for a guide, but with no luck.

Is there any chance the macro "walks" when it's out of wood instead of recalling??

Thank you!
Eazy E
Apprentice Scribe
Posts: 14
Joined: Sun Mar 27, 2016 11:02 am
Location: Israel
Contact:

Re: [Razor] Lumberjacking Macro

Post by Eazy E »

I keep getting message: You cant use an axe on that :(
Nickname - CCCP
Locked