hey there,
i look for a little macro that fills a keg in my inventory(it has already some of the wanted liquid inside) but stops at once, when the keg is completely filled, so the 2 empty bottles in my inventory stay empty.
Actually i always have to watch the process, using a razor macro to press "make again" in the alchemy-menu.
Can someone make that little macor on razor for me or is easyUO needed for this ?
Looking for a small razor macro (alchemy)
Re: Looking for a small razor macro (alchemy)
If it were full, or you knew exactly how many potions were inside, you could do that. However, since you don't (and can't as far as i know, unless you start with an empty one), just keep 1 bottle in your inventory. Then when its full, so is the keg.
Alls you have to do is make the item one time, then record a macro for "make last", and loop it. Using the above method, will work for you nicely. Just keep 1 empty bottle and always use that one for that kind of keg and you'll be good.
Alls you have to do is make the item one time, then record a macro for "make last", and loop it. Using the above method, will work for you nicely. Just keep 1 empty bottle and always use that one for that kind of keg and you'll be good.
Re: Looking for a small razor macro (alchemy)
Thats what i wanted to avoid.
Question is, can someone make a small macro that the keg is filled but the filling bottle not, so that i can go on with the next keg of another sort without having to drink the bottle ?
I use 2 empty bottles, so they stack and dont fly around in inventory every time i refill a keg, i think it causes lag also.
Question is, can someone make a small macro that the keg is filled but the filling bottle not, so that i can go on with the next keg of another sort without having to drink the bottle ?
I use 2 empty bottles, so they stack and dont fly around in inventory every time i refill a keg, i think it causes lag also.
Re: Looking for a small razor macro (alchemy)
I haven't used Razor in years, but I'd guess something like this would work:
if sysmsg "the keg is full"
Might not be the correct sysmsg so you probably need to tinker it a bit, but at least you get the idea.
if sysmsg "the keg is full"
Might not be the correct sysmsg so you probably need to tinker it a bit, but at least you get the idea.
Re: Looking for a small razor macro (alchemy)
Ok, have to look if and which sysmsg is printed out when the keg is full, thanks for the hint and merry christmas 

Re: Looking for a small razor macro (alchemy)
Merry Christmas to you as well.
It might be a journey of trial and error as not all sysmsg's are "broadcasted" by the client. As I said, I haven't used Razor for a long while as I have found EasyUO able to do everything for me just the way I wish and there are several paths to find out if a keg is full in EasyUO.
However, it came to my mind that you might wish to try just the word "fill" as well...as in "You fill the keg". Also, while I do know well that the learning curve for EasyUO is a lot steeper than it is for Razor, most likely the gump handling and strings can be very difficult for a person without much programming experience, here's how I'd make the check in EasyUO:
The word "Completely" can as well be "100", but thought to show you how much easier it is with EasyUO. Naturally, making the script to actually make those potions can be hard as it relies on the gump's X, Y pixel position and the button's relative position within the gump itself, which is probably one of the few reasons why people do prefer to do things with Razor or the like instead.
Anyway, just experiment and see if you can find the sysMsg from the client when you do fill a keg. I cannot make promises if one even exists, but that's the only way I can see to make it work in Razor...Unless you want to run the script with and empty keg to start with and don't want to be left with potions in your backpack. There is a sysMsg for not having empty bottles in your backpack, that's for certain, but that'd leave you with the filled potion(s) in your backpack.
It might be a journey of trial and error as not all sysmsg's are "broadcasted" by the client. As I said, I haven't used Razor for a long while as I have found EasyUO able to do everything for me just the way I wish and there are several paths to find out if a keg is full in EasyUO.
However, it came to my mind that you might wish to try just the word "fill" as well...as in "You fill the keg". Also, while I do know well that the learning curve for EasyUO is a lot steeper than it is for Razor, most likely the gump handling and strings can be very difficult for a person without much programming experience, here's how I'd make the check in EasyUO:
Code: Select all
event Property #FindID
if Completely in #Property
Anyway, just experiment and see if you can find the sysMsg from the client when you do fill a keg. I cannot make promises if one even exists, but that's the only way I can see to make it work in Razor...Unless you want to run the script with and empty keg to start with and don't want to be left with potions in your backpack. There is a sysMsg for not having empty bottles in your backpack, that's for certain, but that'd leave you with the filled potion(s) in your backpack.