Page 1 of 2
Razor use-by-type
Posted: Sun Aug 21, 2011 5:19 pm
by Mens Rea
When I use razor use-by-type it seems to use the same object every time.
Is there a trick or some way to make it vary the items it is using?
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 5:20 pm
by Sandro
Without removing all unwanted items of said type from your screen, no.
Unless someone knows something I don't, that is..
edit: apparently i can't read today..
make sure razor isn't set to an absolute target, sometimes when you click to use by type it doesn't actually set itself over
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 5:25 pm
by Mens Rea
Thanks Sandro - I double checked and it appears to be set up correctly.
I have about 50 mortar/pestles in my pack (this is for an alchemy macro) but it keeps using the same one!
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 5:38 pm
by Sandro
Mens Rea wrote:Thanks Sandro - I double checked and it appears to be set up correctly.
I have about 50 mortar/pestles in my pack (this is for an alchemy macro) but it keeps using the same one!
That macro will not work the way you want it to using razor + use item by type.
The way Razor is designed, using the "by type" function simply allows it to randomly select one of said item type. It will not cycle itself through all 50 mortars one by one, and then repeat using them after each is done.
The only way I know of to accomplish the alchemy macro you're looking to make, is to go down the line individually and set an absolute target for each mortar. You will also have to continuously re-target a mortar when they break. A little tedious but works very well once its set up.
Yes, this is a very long macro, probably 3+ "pages" long in the macro tab. I have one myself which only uses 10 mortars, but it cranks out 100 pots asap and is very easy to re-target when a mortar breaks. Using 50 you will hate yourself trying to count down the list of which "absoute target" mortar just broke..
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 5:43 pm
by Mens Rea
Yeah I've pretty much resigned myself to the 10 absolute macro for when I am around, and a single "slow cooking" alchemy macro when I am afk..
I did consider using the "useonce" agent - HOWEVER - there is only an add item to useonce hotkey and not an add container hotkey. Otherwise I could just reset the bag in useonce every loop.
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 6:04 pm
by Ronk
I do a mortar grinding and it will sometimes reuse the same one but it'll also randomly select others. Seems to work for me, though i don't do anything special. So I am unsure.
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 6:07 pm
by Sandro
Ronk wrote:I do a mortar grinding and it will sometimes reuse the same one but it'll also randomly select others. Seems to work for me, though i don't do anything special. So I am unsure.
Yes this will work but the problem is that if you're already grinding a pot with Mortar 1, and it uses Mortar 1 again, it will dump the resources you were using to start a new pot. So you're effectively wasting resources & time if this happens.
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 6:11 pm
by Mens Rea
It seems to happen 80% of the time for me, even though I have an abundance of mortars in my pack.
I found I was throwing out more than I was making.
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 6:47 pm
by ehafh
you might be able to set it up if you first drag like 20 of the object you want to use
to a corner in your backpack, or a certain stack of items on the ground.
and have it target those.
possibly also with a restock agent, tho i havent tried that.
or maybe even with system messages when the item breaks,
to drag another one from a container or spot on ground.
have fun setting that up though

Re: Razor use-by-type
Posted: Sun Aug 21, 2011 8:16 pm
by MatronDeWinter
Sandro has the right idea. Just set the absolute target to 125 mortars in a bag and it should last a long time afk until one breaks ruining the macro. If you really wanted you could add a catch, such that, if sysmessage{...break...}, then <enter some infinite loop effectively stopping the macro>. If you did this, and had your character say something before attempting to use each mortar (1,2,3...,125) then you could effectively figure out which one to replace. However, if you replace that one, another is bound to break soon anyway assuming they all start at full durability.
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 8:30 pm
by iamreallysquall
my alchemy macro is pro and it's no were near 4 pages of code think use once agent

Re: Razor use-by-type
Posted: Sun Aug 21, 2011 9:26 pm
by Mens Rea
Thanks Matron that is a good idea too.
Lelunch also has a good idea - however the only issue that I can see with useonce is there is no hotkey for add container. You could set up a sub-macro, like Matron's 2 alchemy/poison macros, that sets each mortar every time - but once they break you would be in the same situation of having to reset them all again... hmm...
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 9:42 pm
by Chaos
I use to run 6 mortars at a time and it worked out well. Easy to find the one in code to re target when one broke and had enough time that by the time you started the sixth one the first one was finished and ready to be started again.
Re: Razor use-by-type
Posted: Sun Aug 21, 2011 9:49 pm
by iamreallysquall
Mens Rea wrote:Thanks Matron that is a good idea too.
Lelunch also has a good idea - however the only issue that I can see with useonce is there is no hotkey for add container. You could set up a sub-macro, like Matron's 2 alchemy/poison macros, that sets each mortar every time - but once they break you would be in the same situation of having to reset them all again... hmm...
you add the same container several times adding all the mortars a few hundred times before you ever run the macro

Re: Razor use-by-type
Posted: Sun Aug 21, 2011 9:51 pm
by Mens Rea
I just thought about that - or, if there is a text file that has all of the useonce objects then you could open that and copy/paste over and over and over (it would take less time).
Do you know of any such text file?