RAZOR - macros

Don't know how something works? Here you will find some useful links. And if you have a question, feel free to ask.
Post Reply
Sycorax
Passer by
Posts: 3
Joined: Thu Jan 24, 2019 5:58 pm

RAZOR - macros

Post by Sycorax »

Hello everybody! I'm so excited being here and on uo for the first time after so many years. So many years, really! It's almost as if I can't remember anything about the game.

I've been searching here and there but couldn't find on the forum nor on the wiki some guidelines to macroing with razor.

Can you help me?
Maybe tis something secret, something personal which one does not want to share, but otherwise will you give me some hints?

Right now I'm trying to set up a macro for Spirit Speak / meditation
Iltar
Elder Scribe
Posts: 143
Joined: Fri Jul 10, 2015 12:42 pm

Re: RAZOR - macros

Post by Iltar »

UOSteam is better than razor because it can autoloot items from corpses. AFAIK razor can't do that.
Also if you know a bit of programming, uosteam is more powerfull than razor.
Concerning Spirit Speak training, in uosteam you need to create macro and record actions in uo.
Then set "Loop" checkbox and add "pause 10000" in the end of macro(10000 is number ms).
For razor it's same: need to record macro and add pause with razor interface.

Also many use easyuo for healing with bandages, and divine fury. These and some other useful macro(like autoattackers) already been posted on these forums.
Those who never die, do not live. (in Ultima Online)
Sycorax
Passer by
Posts: 3
Joined: Thu Jan 24, 2019 5:58 pm

Re: RAZOR - macros

Post by Sycorax »

Thank you for the help. In my days of youth I remember I was using a program - can't recall the name - where you could actually type the script, it was very handy : )

the script I couldn't record yesterday was something like

If mana < 10
then
meditation till it's full

if mana full
loop
spirit speak till mana <10





something with this in mind. I don't think one could record it ^^
Annachie
Elysium Beta Tester
Posts: 487
Joined: Thu Aug 22, 2013 8:21 pm

Re: RAZOR - macros

Post by Annachie »

You are probably thinking of an early version of EasyUO.

Which is worth getting anyway imo.
Character name: Ebony
Sycorax
Passer by
Posts: 3
Joined: Thu Jan 24, 2019 5:58 pm

Re: RAZOR - macros

Post by Sycorax »

yes. the name
"autopilot"
came to my mind. maybe that's the program. oh so many beautiful years have passed : D

anyway this is my macro on razor, if anybody's interested, I hope I'm not violating any rule posting it.

!Loop
Assistant.Macros.IfAction|0|0|55
Assistant.Macros.ExtCastSpellAction|29|4294967295
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.EndIfAction
Assistant.Macros.WaitForStatAction|0|1|55|3600
Assistant.Macros.IfAction|1|0|45
Assistant.Macros.UseSkillAction|46
Assistant.Macros.WaitForStatAction|1|1|115|3600
Assistant.Macros.ElseAction
Assistant.Macros.ExtCastSpellAction|107|4294967295
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction


Here is set on Lich-Form but it will work with any spell
User avatar
Sir Blood
Elder Scribe
Posts: 180
Joined: Fri Feb 07, 2014 3:29 pm
Location: Nebraska - USA

Re: RAZOR - macros

Post by Sir Blood »

Razor has great benefits if your character is newer, the map on there is great also.

You want to
click and record a basic macro of using both meditation and spirit speak

If it ever says 'wait for target' replace it with a wait and a short time, it won't hang up on you

Right click, "special constructs" is your friend, just know the limits of the functions

----
useskill spiritspeak
insert a pause long enough to allow for spirit speak cool down

if "mana" is "<=" "enter a value"
useskill meditation

Right click, "special constructs" "insert pause/wait; - wait for "mana" ">=" "a value near your maximum mana"
+ loop (checkbox)
----

if you ever want a macro to raise an ability like meditation (or healing) , find an item that increases your mana(hit points for healing), macro taking it off, putting it back on and usekill meditation
- - In game name:: Simply Delicious - -
Find my HUGE Rune LIbrary
- Main Floor Housegates
- Bottom SE corner, look for the black and white housegate tile (looks like a QR code you can scan)
Rune displayed @TC -- Far West Wall: Simply's
User avatar
Xavian
Legendary Scribe
Posts: 485
Joined: Sun Dec 25, 2011 4:09 pm

Re: RAZOR - macros

Post by Xavian »

Sir Blood wrote:If it ever says 'wait for target' replace it with a wait and a short time, it won't hang up on you
This isn't true. You should set a timeout time on the 'wait for target' function. This allows the macro to proceed if there is lag, but still function properly. If you simply replace 'wait for target' with a straight wait time, lag could cause it to fail.
User avatar
Sir Blood
Elder Scribe
Posts: 180
Joined: Fri Feb 07, 2014 3:29 pm
Location: Nebraska - USA

Re: RAZOR - macros

Post by Sir Blood »

I have many times looked over at the other screen and noticed a countdown timer from 99 because the targeting curser never showed up. (waiting for target - then it begins timeout countdown) it has always shown to be more time efficient to just place a short wait in there.

For short scripts system lag won't be an issue.

Properly written Razor macros don't "fail" they keep running until either the stop condition is met or you manually hit stop. A fluke due to lag will be reset/ignored on the next time the macro does the loop.
- - In game name:: Simply Delicious - -
Find my HUGE Rune LIbrary
- Main Floor Housegates
- Bottom SE corner, look for the black and white housegate tile (looks like a QR code you can scan)
Rune displayed @TC -- Far West Wall: Simply's
User avatar
Xavian
Legendary Scribe
Posts: 485
Joined: Sun Dec 25, 2011 4:09 pm

Re: RAZOR - macros

Post by Xavian »

Right click on the 'wait for target'
Click edit timeout
Set to 5-10 seconds

Lag won't matter at all
Post Reply