Magery/Meditation macro

Moderator: Support Moderators

Post Reply
User avatar
Robillard
Posts: 14
Joined: Tue Dec 21, 2010 11:24 am

Magery/Meditation macro

Post by Robillard »

Trying to come up with a macro that would allow me to Meditate while raising Magery. Here is what I have.
Create a Macro called Magery. Hotkey it to CTRL+M This is what it will look like.

Code: Select all

!Loop
Assistant.Macros.WaitForStatAction|1|1|30|3600
Assistant.Macros.HotKeyAction|0|Restock Agent-1
Assistant.Macros.PauseAction|00:00:02
Assistant.Macros.AbsoluteTargetAction|0|0|1075109191|4180|443|7|3651
Assistant.Macros.PauseAction|00:00:02
Assistant.Macros.HotKeyAction|0|Restock Agent-2
Assistant.Macros.PauseAction|00:00:02
Assistant.Macros.AbsoluteTargetAction|0|0|1075109191|4180|443|7|3651
Assistant.Macros.PauseAction|00:00:02
Assistant.Macros.WaitForStatAction|0|1|30|3600
Assistant.Macros.MacroCastSpellAction|30
Assistant.Macros.WaitForTargetAction|30
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|1|0|25
Assistant.Macros.HotKeyAction|0|Play: Training\Meditation
Assistant.Macros.EndIfAction
This Waits for you mana and health to be up, restocks casts spell, then if you mana is low it plays (via hotkey) Meditation.
Meditation Macro (hotkeyed to ALT+M) looks like this.

Code: Select all

!Loop
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.UseSkillAction|46
Assistant.Macros.IfAction|4|0|cannot focus
Assistant.Macros.PauseAction|00:00:09.5000000
Assistant.Macros.HotKeyAction|0|Play: Training\Meditation
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|you enter a meditative trance
Assistant.Macros.WaitForStatAction|1|1|50|3600
Assistant.Macros.HotKeyAction|0|Play: Training\Magery
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|4|0|at peace
Assistant.Macros.HotKeyAction|0|Play: Training\Magery
Assistant.Macros.EndIfAction
It uses Meditation. If sysmsg is "cannot Focus", it pauses and replays itself. If "You enter a meditative trance" it waits for mana to raise then plays Magery via hotkey. If it says by some error "you are at peace" then it plays magery.
Let me know what you guys think and if you have a better way of using it.

User avatar
Dead Rabbit
Posts: 21
Joined: Tue Jan 18, 2011 6:06 pm

Re: Magery/Meditation macro

Post by Dead Rabbit »

looks complicated....

If you're really not doing damage to yourself...

Use Skill Med
Pause 10500
End if Mana >= (your current int lvl here)

Restock Agent

Cast spell
wait for target
absolute target

Cast spell
wait for target
absolute target

(repeat that till you run out of mana)

Loop


If you're targeting yourself....
you can use a End if HP >= to right after the mana

Or use a 2nd healer.

Derrick wrote:
And thanks also to Poppy Thornapple for providing some critical insight into this.
Celebrate Rabbits!! http://www.ferryhalim.com/orisinal/g3/carrot.htm
[00:55:46] <MrLotto> I love dolls

Pirul
Posts: 5754
Joined: Wed Jan 27, 2010 8:19 pm
Location: New Windmere

Re: Magery/Meditation macro

Post by Pirul »

The macro I use looks something like:

If Mana >= XX
Cast [adequate spell for skill lvl]
wait for target
If HP >= 80
target self
Pause 1 sec
[Restock Agent]
End if
End if
Pause 1 sec
If Mana <= YY
Use skill Med
pause 4 secs
say "[anything]"
End if
Pause 1 sec

Short and simple. Might need a small change in the pauses here and there, but you should be able to tell if you're getting hung up at any point.

Only trick is getting XX and YY right for your correct level of meditation. YY is your "sweet spot" for meditation + 5. Your "sweet spot" is the amount of mana you should have when you start meditating to increase your chance of gain. XX is your sweet spot + the mana the spell you're casting uses - 10. How to get the "sweet spot" right? The formula to find the "sweet spot" of when to meditate is: sweet spot = 100-((INT/100)*(med skill/100)*100). Update XX and YY every 3 or 4 whole point gains of meditation.

Some additional observations:
- You should always create your magery characters with 50 Magery / 50 Meditation (0 Resist!!), and 10 STR / 60 INT / 10 DEX
- Use a herding macro overnight to increase STR / INT / DEX (when dex gets to 25, lock it, it's faster to have 100 INT while you train magery/med/resist, plus you can always switch these around without too much trouble)
- If your STR / INT are still not 100 / 100, buy an axe, go lumberjack some trees, create some kindling from the logs, and use camping until you have 100 STR. If you herded all night long you should have around 85 - 90 herding skill and around 90 STR / 95 INT (at the lowest), thus camping / lumberjacking should take you no more than 30 mins to get to 100 STR (don't worry too much about INT at this point).
- Find an NPC (I use a guard in a low traffic town) and macro Eval Int on him. Not only will this help your resist gains, it will also help you get to 100 INT. Try to get Eval at least into the 80's, preferably GM before starting the macro.
- Get 250 - 300gps and buy Resist from the Mage Guildmaster NPC in your town, you should now have around 28 resist.
- For this next step, find a friend to help you. Cast fire field (outside of town, obviously) and run along it as fast, and as much as you can. Have your friend heal you (the greater heal spell works best here because it acts faster than healing with bandages) so you can run longer along the FF. Rinse, repeat. This will take 30 minutes, and will put you at 55 resist, but will stop there, so no need to try to go above 55. You should need about 30 FF regs, and 250-300 Greater Heal regs. This can also be done solo, however, you're probably going to need more regs and time.

Now for the macro:
- Starting from 50 magery / 50 med, you're going to need aprox. 1k lightining regs, 3k e-bolt regs and 5k FS regs to GM both magery and meditation (provided you update XX and YY at least every 5 skill point gains in meditation).
- Have a secondary character healing, so you don't waste regs / mana (time) in the gaining process
- At first you're magery is going to shoot up much faster than your med, however it will catch up eventually.
- Your resist should end up close to 92 when you're done with this.
- Cast lightning until you reach the low 60's, e-bolt until the low 80's, FS all the way to GM. Some people will say: cast lightning to exactly 61.7 and e-bolt to precisely 82.1...that's rubbish. If your e-bolt regs only got you to 81.5, you can start there. If you're at 82.1 and still have e-bolt regs, go through them, you'll still gain a bit more, and you already had them budgeted (obviously the same applies for lightning).
- You can afk macro this in relative safety in a small house, just put both the characters (the caster/gainer and the healer) in the exact center tile of the house (and be sure the door is locked, of course). The only chance of dying, is if someone actually manages to pull off damaging you with an EQ at the split second between your HP check and when you actually take the damage from your cast. Trust me, it's hard to pull that off.
- To GM resist you are going to need about 7 - 8k additional FS regs (ouch, I know).
- If you already GMed magery and med, and only want resist, put XX = 100, YY = 65, and the pause after meditating up to 9 seconds, and delete the med breaking speech.
Last edited by Pirul on Wed Dec 07, 2011 6:34 pm, edited 1 time in total.
Image
<ian> 2 chicks making out are not gay

User avatar
Delirious
Posts: 53
Joined: Thu May 19, 2011 12:57 pm
Location: Orlando, FL

Re: Magery/Meditation macro

Post by Delirious »

Doing this. I'll attend it for a while until I reach a point where gains slow enough for med where I can confidently leave the XX and YY the same overnight and still gain a bit.

iamreallysquall
Posts: 1806
Joined: Sat Mar 14, 2009 3:26 pm

Re: Magery/Meditation macro

Post by iamreallysquall »

viewtopic.php?f=42&t=29619
check my macro's in that thread
<mistercherry> i bet ide beat yer asss in scrabble
<Atraxi> as soon as i find the noobs i stole from
<Jamison> lelouche your taunts will be your downfall

Sir QuiGon
Posts: 22
Joined: Fri Aug 31, 2012 3:00 pm

Re: Magery/Meditation macro

Post by Sir QuiGon »

Pirul wrote:The macro I use looks something like:

If Mana >= XX
Cast [adequate spell for skill lvl]
wait for target
If HP >= 80
target self
Pause 1 sec
[Restock Agent]
End if
End if
Pause 1 sec
If Mana <= YY
Use skill Med
pause 4 secs
say "[anything]"
End if
Pause 1 sec
Hmm. i tried updating this for inscription

If Mana >= XX
Use skill Inscription
wait for target
Absolute target
Wait for menu(any)
MenuResponse1
Pause 10 sec
End if
If Mana <= YY
Use skill Med
pause 4 secs
say "[anything]"
End if
Pause 1 sec

all seems well until the med part. it uses med fine and then it just halts on line one until XX is reached instead of trying to do med again. Am I missing something in there?
UO experience:
Atlantic 1997-2005
Characters:
Gandalf
Bowen
Sir QuiGon
Sir Gandalf

iamreallysquall
Posts: 1806
Joined: Sat Mar 14, 2009 3:26 pm

Re: Magery/Meditation macro

Post by iamreallysquall »

Sir QuiGon wrote:
Pirul wrote:The macro I use looks something like:

If Mana >= XX
Cast [adequate spell for skill lvl]
wait for target
If HP >= 80
target self
Pause 1 sec
[Restock Agent]
End if
End if
Pause 1 sec
If Mana <= YY
Use skill Med
pause 4 secs
say "[anything]"
End if
Pause 1 sec
Hmm. i tried updating this for inscription

If Mana >= XX
Use skill Inscription
wait for target
Absolute target
Wait for menu(any)
MenuResponse1
Pause 10 sec
End if
If Mana <= YY
Use skill Med
pause 4 secs
say "[anything]"
End if
Pause 1 sec

all seems well until the med part. it uses med fine and then it just halts on line one until XX is reached instead of trying to do med again. Am I missing something in there?
try making sure you right click wait for target / wait for menu and edit the time out properly
<mistercherry> i bet ide beat yer asss in scrabble
<Atraxi> as soon as i find the noobs i stole from
<Jamison> lelouche your taunts will be your downfall

User avatar
TheManWithNoName
Posts: 90
Joined: Wed Feb 29, 2012 2:51 pm

Re: Magery/Meditation macro

Post by TheManWithNoName »

Sir QuiGon wrote:Hmm. i tried updating this for inscription

If Mana >= XX
Use skill Inscription
wait for target
Absolute target
Wait for menu(any)
MenuResponse1
Pause 10 sec
End if
If Mana <= YY
Use skill Med
pause 4 secs
say "[anything]"
End if
Pause 1 sec

all seems well until the med part. it uses med fine and then it just halts on line one until XX is reached instead of trying to do med again. Am I missing something in there?
it's possible your if statement mana ranges are wrong. after your first meditation attempt you are either successfully meditating, or passively gaining enough mana back to put you above your YY range. but it would seem you are still below your XX value which is why razor is not attempting to scribe again until that if statement is satisfied.
IRC: NoName

Sir QuiGon
Posts: 22
Joined: Fri Aug 31, 2012 3:00 pm

Re: Magery/Meditation macro

Post by Sir QuiGon »

TheManWithNoName wrote: it's possible your if statement mana ranges are wrong. after your first meditation attempt you are either successfully meditating, or passively gaining enough mana back to put you above your YY range. but it would seem you are still below your XX value which is why razor is not attempting to scribe again until that if statement is satisfied.
you are quite right, thank you. I have since fixed it and also edited a bit to promote more med gains/mana regen


Use skill Inscription
wait for target
Absolute target
Wait for menu(any)
MenuResponse1
pause 10secs
If Mana <= YY
Use skill Med
pause 4 secs
say [anything]
End If
If (Sysmessage "cannot focus concentration)
pause 7secs
Use skill Med
pause 10secs
End If
If (Sysmessage "you stop meditating")
pause 7secs
Use skill Med
Pause 10secs
End If


Interested on what everyone thinks of this one, and/or changes you recommend to improve.
UO experience:
Atlantic 1997-2005
Characters:
Gandalf
Bowen
Sir QuiGon
Sir Gandalf

ArtVandalay
Posts: 10
Joined: Mon Aug 27, 2012 2:30 pm

Re: Magery/Meditation macro

Post by ArtVandalay »

Nice guide

xvsanx
Posts: 24
Joined: Thu Jan 10, 2013 1:25 pm

Re: Magery/Meditation macro

Post by xvsanx »

does the magic hat trick raise meditation past 30? it doesn't appear to be doing so for me

Pirul
Posts: 5754
Joined: Wed Jan 27, 2010 8:19 pm
Location: New Windmere

Re: Magery/Meditation macro

Post by Pirul »

You need very low INT for it to work past 30. You're better off trying drunk med.
Image
<ian> 2 chicks making out are not gay

User avatar
Marvel
Posts: 40
Joined: Sat Jan 29, 2011 9:57 pm
Location: Indiana, USA

Re: Magery/Meditation macro

Post by Marvel »

I've tried countless time to set up the macro in razor and I just cannot get it. Can anyone help?

User avatar
Boomland Jenkins
Second Age Staff
Second Age Staff
Posts: 1578
Joined: Wed Aug 14, 2013 8:00 pm
Location: New York
Contact:

Re: Magery/Meditation macro

Post by Boomland Jenkins »

Marvel wrote:I've tried countless time to set up the macro in razor and I just cannot get it. Can anyone help?
There are Magery macros on the Wiki ready to be copy/pasted into a .macro file in your UO razor directory

Place a .macro file in this folder on your PC:
C:\Users\(your window's username)\AppData\Roaming\Razor\Macros

When in doubt, ask a player in IRC for assistance. The forums are great too of course.
Eat. Sleep. Ultima.

User avatar
inkognito
UOSA Donor!!
UOSA Donor!!
Posts: 1907
Joined: Tue Oct 27, 2009 7:10 am

Re: Magery/Meditation macro

Post by inkognito »

This is still in the archives section? The connotation just seems to imply -old outdated info-
Maybe it's just me though.
Image
Li Meiyang wrote:Banned for"trashtalking for no reason"
Inkognito was flamebaiting me with all the "no" stuff.WTF is that?
Inkognito●GM Provocation

Post Reply

Return to “New Player Help”