Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Razor: The Cutting Edge UO Assistant

Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards.

Reply
 
Thread Tools Display Modes
Old 03-09-2006, 10:04 PM   #1 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 25
Default Macro conditions in razor

I want to make a macro where I flamestrike myself, heal, flamestrike again heal then med up to full and repeat.

I just wonder how I can set razor so it knows to try again after a failed attempt at a skill, how can you tell it to?

And what does wait for gump mean?
randale is offline   Reply With Quote
Old 03-09-2006, 10:08 PM   #2 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by randale
I want to make a macro where I flamestrike myself, heal, flamestrike again heal then med up to full and repeat.

I just wonder how I can set razor so it knows to try again after a failed attempt at a skill, how can you tell it to?

And what does wait for gump mean?
Wait for gump is commonly used for Crafting. To set the flamestrike macro just use an If Then structured statment and have it based of HP and Mana

Code:
!Loop
Assistant.Macros.IfAction|1|1|70
Assistant.Macros.IfAction|0|1|100
Assistant.Macros.ExtCastSpellAction|51|4294967295
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:06
Assistant.Macros.UseSkillAction|32
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:06
the above is my Flamestrike code that checks hits and mana and uses SpiritSpeak to heal me.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 03-09-2006, 10:14 PM   #3 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 25
Default

Quote:
Originally Posted by Greystar
Wait for gump is commonly used for Crafting. To set the flamestrike macro just use an If Then structured statment and have it based of HP and Mana

Code:
!Loop
Assistant.Macros.IfAction|1|1|70
Assistant.Macros.IfAction|0|1|100
Assistant.Macros.ExtCastSpellAction|51|4294967295
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:06
Assistant.Macros.UseSkillAction|32
Assistant.Macros.EndIfAction
Assistant.Macros.PauseAction|00:00:06
the above is my Flamestrike code that checks hits and mana and uses SpiritSpeak to heal me.
don't think spirit speak heals me on metropolis, but where would I go to enter this information in? I don't know the place to do so, and what line of code does what.
randale is offline   Reply With Quote
Old 03-09-2006, 10:26 PM   #4 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 25
Default

Quote:
Originally Posted by randale
don't think spirit speak heals me on metropolis, but where would I go to enter this information in? I don't know the place to do so, and what line of code does what.
Actually, found out, for the most part Looks like you did it a little different too, editing the text file in razor, rather than right clicking in the macro window and using the special constructs, the only thing I need to know now is how to set it to use a skill again if it fails.
randale is offline   Reply With Quote
Old 03-09-2006, 10:31 PM   #5 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by randale
Actually, found out, for the most part Looks like you did it a little different too, editing the text file in razor, rather than right clicking in the macro window and using the special constructs, the only thing I need to know now is how to set it to use a skill again if it fails.
I never figured that out ... i just let it repeat.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 03-10-2006, 12:32 AM   #6 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 25
Default

Quote:
Originally Posted by Greystar
I never figured that out ... i just let it repeat.
Ok, here's what I have sofar under my flamestrike macro

Castspell Flamestrike (#51)
WaitforTarget
Exec: TargetSelf
If (hits <=28 )
CastSpell Greater Heal (#29)
Wait for Target
Exec: Target Self
End If
If ( Mana >=40 )
CastSpell Flamestrike (#51)
Wait for Target
Exec: Target Self
If ( Mana >=0 )
Useskill meditation
End If
Wait for Mana >=100

I think my problem is the End If's, does it mean to end the if statement, to do that if the condition occurs? If goes straight to the 3rd wait for target if I successfully flamestrike myself the first time
randale is offline   Reply With Quote
Old 03-10-2006, 12:57 AM   #7 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by randale
Ok, here's what I have sofar under my flamestrike macro

Castspell Flamestrike (#51)
WaitforTarget
Exec: TargetSelf
If (hits <=28 )
CastSpell Greater Heal (#29)
Wait for Target
Exec: Target Self
End If
If ( Mana >=40 )
CastSpell Flamestrike (#51)
Wait for Target
Exec: Target Self
If ( Mana >=0 )
Useskill meditation
End If
Wait for Mana >=100

I think my problem is the End If's, does it mean to end the if statement, to do that if the condition occurs? If goes straight to the 3rd wait for target if I successfully flamestrike myself the first time
when you EndIF it means its done with whats in the if statement and it will move on to the next if statement...

mine is rather simple
If Mana >= 70
If Hits >= 100
Cast Spell FlameStrike (#51)
Wait For Target
Exec: Target Self
EndIf
Pause 6.00sec
UseSkill SpiritSpeak
EndIf
Pause 6.00sec

you might be able to take mine and change spiritspeak out for your greaterheal stuff, you see how i have my if nested inside the other one, it prevents me from killingmyself anyway the above works for me... and my loop checkbox is checked
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 03-10-2006, 01:57 AM   #8 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 25
Default

Quote:
Originally Posted by Greystar
when you EndIF it means its done with whats in the if statement and it will move on to the next if statement...

mine is rather simple
If Mana >= 70
If Hits >= 100
Cast Spell FlameStrike (#51)
Wait For Target
Exec: Target Self
EndIf
Pause 6.00sec
UseSkill SpiritSpeak
EndIf
Pause 6.00sec

you might be able to take mine and change spiritspeak out for your greaterheal stuff, you see how i have my if nested inside the other one, it prevents me from killingmyself anyway the above works for me... and my loop checkbox is checked
What shard do you play on? I thought SpiritSpeak just lets you make out what ghosts are saying. Does it give you the mana back as well? I noticed you don't have meditate in there.

Last edited by randale; 03-10-2006 at 02:01 AM.
randale is offline   Reply With Quote
Old 03-10-2006, 02:06 AM   #9 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by randale
What shard do you play on? I thought SpiritSpeak just lets you make out what ghosts are saying. Does it give you the mana back as well? I noticed you don't have meditate in there.
I play one three different ones, one of them is my own... and I didnt change spiritspeak at all... I cant list them specifically for the no-advertisement rule.

PS: thats all SpiritSpeak used to do was make it so you could understand ghosts but with the addition of Necromancers who use spiritspeak as part of there spell stuff and the fact that necro's have no healing spells I think it was changed to accomidate those who wanted to be necro-healers with little to no magery.

EDIT: the other two shard Admins are Shadow1980 who is admin on one shard and Khaybel of Orbsydia who is an admin on another shard... there posted where without saying shardnames
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."

Last edited by Greystar; 03-10-2006 at 02:09 AM.
Greystar is offline   Reply With Quote
Old 03-16-2006, 07:05 PM   #10 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 25
Default

Quote:
Originally Posted by Greystar
I play one three different ones, one of them is my own... and I didnt change spiritspeak at all... I cant list them specifically for the no-advertisement rule.

PS: thats all SpiritSpeak used to do was make it so you could understand ghosts but with the addition of Necromancers who use spiritspeak as part of there spell stuff and the fact that necro's have no healing spells I think it was changed to accomidate those who wanted to be necro-healers with little to no magery.

EDIT: the other two shard Admins are Shadow1980 who is admin on one shard and Khaybel of Orbsydia who is an admin on another shard... there posted where without saying shardnames

Do you know what the end for and for loop buttons do exactly? Could be useful, just I need some other stuff, like it looping it if my spell fails until it gets it right, etc

Here's what I have sofar for my flamestrike macro, it's working ok sofar, how does one if inside another work, this one would check my mana and hits, but I tried to do it so it would stop the macro if I didn't have the regs, so I put in an if blackpearl <=1 but it didn't seem to recognize it, anywhere here's what I have for it sofar
Quote:
if mana >=100
if hits >=60
Cast Flamestrike (#51)
Wait for Target
Exec: Target Self
End If
Pause 2.00 seconds
If Hits <=59
Cast spell greater heal (#29)
Wait for Target
Exec: Target Self
End If
Pause 2.00 seconds
Wait for Mana >=11
If Hits <=59
Cast spell greater heal (#29)
Wait for target
Exec: Target Self
End If
If mana <=99
Pause 6.00 seconds
Use Skill meditation
If Sysmessage "you enter a meditative trance"
wait for mana >=100
End If
If System message "you cannot focus your concentration"
Pause 7.00 seconds
Use skill meditation
Wait for mana >=100
End If
Not sure if it's recognizing the system messages I tell it to react to I doesn't seem to respond to them, guess the best I can do is have it try again to meditate.
Useskill meditation
randale is offline   Reply With Quote
Old 03-16-2006, 09:37 PM   #11 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
Default

Quote:
Originally Posted by randale
Do you know what the end for and for loop buttons do exactly? Could be useful, just I need some other stuff, like it looping it if my spell fails until it gets it right, etc

Here's what I have sofar for my flamestrike macro, it's working ok sofar, how does one if inside another work, this one would check my mana and hits, but I tried to do it so it would stop the macro if I didn't have the regs, so I put in an if blackpearl <=1 but it didn't seem to recognize it, anywhere here's what I have for it sofar


Not sure if it's recognizing the system messages I tell it to react to I doesn't seem to respond to them, guess the best I can do is have it try again to meditate.
Useskill meditation

havent tried to use the For Loop stuff yet... or detecting system messages.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5