Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[Razor] Train Healing
#1

I set up a simple healing macro, might be of some use to people. I'll explain what everything does so you can make your own next time! Wink

Requirements:
º One lightning scroll or preferably, an xuo fs scroll.
º As many bandages as you can get.
º 100HP, if you have less, change the first if. Will get to that a bit later.
º A razor hotkey to cancel the current target set to N for this macro. (Hotkeys->Targets->Cancel current target.)
º A razor hotkey for Restock Agent 1 set to M. You'll need to specify the amount of bandages you'll take from your bank each time you're low on bandies. (Agents->Restock 1)
º Hotkey to Target Self set to B. (Hotkeys->Targets->Target Self.)
º Razor display bar enabled with bandages on it. This to have razor count the resources in your backpack, in this case, aids. (Razor->Display/Counters->Show this in the UO title bar.)
(Add or enable Bandages{aids} on the left table, and enter {aids} in the right table if it's not there.)


What it does:
º Yell guards only if you're attacked. Less spam yay!
º Wash the bloody bandages
º Only use the scroll if your hp is full. Maximum gains without the risk.
º Restock.
º And lastly.. heal.

How to use:
º Open up notepad, save it into the razor/macros directory with a name like, bandage_heal.macro

The default installation path for razor is C:\Program Files\Razor

Code:
!Loop
Assistant.Macros.IfAction|0|1|100
Assistant.Macros.DoubleClickTypeAction|8031|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1332|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|is attacking you!
Assistant.Macros.SpeechAction|0|23|3|NLD|5|48|2|0|113|113|Bank Guards Buy
Assistant.Macros.EndIfAction
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:04
Assistant.Macros.IfAction|4|0|bloody bandages
Assistant.Macros.DoubleClickTypeAction|3616|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|0|1074922018|1433|1703|15|5950
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|5|Bandages
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.SpeechAction|0|23|3|NLD|2|16|2|Bank
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.EndIfAction

The lines explained.

  1. An if. In this case it checks whether the HP is full or not. My STR is 100 so I have 100hp, if you have less, change it to your max HP #.
  2. Uses the XUO scroll.
  3. Waits for target. Self explanatory. It waits.
  4. Cancels the current target. My hotkey for it is set the N because razor does not detect pressing ESC in game. Be sure you have a cancel target macro, else you'll end up fsing yourself.
  5. Pauses for a full second, just to make sure the cancel comes through incase of lag or a worldsave.
  6. End if. Ends the actions needed to be taken when the requirements for an if are met.
  7. Another if. This time it checks your journal for the text "is attacking you!"
  8. Says guards.
  9. End if.
  10. Uses a bandage
  11. Waits for target.
  12. Targets self.
  13. Pauses for 4 full seconds. If this was removed the macro would try to bandage itself every ,3 seconds. You'll never get healed.
  14. Another if. Checks whether the bandaging was succesful and therefor placing a bloody bandage in your backpack.
  15. Uses the bloody bandage.
  16. Waits for target.
  17. Targets the fountain located under the Britain bank to wash them.
  18. End if.
  19. An if for checking bandage count. It's set to 5, I ping 20 though.
  20. Pauses a full second.
  21. Opens your bank.
  22. Pauses ,5sec.
  23. Presses the M key, set to execute the Restock 1 agent.
  24. Waits for a target to appear. Again.
  25. Targets yourself to have the restock agent use the bankbox to restock.
  26. Pauses ,5sec.
  27. End if.

What are ifs? Ifs are, simply put, a requirement that have to be met before the actions between the tags are played. It's a good way to make sure that things only happen when you want them to happen.


//edit
Made it a bit more userfriendly and added a restock when you're low on bandages. You can run this thing 100% AFK now, just hope the server doesn't go down 10 minutes after you went to bed.

//edit2
Changed macro a bit, it's now quicker to set up.


Messages In This Thread
[Razor] Train Healing - by imported_Arjanichus - 11-12-2007, 01:40 AM
[Razor] Train Healing - by imported_Elcid - 11-12-2007, 05:01 AM
[Razor] Train Healing - by imported_Elcid - 11-12-2007, 05:16 AM
[Razor] Train Healing - by imported_Arjanichus - 11-12-2007, 05:45 AM
[Razor] Train Healing - by Rufus - 11-19-2007, 01:31 PM
[Razor] Train Healing - by imported_Arjanichus - 11-19-2007, 08:28 PM
[Razor] Train Healing - by imported_r0kka - 11-20-2007, 08:05 PM
[Razor] Train Healing - by imported_Jiraiya - 10-10-2008, 01:38 AM
[Razor] Train Healing - by gamel - 01-21-2009, 02:39 PM
[Razor] Train Healing - by imported_Jiraiya - 01-21-2009, 05:12 PM
[Razor] Train Healing - by imported_Fable - 01-28-2009, 12:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)