Page 1 of 1

razor macro question

Posted: Thu Jul 21, 2011 5:04 pm
by scourgez
didn't know where to put this, and since it technically deals with char development this is as good a place as any:

i read the tracking macro on the wiki page and within the macros there is a "close menu" step, which I can't seem to get to happen. when I click to close the menu that pops up, razor records it was menu option 0, but doesn't close the window. without closing these windows, uo lags like crazy after a few of them stay open.

any suggestions?

Re: razor macro question

Posted: Thu Jul 21, 2011 5:35 pm
by Jill Stihl
Try inserting a small pause (200ms or something) before the close window line.

I'm far from fluent with Razor but have found this sometimes helps with similar problems.

Re: razor macro question

Posted: Thu Jul 21, 2011 6:00 pm
by scourgez
i can't even get the "closeMenu" to appear in razor. when I close the menu it sets it to "menu option 0"

Re: razor macro question

Posted: Fri Dec 06, 2013 2:30 pm
by Groucho
i have made that:

!Loop
Assistant.Macros.UseSkillAction|38
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|8482|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|8400|0
Assistant.Macros.IfAction|4|0|you see no evidence of an animal in the area.
Assistant.Macros.PauseAction|00:00:10.5000000
Assistant.Macros.ElseAction
Assistant.Macros.PauseAction|00:00:10.5000000
Assistant.Macros.UseSkillAction|38
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|8482|0
Assistant.Macros.WaitForMenuAction|0|300
Assistant.Macros.MenuResponseAction|1|8483|0
Assistant.Macros.PauseAction|00:00:10.5000000
Assistant.Macros.EndIfAction

work best.

Re: razor macro question

Posted: Fri Dec 06, 2013 2:49 pm
by Li Meiyang
All the way up to GM, it's exactly this simple:

Image

Just make sure you are somewhere with animals about, which is just about anywhere. No need to close the gump. They mess up all over the place sometimes anyway, so best to edit the "wait for menu" timeouts to 1. It will all right itself on the next go-around.

Re: razor macro question

Posted: Fri Dec 06, 2013 8:35 pm
by Groucho
the just make sure doesn't apply to my macro, that's why i made it this way :-). a lil difference that doesn't stop my macro to work instead.

you can replace some Assistant.Macros.MenuResponseAction|1|8482|0 with a 2. on each line where you have the 8482 to find a monster, tehn by a 3 to find people.

Re: razor macro question

Posted: Thu Dec 19, 2013 10:01 pm
by Hydroxide
Thanks Groucho. Those gumps building up lagged the crap out of my computer.

I часть лучше была!!!

Posted: Fri Dec 20, 2013 8:18 am
by Marvinkarf
В этом что-то есть. Понятно, спасибо за объяснение..