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.
#2

Nice! Have Stickied this one!

Saintful Sinner, The Ministry
#3

Just another quick note. You could also add an "If" query that washes bloody bandies if they are training near a trough or the like. I have one in my macro as i train near a fountain.

Just an idea.

Saintful Sinner, The Ministry
#4

Elcid Wrote:Nice! Have Stickied this one!

lol Cheers. Will add more if I can think of something useful. Perhaps magery.. Don't have the resources to macro that yet though. 100% Fresh to IN:X so no .importcharacter for me.

Elcid Wrote:Just another quick note. You could also add an "If" query that washes bloody bandies if they are training near a trough or the like. I have one in my macro as i train near a fountain.

Just an idea.

If they're near a different source of water they can right click, retarget. No need for more lines for razor to go through IMO. Even if miniscule, the amount of lines do slow down the total speed of the macro. Queuing is something I like to avoid in macros. This macro will work in any situation honestly, in a house with a trough or near the fountain at Britain bank. You'd just need to retarget both the water source and the restock container if you plan on macroing somewhere else.

I'm satisfied with this macro, eventhough the banker seems to wander off a bit too much which causes the restocking to not work.
#5

Wheres the mistake? I always die after about an hour of macroing.

Born 2B different.
#6

It's impossible to die with this macro. It only uses the scroll when you're at full HP.

If you're dying.. find a different spot to macro at.
#7

love your avatar
#8

Berserk is the shiz. I wonder why they never did the followup series, it was one of the most popular anime's ever to air in japan.
#9

In an attempt to compile the best-sounding "hit" versions of US 1980s hits, I've done a lot of comparisons among CDs. Many of the best-sounding tracks come from four '80s pop compilations put out by Razor & Tie and mastered by our host, Steve Hoffman. These four compilations are especially useful for grabbing the most amount of US-chart-topping, great-sounding pop, all in one place, with no duplication among the collections. I'm listing the tracks for these four collections below.A smiley face Smile indicates that this is the best-sounding "hit" version of the song that I could find, out of all the CDs in my rather large '80s-music collection. I rated them based primarily on compression (if it's compressed/maximized/squashed, it's not worth hearing), levels (avoid clipping where possible) and EQ. Tape hiss isn't much of an issue for '80s tracks.
#10

lewl?
#11

gamel seems to be a bot? :lol: seeing that was his first post haha

- regards, Fable


Forum Jump:


Users browsing this thread: 1 Guest(s)