Page 1 of 1

RAZOR - macros

Posted: Thu Jan 24, 2019 6:13 pm
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

Re: RAZOR - macros

Posted: Thu Jan 24, 2019 6:24 pm
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.

Re: RAZOR - macros

Posted: Fri Jan 25, 2019 4:28 am
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 ^^

Re: RAZOR - macros

Posted: Sat Jan 26, 2019 1:22 am
by Annachie
You are probably thinking of an early version of EasyUO.

Which is worth getting anyway imo.

Re: RAZOR - macros

Posted: Sat Jan 26, 2019 9:01 am
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

Re: RAZOR - macros

Posted: Sun Jan 27, 2019 7:28 am
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

Re: RAZOR - macros

Posted: Sun Jan 27, 2019 2:48 pm
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.

Re: RAZOR - macros

Posted: Sun Jan 27, 2019 3:27 pm
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.

Re: RAZOR - macros

Posted: Tue Jan 29, 2019 2:13 pm
by Xavian
Right click on the 'wait for target'
Click edit timeout
Set to 5-10 seconds

Lag won't matter at all