![]() |
Clickcure using potions
This might have been discussed before, in which case I was simply too daft to find it.
Could someone please explain to me how I can configure my clickcures to use potions? From the fetish faq: Quote:
and how profit handles it: Quote:
I don't want to switch..I love my ui! Thanks a lot :) |
The bit you quoted is from the old version of Fetish's click cure (the one that had that big window that popped and and used all group cures and such, yeck).
Here's what you have to do for fetish: First you have to do some research. Find the 4 cure potions and link them and then look them up in your logs. You'll have something like this: \aITEM -569252760 -1028373465:Master's Arcane Remedy\/a The first number (here, -56925276) is called the vdl and is important, the second number can be ignored -- its a data integrity check. Once you have the 4 VDLs you need, open up the fetish window and search for useabilityonplayer. There should be for of them. Replace that (and the parent.parent.Name.LocalText Cure <whatever> with "use_itemvdl <vdl>" where <vdl> is that number you found for that potion. Your player window will then be using the potions of your choice (provided you have them) instead of trying to cast spells. |
Thanks for your help..however, is there any way to only use potions if my toon has no spell cure available? Either because he doesn't have it or because it's on a timer?
And to give the cure priority, i.e. cancel current spells cast? Basically what the profit does. Simply adding the vdl line doesn't seem to be working.. Quote:
|
What version of fetish are you using? The current version shouldn't look like that, it should simply have "useabilityonplayer parent.parent.Name.LocalText Cure Arcane" (for arcane) and so on. If you're using the one that still has that window pop up (or if you do have the current version of fetish, but install it over an old version you may still have that window. make sure you're opening up eq2ui_mainhud_player.xml and not the old, depreciated fetish cures file).
|
Ah. I was trying to edit the _fetish_mainhud_cures.xml.
Found those lines in the eq2ui_mainhud_player.xml..so is there a way to change it to what I want or is it only either cure spell OR potion with fetish? (and thanks again :) ) |
There is a command to stop casting (and if you did it twice it should clear the queue I think) -- I just forget it off the top of my head.
As for it auto-detecting if you can use the spell or not... I'm not sure about that. I suppose in theory if you try to cast the spell and then use the potion, it should work... ie if you can cast the spell, the potion wont work since you're currently casting. In the opposite case, the spell will do nothing since you don't have it and so the potion will be used. You'd have to modify the lines to be something like this: OnPress="stop_casting stop_casting useabilityonplayer parent.parent.Name.LocalText Cure <whatever> useitem_vdl <number>" Notice that it's ok (and required I think) to have the commands on separate lines, but you have to have the entire block quoted or it won't work one bit. I'm not sure if stop_casting is the right command for that, but thta should be easy enough to verify in-game. |
Quote:
|
See what happens when you remove the useabilityonplayer line (ie if it uses the potions then).
|
potion cures
<Button BackgroundOpacity="0.000" LocalTooltip="Trauma" Name="Cure1" OnPress="use_itemvdl -1199379400 ; use_itemvdl -292985664 target_previous" ScrollExtent="12,12" Size="12,12" Style="/Fetish.ButtonStyles.invisible" Tooltip="Trauma" />
<Button BackgroundOpacity="0.000" LocalTooltip="Arcane" Location="14,0" Name="Cure2" OnPress="use_itemvdl -633056365 ; use_itemvdl -1940923547 target_previous" ScrollExtent="12,12" Size="12,12" Style="/Fetish.ButtonStyles.invisible" Tooltip="Arcane" /> <Button BackgroundOpacity="0.000" LocalTooltip="Noxious" Location="0,33" Name="Cure3" OnPress="use_itemvdl -544446557 target_previous" ScrollExtent="12,12" Size="12,12" Style="/Fetish.ButtonStyles.invisible" Tooltip="Noxious" /> <Button BackgroundOpacity="0.000" LocalTooltip="Elemental" Location="14,33" Name="Cure4" OnPress="use_itemvdl -885373083 ; use_itemvdl -528994112 target_previous" ScrollExtent="12,12" Size="12,12" Style="/Fetish.ButtonStyles.invisible" Tooltip="Elemental" /> this is what I have atm for my click cures for potions..my noxious remedy is not working and I have the item in my bag but yet it tells me I do not.....any clues? The reason I got two numbers on the others minus the nox is I read somewhere it would use any of the ones I have listed but yet it does not :/ |
Quote:
|
Removing the useability didn't solve the problem - still won't use potions.
Adding ";" didn't change anything (thought I'd try, even if it wasn't directed at me :) ) I tried your mod as well since I was intrigued by the grp-clickcure. But the buttons are so tiny and that won't incorporate cure potions either. Thanks for all the help though, maybe zonx will find a way to make it work like with the profit. |
Your problem is that you misspelled the command, it is
/use_itemvdl Sometimes it's the little things. ;) (and blame lordebon of course, he mistyped it first :D) |
Quote:
|
gnargaarghl
![]() ![]() ![]() That did the trick. Won't use alternatives though, i.e. no arcane potion if the toon has a cure arcane spell. Only the first in line. Great to finally get it working :) |
| All times are GMT -5. The time now is 02:12 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI